14 Commits

Author SHA1 Message Date
Pouria Ezzati
e0ae010f37 fix getting link from cache 2025-01-07 22:01:20 +03:30
Pouria Ezzati
2f91020d4f use column instead of hyphen as separator for redis keys 2025-01-01 12:54:02 +03:30
Pouria Ezzati
f6247d0b91 use id instead of email for jwt payload sub 2024-12-28 11:11:29 +03:30
Pouria Ezzati
c18ff4ba2f
add support for no redis 2024-10-21 14:59:55 +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
8b594a006c Replace config with .env 2019-05-29 19:09:44 +04:30
Pouria
f2dd674e2a Do not use password if redis password is not provided. Resolves #176 2019-05-27 17:54:42 +04:30
poeti8
aacb981820 Add a config to disable redis 2019-05-10 09:38:34 +04:30
poeti8
86825ae800 Add password config for Redis. Resolves #148 2019-02-16 14:57:58 +03:30
Shane Holland
f47b71d3ff Implement readability improvement suggested by poeti8 2019-01-12 18:47:59 -05:00
Shane Holland
08738b647e Allows configuring the host and port of a redis server. Defaults to 127.0.0.1 and 6379 2019-01-12 16:28:24 -05:00
Shane Holland
3410e46ec4 Allows configuring the host and port of a redis server. Defaults to 127.0.0.1 and 6379 2019-01-12 16:27:30 -05:00
poeti8
90bb4c4824 Add redis client 2018-11-28 20:51:18 +03:30