Commit Graph

21 Commits

Author SHA1 Message Date
6dfabdf29f backend: add / 2023-03-05 17:23:13 +00:00
7ccbc3af12 api: initial migration 2023-03-04 21:58:18 +00:00
fbcaea8bfc Remove Dancer2 files 2023-03-04 21:31:42 +00:00
ff22b71fa1 backend: use tag name instead of ID 2023-02-22 21:10:01 +00:00
5a0b18feb8 Replace some concatenations with interpolation 2023-02-21 19:55:12 +00:00
91d73cd314 backend: implement /random/media and /random/tag 2023-02-21 19:55:12 +00:00
ad6a6cb9c0 backend: implement /random 2023-02-19 20:22:30 +00:00
c55bdd6ea7 backend: rename /view -> /media 2023-02-19 20:22:29 +00:00
b09a5e7fe1 backend: add partial support for viewing media 2023-02-19 20:22:29 +00:00
82aeb0c536 backend: handle paged /tag/:tag_id_or_name from API 2023-02-19 18:17:59 +00:00
065d5a9d88 api, backend: whitespace and declarations shuffling 2023-02-19 18:14:04 +00:00
06a939bcd1 api, backend: improve validations
Introduce a sub for validating page number.

Introduce a sub for validating tag name and allow non-ASCII characters.
2023-02-19 18:09:44 +00:00
a0d3601c57 backend: refactor communication with api 2023-02-19 15:50:06 +00:00
7d827212c1 api, backend: replace '+( { ... } )' -> '+{ ... }'
api, backend: whitespace: '+( {' -> '+({'
2023-02-19 15:15:57 +00:00
f2ee7e3db8 backend: rename gallery_nav_pager -> nav_pager 2023-02-19 11:27:45 +00:00
5b8cbd37e5 backend: handle paged /tags from API 2023-02-19 11:27:45 +00:00
6eae4e0fe4 backend: implement main section 2023-02-18 19:10:33 +00:00
216422f50a api: always return a list of media_ids 2023-02-18 17:14:40 +00:00
46cb5c19ec api: return paths instead of URIs 2023-02-18 15:05:52 +00:00
ead5728a99 Implement /tags and /tag/id endpoints 2023-02-18 14:47:32 +00:00
1ff831f80d Initial import 2023-02-18 09:49:05 +00:00