Commit Graph

270 Commits

Author SHA1 Message Date
Florent Chehab
3dd889b800
fix: restore upstream master changes 2020-05-06 22:12:56 +02:00
Florent Chehab
dde88ae2fb
refacto(frontend): use new Point class
* standardized pos from event
* Also transformed some vars into const
2020-05-06 21:59:20 +02:00
Florent Chehab
9933930a73
refacto(frontend): added and used ReadOnlyService 2020-05-06 21:57:48 +02:00
Florent Chehab
67fd33c66b
refactor(frontend): event threshold handling
* Created const and utils helpers
* Created point class
2020-05-06 21:57:47 +02:00
Florent Chehab
7a81491ffa
fix(front): show cursor on load 2020-05-06 21:57:00 +02:00
Florent Chehab
fcdda2c344
refacto(front): modularized shortcutFunctions
* Also made them un-reactive when read-only by default
2020-05-06 21:57:00 +02:00
Florent Chehab
7ec4ef0df0
feat(frontend): cleaned read-only & style
* cleaned unsued css classes
* Reorganized buttons based on if they are edit related or not
* meaningful css when locking for better ui experience
* renamed viewOnly to more standard readOnly
2020-05-06 21:57:00 +02:00
Florent Chehab
c454a23e71
fix(css): more straightforward handling of borders
* don't rely on last child selector that might be incorrect due to display:none elements
2020-05-06 21:57:00 +02:00
Florent Chehab
8117be3f52
feat(frontend): add read-only mode and default to it 2020-05-06 21:56:59 +02:00
Florent Chehab
b0501824cf
feat(frontend): default to mouse and don't emit cursor while drawing 2020-05-06 21:56:59 +02:00
Florent Chehab
8a1f1b4210
feat(frontend): reduce the number of cursor messages sent
* require a minimum position / time variation between emitions
2020-05-06 21:56:57 +02:00
Florent Chehab
db89dd819b
feat(frontend): track the number of messages received / sent 2020-05-06 21:55:13 +02:00
Florent Chehab
6f68f9f21f
feat(backend): no compression & volatile
* Should enable for more performances when there are a lot of users
* Messages are pretty small so compression might not be needed
* Volatile reduces the number of exchanges between the server and the clients
2020-05-06 21:55:13 +02:00
Cracker
e2ddcbf162
Update README.md 2020-05-06 18:00:40 +02:00
raphael
30acafc1ec catch error on smallestScreenResolutions not set 2020-05-06 17:27:07 +02:00
raphael
774db98cc7 fix shift draw line things 2020-05-04 17:23:47 +02:00
raphael
97326481e4 fix favicon 2020-05-04 14:56:48 +02:00
raphael
9c3713d0c6 always set shift to true on press 2020-05-04 14:42:25 +02:00
raphael
89dbabf1d2 always set tool intern to mouse while image drop is active 2020-05-04 14:40:24 +02:00
raphael
ea0e9f8452 draw lines on shift press when pen is selected 2020-05-04 14:22:08 +02:00
raphael
9a4f32c99a fix README and alert text 2020-04-29 19:24:24 +02:00
raphael
d173c7728c improve performance of pdf to image function 2020-04-29 16:01:22 +02:00
raphael
c86ee45f11 working with multiple pages 2020-04-29 15:50:31 +02:00
raphael
66898e03ef update package*json 2020-04-29 15:33:19 +02:00
raphael
15135540fe add basic pdf to image conv function 2020-04-29 15:32:48 +02:00
raphael
ede9a98e04 Merge branch 'master' of https://github.com/cracker0dks/whiteboard 2020-04-27 13:51:18 +02:00
raphael
832cd7fbbb fix resizable 2020-04-27 13:50:23 +02:00
Cracker
0171d94d2b
Update docker-compose.yml 2020-04-24 14:07:59 +02:00
raphael
fce57e43f4 Merge branch 'master' of https://github.com/cracker0dks/whiteboard 2020-04-23 15:10:42 +02:00
raphael
61e208ccc8 define var and fix pasting imgs 2020-04-23 15:10:36 +02:00
Cracker
23f0682a1c
Update docker-compose.yml 2020-04-22 23:31:33 +02:00
raphael
a270ce8170 add docker-compose-yml 2020-04-21 14:03:01 +02:00
Cracker
ec7bc9357f
Merge pull request #39 from FloChehab/feat/build_chain
Feat/build chain
2020-04-21 13:55:09 +02:00
Florent Chehab
9f5c5b2f30
fix(fa icons): should render everywhere
* setup is not perfect but should do the trick for now
* Suggestion: add all the icon the dom and reuse them so that we don't have to do dom.i2svg(); everytime
2020-04-20 11:18:52 +02:00
Florent Chehab
0ef46fea2f
fix(start): change the way the app is launched
* And updated README accordingly
2020-04-20 11:03:07 +02:00
Florent Chehab
033d01e1cf
fixup! refacto(scipts): reorganized & support dev server 2020-04-20 10:34:41 +02:00
Florent Chehab
7f574cea5a
fixup! feat(build-chain): set up and updated deps 2020-04-20 10:34:02 +02:00
Florent Chehab
59a229b1fb
fixup! refacto(Dockerfile): optimized with new setup 2020-04-20 10:33:22 +02:00
Florent Chehab
810ed89337
fixup! refacto(assets): moved public to assets 2020-04-20 10:30:18 +02:00
Florent Chehab
2b790ca397
fix(dependencies): pinning of new dev deps 2020-04-20 10:15:56 +02:00
Florent Chehab
ffff0899cc
docs: updated README
* and small documentation changes
2020-04-19 18:14:44 +02:00
Florent Chehab
d5cb969ee5
fix: undefined vars / resizable / upload
* was brokend by refacto
2020-04-19 17:57:54 +02:00
Florent Chehab
39e8dd398b
fix(bundle size): include only required icons 2020-04-19 17:42:26 +02:00
Florent Chehab
6c5016003a
refacto(Dockerfile): optimized with new setup 2020-04-19 17:18:38 +02:00
Florent Chehab
dcc5191a3c
style(main.js): indented because in function now 2020-04-19 16:50:47 +02:00
Florent Chehab
99378c276b
fix(colorPicker): cleaned setup of new lib 2020-04-19 16:49:39 +02:00
Florent Chehab
6025dc595a
refacto(endpoints): endpoints under /api or /ws-api
* Easier setup of webpack dev-server & proxying
2020-04-19 16:42:32 +02:00
Florent Chehab
7d1db66a26
refacto(scipts): reorganized & support dev server 2020-04-19 16:42:32 +02:00
Florent Chehab
1534edba64
refacto(scripts): added dir 2020-04-19 16:35:10 +02:00
Florent Chehab
a61ac620a2
feat(build-chain): set up and updated deps 2020-04-19 16:33:55 +02:00