49 Commits

Author SHA1 Message Date
Thomas Rory Gummerson
2b4381fa3c Remove unused dependencies, misc. small fixes 2025-01-21 09:38:14 +01:00
Pouria Ezzati
df26bacb6f add trust proxy configuration 2025-01-15 15:35:30 +03:30
Pouria Ezzati
1e01e10459 add customization 2025-01-15 11:45:53 +03:30
Pouria Ezzati
ab10fe8291 update packages 2025-01-01 14:37:04 +03:30
Pouria Ezzati
a95ac33e4c fix not redirecting custom domain to homepage for preserved urls 2025-01-01 12:47:04 +03:30
Pouria Ezzati
c8a49d83fd
run cron only on the first instance/cluster of the app 2024-11-23 14:44:33 +03:30
Pouria Ezzati
690950e9f8
fix getting ip address 2024-11-21 16:20:17 +03:30
Pouria Ezzati
ae98343cd3
remove winston logger and log errors directly to output 2024-09-23 13:44:59 +03:30
Pouria Ezzati
776ba1650c
add separate 404 for handler 2024-09-14 15:27:50 +03:30
Pouria Ezzati
5ea233f06b
more cleanups 2024-09-12 14:26:39 +03:30
Pouria Ezzati
698cf6e305
delete nextjs, update packages 2024-09-09 18:44:43 +03:30
Pouria Ezzati
dbc14c8fb6
htmx almost done 2024-09-08 14:10:02 +03:30
Pouria Ezzati
5b647f05be
more rewrite: tables and settings page 2024-08-31 12:19:39 +03:30
Pouria Ezzati
980610e7a0
more htmx less nextjs 2024-08-21 21:22:59 +03:30
Pouria Ezzati
8fe106c2d6
(wip): nextjs to htmx 2024-08-11 18:41:03 +03:30
Pouria Ezzati
33320f0205
[v2-beta] Move from Neo4j to Postgres, use TypeScript for server. Fixes #217, #197, #190, #75 (#220)
* Disable underscore-dangle rule

* Add mongoose package

* Use mongodb for auth queries

* Move to MongoDB and TypeScript

* Init plan

* Update steps

* Update config

* 💥 Move to Postgres from MongoDB

* Remove unused

* Improve migration scripts

* Decrease concurrent connections

* Add skip and fix query

* Add migration guide

* Increase cahr limit to 1023

* Decrease target limit to 1023

* Update migration guid with important note

* Update example with new env vars

* Update with v2 guides

* Fix migrating visit referrers

* Add script to delete duplicated visit relationship

* Add shortUrl to link response for backward compatibility

* Linting

* Fix creating anonymous links

* Fix IP cooldown not working

* Fix deleting links by deleting visits of links first

* Fix and improve links migration script

* Add fail note to migration

* 2.0.0

* Fix main path

* Fix limit when getting list of links

* Improve table nav buttons clicking and listing

* Return countAll as number instead of string

* Fix proptype warning

* Fix not authenticating user on initial load. Fixes #71
2019-10-08 21:56:03 +03:30
poeti8
1de09a388a Merge branch 'develop' of github.com:thedevs-network/kutt into develop 2019-07-06 10:35:45 +04:30
poeti8
74590ac5e6 disable offline page 2019-07-06 10:35:03 +04:30
poeti8
3814604ff3 Throw error even if has sentry 2019-06-29 15:49:45 +04:30
poeti8
0a68a7437e Add cooldown for non-users 2019-06-15 17:46:33 +04:30
poeti8
265e851df5 Add script to move configs to env file 2019-06-01 18:02:03 +04:30
poeti8
8b594a006c Replace config with .env 2019-05-29 19:09:44 +04:30
poeti8
fdf98f8c5f Run async shorrtening task in parallel to speed up the process 2019-02-12 23:38:30 +03:30
Akash
ea4a203083 Added offline support to kutt 2019-02-12 09:39:52 +05:30
poeti8
289eee82e3 Disable service worker 2019-02-09 01:57:27 +03:30
poeti8
b577b22300 Add homepage field and handler for custom domains 2019-01-23 23:36:16 +03:30
Akash
628139ff34 Fix Error 2019-01-17 13:27:52 +05:30
Akash
03e7cf157c Add PWA 2019-01-17 13:18:31 +05:30
Shane Holland
49ab80c976 Corrects formatting issues. 2019-01-12 18:43:08 -05:00
Shane Holland
e07e7093b5 Allows running without requiring Google Safe Browsing. Useful for running internally, with API methods not publicly exposed. 2019-01-12 15:44:07 -05:00
poeti8
d51ade864e Add cors headers to submit endpoint 2019-01-08 22:05:25 +03:30
poeti8
c9185f05ca Remove 301 2018-12-20 23:18:50 +03:30
poeti8
8e3c9cfb32 Add report endpoint and form 2018-12-19 21:30:32 +03:30
poeti8
d5e31324e9 Use 301 status for redirects 2018-12-18 23:16:31 +03:30
poeti8
eb99fc5e4a Add banning URLs API and check for banned domains and hosts 2018-11-27 23:14:26 +03:30
Pouria Ezzati
8d1557040a Append + to a short URl to get info without redirecting. Closes #42 2018-06-18 22:09:10 +04:30
Pouria Ezzati
aad791830f Add cooldown and banning spamers 2018-06-16 01:50:28 +04:30
Pouria Ezzati
a4d884896a Seperate validation from creating new URL handler 2018-05-19 16:58:43 +04:30
Thomas Rory Gummerson
fc64330e33 Revert "Allow for client-side bookmarklets"
This reverts commit b56970f44dea359360e4bcd65562bff7db4278bb.
2018-03-26 09:01:50 +02:00
trgwii
b56970f44d
Allow for client-side bookmarklets 2018-03-26 08:57:58 +02:00
Pouria Ezzati
0d2e3e2ff9 Added report page 2018-03-13 23:36:37 +03:30
Pouria Ezzati
8190798a24 Removed CORS 2018-03-06 23:26:57 +03:30
Pouria Ezzati
a1d9796c7f Use GET instead of POST 2018-03-04 19:52:07 +03:30
isayme
c593efca3b use middleware express/cors 2018-03-03 23:44:02 +08:00
Pouria Ezzati
d713bca4ca Use invisible reCAPTCHA 2018-02-16 14:49:06 +03:30
Pouria Ezzati
2871262cd2 reverted removing reCAPTCHA 2018-02-15 22:59:26 +03:30
Pouria Ezzati
5da62905bf Removed reCAPTCHA and added limiter 2018-02-15 13:22:15 +03:30
Pouria Ezzati
e225b031b4 Fixed not getting ip address right 2018-02-13 21:03:22 +03:30
Pouria Ezzati
6af694826d 👾 2018-02-13 16:04:29 +03:30