Commit Graph

259 Commits

Author SHA1 Message Date
rubenwardy
80d534a53f Fix crash on invalid username in forums import 2022-01-21 21:20:04 +00:00
rubenwardy
7f5656df08 Add reporting system
Fixes #12
2022-01-20 23:30:56 +00:00
rubenwardy
d9a6127c35 Fix inconsistent capitalisation of GitHub and Javascript
Fixes #353
2022-01-20 01:29:02 +00:00
rubenwardy
6e93e6d777 Fix optional_depends not being validated 2022-01-17 15:34:41 +00:00
rubenwardy
c0eb10521d Delete unconfirmed accounts after 12 hours 2021-11-24 22:54:35 +00:00
rubenwardy
bc371f1ef3 Delete inactive user accounts after 12 hours 2021-11-24 17:58:03 +00:00
rubenwardy
4a1f654798 Fix crash due to faulty game detection 2021-08-18 02:14:15 +01:00
rubenwardy
37a7dd28d6 Add optional Discord webhook support 2021-08-17 21:16:43 +01:00
rubenwardy
d6b1adf613 Disable package name validation on modpacks
Whilst modpacks providing an incorrect name in `modpack.conf` is wrong,
it doesn't actually matter as ContentDB will correct it after installation.
2021-08-08 20:43:57 +01:00
rubenwardy
fc7739be2c Add package name validation to postReleaseCheckUpdate
Fixes #186
2021-07-25 00:09:19 +01:00
rubenwardy
4e83adc032 Refactor package URL generation 2021-07-24 04:30:14 +01:00
rubenwardy
823c06d3ea Prevent API from changing protected tags
Fixes #322
2021-07-24 00:43:55 +01:00
rubenwardy
b87401a0c8 Fix missing mapPackages 2021-07-22 14:04:08 +01:00
rubenwardy
148ece162c Add Featured packages and protected tags 2021-07-22 13:44:20 +01:00
rubenwardy
2f77a84ec5 Add notification when release creation fails 2021-07-19 23:49:29 +01:00
rubenwardy
fb2f71e1dc Revert "Remove error on game missing hard deps"
This reverts commit aff20f1a6d22f25c7286b3625b7379c9dae7a5da.
2021-07-18 17:59:35 +01:00
rubenwardy
c11e5c1f99 Revert "Fix Git clone error when checking out reference"
This reverts commit 63cfb5eac0c6a67db43b4bd35b1ea09b05c07214.
2021-03-02 16:42:38 +00:00
rubenwardy
63cfb5eac0 Fix Git clone error when checking out reference 2021-03-01 18:10:46 +00:00
rubenwardy
ff2f7caee1 Add support for README files when importing meta
Fixes #87
2021-02-28 02:36:31 +00:00
rubenwardy
8225e4098b Add support for .cdb.json
Fixes #231
2021-02-02 23:58:59 +00:00
rubenwardy
14810b2cc5 Add table of contents to help pages 2021-02-02 20:05:24 +00:00
rubenwardy
a78fe8ceb9 Split importtasks.py 2021-02-01 22:43:43 +00:00
rubenwardy
d7647520c8 Fix erroneous updates from Git Update Detector 2021-02-01 11:34:55 +00:00
rubenwardy
f07f2803f8 Fix crash in get_latest_tag due to missing tuple 2021-01-31 11:24:04 +00:00
rubenwardy
4364ce5d6f Fix incorrect query in check_update_config task 2021-01-30 23:51:09 +00:00
rubenwardy
7c3d738756 Fix index out of range error in get_latest_tag 2021-01-30 23:42:00 +00:00
rubenwardy
b7814d9541 Check for existing releases with commit in update checker 2021-01-30 19:56:27 +00:00
rubenwardy
b3237b0c49 Split utils.py into package 2021-01-30 18:25:00 +00:00
rubenwardy
b22ef5ae83 Add release creation audit logs 2021-01-30 17:10:38 +00:00
rubenwardy
8d6661511a Update copyrights 2021-01-30 17:00:58 +00:00
rubenwardy
99eee9c758 Use utc date format when creating releases using Update Config 2021-01-30 01:21:26 +00:00
rubenwardy
9acb7698ef Fix updates beat 2021-01-29 23:35:23 +00:00
rubenwardy
09f8302e74 Add support for New Tag update detection trigger 2021-01-29 22:20:44 +00:00
rubenwardy
ef9860b6cc Replace update bot message with notification only 2021-01-29 20:01:48 +00:00
rubenwardy
b613ac4b89 Fix default branch detection 2021-01-29 17:17:51 +00:00
rubenwardy
ee9f6454e0 Change bot thread title 2021-01-29 16:36:23 +00:00
rubenwardy
c5d99e00d8 Document that new tag isn't implemented yet 2021-01-29 16:36:23 +00:00
rubenwardy
ea527f9598 Only run update configs on approved packages 2021-01-29 16:36:23 +00:00
rubenwardy
8fcea988ca Add admin option to set updateconfigs on all relevant packages 2021-01-29 16:36:23 +00:00
rubenwardy
6b8b98c15b Add updateconfig error reporting 2021-01-29 16:36:23 +00:00
rubenwardy
17798df342 Add ref to update config 2021-01-29 16:36:23 +00:00
rubenwardy
09a9219fcd Add outdated flag to UpdateConfig to stop notification spam 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
88a8e85b12 Fix crash on forum profile not found 2021-01-27 17:42:47 +00:00
rubenwardy
dfc6f6fd6e Fix crash on importing texture pack with no .conf 2021-01-21 20:47:44 +00:00
rubenwardy
05a08b4c05 Check for release key in minetestcheck 2021-01-16 18:19:51 +00:00
rubenwardy
e4d0b57f3c Improve Minetest config parsing error messages 2021-01-10 02:59:57 +00:00
Lars Mueller
e0b490fdc0 Add support for multiline values in .conf files 2021-01-01 16:24:49 +00:00
rubenwardy
6ebab36877 Fix postReleaseCheckUpdate running twice on release creation 2020-12-31 18:19:07 +00:00
rubenwardy
afb699f8d3 Include mod name as prefix to zips created by git-archive-all 2020-12-29 20:42:43 +00:00
rubenwardy
60362abef1 Improve claim user UX 2020-12-22 10:58:43 +00:00
rubenwardy
c7aecd32be Fix error creating releases from certain git references
Fixes #249
2020-12-14 21:05:56 +00:00
rubenwardy
f7b3f4573d Add celery task maillogging 2020-12-07 18:17:17 +00:00
rubenwardy
3aa12be544 Add daily notification digests 2020-12-06 15:02:02 +00:00
rubenwardy
085f0b49c6 Add unsubscribe 2020-12-05 22:02:33 +00:00
rubenwardy
5fe3b0b459 Add email send reasons 2020-12-05 22:02:33 +00:00
rubenwardy
9c10e190bc Implement email notifications 2020-12-05 22:02:33 +00:00
rubenwardy
afb87c525d Improve verify email wording 2020-12-05 02:20:21 +00:00
rubenwardy
9b0ce41fd7 Fix signature parsing 2020-12-05 02:20:21 +00:00
rubenwardy
f7d90f2f53 Register: Fix behaviour on email conflict, add password suggestion 2020-12-05 02:20:21 +00:00
rubenwardy
14f643592c Fix user conflict on forum import 2020-12-04 03:14:04 +00:00
rubenwardy
8c5cdb630e Fix forum parser 2020-12-04 02:57:36 +00:00
rubenwardy
42f96618e2 Clean up code 2020-12-04 02:26:06 +00:00
rubenwardy
aff20f1a6d Remove error on game missing hard deps
Fixes #241
2020-12-03 21:08:20 +00:00
rubenwardy
6841a295ff Use contextlib to safely delete dirs in importtasks 2020-12-03 21:07:42 +00:00
rubenwardy
92fb54556a Implement package states for easier reviews 2020-09-16 17:51:03 +01:00
rubenwardy
934d581737 Fix screenshot form not validating length 2020-08-19 13:06:21 +01:00
rubenwardy
e85d1755f0 Increase thread/comment ratelimiting based on rank 2020-08-18 18:10:42 +01:00
rubenwardy
1c4fe1b80c Fix reimport not unapproving releases 2020-08-18 17:39:20 +01:00
rubenwardy
2279208b00 Check for game hard dependencies 2020-08-18 17:08:17 +01:00
rubenwardy
b8ee612b45 Update meta on release import 2020-08-18 16:12:27 +01:00
rubenwardy
2f208d9239 Add regex checking for dependency names 2020-08-18 13:57:56 +01:00
rubenwardy
0c81d0ae2b Improve MinetestCheck name validation 2020-08-18 13:34:04 +01:00
rubenwardy
6167bdc7f0 Remove empty dependencies in MinetestCheck 2020-08-18 11:43:13 +01:00
rubenwardy
b50a306e66 Print updateMetaFromRelease info 2020-08-18 00:41:37 +01:00
rubenwardy
85551539f0 Fix incorrect game names detected by MinetestCheck 2020-08-18 00:25:13 +01:00
rubenwardy
3914659718 Fix dependencies still being added if in provides
Fixes #226
2020-08-18 00:16:03 +01:00
rubenwardy
c9e4638b34 Add start of bulk tag editor 2020-07-14 23:45:54 +01:00
rubenwardy
aa6892da82 Add admin function to import foreign release URLs 2020-07-14 00:28:56 +01:00
rubenwardy
820c968f73 Replace "Content DB" with "ContentDB" 2020-07-12 16:34:25 +01:00
rubenwardy
a123f42291 Fix incorrect mod name fold in MinetestCheck 2020-07-12 03:09:01 +01:00
rubenwardy
284683e7e5 Add reimport of package meta from latest release
Fixes #127
2020-07-12 02:22:35 +01:00
rubenwardy
b9e1be57e4 Fix generation of forum profile URLs
Fixes #196
2020-07-10 22:44:58 +01:00
rubenwardy
491f9ed679 Fix GitHub claim method being broken by phpBB update 2020-07-10 18:41:08 +01:00
rubenwardy
9d033acfff Separate rolling average downloads from score 2020-07-09 01:26:01 +01:00
rubenwardy
4d29087431 Fix crash on missing x_minetest_version meta 2020-06-03 17:53:03 +01:00
rubenwardy
183b769ee2 Add support for setting min/max minetest versions in conf 2020-06-03 17:46:59 +01:00
rubenwardy
dadfe72b48 Improve user authentication error handling 2020-04-14 14:39:59 +01:00
rubenwardy
4a25435f7a Fix release validation for repos with submodules 2020-03-27 15:23:18 +00:00
rubenwardy
b0f32affcb Fix scores not degrading due to missing session.commit() 2020-03-22 19:47:52 +00:00
rubenwardy
19a626e237 Fix auto-webhook creation failure due to wrong scheme 2020-01-25 03:03:45 +00:00
rubenwardy
b1555bfcd5 Fix git-created release regression 2020-01-25 02:36:10 +00:00
rubenwardy
1d223cc16f Use git init/fetch instead of git clone 2020-01-25 01:07:39 +00:00
rubenwardy
6e626c0f89 Add admin option to check all releases 2020-01-19 02:20:20 +00:00
rubenwardy
facdd35b11 Add validation to zip releases 2020-01-19 01:37:15 +00:00
rubenwardy
1b1c94ffa0 Add release contents validation 2020-01-19 01:22:33 +00:00
rubenwardy
bcd003685e Add support for submodules in makeVCSRelease() 2020-01-19 00:28:26 +00:00
rubenwardy
077bdeb01c Add reloading support to Docker container 2020-01-18 01:38:00 +00:00
rubenwardy
095494f96f Improve Docker configurations 2020-01-18 01:20:32 +00:00
rubenwardy
6f230ee4b2 Fix uploadPackageScores task 2020-01-18 01:16:33 +00:00
rubenwardy
cb5451fe5d Fix pkgtasks crash due to it not being imported 2019-11-22 01:16:17 +00:00
rubenwardy
33b2b38308
Improve package scoring 2019-11-21 22:16:35 +00:00
rubenwardy
64f131ae27 Refactor endpoints to use blueprints instead 2019-11-15 23:51:42 +00:00
rubenwardy
03eccbd56a Fix text in emails 2019-09-15 18:43:22 +01:00
rubenwardy
fb31ea3c22 Fix git clone breaking when branch is None 2019-09-15 18:30:42 +01:00
rubenwardy
cc564af44e Fix broken reference based git import
Fixes #130
2019-08-31 22:09:19 +01:00
rubenwardy
6ce495fcd3 Fix crash on reading mod.conf from Github 2019-08-09 11:27:54 +01:00
rubenwardy
776a3eff2a Fail gracefully when given a bad git reference 2019-08-09 11:25:19 +01:00
rubenwardy
04e8ae5bdd Fix unexpected crash on bad Github URL 2019-08-09 11:17:39 +01:00
rubenwardy
1da86f27a7 Fix topic ID parse error in import topics task 2019-07-29 23:31:42 +01:00
rubenwardy
93a74b7681 Fix release auto-approval 2019-03-29 20:52:08 +00:00
rubenwardy
014370ea06 Add email template 2019-01-04 19:17:04 +00:00
rubenwardy
d44178cb0c Fix relative links again 2018-12-25 20:26:36 +00:00
rubenwardy
c926a812d3 Fix relative links 2018-12-25 20:25:17 +00:00
rubenwardy
0b83d2f2b5 Add task to bulk import avatars from forum 2018-12-25 19:49:17 +00:00
rubenwardy
21960f2404 Add support for using forum profile pictures 2018-12-25 19:28:32 +00:00
rubenwardy
366ed9913e Update to Flask 1.0 2018-12-22 23:03:38 +00:00
rubenwardy
dd368d87aa Fix various issues 2018-12-21 14:02:57 +00:00
rubenwardy
75bab28d82
Add celery beat for topic import 2018-10-09 21:49:26 +01:00
rubenwardy
5aaee010c1
Fix accidental regression in phpbbparser 2018-08-25 21:25:12 +01:00
rubenwardy
36000b1592
Add list of relevant forum topics to last page of results 2018-08-25 18:20:45 +01:00
rubenwardy
8c3b1c8c95
Add commit hash to releases 2018-07-28 14:48:03 +01:00
rubenwardy
8fe7bcfb71
Fix forum topic scanner only scanning one page 2018-07-24 20:11:48 +01:00
rubenwardy
8d2144895e
Fix creation of corrupt zip files
Fixes #103
2018-07-08 17:10:38 +01:00
rubenwardy
13837ce88b
Add forum topic validation 2018-07-07 00:28:27 +01:00
rubenwardy
67a229b8a3
Add WIP forum topic support 2018-07-06 23:17:56 +01:00
rubenwardy
9dd3570a52
Add email on Flask error 2018-07-06 22:55:55 +01:00
rubenwardy
19e1ed8b32
Implement forum parser to increase accuracy 2018-07-04 00:38:51 +01:00
rubenwardy
40aac38d43
Fix worker stopping due to gitpython asking for credentials 2018-06-07 23:25:00 +01:00
rubenwardy
8601c5e075
Add support for importing generic git releases 2018-06-05 23:13:39 +01:00
rubenwardy
3d97eca387
Add git screenshot importing 2018-06-05 22:39:08 +01:00
rubenwardy
99b21f996c
Fix screenshot import being broken 2018-06-05 19:59:07 +01:00
rubenwardy
8d9da5a750
Make git error public, delete dir after clone 2018-06-05 19:47:02 +01:00
rubenwardy
9a36bb7d72
Add git support for importing meta 2018-06-05 00:10:47 +01:00
rubenwardy
a6f4249afb
Increase link string length limit 2018-06-02 18:32:07 +01:00
rubenwardy
70afb94d3b
Add topics todo list based on forum parser 2018-06-02 18:26:17 +01:00
rubenwardy
d0969263ba
Fix crash due to remaining raise() in getDepends() 2018-05-27 23:02:11 +01:00
rubenwardy
746cf7f4b5
Add bulk dependency importer from Github 2018-05-27 22:34:24 +01:00
rubenwardy
fb5cba4cc8
Add dependency detection to importer 2018-05-27 22:04:03 +01:00
rubenwardy
53df124973
Add edit and delete screenshot 2018-05-25 18:57:30 +01:00
rubenwardy
8cf5c7204f
Add package soft deletion 2018-05-25 18:28:24 +01:00
rubenwardy
f809cdcab0
Fix sass generation 2018-05-23 21:19:02 +01:00
rubenwardy
d5342d7096
Move static and uploads to public dir 2018-05-23 21:15:21 +01:00
rubenwardy
bd2e7e7a46
Fix import bugs 2018-05-23 18:49:23 +01:00
rubenwardy
7fef1fb0d2
Add license to all JS/py files 2018-05-17 15:18:20 +01:00
rubenwardy
dbc56283eb
Add screenshot importing from github 2018-05-15 19:35:59 +01:00
rubenwardy
0bdcbd741c
Add import users from Krock's mod list feature 2018-05-15 15:00:12 +01:00
rubenwardy
46b7c38d59
Fix bug in Conf file parser 2018-05-14 15:04:02 +01:00
rubenwardy
4bea3484d1
Fix crash on mod name not specified 2018-05-14 13:58:31 +01:00
rubenwardy
e6a3836aab
Hide all non-TaskError exceptions from users 2018-05-14 01:20:02 +01:00