Commit graph

699 commits

Author SHA1 Message Date
Ophir LOJKINE
e0704a3acc
Merge pull request #179 from luandro/master
Add Portuguese translations
2021-03-27 14:01:40 +01:00
luandro
5c6f468037 Add Portuguese translations 2021-03-27 09:59:34 -03:00
Ophir LOJKINE
4af89e40d1 v1.9.1 2021-02-25 15:44:13 +01:00
Ophir LOJKINE
b5d081f36d
Merge pull request #171 from RussTedrake/hideMenu
Adds support for query parameter "hideMenu" (attempt #2)
2021-02-19 18:31:51 +01: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
Ophir LOJKINE
935d0f3a6a v1.9.0 2021-02-17 12:06:34 +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
lovasoa
7a199dbf45
v1.8.0 2021-02-08 11:36:46 +01:00
Ilya Shabalin
89faff35b6
Remember and restore white-out size (#166)
There is now a separate size for the main pencil and the whiteout tool. This is helpful when using "White-Out" as an eraser and switching frequently, as one typically wants eraser to have larger radius.

* Remember and restore white-out size

* Isolate size toggle in pencil.js

* Undo toggle back to Pencil on tool change, replace Pencil size concept with Drawing size

Co-authored-by: ishabalin <ishabalin@apple.com>
2021-02-08 11:35:09 +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
354a5e6ca3 v1.7.2 2021-01-31 19:45:55 +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
ophir
a1dfb9871d Fix cropped language selection menu 2021-01-31 17:06:24 +01:00
Ophir LOJKINE
bba3ce30a4
Update README.md
Instruct the user to create a persistent volume with the right permissions

See https://github.com/lovasoa/whitebophir/issues/164
2021-01-27 18:15:04 +01:00
Ophir LOJKINE
c8fbf673ad
Update docker instructions in README...
...  to match latest Dockerfile changes
2021-01-15 15:27:49 +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
ophir
0f9284c7d4 v1.7.0 2021-01-10 21:25:42 +01:00
ophir
244eaf3895 formatting 2021-01-10 21:25:12 +01:00
ophir
6e8d99d57a Better zooming and scrooling experience 2021-01-10 20:52:15 +01:00
ophir
a10347695b prevent zooming out further than the whole canvas 2021-01-10 20:22:46 +01:00
ophir
69db0af4c2 remove useless function call 2021-01-10 20:11:34 +01:00
ophir
4069cb88d7 Fix a comment 2021-01-10 19:59:50 +01:00
ophir
233d756cc7 Use the server's global max_board_size on the client 2021-01-10 19:58:11 +01:00
ophir
fe6ab2bdaa Use mouse wheel to zoom by default
The old behavior was wheel to scroll and ctrl+wheel to zoom.
The new behavior is the opposite.
2021-01-10 19:45:43 +01:00
ophir
6f06fab337 Update dependencies 2021-01-10 19:25:52 +01:00
ophir
0513324c38 Set default port to 8080 2021-01-10 19:15:06 +01:00
Ophir LOJKINE
408bc015af
disable StrictHostKeyChecking in CD 2021-01-10 17:35:43 +01:00
Ophir LOJKINE
601c3c3d79
CD 2021-01-10 17:32:19 +01:00
ophir
ce5ca084b9 Run as non-priviledged user in the docker image 2021-01-10 17:02:27 +01:00
ophir
ec52bc9631 Reduce the size of docker's build context 2021-01-10 17:02:26 +01:00
Ophir LOJKINE
f6f833e5ec
support only nodejs 10.0+ 2020-12-08 10:31:25 +01:00
Ophir LOJKINE
80589c435e
remove nodejs 8 support 2020-12-08 10:29:43 +01:00
Ophir LOJKINE
db49ac193a
Fix git clone command in README
Fixes https://github.com/lovasoa/whitebophir/issues/156
2020-12-07 16:41:37 +01:00
lovasoa
7df603c249
index: Display an error on empty board name 2020-11-28 21:39:39 +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
4ed7628846
Update README.md 2020-11-15 19:32:20 +01:00
Wandera Brian
262860d823
update readme with powershell friendly docker pull (#147)
The new docker pull command works with Windows Powershell
In response to issue 146 from lovasoa/whitebophir on github
2020-11-15 19:30:03 +01:00
Ophir LOJKINE
c651a5a811
Update README.md
Make it explicit that the given docker command is for bash shells

See: https://github.com/lovasoa/whitebophir/issues/146
2020-11-15 19:17:53 +01:00
Ophir LOJKINE
e858a3b178 Prevent proxies from caching polyfills` 2020-11-10 16:08:11 +01:00