Commit Graph

56 Commits

Author SHA1 Message Date
niggl 33d7c94648 New urls can now be created with disabled preview
ref #2
2021-09-25 17:19:36 +02:00
niggl f6b2ae523d Added bot check for native short urls
ref #2
2021-09-25 17:17:42 +02:00
niggl 61da5d8110 Added basic bot checking 2021-09-25 17:14:34 +02:00
niggl d097eccbd9 removed logging 2021-09-25 17:12:22 +02:00
niggl f15282a3f9 Log user agents
continuous-integration/drone/push Build is passing
2021-09-25 17:09:19 +02:00
niggl 0a8945a294 Added noindex header to all shorturl routes
continuous-integration/drone/push Build is passing
ref #2
2021-09-25 16:59:28 +02:00
niggl 0945060a49 Added optional filtering by provider 2021-08-21 10:02:52 +02:00
niggl f7eae96b8c Shortened return to avoid variable memory asignment 2021-08-21 10:01:24 +02:00
niggl c2a50a1480 Changed object property order (just for us pesky humans to improve readability) 2021-08-21 09:59:57 +02:00
niggl bb99c2dcd1 Added endpoint to query over all visited urls 2021-08-21 09:59:14 +02:00
niggl b5321377bd Reverted last change since we can defer it from the provider 2021-08-21 09:54:55 +02:00
niggl 6e26bbbf5f Changed the way visits entrys get compiled to enable provider visits count searches over the default api 2021-08-21 09:53:17 +02:00
niggl 59e178476e Removed visits 404 resolution 2021-08-21 09:51:25 +02:00
niggl 824c109a42 Server now inserts provider on visit 2021-08-21 09:49:45 +02:00
niggl 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
niggl 588f3bae89 Changed register api route and added user deletion route 2021-08-18 17:46:49 +02:00
niggl 44830f08bc Fixed jwtcount not being recognized 2021-08-18 17:38:47 +02:00
niggl 558b69eeaa Implemented jwt count validation and update on logout 2021-08-18 16:22:50 +02:00
niggl 2b22063a81 All authenticated entpoints now accept jwtauth 2021-08-18 16:10:59 +02:00
niggl 48cc380504 Implemented jwtcount basics 2021-08-18 16:09:34 +02:00
niggl 75473cabe7 Basic jwt implementation :party: 2021-08-18 15:57:23 +02:00
niggl 6420ffb055 Switched to fastify-auth to support multiple auth providers 2021-08-18 15:36:16 +02:00
niggl c89f2a2939 Added stats api route 2021-08-18 15:21:36 +02:00
niggl d51c58867d Added comments 2021-08-16 15:19:04 +02:00
niggl 339e2f39d8 Ebay provider resolution 2021-08-14 15:47:58 +02:00
niggl 12c6d7e3da Added ebay provider recognition 2021-08-14 15:47:03 +02:00
niggl 1624e666e8 Now recognizing with and without protocol 2021-08-14 15:46:14 +02:00
niggl 518aa3eb08 Added cors 2021-08-14 14:19:08 +02:00
niggl fef7daaf96 Weired knex env fix 2021-08-14 13:23:11 +02:00
niggl 8fa489f2bc Changed the way that the migration get's triggered 2021-08-14 13:09:25 +02:00
niggl fa01864d0d API Endpoint to get all short urls 2021-08-14 11:50:29 +02:00
niggl 81b314ac55 Working registration/auth 2021-08-14 10:26:44 +02:00
niggl cd9400fec3 Now validating users against the db 2021-08-14 10:15:59 +02:00
niggl 6d417fac1b Added basics for auth 2021-08-14 10:09:05 +02:00
niggl 1a04743db9 Prequesits for docker 2021-08-14 09:56:43 +02:00
niggl 71fa977af4 Added delete api route 2021-08-14 09:30:16 +02:00
niggl fd16b39443 Added visits api 2021-08-14 09:28:10 +02:00
niggl d8cb023765 Now returning visit count via api get 2021-08-14 09:27:59 +02:00
niggl c4c22a7405 Now logging visits to shorturls 2021-08-14 09:23:55 +02:00
niggl 1ac700f584 Added api route for getting basic information about an url 2021-08-14 09:03:18 +02:00
niggl a6397f01d1 Changed path for posting new urls 2021-08-14 08:55:40 +02:00
niggl fc84dde534 Now also recognizing cursed amazon urls (that weird query shit) 2021-08-14 08:54:36 +02:00
niggl 73447243a3 New provider: yt playlists 2021-08-12 21:44:58 +02:00
niggl 35af600dba Added process for recognizing amazn urls 2021-08-12 21:23:49 +02:00
niggl 8eaa52d83d Added process for recognizing yt urls 2021-08-12 21:23:40 +02:00
niggl 52cf92b5e5 Added comments 2021-08-12 21:21:23 +02:00
niggl 2464573525 Added .env capeabilities 2021-08-12 20:27:23 +02:00
niggl ae7d123082 SSL Config via process env 2021-08-12 20:26:33 +02:00
niggl 7cfcb54195 Added config object 2021-08-12 20:24:26 +02:00
niggl 68b9b43891 Replaced nanoid with uniqid 2021-08-12 20:17:10 +02:00