Commit Graph

1817 Commits

Author SHA1 Message Date
rubenwardy
3b56ef7148 Add ability to filter audit log 2024-06-04 20:32:29 +01:00
rubenwardy
2653071886 Fix GitHub link not saved on GitHub-based registration 2024-06-04 20:29:46 +01:00
rubenwardy
5e122279ec Clean up user registration code 2024-06-02 21:24:21 +01:00
rubenwardy
4872ea9e6a Make GITHUB_API_TOKEN actually optional 2024-06-02 17:38:32 +01:00
rubenwardy
bb39f268d3 Fix potential issue with existing user query matching multiple users 2024-06-02 12:48:06 +01:00
rubenwardy
bce06d45d0 Allow signing up using GitHub 2024-06-02 12:46:56 +01:00
rubenwardy
54c50a815d Limit reason field length 2024-06-02 12:33:40 +01:00
rubenwardy
6b04324ee5 Limit text length sent to discord webhook 2024-06-02 12:29:49 +01:00
rubenwardy
8db31ebfa9 Add recalc package scores admin action 2024-06-02 12:26:22 +01:00
rubenwardy
1eaa5d8767 Add call-to-action to report outdated reviews 2024-06-02 12:25:54 +01:00
rubenwardy
522f12356a Add "Ask a question" button to create a thread 2024-06-02 12:20:07 +01:00
rubenwardy
e344e28166 Fix missing uncommited import 2024-06-02 12:10:55 +01:00
rubenwardy
2d29fb1994 Remove package deletion to worker 2024-06-02 11:40:33 +01:00
rubenwardy
e1e77033fe Fix deleting soft-removed packages 2024-06-01 15:36:30 +01:00
rubenwardy
1fad818f05 Add review count to scores API 2024-06-01 00:06:25 +01:00
rubenwardy
37bff46f33 Add remove profile picture button 2024-05-26 15:21:57 +01:00
rubenwardy
8815327257 Add user_agent is_bot tests 2024-05-24 16:24:38 +01:00
rubenwardy
a3371d538c Fix two form and validation issues 2024-05-24 16:24:38 +01:00
rubenwardy
b5cd169af8 Update database dependencies 2024-05-24 16:24:38 +01:00
rubenwardy
37b50bf409 Update Flask dependencies 2024-05-24 16:24:38 +01:00
rubenwardy
04b87a4e74 Add approval stats page 2024-05-17 18:52:55 +01:00
rubenwardy
b2e543a16a Reduce Sentry sample rate 2024-05-16 17:08:57 +01:00
rubenwardy
8e719e3503 Fix broken links in reviews hypertext 2024-05-02 20:40:54 +01:00
rubenwardy
4ac0016c0b Add endpoint for getting hypertext of reviews 2024-05-02 20:32:49 +01:00
rubenwardy
faddf11f77 Fix TaskErrors being reported to Sentry 2024-05-01 21:29:36 +01:00
rubenwardy
662c632f5d Fix typos in privacy policy 2024-04-30 23:17:12 +01:00
rubenwardy
3d9fe80177 Add disconnect GitHub button 2024-04-30 23:16:14 +01:00
rubenwardy
a2125acddd Add privacy policy updated note to footer 2024-04-29 23:17:14 +01:00
rubenwardy
4bed2fc40c Add Sentry to about and privacy policy 2024-04-29 23:07:36 +01:00
rubenwardy
31b8ef5d87 Update privacy policy (#445) 2024-04-29 23:04:24 +01:00
rubenwardy
7d18cdee95 Use Sentry instead of emailing errors 2024-04-28 12:35:16 +01:00
rubenwardy
3a794fecbf Add contact and donate links to the footer 2024-04-14 15:51:35 +01:00
rubenwardy
686d285731 Fix hypertext escaping of game links 2024-04-07 23:17:58 +01:00
rubenwardy
f77ecd824c Add username to already linked error message
This doesn't introduce user enumeration as GitHub
username associations were already public
2024-04-07 23:17:34 +01:00
rubenwardy
465370d3fc Add featured field to packages API
Fixes #500
2024-04-05 18:25:41 +01:00
rubenwardy
609354cd35 Hypertext: Fix various issues
* Change link color
* Return absolute URLs
* Provide link to tables (with anchor)
* Provide link to image when include_images=false
* Escape backward slashes
* Make package info more compact
2024-04-05 18:17:07 +01:00
rubenwardy
6280cd5947
Remove some forum topic related features (#527) 2024-04-03 18:30:08 +01:00
rubenwardy
bb81e1387a Update repo/forum link alert message 2024-04-03 18:24:41 +01:00
rubenwardy
1b8c13914c Add admin action to warn about git/repo links instead of internal links 2024-04-03 00:37:21 +01:00
rubenwardy
3ee4b723c1 for-client API: Add links to supported games 2024-04-03 00:27:58 +01:00
rubenwardy
47b2d07e89 for-client API: Make screenshots a list of objects not URLs 2024-04-01 17:43:16 +01:00
rubenwardy
1be4155ab0 Add Minetest-optimised package endpoint 2024-04-01 17:32:12 +01:00
rubenwardy
0f5a97b539 Improve repo and forum topic matching in hints 2024-03-31 15:59:30 +01:00
rubenwardy
66f855cc61 Improve package edit hints 2024-03-31 15:38:46 +01:00
rubenwardy
8c59520317 Make package edit help links open in a new tab 2024-03-31 04:04:00 +01:00
rubenwardy
eaea6ce9a3 Add help page for making better package pages 2024-03-31 04:00:18 +01:00
rubenwardy
f0a33927bd Fix collections API showing unapproved packages
Fixes #504
2024-03-30 17:46:54 +00:00
rubenwardy
e82dac4403 Fix collections showing unapproved packages
Fixes #504
2024-03-30 17:41:47 +00:00
rubenwardy
c782e59531 Add link to collections search to package page 2024-03-30 17:37:43 +00:00
rubenwardy
e9193aefb8 Add favorites count to favorite button 2024-03-30 17:27:08 +00:00
rubenwardy
64414a3731 Check that GitHub doesn't pass a null user id 2024-03-30 17:06:32 +00: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
a8d2cc0383 Add dependency-based cache to game support algorithm 2024-03-29 16:02:32 +00:00
rubenwardy
b33a7f79b1 Fix game support not updating when removing a provided mod 2024-03-29 15:54:52 +00:00
rubenwardy
311d07d454 Fix user_supported_games when supporting all games 2024-03-29 15:45:01 +00:00
rubenwardy
43f4d4a7f4 Validate game names given to the support_game field 2024-03-27 22:06:52 +00:00
rubenwardy
b151f78ca6 Fix key error in game support algorithm 2024-03-27 20:00:57 +00:00
rubenwardy
af2bdef1bf Remove game support disclaimer 2024-03-27 19:39:28 +00:00
rubenwardy
434fd03fe8 Fix crash on manual game support override 2024-03-27 19:16:29 +00:00
rubenwardy
2c0d90e797 Rewrite game support algorithm
Fixes #395
2024-03-27 19:03:48 +00:00
rubenwardy
f9048a8f49 Fix rendering of task errors 2024-03-27 17:55:51 +00:00
rubenwardy
6b9614314c Make it clearer that creating a package is only the first step
Fixes #525
2024-03-27 17:47:15 +00:00
rubenwardy
ec2acad472
Refactor package approval validation to unify implementation 2024-03-23 16:17:26 +00:00
1F616EMO~nya
f1ec755618
Remove duplicated > (#521) 2024-03-09 15:35:50 +00:00
rubenwardy
0b76982d63 Adjust package score frecency factor 2024-03-07 21:20:32 +00:00
rubenwardy
a79337cc31 Add missing quotes to metric labels 2024-03-07 02:26:14 +00:00
rubenwardy
47feb9edc4 Fix some fields not being cleared in user deactivation 2024-03-06 18:26:01 +00:00
rubenwardy
1d1709d3d4 Add active user and translation prometheus metrics 2024-03-06 18:26:01 +00:00
rubenwardy
824d349c30 Fix typo in use of .rounded-pill
Fixes #520
2024-03-06 18:26:01 +00:00
rubenwardy
a7364990bd Use date as release title in webhook 2024-03-05 23:59:30 +00:00
rubenwardy
a94c398633 Add disable all button to email notification settings 2024-03-05 18:05:13 +00:00
rubenwardy
76638ad878 Require package authors to have an email address 2024-03-05 17:53:47 +00:00
rubenwardy
0c98333bcb Translate page: Fix titles being shown in English 2024-03-04 18:23:34 +00:00
rubenwardy
2851c8803c Fix incorrect use of flatpages markdown parser 2024-03-04 18:09:27 +00:00
rubenwardy
2867856d40 Add config for admin contact url 2024-03-04 18:05:16 +00:00
rubenwardy
ba6b7d6dcf Add message to clarify profile picture requirements 2024-03-03 22:50:34 +00:00
rubenwardy
f9c75c2749 Fix .gif profile pictures being imported 2024-03-03 22:44:42 +00:00
rubenwardy
31a47018eb Fix squished user avatars on reviews and threads 2024-03-03 22:44:14 +00:00
rubenwardy
de1332c5e8 Add comment on how to use the translation template.txt 2024-03-03 17:56:58 +00:00
rubenwardy
5983b5c420 Add translation template to package translation page 2024-03-03 17:49:15 +00:00
rubenwardy
3eae7efddd Translate page: Add help link 2024-03-03 15:02:27 +00:00
rubenwardy
3ad97b79dd Add missing rel="ugc" to package page 2024-03-03 15:00:24 +00:00
rubenwardy
5223c2c47b Translate page: Add translation_url to query 2024-03-03 14:51:19 +00:00
rubenwardy
dd6f36bd2b Add translators' page 2024-03-03 02:49:27 +00:00
rubenwardy
7c59c1c5b1 Add Vary: Accept-Language to package API 2024-03-03 01:53:12 +00:00
rubenwardy
954a849ba6 Fix crash on deleting failed releases 2024-03-03 01:34:22 +00:00
rubenwardy
1d5be80564 Fix remaining zh_Hans 2024-03-03 01:21:17 +00:00
rubenwardy
8f9f554749 Add import translation action 2024-03-03 01:14:33 +00:00
rubenwardy
ffdd0bbafd Add overview stat to languages editor 2024-03-03 01:14:33 +00:00
rubenwardy
fe40a7c6d4 Add package count to languages editor 2024-03-03 01:14:33 +00:00
rubenwardy
b1a9398ed1 Add has_contentdb_translation to Language, add API 2024-03-03 01:14:33 +00:00
rubenwardy
6b34a91241 Fix task/logic errors not being reported in post_release_check_update 2024-03-03 01:14:33 +00:00
rubenwardy
966023be17 Fix textdomain validation in .tr parser 2024-03-03 01:14:33 +00:00
rubenwardy
40d572d645 Add query argument to filter by language support 2024-03-03 01:14:33 +00:00
rubenwardy
3e6d6864b3 Add arguments validation to parse_tr 2024-03-03 01:14:33 +00:00
rubenwardy
e86d9a8e88 Add empty PackageTranslation for all supported languages in a package 2024-03-03 01:14:33 +00:00
rubenwardy
2621e9f7d3 Make QueryBuilder default to get_locale() 2024-03-03 01:14:33 +00:00
rubenwardy
65dc8c0891 Rewrite .tr parser 2024-03-03 01:14:33 +00:00
rubenwardy
1b5791a358 Use package translation on tiles 2024-03-03 01:14:33 +00:00
rubenwardy
9173d3c578 Use package translation in API 2024-03-03 01:14:33 +00:00