Commit graph

149 commits

Author SHA1 Message Date
Georg Krause
02bb83e3f4 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

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2565>
2023-08-31 17:51:46 +00:00
jo
abadf6c9fb
style: format file with black==23.7.0 2023-07-25 19:04:32 +02:00
jo
d83d338044 chore: fix spelling errors
(cherry picked from commit 8fb60c9203)

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2505>
2023-06-27 12:17:45 +00:00
JuniorJPDJ
5c32cace64 fix(api): merge migrations after merging stable to develop 2022-11-25 20:03:37 +01:00
Georg Krause
0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +01: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
jo
0061e82ecd chore: clean files using pre-commit 2022-11-22 14:30:01 +00:00
Marcos Peña
aa17f9679b Resolves reuse of invitation code 2022-11-21 18:50:08 +00:00
Georg Krause
ceab2252fb chore: Improve comments and remove useless try/catch 2022-11-15 18:03:43 +00:00
Georg Krause
515b502364 Fix oauth to respond with unhashed token on creation 2022-11-15 18:03:43 +00:00
Georg Krause
b0c82ce09f fix(oauth): Fix too many arguments error by removing not used token 2022-11-08 07:34:49 +00:00
Georg Krause
2c6bb23715 fix: Adjust call for previous refactoring 2022-11-08 07:34:49 +00:00
Georg Krause
b377f8f883 chore: Remove unused imports 2022-11-08 07:34:49 +00:00
Georg Krause
127a10f3d9 refactor(auth): Move check for verificated mail address to user class 2022-11-08 07:34:49 +00:00
JuniorJPDJ
64e7c68699 refactor(api): remove unnecessary or wrong is keyword usage 2022-11-07 13:28:52 +00:00
Georg Krause
727bb56548
fix(users): Make PasswordResetSerializer use correct form 2022-10-13 11:09:20 +02:00
Georg Krause
0629f322c3
Replace django-rest-auth with dj-rest-auth 2022-10-13 11:09:18 +02:00
Georg Krause
667052bc03
fix(openapi): Fix all user viewset annotation 2022-10-09 15:05:23 +02:00
Georg Krause
3d328d5f5f
fix(openapi): Fix spec generation for PasswordReset 2022-10-09 14:56:03 +02:00
Georg Krause
301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +00:00
wvffle
c0b2c8d41e Fix black linting 2022-09-27 09:30:26 +00:00
wvffle
68face201b Rename operation ids 2022-09-27 09:30:26 +00:00
Ciarán Ainsworth
d9cfa167c6 Fix OpenAPI generation 2022-07-20 12:31:57 +00:00
Petitminion
b412e036a3 Update migration after django update (#1815) 2022-06-29 09:38:38 +00:00
petitminion
252ebf8ce7 Remove usage of deprecated Model and Serializer fields (#1663) 2022-01-23 10:52:41 +00:00
Georg Krause
850dc69091 Update Black & run for whole repository 2022-01-09 11:40:49 +00:00
Georg Krause
189166ec7c Update django-oauth-toolkit 2021-07-04 04:57:35 +00:00
jovuit
f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Georg Krause
88de997603
Remove JWT related code 2021-04-28 10:44:28 +02:00
Fred Uggla
22f739a297 Replaced token password with passphrase 2020-11-15 21:44:23 +01:00
Kuba Orlik
3a83290cc0 Fix feed formatting so it passes w3c validation
Feeds generated by Funkwhale do not pass validation with the [w3c
validator](https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fpodcast.midline.pl%2Fapi%2Fv1%2Fchannels%2FMidline%2Frss).
This commit addresses the problems identified during validation:

1. The `isPermalink` is not recognized -> changed it to
   `isPermaLink` (capital "L")

2. `itunes:summary` and `itunes:subtitle` are 256 characters after
   truncating, but the maximum is 255. The truncating function trims the
   text to 255 chars, but then adds `…`, so the text is one character
   too long

3. The tags within `itunes:keywords` are now separated with commas
   instead of spaces (https://validator.w3.org/feed/docs/warning/InvalidKeywords.html)
2020-10-22 15:06:28 +02:00
Agate
884e64d4cf Fixed 500 on some urls 2020-08-23 12:24:35 +02:00
Agate
6fc08aa061 Fixed token length 2020-08-19 20:12:59 +02:00
Agate
30f6a77e68 More secure tokens 2020-08-19 19:50:56 +02:00
Agate
f2e5969c44 Added application token for easier auth 2020-08-19 11:41:17 +02:00
Agate
3bec27ded3 Fix #292: Users can now update their email address 2020-08-02 16:55:23 +02:00
Agate
e391415098 Upgraded dependencies 2020-07-18 10:29:22 +02:00
Agate
84d49754a7 Fix #996: Persist theme and language settings accross sessions 2020-07-05 11:22:31 +02:00
Agate
50c3071c56 Fixed auth/csrf issues 2020-07-03 11:35:11 +02:00
Agate
d4028450a9 Plugins infrastructure 2020-07-03 10:59:12 +02:00
Agate
550dbe46cc Support session/cookie based auth, see #1108 2020-05-18 12:03:30 +02:00
Agate
ec8dfdb740 Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:06:35 +02:00
Agate
27f40e6023
Fixed UI crash when updating avatar 2020-04-22 10:22:19 +02:00
Agate
a20a63d6ed
Fixed issue with confirmation email not sending when signup-approval was enabled 2020-04-20 15:42:29 +02:00
Agate
942367fce0
Ensure 0 quota on user is honored 2020-04-15 15:51:47 +02:00
Eliot Berriot
b07bd83fa1
See #1039: resend confirmation email on login if email is unverified 2020-04-01 15:34:13 +02:00
Eliot Berriot
93f2c9f83c
Fix #1039: setting to enforce email signup verification 2020-04-01 14:34:56 +02:00
Eliot Berriot
9aa12db62e See #170: Funkwhale federation 2020-03-25 15:32:10 +01:00