Commit Graph

250 Commits

Author SHA1 Message Date
Georg Krause dcf970d0c6 fix(api): Fix password reset via email
The original serializes assumes if allauth is installed, its also used
for the token generation. Thats not the case for us, so we need to
overwrite this behavior
2023-08-31 19:47:52 +02:00
Georg Krause 4490fba5bb feat(dev): Add and enable django-extensions for debugging
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2522>
2023-07-27 11:26:49 +00:00
Georg Krause a46c8e7f41 fix(api): Avoid the creation of users using djangos createsuperuser command 2023-06-12 09:36:52 +00:00
petitminion 2db8c585ad feat: implement typesense container 2023-05-17 15:48:02 +00:00
Georg Krause c48b62da94 Merge branch 'pre-release/1.3.0' into develop 2023-05-12 09:21:47 +02:00
jo 3028672096
fix(api): prefer str over dict for the CACHE_URL setting
This fix the ability to reuse the CACHE_URL with other settings such as
CELERY_BROKER_URL.
2023-04-19 12:47:24 +02:00
jo ca3106828d
refactor(api): rename CACHE_DEFAULT to CACHE_URL_DEFAULT 2023-04-19 12:40:41 +02:00
jo 83b2aa0ad8
fix(api): move docker cache settings to django settings 2023-04-14 13:17:55 +02:00
jo e4793f06e8
refactor: use global IS_DOCKER_SETUP setting 2023-04-14 12:27:52 +02:00
jo 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +01:00
jo 639d5b152f docs: fix warnings
- fix sphinx multi version allowlist regex values
2023-02-28 19:39:07 +00:00
jo 6806adb4f5 test(api): lint code using pylint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203>
2023-01-29 12:47:02 +00:00
jo c07aa0dbec fix(api): postgres connection details in docker setup
We properly recognize the docker setup to generate DATABASE_URL configuration.

Fix #2036

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:51:16 +01:00
jo 216a858010 feat(api): split DATABASE_URL into multiple config variables
Introduces new database environment variables while keeping
backward compatibility with the now deprecated
POSTGRES_ENV_POSTGRES_USER POSTGRES_ENV_POSTGRES_PASSWORD
environment variables.

DATABASE_URL defaults to an auto generated url using the
`DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`,
`DATABASE_PASSWORD` and `DATABASE_NAME` variables.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
Georg Krause 62653a2f62 chore: Move database url composition from custom script to django settings
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
wvffle 57ca334887 Fix cookies not being set on new frontend deployment 2022-12-13 13:58:11 +00:00
Georg Krause ca9e3c7054 Remove all /front/ occurences
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
2022-12-05 13:59:05 +00:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
jo 8d9946d35a refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
2022-11-23 22:08:55 +00:00
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
JuniorJPDJ 26fc479b57 Update dependency channels and channels-redis to v4 (develop) 2022-11-08 19:46:58 +00:00
Georg Krause 68cc6d9120 chore(oauth): Update Django OAuth Toolkit to version 2.2.0 2022-11-08 07:34:49 +00:00
Ciarán Ainsworth 29e92fda2f Resolve "New embedded player doesn't work on Mastodon" 2022-11-06 06:58:03 +00:00
petitminion 78c3764cc6 Fix remote instance ping 2022-10-27 15:46:01 +00:00
Petitminion 0cb3457378 New task checking if remote instance is reachable to avoid playback latence 2022-10-27 12:20:31 +00:00
Georg Krause 9d2a1da039
fix(spa): Adjust URL configuration path 2022-10-19 13:02:38 +02:00
petitminion 605b2fee9a Delete refresh actor data task 2022-10-16 10:44:09 +00:00
Georg Krause 0629f322c3
Replace django-rest-auth with dj-rest-auth 2022-10-13 11:09:18 +02:00
Georg Krause 301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +00:00
wvffle 68face201b Rename operation ids 2022-09-27 09:30:26 +00:00
Kasper Seweryn 2c70040a2b Fix unused var typescript error in generated API client NOCHANGELOG 2022-09-23 16:40:23 +00:00
Georg Krause b3f31aeea2
Add version to sentry tracking 2022-08-14 16:27:55 +02:00
Georg Krause 14591adaea
Add celery integration to sentry tracking 2022-08-14 16:27:31 +02:00
Georg Krause 9ce3022427
Add instance as sentry tag 2022-08-13 11:05:07 +02:00
Georg Krause d36a5099f3
Pass debug setting to sentry 2022-08-11 20:13:32 +02:00
Georg Krause 879460adaf
Fix performance tracking for sentry and lower samplerate 2022-08-11 19:18:30 +02:00
Georg Krause 88c7866270 feat(Logging): Add Sentry SDK to report errors at the backend 2022-08-06 20:36:39 +00:00
Ciarán Ainsworth 01c978cdcf Resolve "Provide docs to help with migration Debian 10 -> 11" 2022-07-27 18:18:29 +00:00
Ciarán Ainsworth ae4b113708 Resolve "Follow-up from "Document log level"" 2022-07-27 11:14:43 +00:00
Ciarán Ainsworth d9cfa167c6 Fix OpenAPI generation 2022-07-20 12:31:57 +00:00
Georg Krause 0ee20f400c
Fix formatting 2022-07-16 09:21:33 +02:00
Georg Krause 1fa648ecea
Only swagger for /api/v1 2022-07-16 09:17:12 +02:00
Georg Krause 098fe7e119
Fix swagger generation 2022-07-15 20:14:28 +02:00
Ciarán Ainsworth 541df722ef Minor admin docs updates 2022-07-03 14:13:58 +00:00
Ciarán Ainsworth 17f1941b0b Rewrite admin documentation 2022-07-01 09:02:29 +00:00
Marcos Peña 95b5b99484 Fix embed widget not working 2022-06-13 09:53:36 +00:00
petitminion 804d8bcefd Add task to refresh actor data in the cache (#1392) 2022-06-11 06:34:11 +00:00
petitminion 50f002fa73 Create an scan Library celery task 2022-05-15 10:56:39 +00:00
Georg Krause e3a28b57d1
Fix formatting 2022-05-07 11:36:44 +02:00