Commit graph

536 commits

Author SHA1 Message Date
DanielHabenicht
613cfc3246 remove style nodes for svg drawing 2021-05-27 16:37:49 +00:00
DanielHabenicht
f84950c744 resize svg stroke 2021-05-27 16:37:27 +00:00
DanielHabenicht
8850dc2f49 resolve ellipse comment 2021-05-27 15:56:17 +00:00
DanielHabenicht
991c37dc56 Merge branch 'download-button' of https://github.com/ChaituVR/whitebophir into download 2021-05-26 10:40:45 +00:00
Ophir LOJKINE
91273404f7
Merge pull request #193 from sents/selector
Replace mover tool by selector tool
2021-05-24 09:50:06 +02:00
Finn Krein
16d1140a0d Remove unneeded css for selectionRect 2021-05-24 09:27:49 +02:00
Ophir LOJKINE
8e90aa3ef7
Merge pull request #194 from sents/dragmenu
Make navigating overflowing menu more accessible
2021-05-24 00:14:30 +02:00
Ophir LOJKINE
9209ba2864 Bump version number 2021-05-24 00:06:41 +02:00
Ophir LOJKINE
22e866b8aa Remove unused functions 2021-05-23 23:53:14 +02:00
Ophir LOJKINE
d279041aec fix indentation 2021-05-23 23:51:24 +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
e6e47ebef9 Make menu draggable 2021-05-23 22:34:49 +02:00
Finn Krein
9e1bfffa80 Make selector rect stroke width non-scaling 2021-05-21 23:56:05 +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
lovasoa
729dbdbda1
Update dependencies 2021-05-07 14:27:29 +02:00
Ophir LOJKINE
78bfc2b0ac
Merge pull request #188 from lovasoa/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-05-07 11:56:45 +02:00
dependabot[bot]
3b8802864e
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:43:35 +00:00
lovasoa
13d0d19cd6
Bump version 2021-05-06 11:03:33 +02:00
Ophir LOJKINE
1d09b32345
Merge pull request #186 from rothgar/dockerfile
Update dockerfile COPY to use node user
2021-05-06 08:49:26 +02:00
Justin Garrison
471524b677 Update dockerfile COPY to use node user 2021-05-05 15:12:14 -07:00
Ophir LOJKINE
9d81538432
Merge pull request #184 from 16bitash/comment-spelling-fix
Fix: Spelling of a comment in server/check_output_directory.js
2021-04-14 18:51:38 +02:00
Ashish
a82ffa542f Fix: Spelling of a comment in server/check_output_directory.js 2021-04-14 19:30:59 +05:30
lovasoa
58cc4ac45f
v1.10.0 2021-04-02 16:13:15 +02:00
Ophir LOJKINE
12f1ccd5a9
Merge pull request #183 from nneka-nu/add-recent-boards
Show a list of recent boards on the home page
2021-04-02 16:12:02 +02:00
lovasoa
295306fe1a
Add some translations 2021-04-02 09:28:06 +02:00
lovasoa
e5673060ad
board names are case sensitive
@nneka-nu : please do not change that again

Windows has case-insensitive file names by default,
but wbo itself handles boards with case differences correctly.
If you are using wbo on windows (which I do not recommend),
please set the case sensitivity flag of the folder where you store boards.
Alternatively, use WSL or Docker.
2021-04-02 09:18:41 +02:00
Nneka
89f2ef8e8c fix translations 2021-04-01 18:46:24 -07:00
lovasoa
b0a428ab29
Convert to old javascript for compatibility 2021-04-01 20:40:55 +02:00
Nneka
4439457520 add list of recent boards to home page 2021-04-01 09:09:38 -07:00
Ophir LOJKINE
19bf5c5aa6
Merge pull request #182 from lovasoa/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-04-01 01:06:30 +02:00
dependabot[bot]
cde26d814d
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 22:42:23 +00:00
ophir
df9ed7af69 v1.9.2 2021-03-27 14:36:46 +01:00
ophir
ea5897103d Deploy on new versions 2021-03-27 14:33:46 +01:00
ophir
ff66e8998a Sort translations in alphabetical order 2021-03-27 14:27:42 +01:00
Ophir LOJKINE
65f814d058
Merge pull request #180 from luandro/master
Fix Portuguese translations
2021-03-27 14:22:46 +01:00
luandro
879aab3fbc Fix Portuguese translations 2021-03-27 10:19:46 -03:00
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