Commit Graph

49 Commits

Author SHA1 Message Date
rubenwardy
37b50bf409 Update Flask dependencies 2024-05-24 16:24:38 +01:00
rubenwardy
f5dd77fcb3 Use GitHub user ids instead of usernames for authentication
Otherwise, renaming a GitHub account could allow someone else
to gain access to a CDB account.
2024-03-30 17:00:01 +00:00
rubenwardy
77e53b914d Exclude systme messages from rate limit 2024-01-10 00:49:34 +00:00
rubenwardy
41477980df Allow auto-approval for all users that aren't banned 2023-12-29 11:36:25 +00:00
rubenwardy
36c63b4657 Fix crash on review voting on homepage 2023-12-04 10:24:18 +00:00
rubenwardy
9b0f84bac5 OAuth: Add app type (is_clientside) 2023-11-07 23:06:22 +00:00
rubenwardy
047bf936b4 OAuth2: Allow normal users to create clients (but unapproved) 2023-10-31 20:29:49 +00:00
rubenwardy
00f7dbb28d OAuth2: Add approval and verified apps 2023-10-31 20:11:55 +00:00
rubenwardy
76f9f58175 OAuth2: Add audit logs 2023-10-31 19:18:08 +00:00
rubenwardy
a29715775e Add OAuth2 Applications API
Fixes #344
2023-10-31 18:45:45 +00:00
rubenwardy
ea2f1f4f6f Fix unapproved packages appearing in collections 2023-08-16 01:00:51 +01:00
rubenwardy
f7a5a1218f Add package collections
Fixes #378
2023-08-14 21:48:50 +01:00
rubenwardy
32a305c9d8 Prevent deleting banned accounts 2023-08-10 16:31:16 +01:00
rubenwardy
45ed12ddf0 Use snake_case for method names 2023-06-19 21:57:54 +01:00
rubenwardy
16f93b3e13 Optimise imports and fix linter issues 2023-06-19 21:57:54 +01:00
rubenwardy
8585357942 Use consistent naming scheme for methods/functions 2023-06-19 21:57:54 +01:00
rubenwardy
f03746f5ad Allow editors and approvers to see package audit log descriptions 2023-05-12 00:55:44 +01:00
rubenwardy
f986caf18b Allow new members to create API tokens 2022-11-22 21:56:19 +00:00
rubenwardy
1f40a5bf8b Add user info API 2022-11-09 20:47:19 +00:00
rubenwardy
b4208f2dda Reintroduce New Member rank
Fixes #183
2022-08-23 02:31:17 +01:00
rubenwardy
dfc0af21ee Lower ratelimit 2022-05-09 12:40:01 +01:00
rubenwardy
cfd67dce33 Add ratelimit to package reviews 2022-05-08 16:01:13 +01:00
rubenwardy
3d35f6507a Add temp banning and ban messages 2022-02-13 10:41:02 +00:00
rubenwardy
770d17b42a Use persistent SMTP connection for bulk emails, add List-Unsubscribe header 2022-02-12 14:06:04 +00:00
rubenwardy
f61112a8d7 Add ability for moderators to convert reviews into threads 2022-02-09 12:47:36 +00:00
rubenwardy
f8e82b63e3 Revert "Limit visibility of unapproved packages to maintainers and approvers" and "Fix 404 on packages when not logged in"
This reverts commit 85a178d90e7ea654f456716a203388a1035048a4.
This reverts commit 727db52c19b6775972f9b5c073b26ce3c9e543bd.
2022-02-01 14:54:09 +00:00
rubenwardy
7aac597216 Change User.locale default to None 2022-01-25 01:33:13 +00:00
rubenwardy
7b4254da58 Add locale to user model 2022-01-22 20:47:43 +00:00
rubenwardy
3c944cbd72 Add moderator tools page
Fixes #341
2022-01-21 22:33:22 +00:00
rubenwardy
727db52c19 Limit visibility of unapproved packages to maintainers and approvers
Fixes #338
2022-01-21 21:48:15 +00:00
rubenwardy
933d8ebfe7 Add all user replies page 2022-01-03 01:41:50 +00:00
rubenwardy
3c4085eb0b Use username in fallback when generating gravatar profile picture 2021-11-25 11:00:20 +00:00
rubenwardy
3b5c9950de Add created_at to User and UserEmailVerification 2021-11-24 17:35:38 +00:00
rubenwardy
fab814c46f Add review voting 2021-08-18 22:09:41 +01:00
rubenwardy
e5cc140d42 Add Approver rank 2021-08-16 18:57:05 +01:00
rubenwardy
562b0ceffe Allow admin to delete any user (except admins) 2021-08-04 21:50:35 +01:00
rubenwardy
545968a71f Remove updateFromRelease feature 2021-07-24 03:09:33 +01:00
rubenwardy
588b03cf34 Add tests for login and register 2021-05-03 23:57:22 +01:00
rubenwardy
04e108c31e Fix API crash due to missing upper() in enum coercion 2021-02-28 16:04:40 +00:00
rubenwardy
dea5a52c86 Allow users to change their display name
Fixes #269
2021-02-25 23:25:33 +00:00
rubenwardy
64a897b52f Improve token form 2021-02-02 17:09:21 +00:00
rubenwardy
8d6661511a Update copyrights 2021-01-30 17:00:58 +00:00
rubenwardy
4f920f011f Add new to do list UI 2021-01-29 19:38:14 +00:00
rubenwardy
6e763b8453 Add notification type for bot messages 2021-01-29 16:36:23 +00:00
rubenwardy
14a67b99ba Add package update configuration for polling 2021-01-29 16:36:23 +00:00
rubenwardy
5314fda342 Fix broken user delete 2021-01-24 13:01:24 +00:00
rubenwardy
2ae4a2ed5a Fix broken includes in user models 2020-12-10 23:08:53 +00:00
rubenwardy
8d8577a941 Clean up database constraints 2020-12-10 22:10:12 +00:00
rubenwardy
70ac8fa6ab Convert models.py into package 2020-12-10 22:10:12 +00:00