John McLear
7630e71957
Merge branch 'develop' into mochawesome
2021-02-03 11:23:54 +00:00
John McLear
1076783985
tests: backend test coverage for #3227 where a group cannot be deleted if it has pads.
2021-02-03 10:39:30 +00:00
freddii
ea202e41f6
docs: fixed typos
2021-02-03 00:30:07 +01:00
Richard Hansen
05e0e8dbf7
hooks: New callAllSerial()
function
...
This is necessary to migrate away from `callAll()` (which only
supports synchronous hook functions).
2021-02-02 09:09:02 +00:00
Richard Hansen
ba0544ea9e
hooks: Add unit tests for callFirst()
, aCallFirst()
2021-02-02 09:09:02 +00:00
Richard Hansen
ba02e70020
tests: Make the fake webaccess hook registrations look more real
...
The additional properties will be needed once `aCallAll()` is upgraded
to use `callHookFnAsync()`.
2021-02-02 09:09:02 +00:00
Richard Hansen
47f0a7dacf
lint: Fix more ESLint errors
2021-02-02 09:09:02 +00:00
John McLear
915849b319
Low hanging lint frontend tests ( #4695 )
...
* lint: low hanging specs/alphabet.js
* lint: low hanging specs/authorship_of_editions.js
* lint: low hanging specs/bold.js
* lint: low hanging specs/caret.js
* lint: low hanging specs/change_user_color.js
* lint: low hanging specs/change_user_name.js
* lint: low hanging specs/chat.js
* lint: low hanging specs/chat_load_messages.js
* lint: low hanging specs/clear_authorship_colors.js
* lint: low hanging specs/delete.js
* lint: low hanging specs/drag_and_drop.js
* lint: low hanging specs/embed_value.js
* lint: low hanging specs/enter.js
* lint: low hanging specs/font_type.js
* lint: low hanging specs/helper.js
* lint: low hanging specs/importexport.js
* lint: low hanging specs/importindents.js
* lint: low hanging specs/indentation.js
* lint: low hanging specs/italic.js
* lint: low hanging specs/language.js
* lint: low hanging specs/multiple_authors_clear_authorship_colors.js
* lint: low hanging specs/ordered_list.js
* lint: low hanging specs/pad_modal.js
* lint: low hanging specs/redo.js
* lint: low hanging specs/responsiveness.js
* lint: low hanging specs/select_formatting_buttons.js
* lint: low hanging specs/strikethrough.js
* lint: low hanging specs/timeslider.js
* lint: low hanging specs/timeslider_labels.js
* lint: low hanging specs/timeslider_numeric_padID.js
* lint: low hanging specs/timeslider_revisions.js
* lint: low hanging specs/undo.js
* lint: low hanging specs/unordered_list.js
* lint: low hanging specs/xxauto_reconnect.js
* lint: attempt to do remote_runner.js
* lint: helper linting
* lint: rate limit linting
* use constructor for Event to make eslint happier
* for squash: lint fix refinements
* for squash: lint fix refinements
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-02-01 20:23:14 +00:00
John McLear
28af41e906
Merge branch 'mochawesome' of github.com:ether/etherpad-lite into mochawesome
2021-01-30 08:11:36 +00:00
John McLear
96520a3f31
resolve conflict
2021-01-30 08:11:10 +00:00
Richard Hansen
ecdb105bfe
server: Refine process lifetime management
...
Define states and use them to properly handle multiple calls to
`start()`, `stop()`, and `exit()`. (Multiple calls to `exit()` can
happen if there is an uncaught exception or signal during shutdown.)
This should also make it easier to add support for cleanly restarting
the server after a shutdown (for tests or via an `/admin` page).
2021-01-30 08:05:08 +00:00
John McLear
b2f3828f5a
Update tests/backend/specs/api/api.js
...
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-01-30 07:37:39 +00:00
John McLear
4ec538fc3c
Update tests/backend/specs/api/api.js
...
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-01-30 07:36:34 +00:00
John McLear
f280a6fc8a
longer timeout
2021-01-29 22:09:07 +00:00
John McLear
f6413c8e39
timeouts
2021-01-29 09:39:00 +00:00
John McLear
14db2e52c2
timeouts
2021-01-29 09:38:32 +00:00
John McLear
a908bbee8e
resolve conflict with async test
2021-01-29 09:19:54 +00:00
Richard Hansen
873987f989
tests: Asyncify indentation test
...
This makes it much easier to see why a test is failing. Before, a
`helper.waitFor()` failure would simply cause the test to time out.
Now an exception is displayed.
2021-01-29 09:16:50 +00:00
John McLear
1dc4a2acf5
MS
2021-01-28 23:07:20 +00:00
John McLear
843dd927ce
timeouts
2021-01-28 23:00:13 +00:00
John McLear
7f384f13cd
timeouts
2021-01-28 22:52:53 +00:00
John McLear
3718767d5a
timeout
2021-01-28 22:44:03 +00:00
John McLear
df580ec513
timeouts
2021-01-28 22:25:44 +00:00
John McLear
05fe4904ed
various timeout changes
2021-01-27 21:59:06 +00:00
John McLear
e8e90ac207
various timeout changes
2021-01-27 21:51:22 +00:00
John McLear
189786979f
various timeout changes
2021-01-27 21:50:18 +00:00
John McLear
c43de8ea59
lint and test timeouts for importexportGetPost.js
2021-01-27 21:25:23 +00:00
John McLear
ac420f4683
lint and test timeouts for webaccess.js
2021-01-27 21:18:39 +00:00
John McLear
5aa0ad3f55
lint and test timeouts for specialpages.js
2021-01-27 21:18:28 +00:00
John McLear
ae49fcf1ae
lint and test timeouts for socketio.js
2021-01-27 21:18:17 +00:00
John McLear
d12dbc7f63
lint and test timeouts for caching_middleware.js
2021-01-27 21:18:08 +00:00
John McLear
fd7a7b4c6c
lint and test timeouts for importexportGetPost.js
2021-01-27 21:17:58 +00:00
John McLear
6f364b065d
lint and timeouts for sessionAndGroups.js
2021-01-27 20:45:40 +00:00
John McLear
3d69773cd2
lint and timeouts for pad.js
2021-01-27 20:45:31 +00:00
John McLear
e5d80a0696
lint and timeouts for instance.js
2021-01-27 20:45:23 +00:00
John McLear
8fff1db4d0
lint and timeouts for importexport.js
2021-01-27 20:33:36 +00:00
John McLear
02bb5a5b73
lint and timeouts for chat.js
2021-01-27 20:30:15 +00:00
John McLear
f4eeb59b86
line and timeouts for characterEncoding.js
2021-01-27 20:29:14 +00:00
John McLear
103e3398ad
api.js lint and timeouts
2021-01-27 20:19:48 +00:00
John McLear
ff71e41812
test timeouts for promises.js
2021-01-27 20:14:22 +00:00
John McLear
28617ee9d0
timeout for contentcollector.js
2021-01-27 20:13:04 +00:00
John McLear
7696ec0a02
Merge branch 'develop' of github.com:ether/etherpad-lite into mochawesome
2021-01-27 20:11:53 +00:00
John McLear
96d9a40b04
timeout values and low hanging lint for hooks.js
2021-01-27 20:09:05 +00:00
John McLear
0c9a19bd1b
longer timeouts
2021-01-27 05:59:01 +00:00
John McLear
14c2987afc
longer timeouts
2021-01-27 05:50:17 +00:00
John McLear
4c825d3060
longer timeouts
2021-01-27 05:48:09 +00:00
John McLear
55ac85473c
more realistic timeouts for slower devices
2021-01-27 05:43:48 +00:00
John McLear
5d276944a8
more realistic timeouts for slower devices
2021-01-27 05:38:29 +00:00
John McLear
21736122a0
more realistic timeouts for slower devices
2021-01-27 05:37:54 +00:00
John McLear
2816820785
more realistic timeouts for slower devices
2021-01-27 05:24:33 +00:00