Richard Hansen
17a1b96736
bin: Fix 'for' loop style
2020-06-03 23:11:44 -04:00
Richard Hansen
4f0b1fa7ec
bin: Improve the run-as-root confirmation prompt
...
* Send the prompt to stderr
* Print "> " without a newline so the user knows it is a prompt
* Wrap long lines
* Use a here-document
2020-06-03 23:11:44 -04:00
Richard Hansen
18fb75968a
bin: Use ISO 8601 date format
2020-06-03 23:11:44 -04:00
Richard Hansen
edfe59e84f
bin: Improve restart notification email
2020-06-03 23:11:44 -04:00
Richard Hansen
98e6ec3517
bin: Log the date in the restart message
2020-06-03 23:11:44 -04:00
Richard Hansen
e4fec3883b
bin: Improve readability of email body
2020-06-03 23:11:44 -04:00
Richard Hansen
ab408ce653
bin: Put log parameter handling logic together
2020-06-03 23:11:44 -04:00
Richard Hansen
335705e03d
bin: Simplify cd to install dir
2020-06-03 23:11:44 -04:00
Richard Hansen
2f76066d95
bin: Simplify while loop condition
2020-06-03 23:11:44 -04:00
Richard Hansen
57237b8568
bin: Quote expansions that are subject to field splitting
2020-06-03 23:11:44 -04:00
Richard Hansen
a28b7c7595
bin: Use assertion-style condition checks
2020-06-03 23:11:44 -04:00
Richard Hansen
5462d2109c
bin: Create and use new logging functions
...
These write errors to stderr and avoid unintentional backslash escape
processing in their arguments.
2020-06-03 23:11:44 -04:00
Richard Hansen
a87a9bb63b
bin: Use `command` to check for commands
...
`command` is more idiomatic than `hash`. (Also, `hash` has side
effects.)
2020-06-03 23:11:44 -04:00
Richard Hansen
8e8b75be6c
bin: Use consistent comment formatting
2020-06-03 23:11:44 -04:00
Richard Hansen
be1f2152fc
bin: Use single equals sign for string comparison
...
Double equals is a non-POSIX bashism.
2020-06-03 23:11:44 -04:00
Richard Hansen
9ffb2ccfb0
Revert "scripts: Various shell script cleanups ( #4008 )"
...
This reverts commit fba4fd5314
.
The series of commits I made for PR #4008 were squashed into a single
commit and rebased. Somewhere along the way a mistake was made in a
merge conflict resolution, resulting in some bad code in
`bin/buildForWindows.sh`. This commit reverts the bad squashed commit.
2020-06-03 23:11:44 -04:00
John McLear
02af7d0c2d
tests: fix font select test
2020-06-03 10:34:13 +00:00
Gerrit Pape
f925d5fc74
ui: Add a home icon ( #4076 )
...
This commit adds the fontawesome "home" icon, codepoint e80b
2020-06-03 10:56:24 +01:00
b_b
66a56234fa
docs: index hooks / ref #3978 ( #4077 )
2020-06-03 10:55:44 +01:00
Alexandre Magno
df1629c7b9
tests: updating mocha and refactoring the custom html reporter using events
2020-06-03 10:54:55 +01:00
Sebastian Castro
7aa7e02e27
Various UI improvement ( #4017 )
2020-06-02 10:25:43 +01:00
Alex
f45d85f615
editor: fix the wrong URL when we use etherpad without /p/ in the URL ( #4070 )
2020-06-01 22:12:42 +01:00
translatewiki.net
b1e50ab835
Localisation updates from https://translatewiki.net .
2020-06-01 22:30:02 +02:00
Richard Hansen
fba4fd5314
scripts: Various shell script cleanups ( #4008 )
2020-06-01 21:02:44 +01:00
John McLear
0d51e71578
ux: Better ux for if cookies are disabled or not available.
2020-06-01 20:17:48 +01:00
Richard Hansen
a4713a8308
Docker: Abort image build when `npm install` fails ( #4026 )
...
Without this change, plugin install failures are silently ignored.
2020-06-01 20:16:08 +01:00
Richard Hansen
07c73d4f2d
webaccess: Log authentication attempts ( #4022 )
...
Addresses issue #4016 .
2020-06-01 20:11:57 +01:00
John McLear
addb9b957a
import: Resolve error handling import causes instance crash
2020-06-01 20:09:10 +01:00
John McLear
4497d37af9
tests: path to request require fix
2020-06-01 18:45:01 +00:00
b_b
f84837ef9b
plugins: add hooks for index.html template
...
ref #3978
2020-06-01 19:43:11 +01:00
John McLear
2c944eba34
minification: use mime lookup for mime types ( #3979 )
2020-06-01 19:37:54 +01:00
John McLear
930e80d363
script: Delete group sessions script and fix issue where loadSettings has been moved breaking deletePad ( #3973 )
2020-06-01 19:36:40 +01:00
John McLear
0dd9db4e99
tests: fix for fix of fuzz tests
...
Commenting out fuzz tests for now
Fixed up paths with request.. Pesky globals..
2020-06-01 19:26:49 +01:00
John McLear
71bffed190
tests: fix for fuzz tests ( #4068 )
2020-06-01 18:52:46 +01:00
ssendev
0b7ace83d5
ui: hide create/open pad buttons on index page ( #3974 )
...
if requireSession or editOnly is set these buttons always fail
2020-06-01 18:28:13 +01:00
John McLear
bfca481b0b
import: setting for allowing import without author existing
2020-06-01 18:19:06 +01:00
Stefan
9fdb9e224c
Windows: Always use latest erbium node version for windows build
2020-06-01 18:14:39 +01:00
Stefan
cffd04446e
admin: Add etherpad update check
...
This update check notifies admin on startup (via console) or in /admin UI that they need to update Etherpad.
2020-06-01 17:57:53 +01:00
John McLear
8deac52c84
tests: include mocha froth in package lock and better syntax for package.json
2020-06-01 16:35:38 +00:00
John McLear
dc11b85e62
tests: fuzzing, binary imports
2020-06-01 17:26:55 +01:00
Chocobozzz
59b1a2d5e0
performance: add template cache for quicker page renders
2020-06-01 15:00:47 +01:00
John McLear
4f37865d97
tests: allow tests to run for more than 10 minutes because browsers are slow on saucelabs
2020-05-31 20:11:33 +00:00
John McLear
c9c2adbdb3
tests: sensible value for load tester to run at
2020-05-30 21:58:39 +00:00
John McLear
7be701dbea
tests: make test runner width 80/20
2020-05-30 21:35:11 +00:00
John McLear
6d34e5b427
tests: make default timeout a bit longer and allow it to be spammy
2020-05-30 21:04:59 +00:00
John McLear
1b772c449d
tests: run bcakend tests for 50 seconds instead of 60 because this is the point of optimization
2020-05-30 20:06:34 +00:00
John McLear
f7e73515cd
tests: use sed to modify settings for loadTest
2020-05-30 20:02:40 +00:00
John McLear
7273778e5f
doh, recommit package-lock
2020-05-30 18:40:44 +00:00
John McLear
f629f9f890
tests: change binary used for load testing
2020-05-30 18:28:33 +00:00
John McLear
2844224acb
tests: backend tests tweak
2020-05-30 18:22:24 +00:00