Commit Graph

6435 Commits (cdce13ca254d726238e04aace59bd1864ee1e735)

Author SHA1 Message Date
John McLear cdce13ca25 still very broken but getting more test coverage at least -_- 2020-12-31 11:27:04 +00:00
John McLear a30b120b0e more page up down tests this time including shift spuport 2020-12-31 10:30:10 +00:00
John McLear e6f8356500 begin adding in shift support 2020-12-30 22:32:51 +00:00
John McLear 75509ce96e uncomment other tests, testing work mostly complete 2020-12-30 19:25:30 +00:00
John McLear 5a425d7e69 include opts in pageup/pagedown method to support shift key and include the test 2020-12-30 19:19:35 +00:00
John McLear dda5e03f7e more testS 2020-12-30 17:36:01 +00:00
John McLear da26839ccb introducing more tests 2020-12-29 23:44:43 +00:00
John McLear 6d1662a4da introducing more tests 2020-12-29 22:58:16 +00:00
John McLear 1bd7bb94d1 whoops 2020-12-29 22:30:16 +00:00
John McLear f1a66cd25b whoops 2020-12-29 22:29:26 +00:00
John McLear 6c000472af character offset broken logic 2020-12-29 21:32:25 +00:00
John McLear 3eab0df189 begin adding in support for long lines 2020-12-29 18:56:04 +00:00
John McLear 5cd4dc1af2 keep previous caret x location on pageup/down 2020-12-29 16:55:51 +00:00
webzwo0i db26ea218c page up/down: add test coverage 2020-12-29 15:53:36 +00:00
John McLear af6a699db4 up down better ux 2020-12-28 18:29:01 +00:00
John McLear 0fdc13a6ad some wierdness, not sure what 2020-12-28 18:20:08 +00:00
John McLear 0b9962c6c6 working going to end of the line and beginning of first 2020-12-28 14:12:24 +00:00
John McLear 92450e071d much better ux 2020-12-28 09:34:58 +00:00
John McLear a536b311e4 much better ux 2020-12-28 09:28:55 +00:00
John McLear 0253b54803 working page down and semi working page up 2020-12-28 09:12:45 +00:00
John McLear d6075bd042 working basic functionality 2020-12-28 08:40:53 +00:00
John McLear f6d9c7e705 just some thoughts on approaches 2020-12-27 23:39:20 +00:00
John McLear e051f2f2f7 lint: scroll.js 2020-12-26 20:43:10 +00:00
webzwo0i b760e699c6 remove explicitly setting process.env.DEBUG 2020-12-24 08:46:25 +00:00
Richard Hansen 88f0310071 Merge branch 'master' into develop 2020-12-23 17:04:46 -05:00
Richard Hansen 01a763e15e Merge branch 'develop' into master 2020-12-23 17:03:33 -05:00
Richard Hansen 9a15af78b6 Regenerate `src/package-lock.json` with npm v6.14.9
This reverts the file back to lockfileVersion 1, which is used by the
LTS version of npm.
2020-12-23 16:58:30 -05:00
Richard Hansen f773193f3c Merge branch 'master' into develop 2020-12-23 16:44:16 -05:00
John McLear 4671b275e9 script: various fixes to release script 2020-12-23 16:27:02 -05:00
Richard Hansen 020f5ff730 Merge branch 'develop' into master 2020-12-23 16:21:00 -05:00
John McLear d9262fccbd bump version 2020-12-23 16:18:28 -05:00
John McLear b59461a469 script: include package files in release script logic 2020-12-23 16:18:28 -05:00
John McLear 89ae726221 script: close console log in release script... 2020-12-23 16:18:28 -05:00
John McLear ece7fd896c scripts: A script to create an Etherpad release (#4538) 2020-12-23 16:18:28 -05:00
John McLear 998c80607e changelog: updated changelog 2020-12-23 16:18:28 -05:00
John McLear 1a845773ee css: loading position box 2020-12-23 16:18:28 -05:00
Richard Hansen f31232dd20 socket.io: Disconnect clients when closing HTTP server 2020-12-23 16:18:28 -05:00
Richard Hansen 9f7d42185d socket.io: Reconnect if the server disconnects
This will make the pages gracefully handle HTTP server restart events,
which happen whenever a plugin is installed or uninstalled via the
`/admin/plugins` page.
2020-12-23 16:18:28 -05:00
Richard Hansen 303964c51e socket.io: Factor out client connection logic 2020-12-23 16:18:28 -05:00
Richard Hansen 7eb0f996c3 socket.io: Delete ignored `resource` option
I couldn't find any reference to a `resource` option in either the
socket.io-client documentation or its source code.
2020-12-23 16:18:28 -05:00
Richard Hansen 7949219179 Reformat `src/ep.json` 2020-12-23 16:18:28 -05:00
Richard Hansen 8c1afc3399 express: New expressCloseServer hook
This will be used by a future commit to close all socket.io
connections during server restart.
2020-12-23 16:18:28 -05:00
Richard Hansen 3e8c3e5789 express: Factor out common server shutdown logic
Also log when the HTTP server is about to be closed and when it is
done closing.
2020-12-23 16:18:28 -05:00
Richard Hansen ff19181cd1 lint: Fix some straightforward ESLint errors 2020-12-23 16:18:28 -05:00
translatewiki.net ac086c7925 Localisation updates from https://translatewiki.net. 2020-12-23 16:18:28 -05:00
webzwo0i 790ba72a9e change scroll-behavior to auto
timeslider follow test: ensure there are so much lines in the pad view
below the changed line, so that the changed line will be the first
visible line
2020-12-23 16:18:28 -05:00
John McLear 996a2d86dd lint: chat (#4573)
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2020-12-23 16:18:28 -05:00
John McLear 8bf463fb00 lint: broadcast_revisions (#4571)
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2020-12-23 16:17:59 -05:00
John McLear 4aef15cb11
lint: collab-client (#4574)
* lint: collab-client

* Undo incorrect lint fixes

These will be re-fixed in a future commit.

* Properly fix guard-for-in error

* Properly fix prefer-rest-params errors

* Move some code back to where it was

Moving the code makes it hard to review the diff.

* Delete DISCONNECT_REASON case

Someone reading the code won't understand what "used to handle
appLevelDisconnectReason" means until they dig through the Git
history. Given the server never sends messages of type
DISCONNECT_REASON anyway, just delete the case.

* Refine lint fixes

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2020-12-21 20:19:00 +00:00
Richard Hansen d34a70c940 Delete merge conflict marker
This fixes a bug introduced in commit
040057239e.
2020-12-20 18:32:30 -05:00