Commit Graph

35 Commits

Author SHA1 Message Date
Peng-YM
60c1c3d2a5 build: Split sub-store.min.js for better performance on iOS devices 2022-09-09 23:11:13 +08:00
Peng-YM
8b8bfe123e fix: Rename subscription and collection will break artifacts 2022-08-09 22:28:45 +08:00
Peng-YM
1a85895c01 fix (restful): Add query field in IP-API 2022-07-12 23:15:29 +08:00
Peng-YM
d234a8c314 perf: Add switch for cron-sync-artifacts 2022-07-12 18:56:24 +08:00
Peng-YM
5d57ce2859 fix (restful): Intercept IP-API query failed message when querying node info 2022-07-12 18:34:31 +08:00
Peng-YM
b767c8146b feat (restful): Add /api/utils/node-info for querying proxy node info 2022-07-12 15:09:44 +08:00
Peng-YM
6ca5a525a0 feat (restful): Add /api/utils/refresh
The API call does the following:
- Fetch GitHub avatar and update artifact store url
- Revoke all cached resources
2022-07-11 23:06:49 +08:00
Peng-YM
51e3593ac2 feat: Add support for targetPlatform ShadowRocket 2022-07-11 18:23:56 +08:00
Peng-YM
03a64823e4 fix: Error codes are not shown in the response 2022-07-08 11:00:26 +08:00
Peng-YM
51353fbd5d fix: Restrict artifact name in order to fix a Gist API bug 2022-07-08 10:47:38 +08:00
Peng-YM
134375c31b fix: Sync time is updated even if upload failed 2022-07-08 10:26:05 +08:00
Peng-YM
22fc800e45 fix: Full config preprocessor bug 2022-07-07 23:24:01 +08:00
Peng-YM
41478d28e8 feat: Add artifactStore URL in settings 2022-07-07 22:40:46 +08:00
Peng-YM
72f7606062 refactor: Revise sync artifacts APIs
- /api/sync/artifacts: sync all artifacts
- /api/sync/artifact/:name: sync a specific artifact
2022-07-07 14:47:09 +08:00
Peng-YM
8b3bbb5e04 fix: Perform migration after restoring data from gist 2022-07-06 18:12:36 +08:00
Peng-YM
993658ff0b refactor: Standardize error handling for RESTful APIs 2022-07-06 18:12:36 +08:00
Peng-YM
1f20c00c33 feat: Fetch avatar from GitHub automatically 2022-07-06 18:12:36 +08:00
Peng-YM
62e100ba55 fix: QuickSettingOperator does not respect default settings 2022-07-06 18:12:36 +08:00
Peng-YM
2bb27fbcb7 feat: Add sorting API
Added POST /api/sort/subs, /api/sort/collections, /api/sort/artifacts for sorting subs, collections, and artifacts.
2022-07-06 18:12:36 +08:00
Peng-YM
83d7d789a9 refactor: Migrate to API v2
- Added auto schema migration
- Refactored /api/subs, /api/collections, /api/artifacts. Now these APIs will return array instead of object. This enables sorting items in the future.
2022-07-06 18:12:36 +08:00
Peng-YM
b4d5003d0e feat (backend): Add preview API
- POST /api/preview/sub for previewing subs
- POST /api/preview/collection for previewing collection
2022-07-01 17:36:48 +08:00
Peng-YM
818e94f41d refactor: Download API
Now the download APIs are moved into a new file
2022-06-30 12:19:43 +08:00
Peng-YM
8647f9fd59 fix: Backend crashes when invalid url is used
Improve error handling for flow info API
2022-06-29 14:07:22 +08:00
Peng-YM
c929bb3e48 perf: Improve /utils/env API
- Add version number
- Add support for Stash & ShadowRocket backend
2022-06-29 11:25:57 +08:00
Peng-YM
002428d8ff feat (backend): Add backend API to get flow info for subscriptions 2022-06-29 00:12:31 +08:00
Peng-YM
def42d683c feat: Added cron script for syncing all artifacts to gist 2022-06-21 16:01:02 +08:00
Peng-YM
7f6d55c635 feat: Added dedicated Stash producer 2022-06-20 21:51:13 +08:00
Peng-YM
e7f0259eaf Use babel relative import path 2022-06-16 14:24:32 +08:00
Peng-YM
4ab1e3cdaa Reintroduce storage management API, closes #113 2022-06-16 11:28:15 +08:00
Peng-YM
9980101d2e Added ResolveDomainOperator 2022-06-07 15:55:34 +08:00
Peng-YM
24a27e51e3 Added support for non-ascii characters in subscriptions, collections and artifacts 2022-05-30 13:47:59 +08:00
Peng-YM
f56c4358f9 Fixed local subscription not working in collections 2022-05-25 22:33:54 +08:00
Peng-YM
7b4f75fddc Added support for local subscription 2022-05-25 17:32:05 +08:00
Peng-YM
a3ddb13289 Refine project structure 2022-05-25 14:33:46 +08:00
Peng-YM
fb660ce957 Minor changes 2022-05-25 11:00:00 +08:00