Richard Hansen
|
dda284cbe9
|
chat: New option to completely disable chat
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
310a371234
|
chat: Move .etherpad import/export handling to chat.js
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
bc06ef87bb
|
chat: Move HTTP API handlers to chat.js
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
b6bcc092ed
|
chat: Move message deletion to padRemove hook
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
bd621043ff
|
chat: Move message copy to padCopy hook
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
01f1a8b75e
|
chat: Move chatHead initialization to padLoad hook
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
42c22ce28d
|
chat: Move message checking to padCheck hook
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
cdea600acc
|
chat: Move Pad chat methods to chat.js
|
2022-05-06 20:44:00 -04:00 |
|
Richard Hansen
|
2e684476cb
|
chat: Move chatHead client var to clientVars hook
|
2022-05-06 20:43:09 -04:00 |
|
Richard Hansen
|
8d5fdd7dc9
|
chat: Move chat message handling to handleMessage hook
|
2022-05-06 20:42:18 -04:00 |
|
Richard Hansen
|
a177a622c4
|
chat: Move chat-specific pad HTML to eejsBlock_* hook functions
|
2022-05-06 20:41:23 -04:00 |
|
Richard Hansen
|
16f84ba3d3
|
plugins: Move plugin logging to plugins.update()
|
2022-05-06 02:54:34 -04:00 |
|
Richard Hansen
|
595697bc8a
|
plugins: Don't tell clients about server-side hooks
|
2022-05-06 02:54:34 -04:00 |
|
Richard Hansen
|
9b7108d730
|
PadMessageHandler: Delete unnecessary variables
to improve readability.
|
2022-05-06 02:54:34 -04:00 |
|
Richard Hansen
|
7e2472cef7
|
Move tar.json into JavaScript
This makes it possible to add comments and conditional logic.
|
2022-05-06 02:54:34 -04:00 |
|
Richard Hansen
|
f812e53dc9
|
API: Add missing await
This isn't strictly necessary, but it improves readability.
|
2022-05-06 02:54:34 -04: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 |
|