Richard Hansen
60f2a059ec
Changeset: Deprecate `oldLen()` and `newLen()` functions
2021-12-16 00:49:12 -05:00
Richard Hansen
b718d88157
Changeset: Move changeset logic to a new `Changeset` class
2021-12-16 00:49:12 -05:00
Richard Hansen
a470253779
Changeset: Turn `stringIterator()` into a real class
2021-12-16 00:49:12 -05:00
Richard Hansen
cca906e8fc
Changeset: Avoid unnecessary `StringAssembler` class
2021-12-16 00:49:12 -05:00
Richard Hansen
2d0e393839
Changeset: Turn `stringAssembler()` into a real class
2021-12-16 00:49:12 -05:00
Richard Hansen
3fe2b17094
Changeset: Make the Builder `attribs` and `pool` args optional
2021-12-16 00:49:12 -05:00
Richard Hansen
29da9815ae
Changeset: Add new `Builder.prototype.build()` method
2021-12-16 00:49:12 -05:00
Richard Hansen
a1c4382386
Changeset: Turn `builder()` into a real class
2021-12-16 00:49:12 -05:00
Richard Hansen
d3d2090ca5
Changeset: Migrate from `smartOpAssembler()` to `canonicalizeOps()`
2021-12-16 00:49:12 -05:00
Richard Hansen
23e7809b4a
Changeset: Use a generator to implement `SmartOpAssembler`
...
Eventually all uses of the class will be switched to the generator.
2021-12-16 00:49:12 -05:00
Richard Hansen
2448fb8e41
Changeset: Migrate from `mergingOpAssembler()` to `squashOps()`
2021-12-16 00:49:12 -05:00
Richard Hansen
daa6b9074a
Changeset: Use a generator to implement `MergingOpAssembler`
...
Eventually all uses of the class will be switched to the generator.
2021-12-16 00:49:12 -05:00
Richard Hansen
b5486b6753
Changeset: Migrate from `opAssembler()` to `serializeOps()`
2021-12-16 00:49:12 -05:00
Richard Hansen
d5a7bf7a8f
Changeset: Implement `OpAssembler` with a new `serializeOps()` function
2021-12-16 00:49:12 -05:00
Richard Hansen
04ed432a01
Changeset: Use `clear()` to initialize
...
This avoids some duplicate code and it helps ensure that `clear()`
works properly.
2021-12-16 00:49:11 -05:00
Richard Hansen
8c01b66d40
Changeset: Add missing `StringAssembler.clear()` method
2021-12-16 00:49:11 -05:00
Richard Hansen
36d06006dc
Changeset: Turn `smartOpAssembler()` into a real class
2021-12-16 00:49:11 -05:00
Richard Hansen
cf82261d2b
Changeset: Turn `mergingOpAssembler()` into a real class
2021-12-16 00:49:11 -05:00
Richard Hansen
9ea424c8f9
Changeset: Turn `opAssembler()` into a real class
2021-12-16 00:49:11 -05:00
Richard Hansen
748d661495
Changeset: Fix off-by-one bug in `makeSplice`
2021-12-16 00:48:07 -05:00
Richard Hansen
30d68df396
Changeset: Add range checks to `makeSplice`
2021-12-16 00:48:07 -05:00
Richard Hansen
fdf1fdbc23
Changeset: Improve readability of `makeSplice()`
2021-12-16 00:48:07 -05:00
Richard Hansen
b1d0848701
Pad: Improve readability of `appendText`
2021-12-16 00:48:07 -05:00
Richard Hansen
a6bf7816ce
Pad: Simplify `setText`
2021-12-16 00:48:07 -05:00
Robert Geislinger
10e2b09b96
Update http_api.md
...
The current version is 1.2.15 or bigger if you look at e.g. copyPadWithoutHistory
2021-12-14 01:16:38 -05:00
snyk-bot
3693a0574f
fix: upgrade jsdom from 18.1.0 to 18.1.1
...
Snyk has created this PR to upgrade jsdom from 18.1.0 to 18.1.1.
See this package in npm:
https://www.npmjs.com/package/jsdom
See this project in Snyk:
https://app.snyk.io/org/johnmclear/project/d9a12bfb-7ccd-443f-9e22-f30d339cc8c5?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-12-14 01:05:47 -05:00
Richard Hansen
d94f380141
API: Fix race conditions in `setText`, `appendText`, `restoreRevision`
2021-12-14 01:02:00 -05:00
Richard Hansen
cff089e54e
PadMessageHandler: Accept retransmissions of USER_CHANGES
2021-12-14 01:02:00 -05:00
Richard Hansen
a370cfa5c6
Pad: Don't create no-op revisions
2021-12-14 01:02:00 -05:00
Richard Hansen
56b7671422
Pad: Return new rev number from `appendRevision()`
2021-12-14 01:02:00 -05:00
Richard Hansen
c05ee7ce72
PadMessageHandler: Move `ACCEPT_COMMIT` after changeset save
2021-12-14 01:02:00 -05:00
Richard Hansen
dbacc73c36
tests: Basic USER_CHANGES backend tests
2021-12-14 01:02:00 -05:00
translatewiki.net
2cae414473
Localisation updates from https://translatewiki.net .
2021-12-13 13:03:50 +01:00
Richard Hansen
1fe01c66fd
getCorePlugins.sh: Various improvements
...
* Factor out plugin query.
* Make idempotent.
* Improve logging.
* Install by symlinking to a parallel directory rather than cloning
into `etherpad-lite/node_modules`.
2021-12-11 02:01:35 -05:00
Richard Hansen
5915c2243d
checkPlugin: Redo README.md and LICENSE
2021-12-11 02:01:35 -05:00
Richard Hansen
d81546ad7b
checkPlugin: Delete Travis badge from README.md template
2021-12-11 02:01:35 -05:00
Richard Hansen
2c05de7033
checkPlugin: Update ESLint dependencies
2021-12-11 02:01:35 -05:00
Richard Hansen
3563fc1df9
checkPlugin: Relax repo checks
2021-12-11 02:01:35 -05:00
Richard Hansen
4716975c37
checkPlugin: Do case-sensitive filename checks
2021-12-11 02:01:35 -05:00
Richard Hansen
9a85bce212
checkPlugin: Only consider `README{,.md}` (case-insensitive)
...
This avoids false positives such as `README-foo.md`.
2021-12-11 02:01:35 -05:00
Richard Hansen
753d16af8a
checkPlugin: Promisify file system accesses
2021-12-11 02:01:35 -05:00
Richard Hansen
b50c6d07d4
checkPlugin: Improve readability of `files` assignment
2021-12-11 02:01:35 -05:00
Richard Hansen
b546867adb
checkPlugin: Replace `.indexOf()` with `.includes()`
2021-12-11 02:01:35 -05:00
Richard Hansen
34a4a74634
checkPlugin: Change `autocommit` to not push
2021-12-11 02:01:35 -05:00
Richard Hansen
48222449b5
checkPlugin: Add `frontend-tests.yml` GitHub workflow
2021-12-11 02:01:35 -05:00
Richard Hansen
51c530a3a0
checkPlugin: Compare entire file
2021-12-11 02:01:34 -05:00
Richard Hansen
f0669a8d31
checkPlugin: Automatically determine plugin name in `backend-tests.yml`
2021-12-11 02:01:34 -05:00
Richard Hansen
314b67b7fe
checkPlugin: Improve `eslintConfig`, `funding`, `scripts` checking
2021-12-11 02:01:34 -05:00
Richard Hansen
b7dce95802
checkPlugin: Use `updateDeps` to manage `engine`
2021-12-10 14:44:02 -05:00
Richard Hansen
f0ab112c2d
checkPlugin: Factor out duplicate file update logic and simplify
2021-12-10 14:44:02 -05:00