Chocobozzz
|
f456606015
|
Prevent infinite loop when exiting
|
2023-06-20 14:13:24 +01:00 |
|
webzwo0i
|
ed5e8997d7
|
Fix: Plugin locales should overwrite core's locales
|
2023-06-20 13:51:01 +01:00 |
|
Richard Hansen
|
2facf3a0c5
|
ExportEtherpad: New importEtherpad , exportEtherpad hooks
|
2022-05-06 02:54:34 -04:00 |
|
Richard Hansen
|
44fd70491d
|
ImportEtherpad: Batch database writes
|
2022-05-05 20:49:52 -04:00 |
|
Richard Hansen
|
c1652fd695
|
ImportEtherpad: Process records in batches
This enables ueberdb to combine multiple queries into a single message
to the database backend.
|
2022-05-05 20:49:52 -04:00 |
|
Richard Hansen
|
10117bc988
|
ImportEtherpad: Use a real ueberdb object for the temp Pad
Now plugin authors have access to the full set of DB operations.
|
2022-05-05 20:49:52 -04:00 |
|
Richard Hansen
|
6a183db850
|
ExportEtherpad: Parallelize record reads
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
88c0ab8255
|
ExportEtherpad: Support custom subkeys
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
78b44daaa8
|
ExportEtherpad: Fix exportEtherpadAdditionalContent hook docs
When exporting, only records like `comments:padId` are supported, not
records like `comments:padId:foo`.
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
936185e3b6
|
ExportEtherpad: Use Pad API to collect data
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
4a6e77839e
|
ExportEtherpad: Process pad record separately
to improve readability.
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
56a60a34fb
|
ExportEtherpad: Simplify attribute pool iteration
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
3004bc1583
|
ExportEtherpad: Invert conditions to improve readability
Also delete unnecessary comments.
|
2022-05-05 19:33:21 -04:00 |
|
Richard Hansen
|
b82ccb76df
|
Merge branch 'master' into develop
|
2022-05-05 18:53:03 -04:00 |
|
Richard Hansen
|
10206d9e25
|
DB: Clean up database initialization
|
2022-05-05 05:18:53 -04:00 |
|
Richard Hansen
|
088bb12797
|
Pad: Parallelize record fetching when checking consistency
|
2022-04-16 00:03:07 -04:00 |
|
Richard Hansen
|
096379e6f9
|
Pad: Limit DB concurrency when copying a pad
|
2022-04-16 00:03:00 -04:00 |
|
Richard Hansen
|
8442e002f9
|
Pad: Use the Stream library to improve readability
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
cad2440e6a
|
Pad: Improve check failure message prefixing
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
2dbda3fe7e
|
Pad: Check nullness before checking Number.isInteger()
This makes it easier to troubleshoot if the value is null.
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
01ffa070ee
|
Pad: Only check getKeyRevisionNumber() at key revisions
Checking every revision is more of a unit test than a consistency
check, and limiting checks to key revisions should improve performance
considerably.
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
fa0d77c11d
|
Pad: Factor out key rev atext fetch
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
7ee2141fe6
|
Pad: Simplify getInternalRevisionAText
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
ff494563d9
|
Pad: Call padCreate , padUpdate hooks asynchronously
|
2022-04-15 23:52:16 -04:00 |
|
Richard Hansen
|
2ca740c1db
|
Pad: Improve readability of appendRevision()
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
0d52f985bd
|
Pad: Reuse getKeyRevisionNumber when testing if key rev
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
79e7697c1c
|
Pad: Simplify serialization/deserialization
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
addc019810
|
Pad: Use ES6 class syntax to improve readability
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
38b2ffe899
|
lint: Avoid snake case
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
06f0318dc4
|
Stream: New utility library for iterables
|
2022-04-15 19:14:59 -04:00 |
|
Richard Hansen
|
07146591dd
|
Pad: Run padLoad hook asynchronously
|
2022-04-08 22:04:00 -04:00 |
|
Richard Hansen
|
b38d66b30b
|
Pad: Move padLoad hook to Pad.init()
|
2022-04-08 22:04:00 -04:00 |
|
Richard Hansen
|
f9610452cf
|
Pad: New padCheck hook
|
2022-04-08 21:52:11 -04:00 |
|
Richard Hansen
|
a2460a9848
|
Pad: New padRemove hook pad context property
|
2022-04-08 21:52:11 -04:00 |
|
Richard Hansen
|
8fe779b58c
|
Pad: New padCopy hook dstPad context property
|
2022-04-08 21:52:11 -04:00 |
|
Richard Hansen
|
9cdb69c159
|
Pad: Rename originalPad context property to srcPad
|
2022-04-08 21:52:11 -04:00 |
|
Richard Hansen
|
59d60480c0
|
Pad: Expose pad-specific database object
This will make it possible for plugins to add/change/delete custom
pad-specific records.
|
2022-04-08 21:52:11 -04:00 |
|
Richard Hansen
|
ae092edf0c
|
AuthorManager: New getAuthorId hook
|
2022-03-16 06:10:28 -04:00 |
|
Richard Hansen
|
6d4085f5f0
|
SecurityManager: Restrict valid author token values
|
2022-03-16 06:10:28 -04:00 |
|
Richard Hansen
|
b89ae69202
|
SecurityManager: Don't prefetch values
Prefetching can cause unhandled Promise rejections, and it makes the
code less readable.
|
2022-03-16 06:10:28 -04:00 |
|
Richard Hansen
|
b733ed9ab0
|
Pad: Convert line endings in text from padDefaultContent hook
|
2022-02-24 17:40:04 -05:00 |
|
Richard Hansen
|
2d53b9f150
|
PadMessageHandler: Plumb author ID to more pad creation locations
|
2022-02-24 17:40:04 -05:00 |
|
Richard Hansen
|
363a48b6d5
|
ChatMessage: Log deprecation warnings for .userId , .authorId
|
2022-02-24 17:39:38 -05:00 |
|
Richard Hansen
|
b4d9252bfe
|
PadMessageHandler: Don't get Pad object multiple times
|
2022-02-24 17:39:38 -05:00 |
|
Richard Hansen
|
b276eb0a23
|
PadMessageHandler: Improve message sanity checking
Use exceptions instead of silent drops so that the client can detect
the error and react appropriately.
|
2022-02-24 17:39:38 -05:00 |
|
Richard Hansen
|
3b76b2dd67
|
SocketIORouter: Improve error handling
|
2022-02-24 17:39:38 -05:00 |
|
Richard Hansen
|
fcfa51bda6
|
PadMessageHandler: Convert complex if to switch
|
2022-02-24 17:39:38 -05:00 |
|
Richard Hansen
|
32c82917e3
|
Merge branch 'master' into develop
|
2022-02-23 17:25:38 -05:00 |
|
Richard Hansen
|
ba370b0e05
|
PadMessageHandler: Don't trust user-provided padId
|
2022-02-23 16:11:21 -05:00 |
|
Richard Hansen
|
bdbde88fed
|
PadMessageHandler: Fix USER_CHANGES queue identifier
`message.padId` is normally undefined for `USER_CHANGES` messages.
|
2022-02-23 16:11:16 -05:00 |
|