Commit Graph

238 Commits

Author SHA1 Message Date
rubenwardy
4872ea9e6a Make GITHUB_API_TOKEN actually optional 2024-06-02 17:38:32 +01:00
rubenwardy
6b04324ee5 Limit text length sent to discord webhook 2024-06-02 12:29:49 +01:00
rubenwardy
2d29fb1994 Remove package deletion to worker 2024-06-02 11:40:33 +01:00
rubenwardy
37b50bf409 Update Flask dependencies 2024-05-24 16:24:38 +01:00
rubenwardy
7d18cdee95 Use Sentry instead of emailing errors 2024-04-28 12:35:16 +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
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
b33a7f79b1 Fix game support not updating when removing a provided mod 2024-03-29 15:54:52 +00:00
rubenwardy
2c0d90e797 Rewrite game support algorithm
Fixes #395
2024-03-27 19:03:48 +00:00
rubenwardy
0b76982d63 Adjust package score frecency factor 2024-03-07 21:20:32 +00:00
rubenwardy
f9c75c2749 Fix .gif profile pictures being imported 2024-03-03 22:44:42 +00:00
rubenwardy
8f9f554749 Add import translation action 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
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
65dc8c0891 Rewrite .tr parser 2024-03-03 01:14:33 +00:00
rubenwardy
658d319eb0 Add translation importing to post_release_check_update 2024-03-03 01:14:33 +00:00
rubenwardy
550a12bdf0 Add .tr file parser 2024-03-03 01:14:33 +00:00
rubenwardy
357348c24e Add audit log when mods are added to packages 2024-02-22 12:44:08 +00:00
rubenwardy
2303e70a8e Fix crash on release validation 2024-01-10 00:29:55 +00:00
rubenwardy
69ba1c3fad MinetestCheck: Validate supported_games syntax 2024-01-10 00:07:31 +00:00
rubenwardy
ca3436be0c Improve license check message 2023-12-30 17:30:49 +00:00
rubenwardy
c565f0bb50 Add check for license files to release validation 2023-12-30 17:20:55 +00:00
rubenwardy
c6a59701be Fix size limit not being applied to Git releases
Fixes #495
2023-12-15 16:19:06 +00:00
rubenwardy
8dfd5c407d Readd "Sync with Forums" button to profile picture settings 2023-09-02 22:34:29 +01:00
rubenwardy
bb719ad844 Show JSON decode errors to users
Fixes #431
2023-08-20 23:17:54 +01:00
rubenwardy
7492c308ad MinetestCheck: Add more reserved mod names 2023-08-06 12:29:43 +01:00
rubenwardy
d31162a1fa MinetestCheck: Forbid the use of reserved mod names 2023-08-06 12:21:06 +01:00
rubenwardy
e446e9011a Adjust error message to debug Yandex mail issue 2023-07-06 17:04:59 +01:00
rubenwardy
2494121615 Fix inverted condition in supports_all_games check 2023-07-03 22:49:46 +01:00
rubenwardy
ba0b4d518d Prevent supporting all games from .conf when depending on a game-specific game 2023-07-03 22:23:33 +01:00
rubenwardy
edce45f71a Add emails_sent metric 2023-06-19 23:34:49 +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
d808a5c822 Fix issues based on linter 2023-06-19 21:57:54 +01:00
rubenwardy
f2cfb6c17d Fix typos and grammar 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
c498818e8b Add supports_all_games to make game support explicit
Fixes #388 and fixes #441
2023-06-18 21:12:14 +01:00
rubenwardy
d8fa3342cf Discord webhooks: Fix understood failing status codes 2023-05-14 17:23:55 +01:00
rubenwardy
a5e258f7fa Fix throwing exception 2023-05-14 17:22:57 +01:00
rubenwardy
8178232911 Fix Discord webhooks failing due to avatar URL being relative 2023-05-14 17:21:23 +01:00
rubenwardy
1a173153c8 Inspect Discord webhook response 2023-05-14 17:16:56 +01:00
rubenwardy
3ccb165522 Import forum profile pictures and host them directly 2023-05-05 18:43:20 +01:00
rubenwardy
a5ec46f14c Update database dependencies 2023-04-23 21:51:51 +01:00
rubenwardy
fb13272e6c Fix crash due to relations not supporting is_ 2023-03-18 23:20:09 +00:00
rubenwardy
7eca06a097 Fix web hooks updating deleted packages 2023-03-18 14:22:39 +00:00
rubenwardy
42b9986fc8 Enable game support for texture packs 2023-01-12 19:48:18 +00:00
rubenwardy
46b804834a Fix embed being required in webhook 2023-01-05 09:43:27 +00:00