aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/redis.ts
Commit message (Collapse)AuthorAgeFilesLines
* Implement signup approval in serverChocobozzz2023-01-191-7/+23
|
* Don't need to use redis to block tracker ipsChocobozzz2022-12-231-15/+0
| | | | | There could be many of them, so reduce load by storing IPs directly inside node memory
* Type resultChocobozzz2022-11-141-7/+3
|
* refactor(server): redis > ioredis (#5371)kontrollanten2022-11-141-42/+40
| | | | | | | | | | | | | | | | | | | * refactor(server): redis > ioredis * refactor(JobQueue): reuse redis connection builder * fix(redisio) * fix(redis): setValue * feat(redis): showFriendlyErrorStack * feat(redis): auto pipelining https://github.com/luin/ioredis/blob/308017a6b9429c16b074e03e70f5524499476fa9/README.md#autopipelining * dont use autopipelining for bullmq * ioredis events
* Support two factor authentication in backendChocobozzz2022-10-071-3/+22
|
* Don't crash on redis connection errorChocobozzz2022-08-111-0/+1
|
* Update server dependenciesChocobozzz2022-06-211-6/+2
|
* Fix various typosluz paz2022-06-071-1/+1
| | | Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
* Improve viewer counterChocobozzz2022-04-151-12/+0
| | | | More precise, avoid weird decrease, reuse an id to federate viewers
* Improve views/viewers documentationChocobozzz2022-04-151-1/+1
|
* Support video views/viewers stats in serverChocobozzz2022-04-151-3/+65
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Update server dependenciesChocobozzz2022-03-211-2/+2
|
* Add fixme infoChocobozzz2022-02-021-0/+1
|
* Update server dependenciesChocobozzz2022-01-141-2/+4
|
* Try to fix testsChocobozzz2022-01-041-15/+29
|
* Cleanup unavailable remote AP resourceChocobozzz2021-12-281-4/+21
|
* Update CREDITSChocobozzz2021-12-241-1/+0
|
* Upgrade redis depChocobozzz2021-12-241-133/+35
|
* Remove resumable cache after upload successChocobozzz2021-11-101-0/+4
|
* Refactor video viewsChocobozzz2021-11-091-32/+80
| | | | | | | | Introduce viewers attribute for live videos Count views for live videos Reduce delay to see the viewer update for lives Add ability to configure video views buffer interval and view ip expiration
* prevent multiple post-process triggering of upload-resumable (#4175)Rigel Kent2021-10-251-1/+26
| | | | | | | | | * prevent multiple post-process triggering of upload-resumable * switch from 409 to 503 for upload being processed * Improve resumable upload check Co-authored-by: Chocobozzz <me@florianbigard.com>
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Update server dependenciesChocobozzz2021-02-031-1/+1
|
* Fix views processing hour 0Chocobozzz2020-12-301-1/+1
|
* Handle views for live videosChocobozzz2020-11-091-3/+7
|
* Do not reuse reset password linksChocobozzz2020-08-121-0/+14
|
* Block infohash spammers from trackerChocobozzz2020-06-251-1/+16
|
* Creating a user with an empty password will send an email to let him set his ↵John Livingston2020-02-171-0/+9
| | | | | | | | | | | | | | | | password (#2479) * Creating a user with an empty password will send an email to let him set his password * Consideration of Chocobozzz's comments * Tips for optional password * API documentation * Fix circular imports * Tests
* Move to eslintcontainChocobozzz2020-02-031-20/+21
|
* Use apicache instead of our broken implementationChocobozzz2019-04-251-2/+10
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+1
|
* Move config in its own fileChocobozzz2019-04-111-3/+4
|
* Does existChocobozzz2019-03-191-2/+2
|
* Implement contact form on server sideChocobozzz2019-01-101-2/+22
|
* Add tmp and redundancy directoriesChocobozzz2018-12-041-1/+8
|
* Add user history and resume videosChocobozzz2018-10-051-12/+42
|
* add user account email verificiation (#977)Josh Morel2018-08-311-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * add user account email verificiation includes server and client code to: * enable verificationRequired via custom config * send verification email with registration * ask for verification email * verify via email * prevent login if not verified and required * conditional client links to ask for new verification email * allow login for verified=null these are users created when verification not required should still be able to login when verification is enabled * refactor email verifcation pr * change naming from verified to emailVerified * change naming from askVerifyEmail to askSendVerifyEmail * undo unrelated automatic prettier formatting on api/config * use redirectService for home * remove redundant success notification on email verified * revert test.yaml smpt host
* Bufferize videos views in redisChocobozzz2018-08-301-2/+86
|
* Fix last commitChocobozzz2018-07-261-2/+2
|
* expliciting type checks and predicates (server only)Rigel Kent2018-07-251-7/+8
|
* adding redis unix connectionRigel Kent2018-07-141-5/+11
|
* Migrate to bullChocobozzz2018-07-111-10/+0
|
* Handle concurrent requests in cache middlewareChocobozzz2018-05-231-12/+12
|
* feature: db selection in redisRigel Kent2018-05-211-1/+2
| | | | resolves #579
* Cache AP video route for 5 secondsChocobozzz2018-05-111-3/+3
|
* Add redis cache to feed routeChocobozzz2018-04-171-2/+55
|
* Fix error loggingChocobozzz2018-03-261-1/+1
|
* Fix typingsChocobozzz2018-02-271-2/+0
|
* Fix job panel sorting in administrationChocobozzz2018-02-271-0/+12
|
* Avoids easy cheating on vidoe viewsChocobozzz2018-02-231-1/+23
|