Commit Graph

284 Commits

Author SHA1 Message Date
Cracker
eb29e14bfb
Merge pull request #62 from cracker0dks/dependabot/npm_and_yarn/websocket-extensions-0.1.4
chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-08 12:18:02 +02:00
dependabot[bot]
f48596fcf6
chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 04:05:02 +00:00
raphael
daf759ea4a fix transparent background on saved images 2020-06-03 16:27:45 +02:00
raphael
f102739d49 add image faster (without canvas save+reload) if we have no rotation 2020-06-02 18:11:52 +02:00
raphael
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
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
522d1b72a7
feat(backend): sync whiteboard info for readonly and non-readonly whiteboards 2020-06-01 21:54:55 +02:00
Florent Chehab
b37c296542
fix(backend): don't console log config when running jest 2020-06-01 21:54:55 +02:00
Florent Chehab
3844d08bdd
refacto(backend): new backend WhiteboardInfoBackendService
* WhiteboardInfo set private inside this module
2020-06-01 21:54:54 +02:00
Florent Chehab
99e5bb0d98
fix(backend): readonly is readonly 2020-06-01 21:54:54 +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
14e1ee5391
feat(backend): main handling of readonly sharing
* Saving works as before
* Don't broadcast drawevents from readonly whiteboard (prevents malicious use)
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
0240171d0e
refacto(backend): real private read-only fields
* Just like in the backend thanks to node 12
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
raphael
0be0baf655 update readme 2020-05-22 21:31:04 +02:00
raphael
8a94293635 fix rotation also add rotation for bg layer images 2020-05-22 21:25:20 +02:00
raphael
e84189d9d8 fix rotation handler and drag offset 2020-05-22 18:04:17 +02:00
raphael
a45b6f919f fix/up deps 2020-05-22 17:37:57 +02:00
raphael
4ff618be8d Merge branch 'master' into rotation
# Conflicts:
#	package.json
2020-05-22 17:35:22 +02:00
raphael
a33973eeb6 add option to change the background image grid 2020-05-22 15:45:11 +02:00
raphael
4134c4130a add option to draw grid to image on download 2020-05-22 15:24:11 +02:00
raphael
22126840e9 fix uploading images to the whiteboard 2020-05-22 14:43:10 +02:00
raphael
76057fad77 remove debug console log 2020-05-20 14:29:14 +02:00
raphael
d804f56152 add option to download images in different formats 2020-05-20 14:24:33 +02:00
raphael
eef7c52c7e fix basicAlert bug 2020-05-13 18:14:59 +02:00
raphael
f49542adea fix text to png 2020-05-13 14:19:59 +02:00
raphael
1c664a810e fix canvas write text of multiple lines 2020-05-12 21:02:02 +02:00
Cracker
3e9c3184f7
Merge pull request #52 from FloChehab/feat/info_config
feat: config as file, UI tweaks and refacto

Thanks! Really create stuff! 🥳
2020-05-11 22:59:37 +02:00
Florent Chehab
00f7b10ac9
chore: added doc on new classes 2020-05-11 17:54:41 +02:00
Florent Chehab
203e35b3e4
feat(front): show smallest screen indicator based on config 2020-05-11 17:33:47 +02:00
Florent Chehab
2dfb1079a7
doc: updated README & created updating guide and node >= 12 2020-05-11 17:33:47 +02:00
Florent Chehab
f9804e750f
feat(config): cleaned & doc 2020-05-11 17:33:47 +02:00
Florent Chehab
dbc7e8c2f9
feat(config): show / hide info on load 2020-05-11 17:32:57 +02:00
Florent Chehab
ce16a9d999
refacto(frontend): clean ES2020 private field with getter 2020-05-11 17:32:56 +02:00
Florent Chehab
efaa4b795c
refacto(backend): regrouped config related handling 2020-05-11 17:32:56 +02:00
Florent Chehab
ca47c41c69
feat: throttling configuration 2020-05-11 17:32:56 +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
9fda0a2c4b
fix(back): prevent crash 2020-05-11 17:32:38 +02:00
Florent Chehab
52f52b62e4
feat(ci): run test 2020-05-11 17:32:37 +02:00
Florent Chehab
0b1d1943ec
feat(backend): new config handling based on file
* Config should be provided as Yaml file now
* Other way to provide configuration are now deprectaed
* The config format is checked agaist a schema with the json-schema standard
* Tests are are added to the project (in the backend for config parsing)
2020-05-11 17:32:37 +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
raphael
5b4eeb7a98 fix readme style 2020-05-09 18:24:09 +02:00
Cracker
4b42a7bb32
Update README.md 2020-05-09 18:19:16 +02:00