Skip to content

Commit

Permalink
Removed the Twitter module and all references to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berehum committed Feb 3, 2025
1 parent cf0fe1a commit d0a0f0a
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 352 deletions.
8 changes: 0 additions & 8 deletions amelie/settings/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,6 @@ def custom_show_toolbar(request):
ALEXIA_API['USER'] = env("ALEXIA_API_USERNAME", default=ALEXIA_API.get('USER', None))
ALEXIA_API['PASSWORD'] = env("ALEXIA_API_PASSWORD", default=ALEXIA_API.get('PASSWORD', None))

###
# Twitter settings (probably broken due to twitter API changes)
###
TWITTER_APP_KEY = env("AMELIE_TWITTER_APP_KEY", default=TWITTER_APP_KEY)
TWITTER_APP_SECRET = env("AMELIE_TWITTER_APP_SECRET", default=TWITTER_APP_SECRET)
TWITTER_OAUTH_TOKEN = env("AMELIE_TWITTER_OAUTH_TOKEN", default=TWITTER_OAUTH_TOKEN)
TWITTER_OAUTH_SECRET = env("AMELIE_TWITTER_OAUTH_SECRET", default=TWITTER_OAUTH_SECRET)


###
# Data Hoarder settings (GDPR data exporter)
Expand Down
7 changes: 0 additions & 7 deletions amelie/settings/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@
'amelie.files',
'amelie.about',
'amelie.personal_tab',
'amelie.twitter',
'amelie.style',
'amelie.narrowcasting',
'amelie.api',
Expand Down Expand Up @@ -658,12 +657,6 @@
'DELETE_INACTIVE_DEVICES': True,
}

# Twitter keys and tokens for 'iawebsite'
TWITTER_APP_KEY = "empty"
TWITTER_APP_SECRET = "empty"
TWITTER_OAUTH_TOKEN = "empty"
TWITTER_OAUTH_SECRET = "empty"

# Settings for our oAuth2 provider
OAUTH2_PROVIDER = {
'SCOPES': {
Expand Down
Empty file removed amelie/twitter/__init__.py
Empty file.
21 changes: 0 additions & 21 deletions amelie/twitter/admin.py

This file was deleted.

5 changes: 0 additions & 5 deletions amelie/twitter/apps.py

This file was deleted.

28 changes: 0 additions & 28 deletions amelie/twitter/forms.py

This file was deleted.

6 changes: 0 additions & 6 deletions amelie/twitter/manager.py

This file was deleted.

49 changes: 0 additions & 49 deletions amelie/twitter/migrations/0001_initial.py

This file was deleted.

19 changes: 0 additions & 19 deletions amelie/twitter/migrations/0002_auto_20201103_2220.py

This file was deleted.

Empty file.
58 changes: 0 additions & 58 deletions amelie/twitter/models.py

This file was deleted.

16 changes: 0 additions & 16 deletions amelie/twitter/templates/twitter_index.html

This file was deleted.

57 changes: 0 additions & 57 deletions amelie/twitter/templates/twitter_new_tweet.html

This file was deleted.

35 changes: 0 additions & 35 deletions amelie/twitter/twitter.py

This file was deleted.

11 changes: 0 additions & 11 deletions amelie/twitter/urls.py

This file was deleted.

31 changes: 0 additions & 31 deletions amelie/twitter/views.py

This file was deleted.

1 change: 0 additions & 1 deletion amelie/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
path('companies/', include('amelie.companies.urls')),
path('narrowcasting/', include('amelie.narrowcasting.urls')),
path('personal_tab/', include('amelie.personal_tab.urls')),
path('twitter/', include('amelie.twitter.urls')),
path('claudia/', include('amelie.claudia.claudia_urls')),
path('account/', include('amelie.claudia.account_urls')),
path('weekmail/', include('amelie.weekmail.urls')),
Expand Down

0 comments on commit d0a0f0a

Please sign in to comment.