1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 14:59:36 +02:00
Commit graph

60 commits

Author SHA1 Message Date
Sean Morley
6be4acb196 Add authentication backends for Allauth and Django's ModelBackend 2025-05-28 11:06:21 -04:00
Sean Morley
3f6aa67b3f Refactor database configuration to use a helper function for environment variables, improving compatibility with legacy setups. 2025-05-26 17:18:30 -04:00
Sean Morley
40f54529a4 Refactor environment variable names in .env.example and settings.py for consistency; add install script for streamlined setup 2025-05-26 16:55:00 -04:00
Sean Morley
68ba3c4b4d Add Google Maps API integration for geocoding and reverse geocoding functionality 2025-05-24 14:59:58 -04:00
Sean Morley
3d9f4545a1
Merge branch 'development' into bool-case-sensitivity 2025-05-22 21:22:27 -04:00
Sean Morley
d52e302e9b Add geocoding functionality and enhance Adventure model with location fields 2025-05-22 20:05:13 -04:00
Sean Morley
7c3c139e61 Add DisableCSRFForMobileLoginSignup middleware to handle CSRF checks for mobile login/signup requests 2025-05-12 10:42:26 -04:00
Lars Kiesow
5136122ed9
Make boolean settings case insensitive
Having to use the Python syntax when it comes to case sensitivity for
booleans in environment variables can be unexpected and doesn't really
provide any benefit.

This patch makes all boolean settings case-insensitive. This means that,
for example, both `True` and `true` evaluate to `True` in Python.

This fixes #559
2025-04-26 23:27:25 +02:00
Sean Morley
a38828eb45 feat: Implement disable password authentication for users with social accounts 2025-03-16 21:49:00 -04:00
Sean Morley
b1068d27b0 refactor: Update API endpoint paths from "_allauth" to "auth" for consistency 2025-02-23 17:04:20 -05:00
Sean Morley
1c15e85986 feat: Enhance session cookie domain handling for IP addresses and single-label hostnames 2025-02-20 10:21:48 -05:00
Sean Morley
2713b3640f feat: Set SESSION_COOKIE_SAMESITE to 'Lax' for improved security 2025-02-16 15:35:10 -05:00
Sean Morley
b5d6788c11 feat: Add location_name to ReverseGeocode type and implement location fetching in stats view 2025-02-15 19:44:11 -05:00
Sean Morley
9b54af8d40 feat: Update country data management to use AdventureLog CDN for fetching flags and JSON files 2025-02-04 17:43:41 -05:00
Sean Morley
a00d2abe0d feat: Add achievements app with models, admin, and management command for seeding data 2025-02-04 10:37:15 -05:00
Sean Morley
7d71c84fd2 feat: Remove email field from user details response and enhance frontend user display 2025-02-01 15:10:25 -05:00
Sean Morley
3468e82b04 feat: Sanitize FRONTEND_URL by removing quotes for improved URL parsing 2025-01-27 09:23:48 -05:00
Sean Morley
f5dc0ceb0a feat: Refactor session cookie domain handling to use psl for improved domain parsing 2025-01-26 20:18:50 -05:00
Sean Morley
d326d38329 feat: Update session cookie domain handling using publicsuffix2 and psl libraries 2025-01-26 20:06:47 -05:00
Sean Morley
aa216f5688 feat: add Attachment model and implement file permission checks for media access 2025-01-18 20:06:12 -05:00
Sean Morley
433599dc20 feat: implement protected media serving and permission checks for adventure images 2025-01-18 17:03:03 -05:00
Sean Morley
e8f2c7ea81 fix: update session cookie domain handling for IP addresses and improve frontend URL configuration 2025-01-14 09:38:38 -05:00
Sean Morley
4c84ac0979 fix: enhance middleware to set HTTP_X_FORWARDED_PROTO and secure proxy SSL header 2025-01-13 19:21:35 -05:00
Sean Morley
4a36fbb4c1 fix: dynamically set session cookie domain based on request hostname 2025-01-13 18:06:16 -05:00
Sean Morley
062111d7fe fix: configure secure session cookies and dynamic domain for frontend URL 2025-01-13 17:52:25 -05:00
Sean Morley
44810e6343 feat: add City model and serializer, update RegionCard and create CityCard component, enhance admin interface for City management 2025-01-09 11:11:02 -05:00
Sean Morley
f670fbc93a feat: enhance superuser creation with email verification and update settings for two-factor authentication 2025-01-07 10:27:11 -05:00
Sean Morley
548702890d feat: update NGINX configuration for improved proxy handling and enable social account login on GET requests 2025-01-07 09:58:39 -05:00
Sean Morley
a5aa09ed7b feat: add OverrideHostMiddleware to set HTTP_HOST from PUBLIC_URL environment variable and update nginx configuration 2025-01-06 20:44:37 -05:00
Sean Morley
128c33d9a1 feat: add social authentication support with enabled providers endpoint and UI integration 2025-01-06 14:25:57 -05:00
Sean Morley
56244329f5 feat: configure REST framework renderers based on DEBUG setting 2025-01-03 16:29:39 -05:00
Sean Morley
67f6af8ca3 feat: add Immich integration view and API documentation, enhance error handling, and include SVG asset 2025-01-01 16:24:44 -05:00
Sean Morley
dc89743569 feat: add Immich integration module with API endpoints and admin interface 2024-12-31 10:38:15 -05:00
Sean Morley
7b7db1c530 Refactor email management and localization; update requirements and settings for MFA support 2024-12-12 19:20:58 -05:00
Sean Morley
673a56c6a0 Add MFA to login screen 2024-12-12 15:45:19 -05:00
Sean Morley
2ccbf4be83 Update email verification and password reset flows; refactor Docker Compose and enhance email management 2024-12-12 11:01:09 -05:00
Sean Morley
84566b8ec1 User profile settings API and remove old Dj-Rest-Auth code 2024-11-30 10:24:27 -05:00
Sean Morley
c65fcc2558 Migrate to session based auth 2024-11-29 18:20:51 -05:00
Sean Morley
b86c7258e7 Enhance admin security by integrating secure_admin_login from AllAuth and updating settings for new dependencies 2024-11-29 17:51:32 -05:00
Sean Morley
f119e6fdc2 Refactor settings.py to remove unused authentication configurations and clean up middleware 2024-11-29 16:55:28 -05:00
Sean Morley
9bc20be70e Initial migration to new session based auth system with AllAuth 2024-11-29 14:41:13 -05:00
Sean Morley
de45296dc1 Refactor media and static file paths; update countries JSON download URL to use COUNTRY_REGION_JSON_VERSION 2024-11-05 10:55:06 -05:00
Sean Morley
c27bf4baba Update COUNTRY_REGION_JSON_VERSION to v2.4 and adjust download URL in management command 2024-11-05 10:41:01 -05:00
Sean Morley
6eff9f6456 Update STATIC_ROOT path to use 'staticfiles' directory 2024-11-05 10:15:38 -05:00
Sean Morley
44c0ffc1d7 Refactor static file path and update theme selection text in Navbar; change localization keys for login and signup buttons 2024-11-05 10:13:30 -05:00
Sean Morley
4bbbc10097 Bump version to 0.7.1, update COUNTRY_REGION_JSON_VERSION, and add nginx migration guide 2024-11-03 15:12:28 -05:00
Sean Morley
3c353fed14 Make comments clearer for self hosting 2024-09-15 11:10:34 -04:00
Sean Morley
6ac3f0541f Add capital to countries 2024-09-11 16:08:10 -04:00
Sean Morley
f237f480df Custom registration disable message 2024-08-24 23:20:50 -04:00
Sean Morley
45196f9823 GEO Point checker! 2024-08-23 13:56:27 -04:00