Commit Graph

42 Commits

Author SHA1 Message Date
dbb0d177b8 Fixed auth error crashing the entire server thanks to fastify handling stuff not the same way that they do in the docs.....
closes #1
2021-08-21 07:35:13 +02:00
588f3bae89 Changed register api route and added user deletion route 2021-08-18 17:46:49 +02:00
44830f08bc Fixed jwtcount not being recognized 2021-08-18 17:38:47 +02:00
558b69eeaa Implemented jwt count validation and update on logout 2021-08-18 16:22:50 +02:00
2b22063a81 All authenticated entpoints now accept jwtauth 2021-08-18 16:10:59 +02:00
48cc380504 Implemented jwtcount basics 2021-08-18 16:09:34 +02:00
75473cabe7 Basic jwt implementation :party: 2021-08-18 15:57:23 +02:00
6420ffb055 Switched to fastify-auth to support multiple auth providers 2021-08-18 15:36:16 +02:00
c89f2a2939 Added stats api route 2021-08-18 15:21:36 +02:00
d51c58867d Added comments 2021-08-16 15:19:04 +02:00
339e2f39d8 Ebay provider resolution 2021-08-14 15:47:58 +02:00
12c6d7e3da Added ebay provider recognition 2021-08-14 15:47:03 +02:00
1624e666e8 Now recognizing with and without protocol 2021-08-14 15:46:14 +02:00
518aa3eb08 Added cors 2021-08-14 14:19:08 +02:00
fef7daaf96 Weired knex env fix 2021-08-14 13:23:11 +02:00
8fa489f2bc Changed the way that the migration get's triggered 2021-08-14 13:09:25 +02:00
fa01864d0d API Endpoint to get all short urls 2021-08-14 11:50:29 +02:00
81b314ac55 Working registration/auth 2021-08-14 10:26:44 +02:00
cd9400fec3 Now validating users against the db 2021-08-14 10:15:59 +02:00
6d417fac1b Added basics for auth 2021-08-14 10:09:05 +02:00
1a04743db9 Prequesits for docker 2021-08-14 09:56:43 +02:00
71fa977af4 Added delete api route 2021-08-14 09:30:16 +02:00
fd16b39443 Added visits api 2021-08-14 09:28:10 +02:00
d8cb023765 Now returning visit count via api get 2021-08-14 09:27:59 +02:00
c4c22a7405 Now logging visits to shorturls 2021-08-14 09:23:55 +02:00
1ac700f584 Added api route for getting basic information about an url 2021-08-14 09:03:18 +02:00
a6397f01d1 Changed path for posting new urls 2021-08-14 08:55:40 +02:00
fc84dde534 Now also recognizing cursed amazon urls (that weird query shit) 2021-08-14 08:54:36 +02:00
73447243a3 New provider: yt playlists 2021-08-12 21:44:58 +02:00
35af600dba Added process for recognizing amazn urls 2021-08-12 21:23:49 +02:00
8eaa52d83d Added process for recognizing yt urls 2021-08-12 21:23:40 +02:00
52cf92b5e5 Added comments 2021-08-12 21:21:23 +02:00
2464573525 Added .env capeabilities 2021-08-12 20:27:23 +02:00
ae7d123082 SSL Config via process env 2021-08-12 20:26:33 +02:00
7cfcb54195 Added config object 2021-08-12 20:24:26 +02:00
68b9b43891 Replaced nanoid with uniqid 2021-08-12 20:17:10 +02:00
823b211c8c Migrated to knex 2021-08-12 20:13:46 +02:00
cfc49f3ec4 Added schma to validate 2021-08-12 19:39:10 +02:00
bb09b731aa Adjusted param naming 2021-08-12 19:34:36 +02:00
15508606a4 Implemented short code generation via nanoid 2021-08-12 19:33:59 +02:00
97a86db5e3 Added leveldb 2021-08-12 19:22:14 +02:00
e5c302aec8 First routes 2021-08-12 19:10:36 +02:00