Richard Hansen
9f4bcfb79b
checkPlugin: Ensure that a peer dep for `ep_etherpad-lite` exists
...
Tweak the new `updateDeps()` function and use it to add the
`ep_etherpad-lite` dependency if it is missing.
2021-01-11 08:51:04 +00:00
Richard Hansen
42da976705
checkPlugin: Move dependency update logic to a generic function
...
This will make it possible to reuse the logic for `peerDependencies`.
2021-01-11 08:51:04 +00:00
Richard Hansen
747f323552
checkPlugin: Use absolute path when installing `ep_etherpad-lite`
...
This makes it possible to check plugins that were installed by
symlinking into `node_modules/` like this:
git clone git@github.com:ether/etherpad-lite.git
git clone git@github.com:ether/ep_example.git
cd etherpad-lite
npm i ep_example@file:../ep_example
node ./bin/checkPlugin.js ep_example
2021-01-11 08:51:04 +00:00
Richard Hansen
b719affe6e
checkPlugin: Unconditionally run `npm install`
2021-01-11 08:51:04 +00:00
Richard Hansen
bba47ea2df
checkPlugin: Make sure `package.json` ends with a newline
2021-01-11 08:51:04 +00:00
Richard Hansen
bf8d55ab8e
checkPlugin: New `writePackageJson()` convenience function
2021-01-11 08:51:04 +00:00
Richard Hansen
b3b9afa668
checkPlugin: Split dirty working directory check into two checks
...
Rather than check for modifications and untracked files in one
command, use two commands: one for modifications and one for untracked
files. This makes the error messages easier to understand, and it
allows us to include `git status`-like output in the modifications
error message.
2021-01-09 22:49:27 +00:00
Richard Hansen
6a13baf7d4
checkPlugin: Use `--name-status` for `git diff-index`
...
`--compact-sumary` is relatively new (v2.17.0), and I actually
intended to use `--name-status` anyway.
2021-01-09 22:49:27 +00:00
Richard Hansen
071cca1d48
checkPlugin: Don't create an empty commit
2021-01-09 08:05:31 +00:00
Richard Hansen
38ca0c52a6
checkPlugin: Add lots of Git sanity checks
2021-01-09 08:05:31 +00:00
Richard Hansen
1a9bfc8d4f
checkPlugin: Don't capture stdout when unnecessary
2021-01-09 08:05:31 +00:00
Richard Hansen
102c01f723
checkPlugin: Move log messages where they make more sense
2021-01-09 08:05:31 +00:00
Richard Hansen
d816bb2b38
checkPlugin: New `execSync()` convenience function
2021-01-09 08:05:31 +00:00
Richard Hansen
a55dd73f2b
Typo fix: `checkPlugins.js` -> `checkPlugin.js`
2021-01-08 19:02:55 -05:00
Richard Hansen
44118c0e7b
checkPlugin: Refine installation of lint dependencies
2021-01-08 19:02:55 -05:00
Richard Hansen
a0d21f75c4
checkPlugin: Add missing lint dependency
2021-01-08 18:42:10 -05:00
Richard Hansen
6890bfada1
checkPlugin: Bump eslint, eslint-config-etherpad versions
2021-01-08 18:24:42 -05:00
Richard Hansen
ba1c468865
checkPlugin: Fix command-line argument parsing bug
2021-01-08 18:07:55 -05:00
John McLear
fd3004faad
checkPlugins: various minor updates ( #4635 )
...
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-01-07 21:52:45 -05:00
John McLear
04962bfe39
update ueberdb to 1.1.7 ( #4633 )
2021-01-07 04:16:13 -05:00
Richard Hansen
3373f059e6
Plugin publish workflow: Run `git push` before `npm publish`
2021-01-05 21:59:03 +00:00
John McLear
6012a9a480
scripts: include v in release number to fix rleease script docs
2021-01-05 16:45:14 +00:00
translatewiki.net
68ca3fcdbd
Localisation updates from https://translatewiki.net .
2021-01-04 14:43:02 +01:00
translatewiki.net
6d626c90d3
Localisation updates from https://translatewiki.net .
2020-12-29 08:50:16 +01:00
webzwo0i
ca405c1685
send the test files with the correct content-type header
2020-12-27 23:40:35 +00:00
webzwo0i
951c93fa6d
change_user_name test: refactor
2020-12-27 23:40:35 +00:00
John McLear
38c9827161
Feature: Scroll to Line number based on Hash IE http://foo.com/p/bar#L10 will scroll to line 10. ( #4554 )
...
Includes test coverage
Co-authored-by: webzwo0i <webzwo0i@c3d2.de>
2020-12-26 22:05:08 +01: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