Commit Graph

42 Commits

Author SHA1 Message Date
Citlali del Rey 6d20d13400
Refactor into function and apply to all uses 2023-09-01 13:05:11 -07:00
Citlali del Rey 18994b5543
Fix 500 error when pin doesn't have a name 2023-09-01 12:52:08 -07:00
Citlali del Rey fc74265795
Revert "exclude pin name if empty or null"
This reverts commit 741fcf8b19.
2023-09-01 12:50:08 -07:00
Citlali del Rey 741fcf8b19
exclude pin name if empty or null 2023-09-01 12:47:26 -07:00
Citlali del Rey 9a47d097bf
Improve readme and allow password changing. 2023-02-22 22:23:38 -08:00
Citlali del Rey 5bb8febfa2
Add argon2id password auth (through DB) 2023-02-22 21:58:58 -08:00
Citlali del Rey e999d1309e
Add sqlite support 2023-02-22 21:35:46 -08:00
Citlali del Rey 807ae8b0d3
Rename helper to SQL 2023-02-22 20:39:54 -08:00
Citlali del Rey dca00fe3a3
Fix reference 2023-02-06 21:48:48 -08:00
Citlali del Rey bd1cb72097
Increase web upload limit to 100Mb 2023-02-06 21:37:46 -08:00
Citlali del Rey a2021eb363
Fix again 2023-02-06 21:32:24 -08:00
Citlali del Rey d0b6bbc441
Fix again 2023-02-06 21:23:56 -08:00
Citlali del Rey c359c831f8
Fix file handling more 2023-02-06 21:20:21 -08:00
Citlali del Rey d21452c39b
Use file asset instead of slurp 2023-02-06 21:14:12 -08:00
Citlali del Rey 3220294cbe
Remove prints 2022-12-17 10:51:06 -08:00
Citlali del Rey 7259fe5348
Fix error handling 2022-12-17 10:50:22 -08:00
Citlali del Rey fba2a0f6f7
Use proper decode_json 2022-12-17 10:47:56 -08:00
Citlali del Rey cea82293f7
Unify interface & API pin filtering logic. 2022-12-17 10:44:07 -08:00
Citlali del Rey b11ca43a08
Fix error when deleting pins 2022-12-17 10:23:05 -08:00
Citlali del Rey db05ae4934
Public URLs have filename added to them. 2022-11-11 22:39:23 -08:00
Citlali del Rey 675faa600c
Remove some excess debug statements and use warn instead of say where needed.
Also fix 401 unauthorized error on non owned pins.
2022-11-11 17:33:38 -08:00
Citlali del Rey 2c42321837
Add login failed message instead of internal server error 2022-11-11 17:28:23 -08:00
Citlali del Rey e396723a89
Fix count property in API 2022-11-11 17:26:33 -08:00
Citlali del Rey 7b4b5810bc
Add basic styling 2022-11-11 12:18:35 -08:00
Citlali del Rey 9eddc1d272
Import CID from web interface 2022-11-09 19:47:50 -08:00
Citlali del Rey 58888bd58d
Allow uploading from the web 2022-11-09 19:28:43 -08:00
Citlali del Rey 58b8d33e69
Delete pins from webUI 2022-11-09 16:48:11 -08:00
Citlali del Rey db5898c07f
Allow deleting tokens 2022-11-09 16:36:38 -08:00
Citlali del Rey 3528837ab4
Allow generating tokens 2022-11-09 16:27:35 -08:00
Citlali del Rey 1a3096669b
Add tokens list 2022-11-05 10:09:02 -07:00
Citlali del Rey 9ecfff7557
Add app_name 2022-11-05 09:58:22 -07:00
Citlali del Rey 1865b08f0a
List uploads on web interface 2022-11-05 09:28:17 -07:00
Citlali del Rey 2efd2fa6f3
Throw appropriate error when trying to add pin that already exists. 2022-11-05 09:09:34 -07:00
Citlali del Rey 3186adefc9
Add username/password auth. 2022-11-05 09:09:12 -07:00
Citlali del Rey 0ac565903a
Allow filtering pins and setting limit 2022-11-04 21:06:23 -07:00
Citlali del Rey c885111b08
Allow /pins/id POST (replace) 2022-11-04 20:48:33 -07:00
Citlali del Rey 769bae8b5d
Allow /pins/id GET 2022-11-04 20:18:28 -07:00
Citlali del Rey ccce302619
Allow deleting pins 2022-11-04 20:12:59 -07:00
Citlali del Rey 0a9532bf67
Let users add pins 2022-11-04 18:40:08 -07:00
Citlali del Rey 44c3ff4421
Add pins 2022-11-04 17:31:41 -07:00
Citlali del Rey d051ed2777
Rename so things work 2022-11-04 13:07:01 -07:00
Citlali del Rey ff17cfc38d
Initial commit 2022-11-04 13:00:14 -07:00