Skip to content

Commit

Permalink
Merge pull request #172 from zediious/0.4.5.5
Browse files Browse the repository at this point in the history
Changes for 0.5
  • Loading branch information
zediious authored Jun 9, 2024
2 parents 016538c + 06853a3 commit 7e31f03
Show file tree
Hide file tree
Showing 166 changed files with 9,503 additions and 2,806 deletions.
4 changes: 0 additions & 4 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ DJANGO_SECRET_KEY=''
DEBUG=
RUNNING_IN_DOCKER=
DOMAIN_NAME=''
ADMIN_BRAND_NAME=''
LANGUAGE_CODE='en-us'
TIME_ZONE='America/New_York'
Expand Down Expand Up @@ -61,9 +60,6 @@ Set this to `True` if you are running this in a Docker Container (you would/shou
### **DOMAIN_NAME**
Set this to the public domain that you will be connecting to the server with in production. This is the domain that NGINX is listening for requests on. This is only relevant when running in production/Docker, and is overriden when in a development environment.

### **ADMIN_BRAND_NAME**
The brand name used in admin interfaces. This will not be displayed on the typical user front end.

### **LANGUAGE_CODE**
A code representing the language used by Django. This is set to `en-us` by default, but can be changed. https://docs.djangoproject.com/en/4.1/ref/settings/#language-code

Expand Down
131 changes: 0 additions & 131 deletions config/jazzmin.py

This file was deleted.

10 changes: 10 additions & 0 deletions config/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,21 @@
'level': 'DEBUG',
'propagate': False,
},
'panel.forms': {
'handlers': ['console', 'log_file', 'mail_admins'],
'level': 'DEBUG',
'propagate': False,
},
'staffapps.views': {
'handlers': ['console', 'log_file', 'mail_admins'],
'level': 'DEBUG',
'propagate': False,
},
'staffapps.template_db': {
'handlers': ['console', 'log_file', 'mail_admins'],
'level': 'DEBUG',
'propagate': False,
},
'authprofiles.auth': {
'handlers': ['console', 'log_file', 'mail_admins'],
'level': 'DEBUG',
Expand Down
8 changes: 1 addition & 7 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from celery.schedules import crontab

from config.logging import LOGGING_DEFINITION
from config.jazzmin import JAZZMIN_SETTINGS_ORIGINAL, JAZZMIN_UI_TWEAKS_ORIGINAL

# Define project directories
BASE_DIR: str = Path(__file__).resolve().parent.parent
Expand Down Expand Up @@ -68,7 +67,6 @@

# Application/Middleware definitions
INSTALLED_APPS: list[str] = [
'jazzmin',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Expand Down Expand Up @@ -115,6 +113,7 @@
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'raptorWeb.raptormc.context_processor.context_process',
'raptorWeb.panel.context_processor.context_process',
'raptorWeb.authprofiles.context_processor.all_users_to_context',
'raptorWeb.raptorbot.context_processor.add_discord_guild_data',
'raptorWeb.gameservers.context_processor.server_settings_to_context',
Expand Down Expand Up @@ -283,11 +282,6 @@
}
}

# ** Settings for "django-jazzmin" app **
JAZZMIN_SETTINGS = JAZZMIN_SETTINGS_ORIGINAL

JAZZMIN_UI_TWEAKS = JAZZMIN_UI_TWEAKS_ORIGINAL

# ** Settings for "django_bootstrap5" app **
BOOTSTRAP5: dict = {

Expand Down
1 change: 0 additions & 1 deletion config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
path('robots.txt', TemplateView.as_view(template_name=join(RAPTORMC_TEMPLATE_DIR, 'robots.txt'), content_type="text/plain")),
path('tinymce/', include('tinymce.urls')),
path('captcha/', include('captcha.urls')),
path('admin/', admin.site.urls, name="admin"),
path('panel/', include(panel_urls), name='panel'),
path('api/servers/', include(server_urls), name="gameservers"),
path('api/donations/', include(donation_urls), name="donations"),
Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ dependencies:
- django-js-asset==2.1.0
- python-dotenv==1.0.0
- mysqlclient==2.1.1
- django-jazzmin==2.6.0
- discord.py==2.3.2
- django-ranged-response==0.2.0
- django-simple-captcha==0.5.20
Expand Down
164 changes: 0 additions & 164 deletions raptorWeb/authprofiles/admin.py

This file was deleted.

Loading

0 comments on commit 7e31f03

Please sign in to comment.