Commit Graph

1068 Commits

Author SHA1 Message Date
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 0e4722ea98 Add nofollow to tags 2020-07-16 14:07:21 +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 643380038b Fix broken ordering by reverting change to default 2020-07-15 15:44:59 +01:00
rubenwardy 27dfbabe2f Improve tags page layout and add link to profile 2020-07-15 00:54:26 +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 ff2cd6dc2f Fix dropdown menu alignment 2020-07-14 04:28:27 +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 a57e06d09b Restrict seeing the email addresses of others to admins only 2020-07-13 00:34:05 +01:00
rubenwardy bbc89bb2c2 Fix misattribution of review due to missing reply ordering 2020-07-12 23:53:20 +01:00
rubenwardy ab58570a0c Redesign user list 2020-07-12 21:02:50 +01:00
rubenwardy cd520a0251 Redesign version edit page 2020-07-12 20:36:32 +01:00
rubenwardy 8bcf12e1a7 Redesign tags and license edit pages 2020-07-12 20:34:16 +01:00
rubenwardy ec087e4687 Move tag list to top of package list page 2020-07-12 20:19:00 +01:00
rubenwardy ae4352068e Add tag filter list to package page 2020-07-12 20:10:19 +01:00
rubenwardy 2faa0e4219 Fix query sorting further 2020-07-12 17:56:06 +01:00
rubenwardy 2e3a9035c4 Fix pagination widget syntax error 2020-07-12 17:52:30 +01:00
rubenwardy 2e6f99d09e Fix fulltext search order being overriden 2020-07-12 17:52:15 +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 a123f42291 Fix incorrect mod name fold in MinetestCheck 2020-07-12 03:09:01 +01:00
rubenwardy 4bd9411d87 Add check constraint on MetaPackage name 2020-07-12 02:43:51 +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 729241c0fe Remove full review form from package page 2020-07-11 04:41:47 +01:00
rubenwardy 8d48723158 Swap edit and delete buttons in comments 2020-07-11 04:29:59 +01:00
rubenwardy 2fb2f1ae49 Remove admin from being able to edit any comment 2020-07-11 04:26:50 +01:00
rubenwardy d5b8dd8909 Add title text to audit log severity icons 2020-07-11 04:14:57 +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 9bf20df941 Fix typo in previous commit 2020-07-11 00:06:21 +01:00
rubenwardy adc31962c0 Merge padlock symbol with icons in thread lists 2020-07-11 00:05:44 +01:00
rubenwardy 0e9b8a1a82 Fix title wrapping in /threads/ 2020-07-11 00:01:03 +01:00
rubenwardy 6150447c85 Fix bootstrap toggle button not matching backing radio button 2020-07-10 23:55:46 +01:00
rubenwardy dd86fb0e14 Fix profile picture alignment in notifications page 2020-07-10 23:50:02 +01:00
rubenwardy b483d5413f Add badge to notification icon 2020-07-10 23:46:36 +01:00
rubenwardy c80ff2e709 Fix empty view in thread lists 2020-07-10 23:18:40 +01:00
rubenwardy 2181e57e42 Redesign notifications page 2020-07-10 23:12:15 +01:00
rubenwardy c490df7f50 Add ability for moderators to change linked accounts 2020-07-10 22:59:41 +01:00
rubenwardy b9e1be57e4 Fix generation of forum profile URLs
Fixes #196
2020-07-10 22:44:58 +01:00
rubenwardy c3d96c7459 Add more sort options to package API, correct documentation
Fixes #204
2020-07-10 22:32:54 +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 0bf61dda08 Fix ellipsis in pagination 2020-07-10 22:11:34 +01:00
rubenwardy 660b813ff7 Fix pagination losing query arguments
Fixes #205
2020-07-10 22:08:52 +01:00
rubenwardy ba3b108239 Fix tag selector losing all tags on remove
Fixes #148
2020-07-10 21:27:41 +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 16b174d882 Improve recommends styling on review edit form 2020-07-10 20:47:03 +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 13130a217c Use FontAwesome for navbar icons 2020-07-10 20:23:19 +01:00
rubenwardy daa2d2989e Clean up view package button on reviews 2020-07-10 20:16:06 +01:00
rubenwardy ee6de95a52 Allow editors to unapprove and delete packages 2020-07-10 20:13:48 +01:00
rubenwardy 1daf59b7db Improve thread list design further 2020-07-10 20:10:51 +01:00
rubenwardy 94e91e33b8 Fix view thread page title 2020-07-10 19:46:23 +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 71f9fe469a Change comments button color if there are comments 2020-07-10 19:14:23 +01:00
rubenwardy 76b0c8446c Hide review form on own package 2020-07-10 19:12:08 +01:00
rubenwardy 069c7de78c Add reviews to user profile 2020-07-10 19:10:36 +01:00
rubenwardy 3eeaf3be22 Hide reviews from package thread list 2020-07-10 19:06:27 +01:00
rubenwardy 1989eabf86 Add more obvious edit buttons for reviews 2020-07-10 19:01:58 +01:00
rubenwardy 491f9ed679 Fix GitHub claim method being broken by phpBB update 2020-07-10 18:41:08 +01:00
rubenwardy 000259fc88 Fix crash on sending notification 2020-07-09 05:54:39 +01:00
rubenwardy 078765fe44 Prevent users from reviewing their own packages 2020-07-09 05:47:26 +01:00
rubenwardy 45877bb3a4 Fix missing import 2020-07-09 05:45:46 +01:00
rubenwardy eb3d067e26 Fix crash on addNotification non-iterable 2020-07-09 05:45:04 +01:00
rubenwardy db80c441ec Fix crash when guests view package page 2020-07-09 05:34:55 +01:00
rubenwardy 849b814034 Fix margin above CDB stats on homepage 2020-07-09 05:34:25 +01:00
rubenwardy 37a4dbe66b Add distinction between review buttons 2020-07-09 05:31:41 +01:00
rubenwardy 75ab56cad1 Add recent positive reviews to homepage 2020-07-09 05:30:13 +01:00
rubenwardy 25b481ac0a Add package title and link to review page 2020-07-09 05:01:18 +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 bbf1143090 Fix incorrect link in maintainers list 2020-07-09 00:02:56 +01:00
rubenwardy 2a37608cb0 Remove package author from maintainers edit field 2020-07-08 23:58:53 +01:00
rubenwardy 3dd5e7445e Fix check when showing remove myself from maintainers 2020-07-08 23:44:13 +01:00
rubenwardy 8dcbcd8b62 Add ability for users to remove themselves as maintainers 2020-07-08 23:42:30 +01:00
rubenwardy d00428eb7e Add info about maintainers to edit maintainers page 2020-07-08 23:28: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 ba8c4d3d24 Fix crash in MinetestRelease.get() 2020-06-04 20:40:56 +01:00
rubenwardy c99a2a554b Fix typos 2020-06-03 18:28:08 +01:00
rubenwardy 749e7c6cd0 Add Package Config help page 2020-06-03 18:22:23 +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 14cf3912f0 Add support for getting MinetestRelease using engine_version 2020-06-03 17:33:33 +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 d7977dec84 Fix broken link to content flags in API help page 2020-05-31 21:29:55 +01:00
rubenwardy 99a8f3d5d6 Fix broken release auto-approval due to permissions check 2020-05-31 16:06:04 +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 55a90e0464 Update to make the non-free policy clearer 2020-05-29 16:09:19 +01:00
rubenwardy fb78136870 Fix bullet points in non-free page 2020-05-29 15:56:07 +01:00
rubenwardy b477556698 Add help page on non-free licenses 2020-05-29 15:52:30 +01:00
rubenwardy fc5cca9def Fix display_name rather than username being used in API 2020-05-27 17:47:31 +01:00
rubenwardy dc455bcd87 Fix wrong API error response 2020-05-27 17:47:20 +01:00
TumeniNodes bda82d2792
Fix spelling error (#165) 2020-05-23 17:02:01 +01:00
rubenwardy a36e233051 Fix API auth crash and add more error messages 2020-05-19 17:24:57 +01:00
rubenwardy 8484c0f0aa Fix minor security vulnerability 2020-05-19 16:46:47 +01:00
rubenwardy ffb5b49521 Fix crash on invalid protocol_version 2020-05-19 16:39:39 +01:00
rubenwardy c15dd183a0 Update top packages 2020-04-30 22:41:55 +01:00
rubenwardy 57e7cbfd09 Make OpenGraph URLs absolute 2020-04-23 23:51:10 +01:00
Lars Mueller e94bd9b845 Add meta to package view pages 2020-04-23 23:51:03 +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 b5ce0a786a Improve legibility of textual content 2020-04-21 19:18:06 +01:00
rubenwardy d58579d308 Document top packages algorithm 2020-04-21 18:26:03 +01:00
rubenwardy 0620c3e00f Add API to see scores 2020-04-21 18:15:13 +01:00
rubenwardy a8374ec779 Allow all members to approve own releases 2020-04-21 17:07:04 +01:00
rubenwardy bbaa687aa7 Format exception emails better 2020-04-14 14:45:06 +01:00
rubenwardy dadfe72b48 Improve user authentication error handling 2020-04-14 14:39:59 +01:00
rubenwardy 9cc3eba009 Fix email sign up 2020-04-11 17:56:35 +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 39a09c5d92 Add ability to search by tag 2020-04-07 18:23:06 +01:00
rubenwardy 663a9ba07b Fix exposing abs_url_for to templates 2020-03-28 19:01:39 +00: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 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 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 c31c1fd92a Change API Token warning to be friendlier 2020-01-30 21:01:50 +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 43c2ee6b7b Improve documentation 2020-01-25 02:36:10 +00:00
rubenwardy b1555bfcd5 Fix git-created release regression 2020-01-25 02:36:10 +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 933a23c9c7 Promote webhooks in release creation page 2020-01-25 01:29:55 +00:00
rubenwardy f2799349ab Add tag push support to webhooks 2020-01-25 01:14:01 +00:00
rubenwardy 1d223cc16f Use git init/fetch instead of git clone 2020-01-25 01:07:39 +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 2fa2c3afec Fix broken user registration
Fixes #181
2020-01-24 18:29:02 +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 4e331c7f14 Fix deprecation warnings 2020-01-23 00:19:04 +00:00
rubenwardy 5e60cb83de Add XSS strings to test data 2020-01-22 23:45:40 +00:00
rubenwardy 595d6ea3b6 Use server-side markdown renderer in WYSIWYG preview
Fixes #117
2020-01-22 23:10:06 +00:00
rubenwardy 71fa62fd6a Update EasyMDE 2020-01-22 22:47:24 +00:00
rubenwardy be5bb11fe3 Add data* to docker ignore 2020-01-22 22:11:01 +00:00
rubenwardy 981ae74e5c Improve markdown escaping
Fixes #118
2020-01-22 22:10:02 +00:00
rubenwardy 2b66193969 Fix version being styled differently 2020-01-21 23:42:41 +00:00
rubenwardy ed304f7687 Sort dependencies in package editor 2020-01-21 23:05:34 +00:00
rubenwardy 7ac7af4774 Sort dependencies in package page 2020-01-21 23:02:12 +00:00
rubenwardy 5fa0a7866a Sort provides relationship 2020-01-21 23:02:05 +00:00
rubenwardy f24148d431
Improve package page styling 2020-01-21 22:40:51 +00:00
rubenwardy 980023a80c Improve package buttons contrast 2020-01-20 20:56:56 +00:00
rubenwardy b68a1d7ab9 Reduce chance of accidental release deletion 2020-01-19 20:16:03 +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 0bda16de6d Add API tests 2020-01-19 19:09:04 +00:00
rubenwardy fd6ba459f9 Add Gitlab CI support 2020-01-19 18:15:18 +00:00
rubenwardy d503908a65 Add populated homepage test 2020-01-19 15:46:29 +00:00
rubenwardy 215839c423 Add end-to-end test framework 2020-01-19 15:03:38 +00:00
rubenwardy 783bc86aaf Update dependencies 2020-01-19 02:46:07 +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 ec8a88a7a8 Allow deleting releases with broken tasks 2020-01-19 01:23:56 +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 59039a14a5 Add ability to delete releases 2020-01-19 00:02:37 +00:00
rubenwardy 0d6e217405 Fix missing name in search weightings 2020-01-18 23:20:49 +00:00
rubenwardy 22d02edbd8 Add constraint for release tasks and approval 2020-01-18 23:10:11 +00:00
rubenwardy 5a496f6858 Fix broken search weighting
Fixes #176
2020-01-18 17:54:46 +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 311e0218af Fiddle with package button styling 2020-01-18 00:15:29 +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 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 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 20583784f5 Fix hardcoded progress bar in work queue, and related crash 2019-11-16 00:05:35 +00:00
rubenwardy 64f131ae27 Refactor endpoints to use blueprints instead 2019-11-15 23:51:42 +00:00
rubenwardy 015abe5a25 Indicate stuck releases in todo list and allow admins to delete them 2019-11-14 23:39:41 +00:00
rubenwardy 50892ce9fc Add debug warning to template 2019-11-14 23:38:11 +00:00
rubenwardy 913537f96f Sort packages in approval queue by creation date 2019-11-14 22:43:05 +00:00
rubenwardy df247b021e Improve docker image and deployment scripts 2019-11-14 22:24:37 +00:00
rubenwardy 08a9ae7b94 Make review threads public by default 2019-11-12 22:39:17 +00:00
Alex 038ef5b739 Specify excessive horror 2019-10-22 21:18:56 +01:00
TumeniNodes f8958ae1bc Fix error in thread privacy message 2019-10-22 21:17:08 +01: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 4082863b5a Add basic dependency resolution 2019-09-03 00:42:51 +01:00
rubenwardy cc564af44e Fix broken reference based git import
Fixes #130
2019-08-31 22:09:19 +01:00
rubenwardy 655ed2255a Fix crash by truncating notification titles 2019-08-31 18:38:15 +01:00
rubenwardy 96b22744ec Fix crash on null release task_id 2019-08-31 18:32:59 +01:00
rubenwardy 130d0bc7a0 Fix wtfforms setting fields to empty string instead of None 2019-08-30 21:11:38 +01:00
rubenwardy 1469e37c38 Fix accidental limit on password length 2019-08-12 14:10:28 +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 18b9fb3876 Fix typo in zip uploading 2019-08-09 11:10:45 +01:00
rubenwardy 1da86f27a7 Fix topic ID parse error in import topics task 2019-07-29 23:31:42 +01:00
rubenwardy 85340a2fe9 Add note about media license
Fixes #150
2019-07-29 22:48:05 +01:00
rubenwardy c4a4d9c116 Fix broken link on create thread
Fixes #147
2019-07-29 22:39:56 +01:00
rubenwardy 87a184595c Add file extension filters to file upload dialogs
Thanks to @b3u
2019-07-29 22:34:39 +01:00
rubenwardy b3b1e421f2 Check that uploaded images are valid images 2019-07-29 22:21:56 +01:00
rubenwardy 60483ef542 Add translation support 2019-07-29 21:44:39 +01:00
rubenwardy 3c8a8b8988 Fix name field always being readonly 2019-07-29 21:03:04 +01:00
rubenwardy 2f8bdd8f0f Increase CSS version 2019-07-29 20:41:48 +01:00
rubenwardy e87db8b87f Prevent users from changing the name of approved packages 2019-07-29 20:29:55 +01:00
rubenwardy b36273a848 Add website and donation support 2019-07-02 00:45:16 +01:00
Hugo Locurcio 7b087158d7 Optimize images losslessly using `oxipng -o6 --zopfli --strip` 2019-06-12 00:10:56 +01:00
rubenwardy 2fbc44bd54 Make user list public 2019-06-10 00:11:57 +01:00
rubenwardy 950512c2a7 Add favicon 2019-06-07 16:54:33 +01:00
rubenwardy f4010d498f Update policy and guidance 2019-04-23 01:30:17 +01:00
rubenwardy f04d4ff3cd Allow release auto-approval on unapproved packages 2019-03-30 15:42:31 +00:00
rubenwardy f8b290fc45 Add badges next to packages awaiting approval list 2019-03-30 15:41:38 +00:00
rubenwardy 7e4eb29db7 Limit releases on package view 2019-03-29 21:01:19 +00:00
rubenwardy 93a74b7681 Fix release auto-approval 2019-03-29 20:52:08 +00:00
rubenwardy 2677e088a8 Fix small style issue on todo page 2019-03-29 20:33:15 +00:00
rubenwardy 0fd4984e5a Redesign todo page, add ability to Approve All screenshots 2019-03-29 20:32:13 +00:00
rubenwardy 896a65fd99 Fix progress bar total 2019-03-29 20:02:10 +00:00
rubenwardy 885209a614 Add unified topic search in QueryBuilder 2019-03-29 19:48:21 +00:00
rubenwardy 4c109d6bd3 Fix release being null in API when release is unapproved
Fixes #129
2019-03-13 14:37:27 +00:00
rubenwardy 9c2c8c21f1 Add content flag support in the API 2019-02-03 13:03:30 +00:00
rubenwardy e40b247a97 Add OpenSearch and Google site search support 2019-02-02 17:05:18 +00:00
rubenwardy a79cc758ed Add placeholder content ratings page 2019-01-30 17:57:56 +00:00
rubenwardy bafd426eaf Add automatic approval of releases and screenshots 2019-01-29 18:30:30 +00:00
rubenwardy 2586a11bcf Add fulltext search support 2019-01-29 03:00:01 +00:00
rubenwardy d36138d5e1 Add version information to package page 2019-01-29 02:03:10 +00:00
rubenwardy 7810bb54e0 Add download counter to home page 2019-01-29 01:43:21 +00:00
rubenwardy 2844773e4d Fix wrong release ID returned by API on explicit protocol version 2019-01-29 01:29:49 +00:00
rubenwardy 23c406bff9 Add download counting 2019-01-29 00:49:44 +00:00
rubenwardy 0f3adda592 Improve spacing on bulk change releases 2019-01-29 00:27:26 +00:00
rubenwardy 441ed3beeb Add option to only change None entries with bulk change releases 2019-01-29 00:24:59 +00:00
rubenwardy d1f5585fda Fix typos in text 2019-01-29 00:18:49 +00:00
rubenwardy 0fd3ed8f6b Fix bulk change form 2019-01-28 23:54:00 +00:00
rubenwardy 0e5c1f83ff Add MinetestRelease editor 2019-01-28 23:49:27 +00:00
rubenwardy f112756b04 Disable fields in bulk change on checkbox 2019-01-28 23:40:31 +00:00
rubenwardy f822027ec5 Hide create release fields depending on radio buttons 2019-01-28 23:17:00 +00:00
rubenwardy 034315d421 Add notes about min/max, and hide invalid options 2019-01-28 22:28:47 +00:00
rubenwardy 5cd8b35d1f Add ability to bulk change releases 2019-01-28 21:49:29 +00:00
rubenwardy 84b996c489 Add Minetest version checking to packages API 2019-01-28 21:33:50 +00:00
rubenwardy d77403c0be Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
rubenwardy e9fe936aa9 Increase visibility of thread creation 2019-01-28 19:41:24 +00:00
rubenwardy 8afe17b984 Add comment ratelimiting, allow any member to open threads 2019-01-28 19:01:37 +00:00
rubenwardy 2691105513 Remove limit on provides field 2019-01-09 22:44:23 +00:00
rubenwardy 0db49efe4a Fix weird ordering of screenshots 2019-01-08 21:35:46 +00:00
rubenwardy 9639cf04f1 Improve views subfoldering 2019-01-08 17:37:33 +00:00
rubenwardy 9866e43b4b Split up packages/__init__.py 2019-01-08 17:17:36 +00:00
rubenwardy 014370ea06 Add email template 2019-01-04 19:17:04 +00:00
rubenwardy fbf374ff5d Add manual email support 2019-01-04 17:57:00 +00:00
rubenwardy a68ac9cb4d Add number of packages to bottom of homepage 2018-12-31 14:01:19 +00:00
rubenwardy 7943598528 Improve package edit page layout 2018-12-29 19:06:17 +00:00
rubenwardy 4bc8b58af7 Remove limit on dependency size 2018-12-29 19:00:13 +00:00
rubenwardy ec0e89c21d Fix bug in package_create.js 2018-12-29 18:41:09 +00:00
rubenwardy 2975f94d9e Add short description tips 2018-12-29 15:57:16 +00:00
rubenwardy a9a045eefd Fix wizard deleting values from topic create 2018-12-28 14:32:11 +00:00
rubenwardy d09ede00fb Add sort toggle bar to topics list 2018-12-27 15:32:15 +00:00
rubenwardy 515248eb8b Add open link to forum topic ID field 2018-12-27 00:03:16 +00:00
rubenwardy 66ee706a6c Fix profile picture bugs 2018-12-25 23:02:49 +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 f94885a58f Fix gravatar link being a button 2018-12-25 18:36:02 +00:00
rubenwardy f7d4b4bf6d Show placeholder message in unadded topics profile section when empty 2018-12-25 18:34:38 +00:00
rubenwardy d04e060854 Improve profile pic styling on user profile page 2018-12-25 18:25:25 +00:00
rubenwardy 7801be3d39 Fix create button show logic in topic list 2018-12-25 18:15:11 +00:00
rubenwardy b10660030a Fix params in topic list being lost on page change 2018-12-25 18:12:25 +00:00
rubenwardy f5744f5188 Fix non-editors seeing create buttons for topics 2018-12-25 17:58:44 +00:00
rubenwardy 272be09ba1 Add links to topic lists in user dropdown 2018-12-25 17:56:51 +00:00
rubenwardy 09150a4dbb Allow users to discard their own topics 2018-12-25 17:51:29 +00:00
rubenwardy c726f56b3e Fix bugs in topic todo 2018-12-25 16:43:41 +00:00
rubenwardy daded6d193 Add sort by option to topic list 2018-12-25 16:40:19 +00:00
rubenwardy b0a5980833 Add unlimited results toggle in topics list 2018-12-25 15:20:58 +00:00
rubenwardy 1eaed55bc6 Add ability to unapprove package from GUI 2018-12-25 15:13:30 +00:00
rubenwardy c2265313d8 Truncate long links in topic list 2018-12-24 00:37:52 +00:00
rubenwardy 49d5a123e5 Add progress bar to topics page 2018-12-24 00:27:55 +00:00
rubenwardy c79c970171 Fix .wiptopic affecting buttons 2018-12-24 00:13:45 +00:00
rubenwardy fa0506f58a Add create date to topic list 2018-12-24 00:11:15 +00:00
rubenwardy 50889ccca5 Add topic searching and topic discarding 2018-12-23 23:54:20 +00:00
rubenwardy b8ca5d24c5 Add pagination and search to topics 2018-12-23 18:04:56 +00:00
rubenwardy 63969529ad Add random feature 2018-12-23 17:34:44 +00:00
rubenwardy 08434300d8 Rename "I'm feeling lucky" to "First" 2018-12-23 17:11:52 +00:00
rubenwardy 86566bcd39 Improve markdown editor style, switch to EasyMDE, add to comment reply fields 2018-12-23 17:02:02 +00:00
rubenwardy a7fcce4448 Improve package grid style 2018-12-23 16:28:15 +00:00
rubenwardy 366ed9913e Update to Flask 1.0 2018-12-22 23:03:38 +00:00
rubenwardy 79f4e16286 Improve style of forms 2018-12-22 22:29:30 +00:00
rubenwardy 137a6928bc Replace Popular with Top Mods 2018-12-22 21:41:30 +00:00
rubenwardy de9135f44f Decrease package tile rounding 2018-12-22 21:26:00 +00:00
rubenwardy 31f57e1f12 Add multi-level thumbnails 2018-12-22 21:20:25 +00:00
rubenwardy 89cae279cd Add top games to home page 2018-12-22 21:13:56 +00:00
rubenwardy fd901726b0 Add sort and order query params to package list 2018-12-22 21:09:29 +00:00
rubenwardy 5f40d68441 Improve home page 2018-12-22 21:03:01 +00:00
rubenwardy 8eedbf64a4 Improve package grid 2018-12-22 20:49:19 +00:00
rubenwardy c551201f79 Improve thread styling 2018-12-22 20:25:22 +00:00
rubenwardy a21a5c24d8 Add pagination styling 2018-12-22 13:33:27 +00:00
rubenwardy 0a969e597b Fix flask_user template 2018-12-22 13:22:08 +00:00
rubenwardy a1700b5f7e Fix small issues 2018-12-22 13:17:10 +00:00
rubenwardy d61f77a805 Improve claim page 2018-12-22 13:14:08 +00:00
rubenwardy 09a201759b Improve card and user profile formatting 2018-12-22 12:38:03 +00:00
rubenwardy 5dcff01436 Improve button colours and position in package view 2018-12-22 12:20:26 +00:00
rubenwardy f355721cdb Fix button style in policy alert 2018-12-22 12:10:34 +00:00
rubenwardy a25f77ce3c Allow pasting of forum URLs in input box 2018-12-22 12:08:21 +00:00
rubenwardy 692628653c Improve package creation form 2018-12-22 12:00:20 +00:00
rubenwardy 35f798c862 Improve button layouts 2018-12-21 20:59:12 +00:00
rubenwardy 3a0e0377f9 Improve button placement 2018-12-21 17:00:16 +00:00
rubenwardy c6a26786ec Improve package page style again 2018-12-21 16:55:22 +00:00
rubenwardy e5cb7a3721 Improve jumbotron 2018-12-21 16:36:54 +00:00
rubenwardy 03a155c17b Improve package page style further 2018-12-21 16:06:52 +00:00
rubenwardy 266d579e9d Move cards to sidebar 2018-12-21 16:00:18 +00:00
rubenwardy c97eefc7b2 Format package page 2018-12-21 15:58:43 +00:00
rubenwardy 9da6b45cc3 Add bootstrap, change base template 2018-12-21 14:45:54 +00:00
rubenwardy c9bf7a3245 Add skip button to importer 2018-12-21 14:10:46 +00:00
rubenwardy dd368d87aa Fix various issues 2018-12-21 14:02:57 +00:00
rubenwardy e5b279d013 Fix capitalisation in API 2018-11-25 13:21:24 +00:00
rubenwardy 8ca3437689 Revert "Add flask-admin"
This reverts commit dd6257a0a0.
2018-11-14 00:56:28 +00:00
ClobberXD aeafb8247f Fix grammar in jumbotron 2018-11-09 10:58:39 +00:00
rubenwardy 75bab28d82
Add celery beat for topic import 2018-10-09 21:49:26 +01:00
rubenwardy 328d05bdf6
Add option to hide non-free packages in API 2018-10-03 17:06:16 +01:00
rubenwardy 2229b32c90
Add SimpleMDE to edit markdown 2018-09-14 23:10:30 +01:00
rubenwardy ed409df323
Update scoring algorithm to take licenses and screenshots into account 2018-09-03 01:50:53 +01:00
rubenwardy b8decafd75
Add WTFPL warning on new packages 2018-09-03 01:40:48 +01:00
rubenwardy 5aaee010c1
Fix accidental regression in phpbbparser 2018-08-25 21:25:12 +01:00
rubenwardy a01fe4043e
Fix owner not seeing create link in 'more content' list 2018-08-25 19:12:42 +01:00
rubenwardy e0ef0e018d
Fix permissions check in 'more content' list 2018-08-25 19:10:11 +01:00
rubenwardy 0210a3e601
Add I'm feeling lucky 2018-08-25 18:50:05 +01:00
rubenwardy 36000b1592
Add list of relevant forum topics to last page of results 2018-08-25 18:20:45 +01:00
rubenwardy b296b9b299
Fix two bugs 2018-07-30 00:42:11 +01:00
rubenwardy dd6257a0a0
Add flask-admin 2018-07-30 00:16:22 +01:00
rubenwardy 23b324cc9c
Update policy: remote too much detail about name exceptions 2018-07-29 17:34:06 +01:00
rubenwardy f61f9e8654
Fix typo in template path for tags list 2018-07-28 19:20:49 +01:00
rubenwardy 286207ffa2
Add release specific download URL 2018-07-28 18:33:36 +01:00
rubenwardy a3e82ad42f
Add support for multiple types in packages list 2018-07-28 18:12:22 +01:00
rubenwardy 404200b8f0
Fix license editor setting is_foss to true on edit 2018-07-28 17:47:08 +01:00
rubenwardy dfecf470fa
Redirect to license list on save 2018-07-28 17:34:00 +01:00
rubenwardy c737f58fc0
Update policy 2018-07-28 17:31:27 +01:00
rubenwardy ab59b7f4ba
Prevent approval of packages with an 'Other' license 2018-07-28 17:30:43 +01:00
rubenwardy 514a24e2c4
Add license editor 2018-07-28 17:26:28 +01:00
rubenwardy 742a327cbb
Add warning on other license 2018-07-28 16:46:46 +01:00
rubenwardy 864e067412
Fix typo in running task link on edit release page 2018-07-28 16:06:23 +01:00
rubenwardy 1c7a192854
Add link to original screenshot in edit screenshot page 2018-07-28 16:05:09 +01:00
rubenwardy c298f64295
Fix thumbnails
Fixes #97
2018-07-28 16:03:48 +01:00
rubenwardy e82166f87e
Add subscribe/unsubscribe button 2018-07-28 15:30:59 +01:00
rubenwardy 909a2b4ce9
Add support for post-approval threads 2018-07-28 15:19:30 +01:00
rubenwardy df8d05f09d
Add thread list to package view 2018-07-28 15:08:08 +01:00
rubenwardy 8c3b1c8c95
Add commit hash to releases 2018-07-28 14:48:03 +01:00
rubenwardy ecdb755dd3
Remove unused release approval checklist 2018-07-28 14:29:40 +01:00
rubenwardy 901e115a21
Prevent trusted users from approving their own packages 2018-07-28 14:25:51 +01:00
rubenwardy d4c2166019
Add default title to screenshots 2018-07-28 14:13:26 +01:00
rubenwardy cbc98ef624
Enable markdown in comments 2018-07-28 14:07:29 +01:00
nOOb3167 794bc8a018
Add default password to admin user 2018-07-24 20:39:48 +01:00
rubenwardy f9a1d25c57
Fix unreadable dropdown text
Fixes #74
2018-07-24 20:33:26 +01:00
rubenwardy 8fe7bcfb71
Fix forum topic scanner only scanning one page 2018-07-24 20:11:48 +01:00
rubenwardy 28ee65809e
Fix 2 filter_by bugs
Fixes #101
2018-07-13 21:28:11 +01:00
rubenwardy 1b42f3310a
Add admin feature to bulk create releases 2018-07-08 17:28:39 +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 73c65e3561
Add topics API 2018-07-07 00:01:56 +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 a6c8b12cdd
Reorder new and popular, change number of packages in each 2018-07-04 01:20:55 +01:00
rubenwardy 7813c766ac
Add package scores and split homepage into new and popular 2018-07-04 01:08:34 +01:00
rubenwardy 9fc9826d30
Clarify home page on subject of free software 2018-07-04 00:42:46 +01:00
rubenwardy 19e1ed8b32
Implement forum parser to increase accuracy 2018-07-04 00:38:51 +01:00
cx384 eb6b1d6375 Fix wrong section reference in inclusion policy 2018-06-20 16:37:53 +01:00
rubenwardy 8c6d352d07
Fix crash on packages page 2018-06-15 23:44:13 +01:00
rubenwardy cfa7654efc
Move API to dedicated file, and reduce download size 2018-06-15 22:57:43 +01:00
rubenwardy 87af23248e
Fix package owners not being able to see review threads 2018-06-12 22:20:06 +01:00
rubenwardy 68b7a5e922
Add thread watchers 2018-06-11 23:39:41 +01:00
rubenwardy e8cc685f89
Prevent new threads being created on approved packages 2018-06-11 23:22:48 +01:00
rubenwardy 86dd137f75
Add dates to comments 2018-06-11 23:20:18 +01:00
rubenwardy b48f684c0a
Add note about review thread being private 2018-06-11 23:14:14 +01:00
rubenwardy e0e6f3392d
Improve comment CSS 2018-06-11 23:11:15 +01:00
rubenwardy b1c349cc35
Add comment system 2018-06-11 22:52:37 +01:00
rubenwardy 40aac38d43
Fix worker stopping due to gitpython asking for credentials 2018-06-07 23:25:00 +01:00
rubenwardy 051df7ab87
Increase timeout in polltask.js 2018-06-07 23:25:00 +01:00
rubenwardy bb1f6702f6
Add name to create link 2018-06-05 23:51:40 +01:00
rubenwardy c9542427b4
Add create links to topic table 2018-06-05 23:45:15 +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 700cd7ce1f
Add game detection 2018-06-05 19:51:01 +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 e424dc57e7
Set remember me to true in loginUser 2018-06-04 19:34:29 +01:00
rubenwardy 7d60e2f671
Fix crash on any type search 2018-06-04 19:02:02 +01:00
rubenwardy 8b2018852e
Add redirection to set password after login if not set 2018-06-04 18:49:42 +01:00
rubenwardy 0aeefa2387
Add email usage note 2018-06-04 18:36:26 +01:00
rubenwardy 4420f489ac
Require email in set password 2018-06-04 18:34:04 +01:00
rubenwardy aad4fd2a70
Add list of similar packages in details page 2018-06-03 19:27:56 +01:00
rubenwardy d2bda0fded
Update inclusion policy 2018-06-03 15:19:17 +01:00
rubenwardy b84727b187
Fix username being case-sensitive 2018-06-03 01:50:58 +01:00
rubenwardy 6fd36dbfff
Add WIP things note to policy 2018-06-02 21:40:48 +01:00
rubenwardy 8e134a7c85
Fix todo topics sort order 2018-06-02 19:44:57 +01:00
rubenwardy 389258a10c
Fix button CSS issue 2018-06-02 19:42:46 +01:00
rubenwardy 3657316fa2
Clean up todo topics related HTML 2018-06-02 19:41:13 +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 8984adaa72 Update policy document 2018-06-02 17:17:32 +01:00
rubenwardy c523624696
Fix button in alert borders 2018-05-30 04:00:27 +01:00
rubenwardy 072f189006
Add alternatives section to package page 2018-05-30 02:59:11 +01:00
rubenwardy 9967101d9f
Add package inclusion policy and guidance 2018-05-30 01:20:47 +01:00
rubenwardy 1ed09b646b
Fix double single quote 2018-05-29 23:21:24 +01:00
rubenwardy f554bfc92b
Fix max package grid cell size 2018-05-29 23:18:13 +01:00
rubenwardy c80ea2c1b1
Sort meta list, and packages on profile 2018-05-29 23:15:41 +01:00