Tom Moor
05a4f050bb
chore: Improve graceful server shutdown ( #4625 )
...
* chore: Improve graceful server shutdown
* Replace node timers with custom promise timeout
2022-12-31 13:56:27 -08:00
Tom Moor
08a471f230
Add 'members' filter to user details page, closes #4529
2022-12-03 09:36:28 -05:00
Tom Moor
f43f253286
Refactoring endpoints to transaction middleware
2022-11-15 22:22:35 -05:00
Tom Moor
79cbe304da
fix: Allow viewers to upload avatar ( #4349 )
...
* fix: Allow viewers to upload avatar
* DeleteAttachmentTask
* fix: Previous avatar should be deleted on change, if possible
* fix: Also cleanup team logo on change
2022-10-29 06:08:20 -07:00
Tom Moor
f6ae32deef
Co-authored-by: Nan Yu <thenanyu@users.noreply.github.com>
2022-10-22 23:29:39 -04:00
Tom Moor
f277d08982
fix: Actor on users.delete
2022-10-22 11:17:31 -04:00
Tom Moor
87e3f18e6d
chore: Remove method override middleware ( #4315 )
...
* chore: Remove method override middleware
* wip
* CodeQL
* max/min
2022-10-18 16:03:25 -07:00
Tom Moor
b9bf2e58cb
feat: Add cursor style user preference ( #4199 )
...
* feat: Add cursor style user preference
* Remove headings for now
2022-10-01 04:39:45 -07:00
Apoorv Mishra
6502b108e3
Introduce account preferences to remember user's previous location ( #4126 )
2022-09-18 06:01:47 -07:00
Apoorv Mishra
ce410c4bf3
Support user and team preferences ( #4081 )
...
* feat: support user preferences
* feat: support team preferences
* fix: update snapshots
* feat: update last visited url by user
* fix: update snapshots
* fix: use path instead of complete url
* fix: do not expose preferences to other users with the exception of admin
* feat: support defaultDocumentStatus as a team preference
* feat: allow edit even when collaborative editing is enabled
* Revert "feat: allow edit even when collaborative editing is enabled"
This reverts commit a22a02a406d01eb418dab32249b8b846bf77c59b.
* Revert "feat: support defaultDocumentStatus as a team preference"
This reverts commit 4928cffe5c682952b1e469a3e50a1a34d05dcc58.
* fix: keep preference as a boolean
2022-09-14 16:07:39 +05:30
Tom Moor
876803362f
fix: Server error when code is passed as null to users.delete, closes #4070
2022-09-09 22:10:32 +01:00
Tom Moor
f32f07cdcc
chore: Refactor user activation to command
2022-08-18 11:24:27 +02:00
Tom Moor
7113b5f604
fix: Restore user deletion through API, increase rate limit
2022-08-17 22:40:00 +02:00
Tom Moor
a326e0ee88
chore: Rate limiter audit ( #3965 )
...
* chore: Rate limiter audit api/users
* Make requests required
* api/collections
* Remove checkRateLimit on FileOperation (now done at route level through rate limiter)
* auth rate limit
* Add metric logging when rate limit exceeded
* Refactor to shared configs
* test
2022-08-14 08:04:04 -07:00
Tom Moor
7923a7e071
Enforce user invites/request on server
2022-08-08 11:02:37 +02:00
Tom Moor
cb9773ad85
chore: Add emailed confirmation code to account deletion ( #3873 )
...
* wip
* tests
2022-07-31 10:59:40 -07:00
Tom Moor
47e73cee4e
feat: Cleanup api keys and webhooks for suspended users ( #3756 )
2022-07-13 00:59:31 -07:00
Tom Moor
973cfc3fa3
Do not show suspended users to non admins ( #3776 )
2022-07-13 00:59:06 -07:00
Tom Moor
2d7dd558a1
fix: Unable to delete user via API ( #3619 )
...
Remove requirement to pass 'confirmation' to users.delete
closes #3604
2022-06-02 12:56:27 -07:00
Tom Moor
bf0ff6c823
chore: Casing of logger -> Logger as it's an instantiated class
2022-05-21 13:59:23 +01:00
Tom Moor
3c002f82cc
chore: Centralize env parsing, validation, defaults, and deprecation notices ( #3487 )
...
* chore: Centralize env parsing, defaults, deprecation
* wip
* test
* test
* tsc
* docs, more validation
* fix: Allow empty REDIS_URL (defaults to localhost)
* test
* fix: SLACK_MESSAGE_ACTIONS not bool
* fix: Add SMTP port validation
2022-05-19 08:05:11 -07:00
Tom Moor
86f1645199
feat: Automatic invite reminder email ( #3354 )
...
* feat: Add user flags concept, for tracking bits on a user
* feat: Example flag usage for user invite resend abuse
* wip
* test
* fix: Set correct flag
2022-04-12 20:12:33 -07:00
Tom Moor
7f5bf6c6b3
feat: User flags ( #3353 )
...
* feat: Add user flags concept, for tracking bits on a user
* feat: Example flag usage for user invite resend abuse
2022-04-11 19:42:50 -07:00
Tom Moor
5c1888b0a4
feat: Adds menu item to resend outstanding invites ( #3348 )
...
* feat: Adds menu item to resend outstanding invites
* i18n
* snapshots
2022-04-09 11:34:27 -07:00
Tom Moor
15375bf199
fix: users.info request flood ( #3334 )
...
* feat: Add user id filter to users.list endpoint
* fix: Remove users.info request loop
2022-04-06 22:00:11 -07:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00