Commit Graph

129 Commits

Author SHA1 Message Date
AFCMS
13dcd373f2
Add API endpoint for .cdb.json JSON Schema (#402)
Fixes #393
2023-01-02 19:26:10 +00:00
rubenwardy
a81d289bc8 Add caching headers to API 2022-11-18 21:36:15 +00:00
rubenwardy
01bc519b86 Add API to get all package stats 2022-11-15 01:51:21 +00:00
rubenwardy
1f40a5bf8b Add user info API 2022-11-09 20:47:19 +00:00
rubenwardy
e15a3c682f Statistics: Fix issue with missing days
Fixes #397
2022-11-09 18:46:11 +00:00
rubenwardy
e1f4787fb9 Add package stats endpoint 2022-11-06 10:32:46 +00:00
rubenwardy
8b5d767d3c Fix issues with deleted packages 2022-06-01 17:30:28 +01:00
rubenwardy
958f92fd63 Add single API to upload cover image 2022-02-02 01:29:14 +00:00
rubenwardy
a291b2cd6f Add cover_image API
Fixes #360
2022-02-02 01:08:01 +00:00
rubenwardy
38071165d1 Add welcome dialog API 2022-01-30 03:35:32 +00:00
rubenwardy
c3a4ea239c Update dependencies 2022-01-27 18:21:47 +00:00
rubenwardy
7ffecbb318 Fix key package API returning display_name rather than username 2022-01-12 20:50:11 +00:00
rubenwardy
e0a92c6455 Add /api/dependencies/ 2022-01-12 17:08:18 +00:00
rubenwardy
ca0823c460 Fix optional dependencies being presolved 2022-01-08 22:29:02 +00:00
rubenwardy
1b26acaaae Allow translating form labels 2022-01-07 21:55:33 +00:00
rubenwardy
5d32d7922f Add Maintenance State field
Fixes #160
2021-12-20 21:07:12 +00:00
rubenwardy
7aca5a54dc Add more to reviews API response 2021-11-26 14:56:01 +00:00
rubenwardy
c46cca519a Fix paginated API response key 2021-11-26 14:34:37 +00:00
rubenwardy
da41fb5738 Improve reviews API 2021-11-26 14:33:17 +00:00
rubenwardy
41e0e65a6b Add more info to /api/homepage/ 2021-11-25 10:35:31 +00:00
rubenwardy
f714d809f8 Fix crash on /api/homepage/ due to invalid response returned 2021-11-25 10:28:15 +00:00
rubenwardy
4f69dd8d32 Add API for reviews 2021-11-24 16:33:37 +00:00
rubenwardy
d0741fde6e Also allow Authorization header 2021-11-24 15:49:00 +00:00
rubenwardy
d485e686d9 Allow cross-origin requests to the API 2021-11-24 15:39:50 +00:00
rubenwardy
32372e8e86 Add support for strikethrough in markdown
Fixes #304
2021-08-21 05:40:20 +01:00
rubenwardy
823c06d3ea Prevent API from changing protected tags
Fixes #322
2021-07-24 00:43:55 +01:00
rubenwardy
7db6c6bba4 Fix missing state filter 2021-07-22 14:05:59 +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
75c118c483 Prefetches dependencies of likely dependency candidates 2021-07-20 21:24:08 +01:00
rubenwardy
d64463235c Add tests for package release filtering 2021-05-03 18:27:32 +01:00
rubenwardy
8dbd22f56c Add custom 404 page 2021-04-10 16:30:19 +01:00
rubenwardy
4d2833de88 Add all releases API 2021-03-05 12:55:21 +00:00
rubenwardy
04f659bc2b API: Add support for specifying commit for zip releases 2021-02-27 18:31:56 +00:00
rubenwardy
0c08738a66 Update API docs 2021-02-03 12:50:16 +00:00
rubenwardy
8225e4098b Add support for .cdb.json
Fixes #231
2021-02-02 23:58:59 +00:00
rubenwardy
12e364969b Add licenses API 2021-02-02 22:41:48 +00:00
rubenwardy
551996ca14 Add start of package edit API 2021-02-02 21:35:29 +00:00
rubenwardy
14810b2cc5 Add table of contents to help pages 2021-02-02 20:05:24 +00:00
rubenwardy
a040c7dd2e Clean up audit_log reasons 2021-02-02 17:29:03 +00:00
rubenwardy
912ebbc409 Add API to delete releases 2021-02-02 17:09:28 +00:00
rubenwardy
e1fe63ab19 Add more screenshot APIs 2021-02-02 17:09:25 +00:00
rubenwardy
509f03ce65 Add API to create screenshots 2021-02-02 17:09:23 +00:00
rubenwardy
64a897b52f Improve token form 2021-02-02 17:09:21 +00:00
rubenwardy
033f40c263 Add support for zip uploads in the API
Fixes #261
2021-02-02 00:19:32 +00:00
rubenwardy
c0112828eb Optimise package query speed 2021-01-30 19:32:04 +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
07d7282383 Add APIs for tags and homepage 2021-01-16 00:34:09 +00:00
rubenwardy
c46430c663 Add email to email tab, merge settings into settings.py file 2020-12-05 22:02:33 +00:00
rubenwardy
d5263acdf8 Fix switching between users in settings template 2020-12-05 03:16:09 +00:00
rubenwardy
f75bdec756 Add settings template 2020-12-05 02:20:21 +00:00
rubenwardy
43aab057c8 Implement change password 2020-12-05 02:20:21 +00:00
rubenwardy
5ef15e91d4 Remove flask_user and use flask_login directly, with partial feature support 2020-12-05 02:20:21 +00:00
rubenwardy
42f96618e2 Clean up code 2020-12-04 02:26:06 +00:00
rubenwardy
3fbc5f7751 Filter out packages with no releases in ContentDB 2020-07-13 02:10:59 +01:00
rubenwardy
820c968f73 Replace "Content DB" with "ContentDB" 2020-07-12 16:34:25 +01:00
rubenwardy
ac7adde4b1 Add score bonus to reviews 2020-07-09 04:32:13 +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
27d004d299 Fix bad URL construction in GitLab webhooks 2020-06-03 16:40:52 +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
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
54a636d79e Fix access token not being shown after creation
Fixes #190
2020-04-11 17:45:25 +01:00
rubenwardy
36615ef656 Fix access token being exposed after APIToken edit 2020-01-25 18:26:55 +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
595d6ea3b6 Use server-side markdown renderer in WYSIWYG preview
Fixes #117
2020-01-22 23:10:06 +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
64f131ae27 Refactor endpoints to use blueprints instead 2019-11-15 23:51:42 +00:00