20 Commits

Author SHA1 Message Date
Mangiang
916f383618 refacto: Refactor search endpoint 2021-10-12 00:40:07 -04:00
Mangiang
e5ea4a83e5 fix: Fix items and customization locale merging 2021-10-12 00:21:14 -04:00
Mangiang
fe5daaded8 feat: Adding customization data 2021-10-12 00:06:29 -04:00
Mangiang
4a2404d365 fix: Fix search endpoints 2021-10-11 21:11:22 -04:00
Mangiang
aae9cbac94 fix: Fixing all routes 2021-10-11 19:47:34 -04:00
Mangiang
6db043ce6b feat: add item and locales caching based on Gitea 2021-10-11 17:29:15 -04:00
Rev
b68eac70f9 remove unnecessary nesting 2021-10-11 18:20:28 +09:00
Rev
60aebd6b02 revert removing the locale from the get item by id 2021-10-11 18:20:11 +09:00
Rev
bace58d2c8 add name and shortname to the filter criteria 2021-10-11 18:04:44 +09:00
Rev
c7fd49e553 add the locale to the search result 2021-10-11 17:34:51 +09:00
Rev
5b8f54b138 pass the locale along the item data 2021-10-11 17:26:19 +09:00
Rev
7549f164ae return 204 response if search has empty result 2021-10-11 16:00:49 +09:00
Rev
54565ff4b7 return a collection of values instead of key,value 2021-10-11 16:00:25 +09:00
Rev
8c88914e8b return an error message when item not found instead of empty object 2021-10-10 13:50:49 +09:00
Rev
7cdd4645bd wrap get item with try catch 2021-10-10 13:10:35 +09:00
Rev
826bc13956 add php docstrings for methods 2021-10-10 13:10:18 +09:00
Rev
0fdba8c054 use custom exception instead of the generic one 2021-10-10 13:09:11 +09:00
Rev
a187ae011c convert the query string to lower case 2021-10-10 13:08:50 +09:00
Rev
a2be16fe79 add custom exception for item not found 2021-10-10 13:08:04 +09:00
Rev
0a9f007eac initial commit 2021-10-08 20:44:34 +09:00