66 Commits

Author SHA1 Message Date
436b17271c fix style format 2023-11-27 13:19:25 +01:00
585d419153 switch from require to import of modules and update webdav 2023-11-27 13:18:11 +01:00
cc2dd0dd5f replace html in js 2023-05-05 14:18:32 +02:00
a49716abc9 add manual image upload function to whiteboard 2022-10-15 20:22:08 +02:00
1fe26f3103 save thickness settings for each tool in localstorage 2022-05-15 14:40:38 +02:00
43b931e573 fix wid and date api calls 2022-02-16 14:16:22 +01:00
27fbf9412c define better default colors 2021-12-09 22:20:44 +01:00
5cf713d851 add new feature so we save recent colors 2021-12-09 22:07:26 +01:00
hhaoao
1df67d4acb add picker palette and splotch 2021-11-11 15:48:33 +08:00
Daniel
c223589add
Security improvements: protect from directory traversal and iFrame content injection 2021-07-12 17:14:43 +00:00
Marcin Cieślak
3141409733 Prevent btoa() error if username contains non-Lating characters 2021-05-25 14:50:16 +02:00
9b94ea3ac0 show the whiteboard after document ready 2021-05-20 17:37:57 +02:00
202c12f353 update socketIo 2021-05-05 20:47:04 +02:00
ed16bddd1f add function to copy a whiteboard from another one 2021-03-31 13:34:21 +02:00
Thijs Kroesbergen
f70e03a691 Added support for sticky notes 2021-03-11 15:05:38 +01:00
5bf39fe008 only show text background color picker if text tool is active 2021-02-23 15:04:47 +01:00
mochiokun
9e38380b9a Add:textbox-backgroundColorEdit 2021-02-23 21:49:55 +09:00
Florent Chehab
abf182afd7
fix latest pdfjs & webpack setup
Closes #85
2021-02-13 14:30:47 +01:00
9d55395e0d fix pdf import 2021-02-11 15:33:08 +01:00
44c8206049 fix compile error and webdav 2021-02-11 14:33:44 +01:00
c9ea42afd4 fix clear btn style 2021-02-11 14:00:21 +01:00
Florent Chehab
a78bb8a0d7
chore(front): remove click events before adding them
* Helps with hot reloading in dev env
* Prevents the same event handlers from being registered twice
* Shouldn't break things
2020-06-01 21:54:55 +02:00
Florent Chehab
e7725e30d5
feat(front): handle read-only link sharing 2020-06-01 21:54:55 +02:00
Florent Chehab
fd05f220f3
feat(frontend): set read-only on load if read-only whiteboard 2020-06-01 21:54:55 +02:00
Florent Chehab
2c2c104bbf
feat: restored image upload
* only use readonly id when storing image to prevent leaking of the editable id
2020-06-01 21:54:54 +02:00
Florent Chehab
d268eb6d93
refacto(front): whitebardId init
* More straightforward
* Use std for getting url params
* Show the final whiteboardid in url
2020-06-01 21:54:54 +02:00
Florent Chehab
b11520788e
fix(front): allow dash in whiteboard id
* prevent transformation of uuid
2020-06-01 21:54:54 +02:00
Florent Chehab
25bcdee083
feat(front): use uuid for random ids 2020-06-01 21:54:53 +02:00
8a94293635 fix rotation also add rotation for bg layer images 2020-05-22 21:25:20 +02:00
a33973eeb6 add option to change the background image grid 2020-05-22 15:45:11 +02:00
4134c4130a add option to draw grid to image on download 2020-05-22 15:24:11 +02:00
76057fad77 remove debug console log 2020-05-20 14:29:14 +02:00
d804f56152 add option to download images in different formats 2020-05-20 14:24:33 +02:00
eef7c52c7e fix basicAlert bug 2020-05-13 18:14:59 +02:00
f49542adea fix text to png 2020-05-13 14:19:59 +02:00
Florent Chehab
dbc7e8c2f9
feat(config): show / hide info on load 2020-05-11 17:32:57 +02:00
Florent Chehab
b0337d9f5b
feat: dynamic frontend configuration 2020-05-11 17:32:38 +02:00
Florent Chehab
4476ce3284
refacto: handling of smallest screen size as a whiteboard info
* Also started a bit of config handling cleaning
2020-05-11 17:32:37 +02:00
Florent Chehab
685caffd43
feat: 'new websocket' to share whiteboard info
* share whiteboard info only on change and at specific frequency
* front update to track nb user connected
2020-05-10 15:34:19 +02:00
Florent Chehab
6475fdd5db
feat(front): cleaned hanling of whiteboard info
* Created an InfoService to centralized the logic
* Added an info icon
2020-05-10 14:16:12 +02:00
Florent Chehab
d4a30ea3ed
style: formatted entire repo 2020-05-09 15:45:17 +02:00
9f9fca40b7 transmit cursor movement while drawing 2020-05-09 15:08:49 +02:00
Florent Chehab
c93d3e643a
feat(front): deactivate readOnly in dev by default 2020-05-06 22:21:09 +02:00
Florent Chehab
3dd889b800
fix: restore upstream master changes 2020-05-06 22:12:56 +02:00
Florent Chehab
9933930a73
refacto(frontend): added and used ReadOnlyService 2020-05-06 21:57:48 +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
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