Commit Graph
573 Commits
Author SHA1 Message Date
Apoorv Mishra 80ee36722a fix: sync re-ordering of user memberships across tabs 2024-01-13 22:03:01 +05:30
Tom Moor d95eb87a18 fix: Remove unneccessary where in scopes, remove unused scope 2024-01-12 20:09:25 -05:00
Tom Moor 94a6ae75d4 Merge main 2024-01-11 22:37:29 -05:00
Tom Moor 2505fea103 fix: Prevent duplicate documents in collection structure 2024-01-11 22:18:50 -05:00
Tom Moor 22c52f84c5 fix: Remove try/catch statements without error argument (#6370) 2024-01-10 08:02:44 -08:00
Tom Moor 3c73782eeb Merge branch 'main' into feat/2359/individual-document-sharing 2024-01-07 13:46:11 -05:00
Tom Moor 67a6b3fe43 fix: Cleanup relationships when user is deleted (#6343)
* fix: Cleanup relationships when user is deleted

* Update tests

* Update User.test.ts
2024-01-03 06:14:10 -08:00
Tom Moor 6f5f1025e5 perf: Avoid db queries for isCollectionDeleted where possible 2023-12-30 14:45:55 -05:00
Apoorv Mishra 284ce18001 fix: include in documents.search_titles 2023-12-30 19:07:41 +05:30
Tom Moor 95fe6b10d7 fix: Comments are not received in realtime on drafts 2023-12-29 23:10:10 -05:00
Apoorv Mishra 5ee728b955 fix: include drafts in search results 2023-12-28 23:59:21 +05:30
Apoorv Mishra c8e153a5fa fix: search 2023-12-28 23:39:24 +05:30
Apoorv Mishra 1c773b9212 fix: webhook subscriptions 2023-12-27 22:47:16 +05:30
Apoorv Mishra ba15bf41bf Handle websocket events 2023-12-27 22:47:16 +05:30
Apoorv Mishra b1c2d79a12 fix: check for deleted collection 2023-12-27 22:47:16 +05:30
Apoorv Mishra 2ed9c6ddcc feat: functionally working first pass 2023-12-27 22:47:15 +05:30
Apoorv Mishra 0b4a3ae90b feat: Shared with me section 2023-12-27 22:47:15 +05:30
Apoorv Mishra 03efcae48e fix: add index column to user_permissions 2023-12-27 22:47:15 +05:30
Apoorv Mishra 20b4998da8 fix: reuse UserPermission in favor of DocumentUser 2023-12-27 22:47:15 +05:30
Apoorv Mishra 1d6e57be68 fix: modify documents.search to include individually shared docs 2023-12-27 22:47:15 +05:30
Apoorv Mishra d84236f1f0 feat: documents.shared_with_me 2023-12-27 22:47:15 +05:30
Apoorv Mishra 19278bc612 fix: modify document update permissions to account for document memberships 2023-12-27 22:47:15 +05:30
Apoorv Mishra da431802bd fix: test 2023-12-27 22:47:15 +05:30
Apoorv Mishra dcc85a3ba8 fix: primary keys 2023-12-27 22:47:15 +05:30
Apoorv Mishra 1abd141e3c feat: documents.add_user 2023-12-27 22:47:15 +05:30
Apoorv Mishra 08aacdb302 Handle users.demote event (#6315)
* fix: Handle users.demote event

* fix: fetchAll

* fix: fetch based on total
2023-12-27 08:33:44 +05:30
Tom Moor 1840370e6f Adds content column to documents and revisions as JSON snapshot (#6179) 2023-12-17 07:51:11 -08:00
Tom Moor a53f304a9e fix: Server error when search term contains double single quotes 2023-12-13 21:17:16 -05:00
Tom Moor 43e538dba7 Add answer column to SearchQuery model 2023-12-11 20:15:33 -05:00
Tom Moor 3f3d7b4978 Add 'Copy as Markdown' action
Remove smart quotes from Markdown export, closes #5303
2023-12-09 15:00:33 -05:00
Tom Moor cb0d84a803 Add extra trace tagging 2023-12-08 20:15:07 -05:00
Tom Moor cf64da1050 Add score column to search_queries (#6253)
* Add score column to search_queries

* Allow user to record search score
2023-12-06 05:37:46 -08:00
Tom Moor 5558d5af95 chore: Move from inline-css -> css-inline (#6252) 2023-12-05 17:40:27 -08:00
Tom Moor a21e1d9fea chore: Expose createDatabaseInstance, createMigrationRunner methods 2023-11-25 13:18:51 -05:00
Tom Moor 13a6f89640 fix: Deleted unpublished drafts in trash 2023-11-23 11:28:11 -05:00
Tom Moor 72c485e0c8 fix: HTML exports have extra empty page, closes #6205 2023-11-23 09:50:58 -05:00
Tom Moor b18740c989 Always inject ready script 2023-11-23 09:10:16 -05:00
Tom Moor 8b68ee404a fix: Render Mermaid diagrams in HTML export, towards #6205 2023-11-23 09:06:07 -05:00
Apoorv Mishra ea8ebc3b2a fix: Document.findByPk() with and (#6208) 2023-11-23 18:59:56 +05:30
Tom Moor 1f40b640ac test 2023-11-22 22:05:15 -05:00
Tom Moor 3b01368677 Add suspendedAt column to teams 2023-11-22 21:35:04 -05:00
Apoorv Mishra a891b6b604 Add column id to user_permissions and group_permissions (#6181)
* fix: add column id to user_permissions and group_permissions

* fix: don't drop ext

* fix: put back default value
2023-11-21 13:16:57 +05:30
Tom Moor 726613bf1d fix: Remove unzipper as it cannot handle zip within zip (#6162) 2023-11-15 16:32:17 -08:00
Tom Moor 48d688c0a5 Store source metadata for imported documents (#6136) 2023-11-11 07:52:29 -08:00
Tom Moor 0964d03a17 More use of isProduction/isDevelopment getters 2023-11-09 19:24:16 -05:00
Tom Moor 7c319c17c6 fix: Correct user on documents in deleted collection (#6116) 2023-11-05 06:43:38 -08:00
Tom Moor a48d8fac88 Return correct canonical url for share with domain 2023-11-01 23:45:41 -04:00
Tom Moor 2838503273 Backend of public sharing at root (#6103) 2023-11-01 19:10:00 -07:00
Tom Moor d8b7d14419 fix: Unarchiving a deleted draft adds to collection structure 2023-10-16 22:54:26 -04:00
Tom Moor 03c739032d fix: views.list should not include deleted users 2023-10-16 21:21:03 -04:00