46 Commits

Author SHA1 Message Date
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
Florent Chehab
db89dd819b
feat(frontend): track the number of messages received / sent 2020-05-06 21:55:13 +02:00
774db98cc7 fix shift draw line things 2020-05-04 17:23:47 +02:00
9c3713d0c6 always set shift to true on press 2020-05-04 14:42:25 +02:00
ea0e9f8452 draw lines on shift press when pen is selected 2020-05-04 14:22:08 +02:00
9a4f32c99a fix README and alert text 2020-04-29 19:24:24 +02:00
d173c7728c improve performance of pdf to image function 2020-04-29 16:01:22 +02:00
c86ee45f11 working with multiple pages 2020-04-29 15:50:31 +02:00
15135540fe add basic pdf to image conv function 2020-04-29 15:32:48 +02:00
61e208ccc8 define var and fix pasting imgs 2020-04-23 15:10:36 +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
d5cb969ee5
fix: undefined vars / resizable / upload
* was brokend by refacto
2020-04-19 17:57:54 +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
84b4ff019f
refacto(src): a bit of cleaning 2020-04-19 16:32:30 +02:00
Florent Chehab
0a32a73742
refacto(assets / src): reorganized 2020-04-19 16:26:45 +02:00