Tom Moor
5693562624
fix: Revisions sometimes attributed to the wrong user in collaborative edits ( #13809 )
...
* fix: Revision and document attribution to the wrong user in collaborative edits
Capture the editing user synchronously with each Yjs update and persist an
ordered, sequenced collaborator set in Redis so that snapshots and revisions
are attributed to the user who actually made the change.
* fix: Do not fail a committed save when the update event cannot be scheduled
* fix: Consume collaborator attribution when a revision is skipped as identical
* refactor: Add zlatestWithSequence to the Redis adapter
2026-09-20 14:05:50 -04:00
Tom Moor
3afb0517bf
fix: Stop retrying document persistence indefinitely ( #13370 )
...
Add a per-document consecutive failure counter to PersistenceExtension so
that permanent errors no longer cause an unbounded retry loop.
2026-08-10 07:21:17 -04:00
Tom Moor
6190684d59
fix: collaboratorIds async/distributed nature should not guard persistence ( #13145 )
...
* fix: collaboratorIds async/distributed should not guard persistence
* feedback
2026-07-26 11:41:55 -04:00
Tom Moor
66eee9007f
chore: Upgrade to Typescript 6 ( #12737 )
...
* chore: Upgrade TypeScript to 6.0
2026-06-18 17:34:05 -04:00
Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
Tom Moor
6976f01d7d
chore: Reduce lock contention in collaboration server ( #10778 )
...
* chore: Reduce lock contention in collaboration server
* Review suggestions
2025-12-03 20:54:27 -05:00
Tom Moor
2abc1e97ae
fix: 'undefined' changed document log ( #10695 )
2025-11-23 14:36:58 +01:00
Tom Moor
0deb7e7f09
fix: editorVersion property on document should be updated through collaborative service ( #10325 )
2025-10-10 09:07:15 -04:00
codegen-sh[bot] and Tom Moor
a57d90fdf1
Add collaboratorIds support to revisions ( #9343 )
...
* Add collaboratorIds support to revision events
- Add database migration to add collaboratorIds column to revisions table
- Update server Revision model to include collaboratorIds field
- Update client Revision model to include collaboratorIds field
- Modify Revision.buildFromDocument to capture document collaborators
- Update revisionCreator to include collaboratorIds in event data
Fixes #6975
* fix to actually work
* test: Add missing methods to mock
* Return collaborators to client and display
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-07-12 09:24:53 -04:00
Tom Moor
176cfff7f8
fix: Document editors are sometimes not included in insights/collaboratorIds, closes #7613
2024-09-21 15:30:56 -04:00
Tom Moor
4f35b8ea0d
chore: 411 -> 387 lint warnings
2024-08-09 16:11:35 +01:00
Tom Moor
d51267b8bc
JSON to client ( #5553 )
2024-05-24 05:29:00 -07:00
Tom Moor
5aa7b42f8b
fix: Cannot read properties of undefined (reading 'id')
2023-09-20 20:27:50 -04:00
Tom Moor
74722b80f2
chore: Refactor file storage ( #5711 )
2023-08-20 07:04:34 -07:00
Tom Moor
7940cef517
Improve document revision creation ( #5474 )
2023-06-25 05:29:24 -07:00
Tom Moor
9ef375d83c
fix: Import max length not correctly communicated on import ( #5434 )
2023-06-17 00:52:57 -07:00
dependabot[bot] and Tom Moor
fbd16d4b9a
chore(deps-dev): bump prettier from 2.1.2 to 2.8.8 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-05-22 19:14:56 -07:00
Tom Moor
0cccd7141d
fix(collaboration): Avoid writing spurious changes from read-only users when serialized output changes
2023-01-13 23:54:44 -05:00
Tom Moor
c6fb764631
chore: Move tracing decorators into the codebase ( #4623 )
...
* Vendorize tracing, finally fix service name issues
* Upgrade datadaog-metrics, rename decorators -> tracing
* lint
2022-12-31 04:54:51 -08:00
Tom Moor
b29a9fbeee
chore: Remove reliance on Markdown for document.getSummary, towards #3000
2022-12-30 15:14:59 -05:00
Tom Moor
7199088d1b
fix: Multiplayer changes attributed to incorrect user ( #4282 )
...
* fix: Multiplayer changes attributed to the wrong user, performance improvements
* fix: Actually use _last_ editor
2022-10-12 06:19:07 -07:00
Tom Moor
c9cd424a8d
chore: Remove over-usage of invariant ( #3719 )
2022-07-02 05:29:39 -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
5cd4ecd34a
fix: CRDT creation touches document updated timestamp ( #3482 )
...
fix: Race condition in collaboration document persistence
2022-05-01 08:30:07 -07:00
Tom Moor
33ce49cc33
chore: Refactor data import ( #3434 )
...
* Complete refactor of import
* feat: Notion data import (#3442 )
2022-04-23 10:07:35 -07:00
Tom Moor
4c4b80ba9b
fix: Collaboration debounce shared between docs ( #3401 )
...
* fix: Collaboration debounce shared between docs
* Rename, Tracing -> Metrics
* Add tracing
* tsc
* fix: Lock document row when loading document in collaboration service incase state needs writing
* fix: Incorrect service name regression
2022-04-16 14:58:17 -07:00