Commit Graph

6473 Commits (d9ca1efd4f66548a2ec24e76632701af80272858)

Author SHA1 Message Date
John McLear d9ca1efd4f working 2021-01-14 17:02:43 +00:00
John McLear b876e2dfe0 working? 2021-01-14 16:55:04 +00:00
John McLear 1cad0a6707 server side processing too 2021-01-14 16:23:27 +00:00
John McLear 1cbaf2d272 dont expect safari 2021-01-14 14:08:53 +00:00
John McLear c6b0c92061 stable :) 2021-01-14 14:03:29 +00:00
John McLear f466bcd32f lint: domline 2021-01-14 13:20:29 +00:00
John McLear 5bedfa0ba1 Merge branch 'develop' of github.com:ether/etherpad-lite into image-example 2021-01-14 13:07:20 +00:00
John McLear 2929ba9894 lint: cssmanager.js 2021-01-14 13:06:34 +00:00
John McLear d9f3bb0e39 lint: colorutils.js 2021-01-14 13:06:34 +00:00
John McLear 1d57d4ee3f lint: caretPosition linting 2021-01-14 13:06:34 +00:00
John McLear aeab9cc0ad lint: attributepool fix incorrect commit 2021-01-14 13:06:34 +00:00
John McLear 76744d9783 lint: AttributePool.js 2021-01-14 13:06:34 +00:00
John McLear efc323cd71 Revert "lint: attributepool.js"
This reverts commit 33baaafbdeb4c0f82ec504738f5851f9ab5261a8.
2021-01-14 13:06:34 +00:00
John McLear 75ffe40c09 lint: attributepool.js 2021-01-14 13:06:34 +00:00
John McLear 46dc943101 lint: linestylefilter and rjquery.js 2021-01-14 13:06:34 +00:00
John McLear 66109002ef placeholder commit 2021-01-14 12:58:06 +00:00
John McLear 638bd9942e lint: contentcollector 2021-01-14 11:24:59 +00:00
John McLear 183b765df0 how did it conflict on that? 2021-01-14 10:25:34 +00:00
John McLear c38c34bef4
linting: ace2_inner
* remove IE and add strict headers

* linting: kids are back, need to stop for today

* linting: farbtastic fix

* lint: more lint fixes

* more lint fixes

* linting: sub 100 errors

* comments where I need help

* ready to be helped :)

* small fixes

* fixes

* linting: all errors resolved

* linting: remove note to self

* fix as per nulli/wezz000li suggestion

* fix as per nulli/wezz000li suggestion

* resolve merge conflicts

* better use if to silence eslint

* Use `for..of` with `Object.keys` instead of `for..in`

* lint: move setSelection to before call

Co-authored-by: webzwo0i <webzwo0i@c3d2.de>
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-01-14 10:00:14 +00:00
John McLear e39e959347 basic test and hacked in stuff 2021-01-12 20:21:55 +00:00
Richard Hansen edbe6d5387 Bump ueberDB to get speed improvements 2021-01-11 09:23:08 +00:00
Richard Hansen 481fa047e4 checkPlugin: Merge the `autoupdate` option into `autofix` 2021-01-11 08:51:04 +00:00
Richard Hansen 039c50de80 checkPlugin: Make `autocommit` imply `autoupdate`, `autoupdate` imply `autofix` 2021-01-11 08:51:04 +00:00
Richard Hansen 27df9df47f checkPlugin: Revise README.md 2021-01-11 08:51:04 +00:00
Richard Hansen adb38d0d61 checkPlugin: Display a diff of the changes 2021-01-11 08:51:04 +00:00
Richard Hansen 6ccbe374d8 checkPlugin: Don't nuke `node_modules/`
`git add -A` will ignore `node_modules/` because it's in `.gitignore`.
2021-01-11 08:51:04 +00:00
Richard Hansen 5f2aaea255 checkPlugin: Use git to determine whether there were changes 2021-01-11 08:51:04 +00:00
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
John McLear 62906d72a2 tidy up 2021-01-10 15:51:02 +00:00
John McLear f5cfb8b135 tidy up 2021-01-10 15:50:01 +00:00
John McLear f0a9e6832f include proposed fix 2021-01-10 15:47:42 +00:00
John McLear 1f667f86ef ah so a set timeout is required? 2021-01-10 11:55:46 +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
John McLear ef2a929016 test coverage 2021-01-09 19:48:15 +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