Commit graph

339 commits

Author SHA1 Message Date
Takuya Arita
6b5760ed8e
Add Japanese translation (#43)
* Add Japanese translation

* Update Japanese translation.
2020-04-27 19:24:40 +02:00
Ophir LOJKINE
e9d3467767 Update color presets 2020-04-27 16:56:36 +02:00
finnboeger
4d065216bd
Improve text tool (#45)
Make the text field of the text tool appear at the position where the text will be written.

* improved Text tool

* ignore layers for now

* only assert value is not null or undefined / allow 0 as value

* remove unused layer code

* Reformat text.js

Co-authored-by: Robert Beach <rdbeach@gmail.com>
Co-authored-by: @finnboeger
2020-04-27 12:48:35 +02:00
ophir
e82ac2c022 v1.2.0 2020-04-26 20:00:14 +02:00
ophir
723a87f753 Restore compatibility with old nodeJS versions
Node 8 is still the default on ubuntu 18.04.
See: 63db84f7dd
2020-04-26 19:20:30 +02:00
ophir
96fa16559e Index page translations 2020-04-26 17:59:41 +02:00
ophir
c944efce58 Remove unused assets 2020-04-26 15:04:37 +02:00
Ophir LOJKINE
10bdaf90f0
Style changes (#39)
* Initial Changes (#1)

* Move socket event handlers and initial connection to connect function

* Converted await statements to .then()

* Toggle tool if clicked again and toggling option exists

Co-authored-by: Finn Böger <finnboeger@googlemail.com>

Co-authored-by: Robert Beach <rdbeach@gmail.com>

* Updated client styles
- disable selecting text in tool menu
- change design of tool boxes to be square and smaller
- reduce text size in sliders

Co-authored-by: Finn Böger <finnboeger@googlemail.com>

* Changed Apple Touch Icon

* Update size and opacity icon, include fontawesome for future use

Co-authored-by: Finn Böger <finnboeger@googlemail.com>

* Changed favicon svg

* replace font-family with valid value

* Added icons and icomoon font

* change eraser and zoom icon

Co-authored-by: Finn Böger <finnboeger@googlemail.com>

* Revert icon change for now

* Revert "Converted await statements to .then()"

This reverts commit b35e0207df.

* Revert "Revert icon change for now"

This reverts commit 34e354f00f.

* Restored new Icons

* Restored favicon

* Remove fontawesome

* Increase icon sizes

* Update the zoom icon

See https://github.com/lovasoa/whitebophir/pull/39#issuecomment-619524098

* set display inline block for tool names, otherwise firefox doesn't respect margin-bottom

* Rework tool icons

* fix color presets position

Co-authored-by: finnboeger <finnboeger@users.noreply.github.com>
Co-authored-by: Robert Beach <rdbeach@gmail.com>
Co-authored-by: Finn Böger <finnboeger@googlemail.com>
2020-04-26 14:56:51 +02:00
ophir
8f14b84f9e Rework tool icons 2020-04-26 13:08:17 +02:00
ophir
dd2a574d03 Update the zoom icon
See https://github.com/lovasoa/whitebophir/pull/39#issuecomment-619524098
2020-04-26 12:43:19 +02:00
ophir
d2c3917ccc Fix board deletion error message in logs 2020-04-26 12:11:30 +02:00
Ophir LOJKINE
f23926bdef
First merge for #31
Thanks a lot and congratulations to @finnboeger and @rdbeach !
2020-04-26 12:03:11 +02:00
Finn Böger
f63301b044 Revert "Converted await statements to .then()"
This reverts commit b35e0207df.
2020-04-26 12:00:34 +02:00
ophir
fc51f0dc0b Optimize icons to make them smaller 2020-04-26 11:53:14 +02:00
Ophir LOJKINE
6baab81f63 Better tool icons 2020-04-26 00:45:42 +02:00
ophir
68ba979919 Start work on svg icons 2020-04-25 22:33:02 +02:00
Robert Beach
6e042a3a82 Toggle tool if clicked again and toggling option exists
Co-authored-by: Finn Böger <finnboeger@googlemail.com>
2020-04-25 17:51:43 +02:00
Robert Beach
b35e0207df Converted await statements to .then()
Co-authored-by: Finn Böger <finnboeger@googlemail.com>
2020-04-25 17:30:28 +02:00
Robert Beach
204ce7f073 Move socket event handlers and initial connection to connect function
Co-authored-by: Finn Böger <finnboeger@googlemail.com>
2020-04-25 16:46:29 +02:00
Finn Böger
66e5389dca added jetbrains .idea/ to .gitignore 2020-04-24 18:12:54 +02:00
Ingo Blechschmidt
8d71613e6b
Be more vigilant in validating file names (#36)
The behavior of `Date.parse` is implementation-dependent and hence
cannot be relied on for security purposes. In particular, the
implementation in Node.js does accept strings such as
`../../../etc/foobar-0` as valid (thanks to the trailing digit).

The failure to properly validate the filename is not exploitable, as
slashes will never be contained in `parts[2]` thanks to the foregoing
`split`, but it is probably still better to have a proper validation in
place.
2020-04-22 23:23:37 +02:00
Ophir LOJKINE
89162dcc91 Make the application more configurable
There are now several different configuration
variables through which WBO can be configured.

Thanks @iblech

Fixes #34
2020-04-22 12:53:40 +02:00
ophir
da76aaa499 Delete accidentally added files (Fixes #33) 2020-04-22 10:18:03 +02:00
ophir
ebaaacde35 Improved i18n system 2020-04-22 10:14:12 +02:00
ophir
e2dde6c82f WIP: i18n of the index page 2020-04-20 23:40:38 +02:00
ophir
725b4fc864 Fix a style problem with the backound on the index 2020-04-20 21:56:22 +02:00
Ophir LOJKINE
1a392e0798 Update index style 2020-04-20 21:55:57 +02:00
Ophir LOJKINE
29ebe10d20 Improve the style of the index page 2020-04-19 19:41:26 +02:00
Ophir LOJKINE
a1b5dda6a7 Add a gitignore 2020-04-19 12:11:04 +02:00
ophir
2521aa3a94 Fix a style problem with the backound on the index 2020-04-19 12:09:28 +02:00
ophir
0f20784b8c Updated the style of the index page 2020-04-18 23:17:59 +02:00
Ophir LOJKINE
6bcffe3dde Warning message on old version of NodeJS
See 63db84f7dd (commitcomment-38508311)
2020-04-15 15:18:38 +02:00
Ophir LOJKINE
43c861d022 Make the initial brush size smaller 2020-04-15 14:49:49 +02:00
Ophir LOJKINE
a0a5d83aa3 Deploy from the prod branch, not master 2020-04-15 14:45:22 +02:00
Ophir LOJKINE
c29bab394a
add openode token to CD 2020-04-12 15:04:40 +02:00
Ophir LOJKINE
bd28236394
CD: install dependencies 2020-04-12 14:58:53 +02:00
Ophir LOJKINE
63db84f7dd server: use async functions instead of callbacks
This makes the code more readable.
Also add the automatic deletion of empty board files.
2020-04-12 14:57:41 +02:00
Ophir LOJKINE
ee97147188
Continuous deployment 2020-04-12 14:57:17 +02:00
Ophir LOJKINE
aacd4ed5c8
limit the size of screenshots in the README 2020-04-12 13:50:02 +02:00
Ophir LOJKINE
1ce1860704
reorganize the screenshots in the README 2020-04-12 11:47:15 +02:00
Ophir LOJKINE
7d03d193f7 Remove travis CI 2020-04-12 11:15:45 +02:00
Ophir LOJKINE
c34ccbb17a Update dependencies
Switch from the unmaintained node-static to serve-static.
2020-04-12 11:15:22 +02:00
Cyrille Pontvieux
e090e857dd
Do not install on run (#30)
* Do not install on run

The docker image should contains already resolved dependencies.

No need for a start.sh, you could just run node directly.

* Simplify Dockerfile
2020-04-12 09:15:56 +02:00
Ophir LOJKINE
128a3b94f1
Make the server installation instructions clearer 2020-04-10 15:47:15 +02:00
Ophir LOJKINE
0046cb28d5 Fix unreadable board name
The board name wasn't displayed correctly when it contained special
characters
2020-04-06 19:42:03 +02:00
Ophir LOJKINE
87e8b4ebc6 Update openode 2020-04-06 19:39:29 +02:00
Ophir LOJKINE
b74696fcb0 Fix crash when running the server on windows
Fixes  #28
2020-04-06 19:36:45 +02:00
Ophir LOJKINE
95ffa5d130 Better caching 2020-04-06 13:31:15 +02:00
Ophir LOJKINE
054dd3e357
Replace readme links 2020-04-05 18:23:57 +02:00
Ophir LOJKINE
e1616d8cec Update dependencies 2020-04-04 18:19:47 +02:00