-
-
Notifications
You must be signed in to change notification settings - Fork 226
Created a new page for showing Banned_apps with backend_api #3934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1f835a6
done
igennova 456f497
try something
igennova afd4691
testing
igennova 5f316c2
testing
igennova a2ebc6a
done
igennova a83e256
Merge branch 'main' into new_issue5
igennova 89756d7
Merge branch 'main' of https://github.com/igennova/BLT into new_issue5
igennova 03a9c3d
done
igennova 59902b8
Merge branch 'new_issue5' of https://github.com/igennova/BLT into new…
igennova eee3122
done
igennova 5838038
done3
igennova 8b2d3d2
final
igennova 8dc5c0b
Merge branch 'main' into new_issue5
DonnieBLT 2ca21d2
done
igennova bff22d2
done
igennova 6ee52d1
done
igennova 686eb39
Merge branch 'new_issue5' of https://github.com/igennova/BLT into new…
igennova 03e2ba0
done
igennova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,227 @@ | ||
[ | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "TikTok", | ||
"app_type": "social", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53234116", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "PUBG Mobile", | ||
"app_type": "gaming", | ||
"ban_reason": "Security concerns and addiction-related issues", | ||
"ban_date": "2020-09-02", | ||
"source_url": "https://indianexpress.com/article/technology/gaming/pubg-mobile-ban-in-india-explained-6581277/", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "China", | ||
"country_code": "CN", | ||
"app_name": "Facebook", | ||
"app_type": "social", | ||
"ban_reason": "Government censorship and internet regulations", | ||
"ban_date": "2009-07-01", | ||
"source_url": "https://www.bbc.com/news/technology-40449959", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "China", | ||
"country_code": "CN", | ||
"app_name": "WhatsApp", | ||
"app_type": "messaging", | ||
"ban_reason": "Government censorship and national security concerns", | ||
"ban_date": "2017-09-25", | ||
"source_url": "https://www.nytimes.com/2017/09/25/business/china-whatsapp-blocked.html", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "Russia", | ||
"country_code": "RU", | ||
"app_name": "LinkedIn", | ||
"app_type": "social", | ||
"ban_reason": "Violation of data storage laws", | ||
"ban_date": "2016-11-17", | ||
"source_url": "https://www.bbc.com/news/world-europe-38005238", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "Iran", | ||
"country_code": "IR", | ||
"app_name": "Telegram", | ||
"app_type": "messaging", | ||
"ban_reason": "Government censorship and national security concerns", | ||
"ban_date": "2018-04-30", | ||
"source_url": "https://www.reuters.com/article/us-iran-telegram/iran-bans-telegram-app-to-protect-national-security-state-tv-idUSKBN1I11A5", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "United States", | ||
"country_code": "US", | ||
"app_name": "Huawei AppGallery", | ||
"app_type": "other", | ||
"ban_reason": "National security concerns", | ||
"ban_date": "2019-05-15", | ||
"source_url": "https://www.theverge.com/2019/5/20/18632722/huawei-google-android-ban-trump-executive-order", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "WeChat", | ||
"app_type": "social", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53232486", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "UC Browser", | ||
"app_type": "browser", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53232486", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "CamScanner", | ||
"app_type": "productivity", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53232486", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "ShareIt", | ||
"app_type": "file sharing", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53232486", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "Shein", | ||
"app_type": "e-commerce", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-53232486", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "Likee", | ||
"app_type": "social", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://indianexpress.com/article/technology/tech-news-technology/year-of-the-banned-tiktok-to-pubg-mobile-all-the-apps-that-stopped-working-in-india-in-2020-7118174/", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "Battlegrounds Mobile India (BGMI)", | ||
"app_type": "gaming", | ||
"ban_reason": "Security concerns", | ||
"ban_date": "2022-07-28", | ||
"source_url": "https://www.bbc.com/news/world-asia-india-62344926", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
}, | ||
{ | ||
"model": "website.bannedapp", | ||
"fields": { | ||
"country_name": "India", | ||
"country_code": "IN", | ||
"app_name": "Weibo", | ||
"app_type": "social", | ||
"ban_reason": "Security concerns and data privacy issues", | ||
"ban_date": "2020-06-29", | ||
"source_url": "https://en.wikipedia.org/wiki/Censorship_of_TikTok", | ||
"is_active": true, | ||
"created_at": "2024-03-13T00:00:00Z", | ||
"updated_at": "2024-03-13T00:00:00Z" | ||
} | ||
} | ||
] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Generated by Django 5.1.7 on 2025-03-13 09:33 | ||
|
||
import django.utils.timezone | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("website", "0231_organization_check_ins_enabled_notification"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="BannedApp", | ||
fields=[ | ||
("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), | ||
("country_name", models.CharField(max_length=100)), | ||
("country_code", models.CharField(max_length=2)), | ||
("app_name", models.CharField(max_length=100)), | ||
( | ||
"app_type", | ||
models.CharField( | ||
choices=[ | ||
("social", "Social Media"), | ||
("messaging", "Messaging"), | ||
("gaming", "Gaming"), | ||
("streaming", "Streaming"), | ||
("other", "Other"), | ||
], | ||
max_length=20, | ||
), | ||
), | ||
("ban_reason", models.TextField()), | ||
("ban_date", models.DateField(default=django.utils.timezone.now)), | ||
("source_url", models.URLField(blank=True)), | ||
("is_active", models.BooleanField(default=True)), | ||
("created_at", models.DateTimeField(auto_now_add=True)), | ||
("updated_at", models.DateTimeField(auto_now=True)), | ||
], | ||
options={ | ||
"verbose_name": "Banned App", | ||
"verbose_name_plural": "Banned Apps", | ||
"ordering": ["country_name", "app_name"], | ||
"indexes": [ | ||
models.Index(fields=["country_name"], name="website_ban_country_980b5d_idx"), | ||
models.Index(fields=["country_code"], name="website_ban_country_119ba5_idx"), | ||
], | ||
}, | ||
), | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.