translatewiki.net
c9db9500e5
Localisation updates from https://translatewiki.net .
2020-12-17 15:13:17 +01:00
Richard Hansen
f54dcbc766
lint: Re-run `eslint --fix`
2020-12-16 22:09:48 +00:00
Richard Hansen
fc234d0088
lint: Bump `eslint` and `eslint-config-etherpad` versions
2020-12-16 22:09:48 +00:00
John McLear
8bee2e41f4
docs: update Node version to 14 which is LTS
2020-12-16 19:50:21 +00:00
Richard Hansen
af7cd13787
pad: Add a hook for the permission denied block
...
This makes it possible for the ep_readonly_guest plugin to add a login
button.
2020-12-16 19:39:52 +00:00
Richard Hansen
92b295193f
css: Apply font formatting to the text, not the high-level div
...
This makes it possible for plugins to add new items without them
rendering centered, at a ridiculous size, or at an awkward location.
2020-12-16 19:39:52 +00:00
Richard Hansen
27dab35827
css: Delete absolute `line-height`
...
Having an absolute `line-height` causes problems when something sets
`font-size` without also setting `line-height`.
2020-12-16 19:39:52 +00:00
John McLear
92e36b82b5
linting: pad_editbar.js
2020-12-16 12:12:25 +00:00
Hossein Marzban
6f309ac20a
lint: pluginfw/client_plugins ( #4572 )
2020-12-15 21:40:41 -05:00
Richard Hansen
a4e2ea7a8c
Add missing dependency on mime-types
...
mime-types is used by `src/node/utils/Minify.js` since commit
2c944eba34
.
2020-12-14 20:31:35 +00:00
Richard Hansen
edf647044c
Update `package-lock.json` and `src/package-lock.json`
2020-12-14 20:31:35 +00:00
translatewiki.net
ef8a581acd
Localisation updates from https://translatewiki.net .
2020-12-14 15:05:13 +01:00
Michael Murtaugh
66e3f02ed2
editor/bugfix: missing await in createClearStartAtext ( #4561 )
...
Missing await in call to this._pad.getInternalRevisionAText(rev). Function returns a promise. This bug breaks the createDiffHTML API call (how I discovered it).
2020-12-14 07:04:14 +00:00
Richard Hansen
a44debdcfe
Add `'` and `*` to acceptable URL characters
...
These characters are in the RFC3986 reserved set.
These characters are added to the set of characters that cannot be the
last character of a URL to avoid mislinkification.
2020-12-14 07:03:17 +00:00
Richard Hansen
7d23278ed0
Exclude `?`, `!`, and `)` from last character of URL
...
Now the final character in each of these example strings is no longer
considered part of the URL:
* Have you seen http://example.com ?
* Look at http://example.com !
* (see http://example.com )
2020-12-14 07:03:17 +00:00
Richard Hansen
7e8de5540f
Factor out common URL regular expression code
...
This also eliminates the differences between the regular expressions.
2020-12-14 07:03:17 +00:00
Richard Hansen
66d0eb9a1f
tests: Expand the tests in `urls_become_clickable.js`
2020-12-14 07:03:17 +00:00
Richard Hansen
1c388ca66e
tests: New `helper.clearPad` method
2020-12-14 07:03:17 +00:00
Richard Hansen
ca01856f94
lint: Fix some straightforward ESLint errors
2020-12-14 07:03:17 +00:00
Richard Hansen
e66e8a4eb2
pad: Fix wrong variable name in global exception handler
...
This fixes a bug introduced in commit
c845d985e0
.
2020-12-10 22:25:58 +00:00
webzwo0i
d25010d5d7
pluginfw: explicitly install the latest version of a plugin, fix for #4536 ( #4543 )
2020-12-05 14:08:02 +00:00
webzwo0i
0c7df88f8a
add rehype-minify-whitespace to package.json ( #4544 )
2020-12-05 12:16:25 +00:00
John McLear
003363bc89
checkPlugin: dont run sauce labs connector on travis backend tests ( #4542 )
2020-12-05 08:21:08 +00:00
John McLear
ef2de59587
editor: use rehype-minify-whitespace
...
use rehype-minify-whitespace
Co-authored-by: webzwo0i <webzwo0i@c3d2.de>
2020-12-05 08:14:09 +00:00
John McLear
de5e071294
path issue
2020-12-05 07:51:17 +00:00
John McLear
159b6a4ba1
database: bump ueberdb to 056 to ensure correct engine is used
2020-12-05 07:51:17 +00:00
John McLear
ee0a37f96c
checkPlugins fix travis and include contributing.md
2020-12-05 07:50:16 +00:00
John McLear
239a0bccbd
checkPlugins: improve travis config to not error
2020-12-05 07:50:16 +00:00
zonky2
0f1d5e068a
css: Make color button from elipsoid to circle ( #4535 )
...
Make color button from elipsoid to circle by own user
https://easycaptures.com/fs/uploaded/1536/3084360130.png
2020-12-05 07:32:15 +00:00
John McLear
d1e9ea6e27
tests/plugins: checkPlugins backend tests config
...
Tnx to @webzwo0i 👍
2020-11-30 17:22:52 +00:00
John McLear
42c0d80914
plugins: checkPlugin script includes remove node_modules if committed.
2020-11-28 13:13:14 +00:00
John McLear
325941a1ad
plugins: add peerdeps and correct engine to checkPlugins script ( #4524 )
...
* pere deps example
* fixed by rh
* doh
* doh...
2020-11-27 21:43:23 +00:00
Richard Hansen
5fcf5f6135
checkPlugin.js: Use https, not http, for Etherpad URL
2020-11-27 14:55:51 -05:00
Richard Hansen
aa41b0920c
admin/plugins: Don't keep adding more Update buttons
2020-11-27 16:59:24 +00:00
Richard Hansen
6a00d7f8d6
admin/plugins: Use jQuery to build the Update button
2020-11-27 16:59:24 +00:00
Richard Hansen
2ddc45bf07
admin/plugins: Simplify jQuery search for plugin actions
2020-11-27 16:59:24 +00:00
Richard Hansen
973644c7dd
lint: Fix ESLint errors in `/admin/plugins` code
2020-11-27 16:59:24 +00:00
Richard Hansen
6a5f905090
admin: Delete unused `search_results`
...
This silences some ESLint camelcase warnings.
2020-11-27 16:59:24 +00:00
Richard Hansen
2fdac836d0
lint: Bump eslint-config-etherpad to 1.0.13
...
Also bump eslint to 7.14.0.
2020-11-27 06:25:43 +00:00
Richard Hansen
750c7cb1cf
pad: Delete unused `ip` and `userAgent` client vars
2020-11-26 15:00:46 +00:00
Richard Hansen
98066184b2
PadMessageHandler: Don't fill in default name or color
...
It should be the client's responsibility to handle null name or color.
In the case of author names, passing null to the client allows users
to fill in the names of other users (via a suggestUserName
CLIENT_MESSAGE).
2020-11-26 15:00:46 +00:00
Richard Hansen
ef7ae15722
PadMessageHandler: Don't send USER_NEWINFO about unknown authors
...
When a new client opens a socket.io connection and sends a
CLIENT_READY message, Etherpad sends the new client a bunch of
USER_NEWINFO messages, one per other user already connected to the
pad. When iterating over the other users, filter out those without an
author ID or missing from the global authors database.
2020-11-26 15:00:46 +00:00
Richard Hansen
53bc80e381
pad userlist: Use jQuery to create rows
...
This makes the code easier to read and maintain, and it reduces the
likelihood of introducing an XSS vulnerability.
2020-11-26 15:00:46 +00:00
John McLear
53ac25e9eb
tests: include set title on pad in plugins
2020-11-26 14:10:10 +00:00
John McLear
83e28ec031
docs: correct name for callback function
2020-11-26 10:10:43 +00:00
Ilmar Türk
ba7d80fa57
Update dropdowns on language change ( #4519 )
2020-11-25 21:39:21 +00:00
Richard Hansen
5a8f7cf54e
test runner: Simplify `getURLParameter()`
2020-11-25 19:19:24 +00:00
Richard Hansen
958f7d8966
lint: Fix most ESLint errors in `runner.js`
2020-11-25 19:19:24 +00:00
Richard Hansen
064fcf8c00
test runner: Pass single argument to `append()`
...
This makes the strings easier to read, and it simplifies `append()`.
Also fix some lint errors:
* Use `const` instead of `var`.
* Convert `append()` to an arrow function.
* Wrap long lines.
2020-11-25 19:19:24 +00:00
Richard Hansen
1f94ac5600
Incorporate separate PR #4516 commits
...
https://github.com/ether/etherpad-lite/pull/4516 was accidentally
squash-merged when it should have been rebased and merged (or regular
merged). This merge brings in the separate commits so that the changes
can be easily reviewed in the future.
2020-11-25 13:10:37 -05:00