Commit graph

178 commits

Author SHA1 Message Date
Snowkylin Lazarus
f7e780b456
improve Chinese translation 2021-08-28 21:02:34 +08:00
lovasoa
9dc31c81f2
split unload function 2021-07-27 10:02:09 +02:00
Ophir LOJKINE
b4b4072486 reformat board data 2021-06-11 00:15:16 +02:00
lovasoa
24d0fe810a
log disconnection reason 2021-06-10 18:44:02 +02:00
lovasoa
81ca85a24f
fix connected statsd 2021-06-10 18:06:08 +02:00
lovasoa
5ca8e516c1
pass result in monitored functions 2021-06-10 17:37:50 +02:00
lovasoa
66b4700e3e
fix function monitor wrapper 2021-06-10 17:30:13 +02:00
lovasoa
3a09a77f75
interpret statsd:// as udp 2021-06-10 16:50:18 +02:00
lovasoa
fcc97f58b5
add statsd monitoring
wbo is now more observable
2021-06-10 16:41:44 +02:00
Ophir LOJKINE
a277c9551c Remove date from logs
Most service managers (docker, systemd)
already capture the time for each log line.
This should make the logs lighter and more readable.
2021-06-09 23:00:32 +02:00
Ophir LOJKINE
2aee70e26d
Merge pull request #200 from sents/selector_buttons
Selector buttons
2021-06-05 02:02:24 +02:00
Ophir LOJKINE
d30a9c0866 Add some translations 2021-06-02 19:07:26 +02:00
Finn Krein
3e2db5c424 Add configuration option to block specific selection buttons 2021-06-02 16:32:55 +02:00
Finn Krein
6b4ec13a0f Add deletion and duplication of selection 2021-06-02 16:32:06 +02:00
Ophir LOJKINE
296dec16bc Fix duplicated code on the server
(and add type annotations)
2021-05-23 23:46:01 +02:00
Finn Krein
e5e43b87c6 Make batch messages consistent. 2021-05-21 18:48:34 +02:00
Finn Krein
6bbb8c8d60 Add selector tool 2021-05-21 18:48:25 +02:00
Ashish
a82ffa542f Fix: Spelling of a comment in server/check_output_directory.js 2021-04-14 19:30:59 +05:30
lovasoa
295306fe1a
Add some translations 2021-04-02 09:28:06 +02:00
Nneka
89f2ef8e8c fix translations 2021-04-01 18:46:24 -07:00
Nneka
4439457520 add list of recent boards to home page 2021-04-01 09:09:38 -07:00
ophir
ff66e8998a Sort translations in alphabetical order 2021-03-27 14:27:42 +01:00
luandro
879aab3fbc Fix Portuguese translations 2021-03-27 10:19:46 -03:00
luandro
5c6f468037 Add Portuguese translations 2021-03-27 09:59:34 -03:00
Russ Tedrake
d5111afdc8 Adds support for query parameter "hideMenu"
This adds the ability to load a board with the menu hidden; it provides a form of "read-only" mode, but the key bindings are still active.
Use with, e.g.:
http://localhost:5001/boards/qYAZyGdym6HqjnfaGI4yNtpdx0IMHd9qp6kaJPwbJqE-?hideMenu=true

The alternative, proposed in #116, was to remove the menu completely, but this would require more substantial changes to board.js (which hangs on "Loading..." if the menu is removed).
Related to #150
Related to #116

Adds support for query parameter "hideMenu"

This adds the ability to load a board with the menu hidden; it provides a form of "read-only" mode, but the key bindings are still active.
Use with, e.g.:
http://localhost:5001/boards/qYAZyGdym6HqjnfaGI4yNtpdx0IMHd9qp6kaJPwbJqE-?hideMenu=true

The alternative, proposed in #116, was to remove the menu completely, but this would require more substantial changes to board.js (which hangs on "Loading..." if the menu is removed).
Related to #150
Related to #116
2021-02-17 08:35:22 -05:00
Ophir LOJKINE
5bc3f02dae Revert "Adds support for query parameter "hideMenu" (#170)"
This reverts commit 71d8be5df1.
2021-02-17 12:09:41 +01:00
Russ Tedrake
71d8be5df1
Adds support for query parameter "hideMenu" (#170)
This adds the ability to load a board with the menu hidden; it provides a form of "read-only" mode, but the key bindings are still active.
Use with, e.g.:
http://localhost:5001/boards/qYAZyGdym6HqjnfaGI4yNtpdx0IMHd9qp6kaJPwbJqE-?hideMenu

The alternative, proposed in #116, was to remove the menu completely, but this would require more substantial changes to board.js (which hangs on "Loading..." if the menu is removed).
Related to #150
Related to #116
2021-02-17 12:05:38 +01:00
lovasoa
da102f8190
Fix "TypeError: Cannot read property 'x' of undefined" 2021-02-08 15:48:11 +01:00
Ilya Shabalin
edf31cd6c2
Auto white-out with a finger when using apple stylus (#167)
When using an iPad with an apple stylus, finger touches now trigger the whiteout tool.
This behavior can be disabled by setting the environment variable AUTO_FINGER_WHITEOUT=disabled

* Auto white-out with a finger when using stylus

* Add AUTO_FINGER_WHITEOUT config variable

* Use local variable to remember if stylus was used and make behavior configurable

* Delete "stylus" property

* Make AUTO_FINGER_WHITEOUT on by default

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>

* Delete parseBool, add note about iPad/Pencil

Co-authored-by: ishabalin <ishabalin@apple.com>
Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2021-02-08 11:28:24 +01:00
lovasoa
70ceaac242
Prevent multiple board save operation to happen simultaneously 2021-02-07 19:54:14 +01:00
lovasoa
de9f9725e9
Use the modern class syntax on the server 2021-02-07 19:22:12 +01:00
lovasoa
53c61ec16e
Reformat all the server code with prettier 2021-02-07 19:02:56 +01:00
lovasoa
a76bbeced3
Add some documentation and type information 2021-02-07 17:52:15 +01:00
lovasoa
da5d9be4e5
Print error stack in logs when on preview errors 2021-02-06 20:45:08 +01:00
ophir
9285204284 set MIN_NODE_VERSION to 10.0
WBO does not work with node 8
2021-01-31 19:44:49 +01:00
ophir
fbc66148d3 Fix compatibility with node 10 2021-01-31 19:41:31 +01:00
ophir
8b161e9db5 Check the permissions on the history dir on start
Fixes https://github.com/lovasoa/whitebophir/issues/164
2021-01-31 18:24:09 +01:00
Ingo Blechschmidt
2e0a901998
Allow for listening only on 127.0.0.1 (or some other address) (#161) 2021-01-13 10:02:03 +01:00
lovasoa
dc72feec10
Fix empty page display on /boards
See #153
2020-11-28 21:30:29 +01:00
lovasoa
586d3e4625
Updated dependencies 2020-11-17 11:20:14 +01:00
hophat
19c98038ec
update json vietnam language (#145)
* update json vietnam language 

update vietnam language

* Update server/translations.json

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2020-11-17 10:56:31 +01:00
Ophir LOJKINE
e858a3b178 Prevent proxies from caching polyfills` 2020-11-10 16:08:11 +01:00
ophir
9f36edb93f fix mistake in french translation 2020-10-30 22:36:50 +01:00
Vasyl Ostrovskyi
dc18066670
Ukrainian translation (Українська) 2020-09-13 09:58:10 +03:00
Ophir LOJKINE
8c001ca0e8 Fix board preview
A bug was introduced in 50da719bda
most elements do not have a deltax and deltay property

See #97
2020-09-01 14:33:20 +02:00
Ophir LOJKINE
b1c00145f8 Allow 50% more points per second 2020-08-11 18:16:24 +02:00
ovari
d808412eb9
Update the hungarian translation (#105) 2020-07-07 12:04:11 +02:00
Ophir LOJKINE
f81e72d9d9 Update the software license in translations
WBO switched from GPL to AGPL two years ago already.
2020-07-07 09:50:24 +02:00
Ophir LOJKINE
60a16a1719 fix french translation 2020-07-07 09:48:07 +02:00
ovari
04c9206776
Default en then alphabetically, hu locale, tidy-ups (#103)
* Update translations.json

Sort locale alphabetically

* Update translations.json

Default language `en` first, then alphabetically.

* Update translations.json

hu (Hungarian - magyar) locale

* Update translations.json

`en` does not have a space before the exclamation mark (!) and a few other tidy-ups.

* Update translations.json
2020-07-07 09:41:31 +02:00