Commit Graph

536 Commits

Author SHA1 Message Date
rubenwardy
0b06cfffba Fix reimport packages not importing unapproved package 2020-08-18 00:28:27 +01:00
rubenwardy
d69da8e3ea Redirect to correct URL when _game is missing from package name 2020-08-02 18:03:44 +01:00
rubenwardy
9a64809542 Add badges/shields support 2020-08-02 17:41:06 +01:00
rubenwardy
e931d6a88b Fix comment length checking 2020-07-29 17:33:12 +01:00
rubenwardy
a8a3067ac9 Fix validation error in release form on incomplete URL 2020-07-18 15:42:49 +01:00
rubenwardy
64dab0c4b6 Filter tags by available packages in package search 2020-07-18 03:14:56 +01:00
rubenwardy
68a132f271 Add tags list to homepage 2020-07-18 02:48:22 +01:00
rubenwardy
c7b1dcec4f Sort "recently added" by approved_at 2020-07-18 01:48:37 +01:00
rubenwardy
7d0a93483a Reorder homepage sections 2020-07-18 01:27:23 +01:00
rubenwardy
836caf0fe0 Add last updated section to homepage 2020-07-18 01:24:23 +01:00
rubenwardy
980e1c9eb1 Add ability to search admin tag list by views 2020-07-17 23:17:25 +01:00
rubenwardy
e2a9ea91cf Fix descriptions being required in warning and tag editors 2020-07-17 22:29:02 +01:00
rubenwardy
2a7318eca2 Add descriptions to tags, and show in multiselect 2020-07-17 22:08:34 +01:00
rubenwardy
6a674c3c79 Add Content Warnings 2020-07-17 20:48:51 +01:00
rubenwardy
0ac2827468 Fix crash on bad wtforms validator instace 2020-07-17 20:07:51 +01:00
rubenwardy
054dfa4cbd Fix wrong character limit on review form 2020-07-16 18:41:27 +01:00
rubenwardy
74371d3fcb Check user-agent for crawlers before incrementing counters 2020-07-16 14:35:12 +01:00
rubenwardy
208a47b41d Fix tag views redis cache 2020-07-16 13:52:18 +01:00
rubenwardy
7fb2f3170c Allow Editors to edit tags 2020-07-15 19:54:36 +01:00
rubenwardy
9663e87838 Count tag views 2020-07-15 19:06:00 +01:00
rubenwardy
8dd1cd9045 Increase comment length limit to 2000 2020-07-15 16:01:45 +01:00
rubenwardy
15bbc35e65 Use query builder in tag list, add link to todo page 2020-07-15 00:21:20 +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
3fbc5f7751 Filter out packages with no releases in ContentDB 2020-07-13 02:10:59 +01:00
rubenwardy
ab58570a0c Redesign user list 2020-07-12 21:02:50 +01:00
rubenwardy
ae4352068e Add tag filter list to package page 2020-07-12 20:10:19 +01:00
rubenwardy
f437850a50 Add global url_set_query Jinja template function 2020-07-12 17:15:30 +01:00
rubenwardy
820c968f73 Replace "Content DB" with "ContentDB" 2020-07-12 16:34:25 +01:00
rubenwardy
9d1f098d8a Fix clear notifications creating null user_ids 2020-07-12 16:33:17 +01:00
rubenwardy
d7ecf8041a Improve admin list design 2020-07-12 03:47:59 +01:00
rubenwardy
284683e7e5 Add reimport of package meta from latest release
Fixes #127
2020-07-12 02:22:35 +01:00
rubenwardy
868ced76a8 Fix bugs related to package owner not being a maintainer 2020-07-11 16:56:36 +01:00
rubenwardy
dfbcbbbb47 Add ability to edit comments 2020-07-11 03:53:03 +01:00
rubenwardy
08f6bd8bef Move DELETE_REPLY permission to ThreadReply 2020-07-11 03:35:14 +01:00
rubenwardy
31b8a7931b Add ability for moderators to delete comments 2020-07-11 03:29:38 +01:00
rubenwardy
a4dd4f0429 Add audit log 2020-07-11 02:32:17 +01:00
rubenwardy
bf927c50f0 Add the ability to lock threads 2020-07-11 01:42:47 +01:00
rubenwardy
5f7be4b433 Add package and created_at to Notifications 2020-07-11 00:53:03 +01:00
rubenwardy
c490df7f50 Add ability for moderators to change linked accounts 2020-07-10 22:59:41 +01:00
rubenwardy
b9386d5a47 Use middleware to clear notifications
Fixes #70
2020-07-10 22:23:52 +01:00
rubenwardy
1d8abd8f4b Fix screenshot approval checkbox always being unchecked
Fixes #212
2020-07-10 22:19:47 +01:00
rubenwardy
660b813ff7 Fix pagination losing query arguments
Fixes #205
2020-07-10 22:08:52 +01:00
rubenwardy
42b08f9bcd Fix tags being lost on Edit Package
Fixes #211
2020-07-10 21:02:40 +01:00
rubenwardy
849cdd257d Ignore FileExistsError in thumbnails 2020-07-10 20:50:25 +01:00
rubenwardy
61e2c8a1c0 Remove accidental limit of 5 reviews on /reviews/ 2020-07-10 20:33:47 +01:00
rubenwardy
c7a7609763 Add /reviews/ to list all reviews 2020-07-10 20:31:29 +01:00
rubenwardy
d91f537bdd Improve thread list style 2020-07-10 19:46:14 +01:00
rubenwardy
436a4cce2b Add ability to delete reviews 2020-07-10 19:26:37 +01:00
rubenwardy
3eeaf3be22 Hide reviews from package thread list 2020-07-10 19:06:27 +01:00
rubenwardy
491f9ed679 Fix GitHub claim method being broken by phpBB update 2020-07-10 18:41:08 +01:00
rubenwardy
078765fe44 Prevent users from reviewing their own packages 2020-07-09 05:47:26 +01:00
rubenwardy
db80c441ec Fix crash when guests view package page 2020-07-09 05:34:55 +01:00
rubenwardy
75ab56cad1 Add recent positive reviews to homepage 2020-07-09 05:30:13 +01:00
rubenwardy
893507691b Show "Edit Review" button when a user already has a review 2020-07-09 04:50:49 +01:00
rubenwardy
ac7adde4b1 Add score bonus to reviews 2020-07-09 04:32:13 +01:00
rubenwardy
d0aecd0ee5 Rename triggerNotif to addNotification, add array support 2020-07-09 04:16:45 +01:00
rubenwardy
307b8f8dde Add reviews
Fixes #173
2020-07-09 04:10:09 +01:00
rubenwardy
9d033acfff Separate rolling average downloads from score 2020-07-09 01:26:01 +01:00
rubenwardy
2617c53abf Add downloads column to Package
Fixes #200
2020-07-09 01:11:50 +01:00
rubenwardy
2a37608cb0 Remove package author from maintainers edit field 2020-07-08 23:58:53 +01:00
rubenwardy
8dcbcd8b62 Add ability for users to remove themselves as maintainers 2020-07-08 23:42:30 +01:00
rubenwardy
0e2ea27f54 Add notifications for editing maintainers 2020-07-08 23:20:29 +01:00
rubenwardy
b2809ed12e Fix maintainers field requiring lowercase names 2020-07-08 23:00:45 +01:00
rubenwardy
a72b9a174a Add support for package maintainers
Fixes #159
2020-07-08 22:45:24 +01:00
rubenwardy
ecb3d83c57 Fix FileNotFoundError on missing thumbnail source 2020-06-25 14:58:09 +01:00
rubenwardy
2cfb59d042 Return dictionary of package to deps in API 2020-06-05 16:09:27 +01:00
rubenwardy
4c3063cadf Fix typo 2020-06-05 04:48:53 +01:00
rubenwardy
66885fedaa Fix bugs, and document 2020-06-05 04:47:50 +01:00
rubenwardy
064eb9df04 Add ability to not include optional deps in deps API 2020-06-05 04:44:39 +01:00
rubenwardy
c3cef1eed6 Return package IDs only in dependency API 2020-06-05 04:29:52 +01:00
rubenwardy
749e7c6cd0 Add Package Config help page 2020-06-03 18:22:23 +01:00
rubenwardy
183b769ee2 Add support for setting min/max minetest versions in conf 2020-06-03 17:46:59 +01:00
rubenwardy
720457e876 Add helper link to API tokens page 2020-06-03 16:41:06 +01:00
rubenwardy
27d004d299 Fix bad URL construction in GitLab webhooks 2020-06-03 16:40:52 +01:00
rubenwardy
7f650a619e Fix webhook issues, make repo URLs matched case insensitive 2020-06-03 16:32:39 +01:00
rubenwardy
c1b4256d44 Add delete unused uploads admin function 2020-05-30 16:48:37 +01:00
rubenwardy
ed78a2e06f Remove non-free score penalisation 2020-05-30 15:32:50 +01:00
rubenwardy
dc455bcd87 Fix wrong API error response 2020-05-27 17:47:20 +01:00
rubenwardy
a36e233051 Fix API auth crash and add more error messages 2020-05-19 17:24:57 +01:00
rubenwardy
05bf8e3b3d Add prometheus support 2020-04-23 23:30:37 +01:00
rubenwardy
3992b19be3 Optimise SQL queries 2020-04-21 20:35:05 +01:00
rubenwardy
a678a61c23 Correct documentation on users allowed to use webhooks 2020-04-21 19:27:34 +01:00
rubenwardy
0620c3e00f Add API to see scores 2020-04-21 18:15:13 +01:00
rubenwardy
dadfe72b48 Improve user authentication error handling 2020-04-14 14:39:59 +01:00
rubenwardy
54a636d79e Fix access token not being shown after creation
Fixes #190
2020-04-11 17:45:25 +01:00
rubenwardy
0087c1ef9d Allow unlimited API tokens in GitHub webhooks 2020-04-11 15:24:44 +01:00
rubenwardy
39881e0d04 Improve error messages 2020-04-11 14:51:10 +01:00
rubenwardy
144ae69f5c Fix case-insensitive comparison bug 2020-03-28 18:15:15 +00:00
rubenwardy
3e07bed51b Add ability to search packages by author 2020-03-28 18:13:03 +00:00
rubenwardy
9de219fd80 Increase package name and title length limits in form validation 2020-03-27 15:30:08 +00:00
rubenwardy
99548ea65f Fix licenses being prefilled in package editor 2020-02-23 20:40:14 +00:00
rubenwardy
325ee02b49 Fix lack of download counter checks on non-release package download 2020-02-23 20:14:56 +00:00
rubenwardy
a60786d32c Fix non-admin users not being able to set profile URLs 2020-02-23 20:12:32 +00:00
rubenwardy
744c52ba18 Add links to GitHub oauth connection settings 2020-01-30 21:39:51 +00:00
rubenwardy
36615ef656 Fix access token being exposed after APIToken edit 2020-01-25 18:26:55 +00:00
rubenwardy
53a5dffb26 Rename 'new tag' event to contain 'GitHub release' 2020-01-25 17:25:05 +00:00
rubenwardy
74f3a77a84 Fix 404 on GituHub log in 2020-01-25 17:23:14 +00:00
rubenwardy
a15f1ac223 Fix crash on existing GitHub App Integration 2020-01-25 03:09:59 +00:00
rubenwardy
19a626e237 Fix auto-webhook creation failure due to wrong scheme 2020-01-25 03:03:45 +00:00
rubenwardy
d5541791b6 Prevent multiple webhooks from being created 2020-01-25 02:36:10 +00:00
rubenwardy
62b1cae0ab Fix automatic creation of tag webhooks 2020-01-25 01:35:05 +00:00
rubenwardy
f2799349ab Add tag push support to webhooks 2020-01-25 01:14:01 +00:00
rubenwardy
b7101a403b Add GitLab webhook support 2020-01-25 00:44:46 +00:00
rubenwardy
493917d8b1 Restrict webhooks to trusted users 2020-01-25 00:04:56 +00:00
rubenwardy
e12aec4ccd Add automatic GitHub webhook creation 2020-01-24 23:19:06 +00:00
rubenwardy
d4936e18ee Add Github webhook support 2020-01-24 21:39:35 +00:00
rubenwardy
beb9c0e959 Rename 'vcs' release-creation mode to 'git' 2020-01-24 20:27:37 +00:00
rubenwardy
14faae3fd1 Add API to create releases 2020-01-24 20:21:40 +00:00
rubenwardy
6f1472addb Add ability to limit APITokens to a package 2020-01-24 19:26:00 +00:00
rubenwardy
6e938ba74c Split up users blueprint 2020-01-24 18:15:12 +00:00
rubenwardy
53a63367dc Fix wtforms validatoion of package name 2020-01-24 18:03:40 +00:00
rubenwardy
ddf5c7f665 Show discarded topics in package results 2020-01-23 23:56:10 +00:00
rubenwardy
595d6ea3b6 Use server-side markdown renderer in WYSIWYG preview
Fixes #117
2020-01-22 23:10:06 +00:00
rubenwardy
981ae74e5c Improve markdown escaping
Fixes #118
2020-01-22 22:10:02 +00:00
rubenwardy
ed304f7687 Sort dependencies in package editor 2020-01-21 23:05:34 +00:00
rubenwardy
f24148d431
Improve package page styling 2020-01-21 22:40:51 +00:00
rubenwardy
2ef90902aa Fix approved checkbox deselection bug 2020-01-19 20:08:58 +00:00
rubenwardy
e115b0678c Fix password issues caused by Flask-User migration 2020-01-19 19:48:41 +00:00
rubenwardy
215839c423 Add end-to-end test framework 2020-01-19 15:03:38 +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
59039a14a5 Add ability to delete releases 2020-01-19 00:02:37 +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
3fee369dc1 Fix crash on clearing all notifications 2019-12-17 20:49:59 +00:00
rubenwardy
e57f2dfe7d Fix crash due to missing import 2019-11-27 01:16:59 +00:00
rubenwardy
4ce388c8aa Add API Token creation 2019-11-27 01:06:58 +00:00
rubenwardy
33b2b38308
Improve package scoring 2019-11-21 22:16:35 +00:00
rubenwardy
94426e97aa Add support for randomly sorting queries 2019-11-21 21:43:58 +00:00
rubenwardy
5b68e494db Fix crash on accessing notifications 2019-11-21 19:50:54 +00:00
rubenwardy
39d4cf362b Fix url_for crash on "home_page" 2019-11-21 19:38:32 +00:00
rubenwardy
ff2a74367f Fix download forgery 2019-11-18 21:42:56 +00:00
rubenwardy
3f666d2302 Fix exception on badly-formed query string 2019-11-17 21:40:55 +00:00
rubenwardy
a7d22973ff Fix user profile after blueprints commit 2019-11-16 00:05:59 +00:00
rubenwardy
64f131ae27 Refactor endpoints to use blueprints instead 2019-11-15 23:51:42 +00:00