43 Commits

Author SHA1 Message Date
10330d4598 fix syntax error and style 2021-09-13 00:43:52 +02:00
Patrick Schweiger
9487653043 Prevent img attribute injection
Signed-off-by: raphael <raphael@cloud13.de>
2021-09-13 00:37:14 +02:00
5b57f134c6 test image before adding it to the board as bg img 2021-08-20 00:13:48 +02:00
ff8bde2289 add option to define an other images file location 2021-05-20 17:25:20 +02:00
d80b18282d empty textCointainer on rezize so we don't have double text elements 2021-05-20 17:16:02 +02:00
Thijs Kroesbergen
f70e03a691 Added support for sticky notes 2021-03-11 15:05:38 +01:00
mochiokun
9e38380b9a Add:textbox-backgroundColorEdit 2021-02-23 21:49:55 +09:00
b0be5ff523 fix drawing single point 2020-11-17 00:18:00 +01:00
900452bfd2 fix focus and better json file 2020-07-20 11:42:25 +02:00
daf759ea4a fix transparent background on saved images 2020-06-03 16:27:45 +02:00
f102739d49 add image faster (without canvas save+reload) if we have no rotation 2020-06-02 18:11:52 +02:00
bbb55eb2b8 fix select area tool 2020-06-02 17:47:28 +02: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
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
8a94293635 fix rotation also add rotation for bg layer images 2020-05-22 21:25:20 +02:00
e84189d9d8 fix rotation handler and drag offset 2020-05-22 18:04:17 +02:00
4ff618be8d Merge branch 'master' into rotation
# Conflicts:
#	package.json
2020-05-22 17:35:22 +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
d804f56152 add option to download images in different formats 2020-05-20 14:24:33 +02:00
f49542adea fix text to png 2020-05-13 14:19:59 +02:00
1c664a810e fix canvas write text of multiple lines 2020-05-12 21:02:02 +02:00
Florent Chehab
203e35b3e4
feat(front): show smallest screen indicator based on config 2020-05-11 17:33:47 +02:00
Florent Chehab
409681b217
feat(front): creating throttling service
* ease throttling of events accross the frontend
2020-05-11 17:32:38 +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
d4a30ea3ed
style: formatted entire repo 2020-05-09 15:45:17 +02:00
d802d006e7 add rotation things 2020-05-08 15:10:41 +02:00
Florent Chehab
677f3d95a1
fix(front): definite fix to getRoundedAngles
* Switched to pure math transformation
2020-05-06 23:13:44 +02:00
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
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
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
774db98cc7 fix shift draw line things 2020-05-04 17:23:47 +02:00
89dbabf1d2 always set tool intern to mouse while image drop is active 2020-05-04 14:40:24 +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
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