Commit Graph

1059 Commits

Author SHA1 Message Date
Ramón Souza
0d4e7e80bb reduce unnecessary renders in cursors 2023-02-13 16:41:33 -03:00
Ramón Souza
53a1b02d04 restore throttle in cursor updates 2023-02-13 15:05:49 -03:00
Ramón Souza
320d121254 change cursor when moving shapes 2023-02-10 15:30:24 -03:00
Ramón Souza
225874ad77 adjust whiteboard toolbar in dark mode 2023-02-10 10:37:29 -03:00
Ramón Souza
ee006508cc adjust whiteboard toolbar buttons 2023-02-10 10:05:34 -03:00
Ramón Souza
51781d7419
Merge pull request #16661 from ramonlsouza/issue-15965
fix(whiteboard): cursor in the wrong place if presenter is changed with multi-user whiteboard
2023-02-07 13:24:38 -03:00
Ramón Souza
87d6d0a6c4 clear cursor events when presenter changes 2023-02-07 09:52:24 -03:00
Ramón Souza
5a93e3649f restore missing whiteboard shortcuts 2023-02-06 10:37:34 -03:00
Ramón Souza
5b83c12ffe remove limit in query 2023-02-03 09:49:49 -03:00
Ramón Souza
f610bd472c fix resizing and copying shapes if limit is reached 2023-02-03 09:11:07 -03:00
Ramón Souza
25800ee92b limits the number of annotations per slide 2023-02-02 16:47:16 -03:00
Ramón Souza
4c4487c6fb
Merge pull request #16607 from KDSBrowne/bbb-16602
Add Dependency Array to UseEffect in Cursor Component
2023-02-01 17:26:26 -03:00
Ramón Souza
9ec11ccc31
Merge pull request #16601 from ramonlsouza/issue-16595
fix: Zoom + drag on whiteboard does not move full range
2023-02-01 14:10:56 -03:00
KDSBrowne
0a98abaf7e add key to cursor wrapper container 2023-02-01 01:10:44 +00:00
KDSBrowne
594c2064f7 add dependancy array to useEffect in cursor cmp 2023-01-31 13:32:35 +00:00
Ramón Souza
6a32e03b70 fix pan tool 2023-01-30 13:05:35 -03:00
germanocaumo
de0b71ab76 fix(whiteboard): update viewport variables after update
Tldraw fixed the width/height mismatch bug in the latest version: eef0472683
2023-01-30 15:05:30 +00:00
Anton Georgiev
fa7aa6b80f
Merge pull request #16582 from ramonlsouza/fix-group-removal
fix(whiteboard): improve invalid shape filter
2023-01-27 12:57:33 -05:00
Ramón Souza
ac00ea4422
Merge pull request #16584 from danielpetri1/issue-16544
fix(whiteboard): Prevent infinite zoom levels
2023-01-27 13:47:29 -03:00
Daniel Petri Rocha
6a11e295ba Prevent division by zero in zoom calculation 2023-01-27 16:49:32 +01:00
Ramón Souza
b022f00c3d
Merge pull request #16581 from Tainan404/fix-whiteboard-position
fix: Fix whiteboard positioning when switching slides with zoom
2023-01-27 11:33:39 -03:00
Ramón Souza
5f6430db2a
Update bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx 2023-01-27 11:33:16 -03:00
Ramón Souza
13f033aea2 fix remove orphan shapes 2023-01-27 10:29:59 -03:00
Tainan Felipe
b57b810585 Fix whiteboard positioning when switching slides with zoom 2023-01-27 10:05:08 -03:00
Anton Georgiev
013dab9a9b
Merge pull request #16569 from ramonlsouza/issue-16153
fix: Whiteboard component crash
2023-01-26 11:21:49 -05:00
Ramón Souza
775dfd05af
Merge pull request #16564 from ramonlsouza/issue-16389
fix(whiteboard): Incorrect pen position after column resize
2023-01-26 11:29:51 -03:00
Ramón Souza
500a70eaa9 add early return if pageState is unavailable 2023-01-26 10:11:31 -03:00
Ramón Souza
e9677a714b
Merge pull request #16539 from KDSBrowne/bbb-16530
fix: Update Tldraw Toolbar Placement
2023-01-26 08:37:58 -03:00
Ramón Souza
4124732b86 fix draw position after resize 2023-01-25 15:49:09 -03:00
Ramón Souza
41a2b65463
Merge pull request #16525 from antobinary/wb-fix-1
fix: check for shape before shape.isLocked
2023-01-24 15:53:31 -03:00
germanocaumo
44692f9b71 refactor(whiteboard): move shapelock to container + linting
Do the shape lock propery set in the container so the props change less times and avoid problems in the useMemo.
2023-01-24 18:32:49 +00:00
Ramón Souza
f0c4ed0178 fix removal of grouped shapes 2023-01-23 17:00:05 -03:00
KDSBrowne
985fe7cbe2 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-16530 2023-01-23 15:34:44 +00:00
KDSBrowne
503fadab22 fix whiteboard toolbar position starting at bottom 2023-01-23 15:30:59 +00:00
Ramón Souza
b6f43f0491 Merge remote-tracking branch 'upstream/v2.6.x-release' into pr-16423-jan20 2023-01-20 16:55:54 -03:00
Anton Georgiev
bd8ff6951a fix: check for shape before shape.isLocked 2023-01-20 19:18:58 +00:00
Ramón Souza
04761bc24c
Merge pull request #16477 from ramonlsouza/block-image-shapes
fix: Disable paste file in whiteboard
2023-01-20 14:27:55 -03:00
Ramón Souza
419e83ecd4
add video as an invalid shape type 2023-01-20 13:16:38 -03:00
Anton Georgiev
c59b237537
Merge pull request #16509 from germanocaumo/f-tldraw-es-fallback
fix(tldraw): fallback es-xx locales to es
2023-01-20 09:11:02 -05:00
Ramón Souza
dfb438922e
Merge pull request #16502 from JoVictorNunes/issue-16479
fix(whiteboard): complete draw session when clicking outside of viewport
2023-01-20 09:16:14 -03:00
Anton Georgiev
f3f26bf659 fix: check for slidePosition before using it 2023-01-19 20:56:20 +00:00
Joao Victor
247219fe9e fix(whiteboard): complete draw session when leaving the tab 2023-01-19 17:27:30 -03:00
germanocaumo
a859cb93dd fix(tldraw): fallback es-xx locales to es 2023-01-18 20:08:32 +00:00
Ramón Souza
371406d4ff
Merge pull request #16498 from KDSBrowne/bbb-wb-perf-imp
Remove useEffect Hook Without Dependency Array
2023-01-18 16:16:02 -03:00
Joao Victor
28e40b77d5 fix(whiteboard): complete draw session when clicking outside of viewport 2023-01-18 10:12:16 -03:00
Ramón Souza
b995f6a33d
Merge pull request #16475 from JoVictorNunes/issue-15964-1
feat(whiteboard): configurable text tool font family
2023-01-18 08:26:11 -03:00
KDSBrowne
56fad69924 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-wb-perf-imp 2023-01-18 00:23:19 +00:00
KDSBrowne
4712770f32 remove useEffect hook without dependency array 2023-01-18 00:22:50 +00:00
Ramón Souza
dd1c330c64 fix change slide with same content 2023-01-17 14:45:15 -03:00
Ramón Souza
0dea438881 prevent copy+paste of images in whiteboard 2023-01-16 11:35:39 -03:00
Joao Victor
44896106b9 feat(whiteboard): configurable text tool font family 2023-01-16 08:40:42 -03:00
germanocaumo
5c35aed44d fix(whiteboard): restore per character text shape updates 2023-01-14 20:37:43 +00:00
Ramón Souza
b8d5ce2bb8
Merge pull request #16451 from JoVictorNunes/issue-16130
fix(tldraw): show tool cursors
2023-01-13 15:59:59 -03:00
Joao Victor
97eed6eded Remove unused code 2023-01-13 15:58:21 -03:00
Ramón Souza
ae6d89c881 restore drag-to-select feature - whiteboard 2023-01-12 08:50:05 -03:00
Joao Victor
14d529ead9 fix(tldraw): show tool cursors 2023-01-11 16:32:03 -03:00
KDSBrowne
124076d560 remove all shapes first before group types 2023-01-09 19:40:47 +00:00
germanocaumo
b94d91d117 fix(whiteboard): group similar answers in the poll text 2023-01-05 16:40:03 +00:00
KDSBrowne
e633896a8a restore eraser animation 2022-12-30 20:09:49 +00:00
Joao Victor
2291477f3d feat(whiteboard): reset zoom when switching presentation 2022-12-16 16:00:02 -03:00
Ramón Souza
c142d0eb9f
Merge pull request #16124 from ramonlsouza/issue-16059
Disable paste file in whiteboard
2022-12-16 13:12:28 -03:00
Ramón Souza
064b554dfd Merge remote-tracking branch 'upstream/v2.5.x-release' into merge-2526-dec14 2022-12-14 13:23:11 -03:00
Ramón Souza
692ee112cc disable paste file in whiteboard 2022-12-13 13:11:56 -03:00
Joao Victor
18d38b16ad fix: presentation toolbar and presentation menu 2022-11-25 18:24:06 -03:00
Ramón Souza
0bae2a7a9e
Merge pull request #16055 from ramonlsouza/issue-16049
refactor: enforce max characters limit in chat input
2022-11-23 17:02:12 -03:00
Ramón Souza
31f20b08b5 add max characters limit to sticky notes 2022-11-23 14:03:20 -03:00
Joao Victor
08659c0f29 fix: just show presentation 3-dot menu and toolbar after Tldraw has been mounted 2022-11-23 12:05:57 -03:00
KDSBrowne
bca5cc9fbe fix toolbar not responding to wb width 2022-11-17 23:37:17 +00:00
KDSBrowne
85aadaa03c handle whiteboard crash when typing quickly 2022-11-16 15:01:12 +00:00
KDSBrowne
6ed2e47f1d preserve state of shape being edited during memo updates 2022-11-16 04:12:28 +00:00
Ramón Souza
892e34dcf4
Merge pull request #16000 from KDSBrowne/bbb-patch-sticky-notes
Restore Per Character Updates In Sticky Note
2022-11-15 10:18:39 -03:00
KDSBrowne
9839d50a72 restore per character updates in sticky notes 2022-11-14 22:33:11 +00:00
KDSBrowne
4a54cf4bd6 set default text alignment on mount 2022-11-13 18:15:17 +00:00
Ramón Souza
4508a1e567 fix issue with slides not changing after upload 2022-11-08 15:39:16 -03:00
KDSBrowne
2456edb434 update getSibling to return the correct panel element for calc | lint issues 2022-11-04 19:29:30 +00:00
Joao Victor
3e7478a73a fix(whiteboard): take notification bar and banner bar into account when calculating cursor offset 2022-11-03 14:33:15 -03:00
germanocaumo
fa44ee4259 fix(tldraw): don't lose undo/redo stack on resize/fullscreen 2022-11-01 10:46:17 +00:00
germanocaumo
38725cff7f fix(tldraw): update tldraw to latest version +
Small refactor in Cursor component, fix same key warning in console.
2022-10-31 17:07:03 +00:00
germanocaumo
1c6e862d54 fix(tldraw): text losing focus on mobile
Fixs unable to type text on mobile (the keybaord was immeditaly being closed when starting the annotation).
2022-10-31 16:47:45 +00:00
germanocaumo
5d4af2d9df fix(tldraw): change language via settings + fix
Correctly updates the current tldraw language when you change the bbb language in Settings.
Fix some languages not being detected in tldraw.
2022-10-31 16:42:38 +00:00
KDSBrowne
ae1688c9e7 handle rtl menu position 2022-10-27 17:16:44 +00:00
KDSBrowne
c42929be79 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-15888 2022-10-27 13:19:15 +00:00
KDSBrowne
6c4797e814 fix styles menu overlap on whiteboard toolbar 2022-10-27 13:15:09 +00:00
germanocaumo
226f079c07 fix(tldraw): don't patch state when no shapes were removed 2022-10-25 15:53:19 +00:00
germanocaumo
e4317cfc51 fix(tldraw): hidden shapes when moved to back was used
updated from #15862, also update bbb-playback to support the shapes drawn with the fix.
2022-10-24 20:30:26 +00:00
germanocaumo
835cf4f753 fix(whiteboard): diff shape update + shape permission +
Several improvements to tldraw whiteboard:
 - Only send the shape diff on shape updates (reduce a lot the message traffic)
 - Shape permissions (don't allow others to select/edit unless you are presenter/moderator)
  - This required some changes in akka model
 - Tldraw state patch changes to improve stability with fast updates (fix several crashes)
2022-10-21 14:05:31 +00:00
germanocaumo
0e4f88d4b6 fix(tldraw): zoom inconsistency on some cases
Fix some unwanted zooms
2022-10-19 15:13:08 +00:00
germanocaumo
fdd09c578f fix(whiteboard): don't render out of slide cursors
Don't draw cursors with disabled position (-1,-1)
2022-10-19 15:09:13 +00:00
germanocaumo
8f41ab31da fix(tldraw): persist bound shapes (arrows) + fix sending unneeded changes 2022-10-05 20:43:48 +00:00
germanocaumo
2fa76d60c4 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-shape-updates 2022-10-05 19:56:54 +00:00
Ramón Souza
a15cf73721
Merge pull request #15763 from germanocaumo/tldraw-zoom-fixes
fix(whiteboard): several zoom fixes
2022-09-30 17:18:45 -03:00
germanocaumo
e1ee782294 fix(whiteboard): several zoom fixes
Sometimes when whiteboard props change (mainly resizes), the tldraw component gets
mounted again, resetting its camera, and was causing zoom to be applied incorrectly.
I've added a useEffect to better react to when the camera resets and reset to the corret zoom.
2022-09-30 14:35:29 +00:00
germanocaumo
fea31e366c refactor: code smell 2022-09-22 10:06:23 +00:00
germanocaumo
01a1cf83d7 fix(cursor): correctly hide cursor for others on mouse leave
Also update out of bounds coords to -1.0 to not display on playback.
2022-09-21 20:49:07 +00:00
germanocaumo
ae7eb92c86 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-disable-select 2022-09-21 18:10:05 +00:00
Bohdan Zhemelinskyi
811d135585 handle missing cursor property case 2022-09-14 19:42:15 +00:00
Ramón Souza
7d7f26ea55
Merge pull request #15624 from KDSBrowne/bbb-text-updates
fix: Restore Text Shape Updates Per Character
2022-09-14 13:06:10 -03:00
Joao Victor
36864a8880 fix(whiteboard toolbar): reduce offset from the bottom 2022-09-07 11:34:54 -03:00
germanocaumo
1db9fdacb1 fix(tldraw): disable selecting shapes on certain cases
- For presenter/multiuser Don't allow selecting the background shape (could be done with right click on empty area)
- For viewers: don't allow selecting anything (also hides the selection brush)
2022-09-02 20:59:03 +00:00
germanocaumo
87544a8b38 fix(tldraw): correctly sync draw shape updates +
Refactor how shape updates are parsed from tldraw, instead of doing it manually in each action,
uses the tldraw provided list of what changed available in the "onChangePage" callback, simplifying a lot of our code.
2022-09-02 19:26:26 +00:00
Arthurk12
d2b2acbf2d fix(whiteboard): re-adds right click to cancel
Re-adds cancelling text annotation on right click. To achieve this,
some mechanisms that were previously used to handle live synced annotations
were rescued. So this partially reverts 40b18b0.
2022-09-01 12:40:14 +00:00
Arthurk12
480925517c fix(whiteboard): text annotations stuck as fake
Cleans up and modifies the added annotation handler to suit only for text
annotation. As soon as the DRAW_END message is sent, the local fake
annotations are removed and replaced by the complete/not fake annotation.
2022-09-01 12:40:10 +00:00
KDSBrowne
3277286525 persist patched text changes 2022-08-31 19:01:53 +00:00
Joao Victor
aefc5c6c6a Merge branch 'v2.6.x-release' into issue-15536 2022-08-31 10:47:58 -03:00
Arthurk12
070aa3425f Revert "fix: don't clear text fake annotations"
This reverts commit 74c4c1c4cc.
Reverting this commit because it causes fake annotations from the text
tool not to be removed. Since the text tool is the only one that
generates fake annotations(because it is the only one that is live
synced), the function to clear fake annotations is directly intended to
clear them.
2022-08-30 20:08:26 +00:00
Ramón Souza
470f491352
Merge pull request #15583 from germanocaumo/tldraw-viewbox-sync
fix(tldraw): sync viewed area between presenter/viewers +
2022-08-30 17:00:14 -03:00
Ramón Souza
e7107f87a7
Merge pull request #15598 from ramonlsouza/merge-2526-aug25
chore: Merge v2.5.5 into v2.6
2022-08-29 15:58:53 -03:00
germanocaumo
105ed256c3 fix: tldraw not changing pages correctly 2022-08-29 12:27:17 +00:00
Ramón Souza
62f8ab3cb2 Merge remote-tracking branch 'upstream/v2.6.x-release' into pr-15460-aug26 2022-08-26 14:05:45 -03:00
Ramón Souza
609d43157a Merge tag 'v2.5.5' into merge-2526-aug25 2022-08-25 14:33:44 -03:00
KDSBrowne
45b3166863 Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-24 11:55:38 +00:00
KDSBrowne
c758664651 remove toolbar from non presenter cursor calculation 2022-08-24 11:55:31 +00:00
germanocaumo
61cb5b8ef4 fix(tldraw): fit to width / presenter / slide changing 2022-08-23 18:19:17 +00:00
KDSBrowne
9f7b45b172 hide eraser animation on mobile 2022-08-23 12:08:31 +00:00
KDSBrowne
ab4cb469fb Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 19:07:23 +00:00
KDSBrowne
9df18af50f update presentation offset for cursor (mobile) 2022-08-22 19:05:02 +00:00
germanocaumo
0e7c27968e Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 18:11:40 +00:00
KDSBrowne
eb7c3dcbc8 update pan tool button after zoom changes 2022-08-22 16:55:44 +00:00
João Victor Nunes
aba9d86904
Merge branch 'v2.6.x-release' into issue-15276 2022-08-22 13:05:25 -03:00
germanocaumo
c948f39392 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync 2022-08-22 15:47:51 +00:00
germanocaumo
f209fd17c1 Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 15:43:04 +00:00
KDSBrowne
1de4b3f644 update cursor position handling | temp hide eraser animation 2022-08-22 14:37:34 +00:00
Ramón Souza
9303c598c1
Merge pull request #15532 from KDSBrowne/bbb-responsive-wb-toolbar
fix: Make Whiteboard Toolbar Responsive to Smaller Sizes
2022-08-22 11:33:46 -03:00
KDSBrowne
9c018ee6db restore large toolbar size when view enlarged 2022-08-21 21:38:54 +00:00
germanocaumo
7bf8668f23 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync 2022-08-18 18:41:27 +00:00
germanocaumo
99549d880f fix(tldraw): fit-to-width / presenter change view area sync
- Correctly sync the viewed area when in fit-to-width mode and when the presenter reloades the page or the presenter changes to another user.
2022-08-18 18:18:02 +00:00
Ramón Souza
81b15ae329
Merge pull request #15518 from JoVictorNunes/issue-15291
fix: incorrect calculation of number of users in multi user whiteboard
2022-08-18 10:52:34 -03:00
germanocaumo
d4b8bdce7e fix(tldraw): sync viewed area between presenter/viewers +
- Return to the ResizeAndMoveSlide event to do pan&zoom, respecting the viewed width and height ratio
- Defaults zoom in toolbar to 100% like before to be more consistent
- Fit to width and Reset Zoom is back (fit tho width still has some sync problems)
- Fix to not change to first page when presenter reloads page
2022-08-16 12:12:43 +00:00
KDSBrowne
12a324631f update cursor type when pan enabled 2022-08-15 13:02:56 +00:00
KDSBrowne
26f3e5dc3f add pan button to presentation toolbar 2022-08-14 22:49:39 +00:00
KDSBrowne
df0fc0da15 make whiteboard toolbar responsive to small screens 2022-08-12 19:08:26 +00:00
Joao Victor
8e9ca4b2c8 fix: incorrect calculation of number of users in multi user whiteboard 2022-08-11 15:44:16 -03:00
Joao Victor
60857a0056 fix(tldraw): hide context menu for users who don't have access to whiteboard 2022-08-11 13:38:17 -03:00
KDSBrowne
3ebfdef9bd use api toolbar general position | sync current locale 2022-08-08 22:47:51 +00:00
Joao Victor
74c4c1c4cc fix: don't clear text fake annotations 2022-08-08 17:07:41 -03:00
KDSBrowne
48cc57dbaf move variable definition 2022-08-03 14:30:22 +00:00
KDSBrowne
b66e44a4cb Upgrade tldraw to latest version 2022-08-03 14:19:12 +00:00
Gabriel Porfirio
8198953f30 removing unused imports 2022-07-28 16:50:31 -03:00
KDSBrowne
a485f372f6 fix console error 2022-07-27 18:46:44 +00:00
KDSBrowne
9234dee077 fix viewer wb crash switching to rtl 2022-07-20 19:54:23 +00:00
KDSBrowne
db41932fe7 update render wb condition | add operator 2022-07-20 19:20:46 +00:00
KDSBrowne
21f2a441ee update editable whiteboard component key 2022-07-20 19:03:26 +00:00
KDSBrowne
9d8ce2215d remove key prop 2022-07-20 18:51:50 +00:00
KDSBrowne
fb63975a7e fix viewer WB crash when resizing 2022-07-20 18:50:13 +00:00
KDSBrowne
100bfcfb86 update fullscreen element check 2022-07-19 10:51:59 +00:00
KDSBrowne
ed55d58b01 handle cursor positions for video focus 2022-07-19 03:37:47 +00:00
KDSBrowne
47303757de handle cursor position for fullscreen presentation 2022-07-19 01:23:10 +00:00
Ramon Souza
db5ac1428a Merge tag 'v2.5.3' into merge25-26-jul14 2022-07-15 11:08:02 -03:00
Anton Georgiev
1393e4a7de
Merge pull request #15352 from germanocaumo/tldraw-z-f
fix(tldraw): initial/viewer zoom fixes + presToolbar height
2022-07-13 09:42:36 -04:00
Anton Georgiev
70c084bfdb
Merge pull request #15300 from JoVictorNunes/fix-focus-loss-Jun-30
fix: disable Tldraw autofocus
2022-07-13 09:39:06 -04:00
Anton Georgiev
20762cfac6
Merge pull request #15310 from germanocaumo/tldraw-production-fix
fix(tldraw): fix shapes not persisting in production +
2022-07-13 09:36:44 -04:00
germanocaumo
217fd6c06e fix(tldraw): wrong initial/viewer zoom
Fixes a case when the presentation is just uploaded and a wrong initial zoom was set.
Also fix viewer zoom not correclty adjusting to the area size when zoomed out.
2022-07-08 15:06:00 +00:00
Ramón Souza
1b03b1fd50
Merge pull request #15301 from KDSBrowne/z-26-rtl-cursor
Fix RTL Cursor Position on Whiteboard
2022-07-06 21:40:19 +01:00
KDSBrowne
046518abe5 handle cursor positions for smart layout 2022-07-06 20:03:04 +00:00
KDSBrowne
42acca2124 handle cursor position for all custom layout orientations 2022-07-06 17:17:05 +00:00
KDSBrowne
b075cf822b fix delay minimizing presentation | display default cursor for no MUA 2022-07-05 20:16:55 +00:00
germanocaumo
8cacd96a0c fix(tldraw): fix shapes not persisting in production +
Tldraw uses the constructor name for session complete names:
80ed0bf27b/packages/tldraw/src/state/TldrawApp.ts (L2916)
So in production they are changed because of js minifier.

I changed the onCommand reactor to be one generic for all session:complete actions.
Also fixed some crashes with grouping and ungrouping shapes, in those cases the order of adding/removing is important because children have a reference to the father (grouping shape).
2022-07-02 14:16:45 +00:00
Joao Victor
66d3d2c13b fix: clear fake annotations on multi-user whiteboard off 2022-07-01 14:31:14 -03:00
KDSBrowne
438afa7db1 fix RTL cursor position 2022-06-30 16:48:42 +00:00
Joao Victor
ddcaa9590f fix: disable Tldraw autofocus 2022-06-30 13:23:35 -03:00
germanocaumo
c2db91b5f9 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-recording 2022-06-30 14:31:08 +00:00
Ramón Souza
1181b54a55
Merge pull request #15279 from KDSBrowne/2.6-mobile-cursor-fix
Fix Cursor Not Updating For Mobile
2022-06-30 14:10:11 +01:00
KDSBrowne
bf62362162 only render cursor label when mutiuser enabled 2022-06-29 20:27:14 +00:00
KDSBrowne
c702cc34a4 remove cursors from wb when multiuser is disabled 2022-06-28 20:13:05 +00:00
KDSBrowne
33e19124c1 disable shape selection for users without multiuser access 2022-06-28 19:16:35 +00:00
KDSBrowne
ee6a3dcc62 fix cursor not updating on mobile 2022-06-28 14:25:43 +00:00
KDSBrowne
2d7ef92581 disable hover highlight for background slide image 2022-06-28 14:15:20 +00:00
germanocaumo
853d0dfd9b fix(whiteboard): tldraw recording processing/publishing
Changed the names of tldraw record events to differentiate from before.
Publish tldraw.json file with all shape information during the meeting to be used in playback.
Adapted cursor.xml and panzoom.xml to store tldraw data.
Publish slides svgs to be used by playback's tldraw component (otherwise we have different image sizes in pngs and thus messing the coordinates).
Retro-compatible with old recordings.
2022-06-23 17:04:09 +00:00
Ramón Souza
97f6857fd3
Merge pull request #15189 from KDSBrowne/2.6-disable-fd
fix: Disable File Drop on Whiteboard
2022-06-20 13:19:34 +01:00
Ramón Souza
d3fc924f10
Merge pull request #15137 from KDSBrowne/2.6-toolbar-zoom-val
Display Correct Zoom Value on Presentation Restore
2022-06-20 13:11:25 +01:00
KDSBrowne
4f9f9c11d3 fix viewer zoom reset when presenter remounts presentation 2022-06-17 00:35:27 +00:00
Ramon Souza
edeb70de0d Merge tag 'v2.5.1' into merge25-26-jun16 2022-06-16 13:58:54 -03:00
KDSBrowne
8dac344f43 replace zoom minBound with zoomed state 2022-06-15 19:46:06 +00:00
KDSBrowne
5828ed2149 add comment 2022-06-15 17:55:14 +00:00
KDSBrowne
6546b32585 disable dropping of assets on whiteboard 2022-06-15 17:43:58 +00:00
KDSBrowne
6d4d11a34d fix cursors lock for viewers 2022-06-02 15:00:28 +00:00
germanocaumo
08b3659b68 fix(whiteboard): missing import 2022-06-01 13:47:28 +00:00
germanocaumo
07a3a915c0 feat(whiteboard): poll result, zoom fit slide +
- Poll result as text shape in the lower right-hand
- Include all tldraw shape bounds as size in akka (to help Daniel rendering in pdf export)
- Default/initital zoom will be centered in the slide and maximize the size according to the presentation area
- Also limited the max zoom out to be the one that fits the slide, to be similar as we had before
2022-05-31 19:40:31 +00:00
KDSBrowne
f683740a2e allow pan when multiuser enabled 2022-05-30 14:51:08 +00:00
KDSBrowne
f58882ffcc stop rendering curors when they leave the WB area 2022-05-29 16:24:44 +00:00
KDSBrowne
d404bd3e0f disable pan when multiuser access is off 2022-05-29 15:14:39 +00:00
KDSBrowne
626259bf33 move multi user WB button to presentation toolbar (100% width) | reduce zoom increment 2022-05-25 23:25:53 +00:00
germanocaumo
0bfda4bc53 fix persist of other tldraw shape operations (including groups and copy/paste) +
fix shape not persisting when other user than the owner changed it
2022-05-20 17:14:32 +00:00
germanocaumo
dc56b969ed fix viewer crash when there is no presentation + some cleanup 2022-05-20 12:12:58 +00:00
germanocaumo
3a156ace07 fix camera zoom bugs and mantain zoom when switching slides 2022-05-19 17:24:47 +00:00
KDSBrowne
73c58a6750 show undo | redo UI + preserve zoom state on reload 2022-05-19 02:32:32 +00:00
germanocaumo
386eb595ee redo working locally 2022-05-19 00:52:45 +00:00
germanocaumo
19d4caec99 refactor tldraw doc state to not crash on fast updates +
change slide going  and controlled by akka messages
undo is working locally
2022-05-18 19:35:42 +00:00
KDSBrowne
e9208cad16 remove hard coded slide dimensions 2022-05-17 12:19:10 +00:00
KDSBrowne
39dd622cab handle move_to_page event 2022-05-16 19:29:21 +00:00
KDSBrowne
c20e54b95d prevent clients crashing when presenter reloads 2022-05-16 19:04:40 +00:00
Joao Victor
7ff6f8750d [2.5] fix(whiteboard): border-radius of toolbar buttons #15009 2022-05-16 10:20:16 -03:00
KDSBrowne
920d1def89 restore presentation toolbar 2022-05-16 02:35:17 +00:00
KDSBrowne
4478f9d389 add const to annotations variable 2022-05-13 15:41:10 +00:00
KDSBrowne
6cd5006999 add client logger to try / catch 2022-05-13 15:15:44 +00:00
KDSBrowne
fada3284ab fix reported bugs 2022-05-13 14:51:41 +00:00
germanocaumo
45febec644 panAndZoom through akka + some cleanup 2022-05-13 02:47:41 +00:00
KDSBrowne
9961cef474 reposition tldraw toolbar 2022-05-13 02:47:40 +00:00
germanocaumo
cee766d1b6 cursor updates through akka 2022-05-13 02:47:40 +00:00
germanocaumo
234b2869e5 WIP: tldraw in akka-model & starting cleanup 2022-05-13 02:47:39 +00:00
KDSBrowne
3ee7297d79 add isLocked to background images 2022-05-13 02:43:41 +00:00
KDSBrowne
36b1fccbca handle sending shapes in onCommand instead of onPersist 2022-05-13 02:43:40 +00:00
KDSBrowne
10c8d3759d hack adding pres slide images and page switching 2022-05-13 02:43:40 +00:00
KDSBrowne
00c66cc26e clean up cursor component 2022-05-13 02:21:36 +00:00
KDSBrowne
39e76da995 fix moving linked shape bug | embed cursors with relative position 2022-05-13 02:21:36 +00:00
KDSBrowne
86e7dd52f6 fix shapes overwriting each other 2022-05-13 02:21:36 +00:00
KDSBrowne
5cb29535f7 embed Tldraw into BBB client 2022-05-13 02:21:35 +00:00
Lucas
2db9a1b343
Merge branch 'develop' into develop-bbb 2022-04-26 15:08:43 -03:00
Ramon Souza
76272d8a51 Merge remote-tracking branch 'upstream/v2.5.x-release' into 25-dev-apr19 2022-04-19 11:34:29 -03:00
Joao Victor
62d56eeb00 fix: whiteboard toolbar border-radius 2022-04-19 10:28:02 -03:00
Anton Georgiev
c00b8f5fd9
Merge pull request #14829 from ramonlsouza/issue-6244
feat: Confirm dialog on clear all annotations
2022-04-14 14:55:27 -04:00
Ramon Souza
5b52665cd2 add confirmation modal to clear all annotations whiteboard action 2022-04-14 10:54:53 -03:00
Lucas Zawacki
83847a21aa Merge branch 'v2.5.x-release-Layouts' of github.com:lfzawacki/bigbluebutton into develop-bbb 2022-04-13 21:08:32 +00:00
Anton Georgiev
8ab4023eb5
Merge pull request #14783 from frankemax/bbb-darkmode-25
feat(theme): add dark mode
2022-04-12 10:35:31 -04:00
Max Franke
6b05e431dd feat(theme): add dark mode theme 2022-04-08 16:05:29 -03:00
Joao Victor
9b6c43fa2b Use forEach instead of map 2022-04-07 14:06:51 -03:00
Arthurk12
420bd8b526 refactor(whiteboard): text tool updates
Makes the whiteboard text tool send annotation updates.
Partially reverts 40b18b0662.
2022-03-29 11:46:47 -03:00
Lucas Zawacki
830c44702f feature(layout): Only use one place to store presentationIsOpen 2022-02-24 15:30:53 -03:00
Ramón Souza
246e3b3e8f move button component to common folder 2022-02-14 20:20:50 +00:00
Ramón Souza
dba04834c7 Merge remote-tracking branch 'upstream/v2.4.x-release' into 2524-feb08 2022-02-09 15:52:42 +00:00
Ramón Souza
115ba187b5 remove unused imports/variables 2022-01-24 13:12:37 +00:00
Anton
7f075be033 fix all test selectors 2022-01-20 10:03:18 -03:00
Anton Georgiev
797fc49633 TEMP 2021-12-09 20:37:05 +00:00
Ramón Souza
1f42751c23 keep original order of poll answers in whiteboard annotation 2021-12-09 14:20:34 +00:00
hiroshisuga
7b92a61cec
Fix typo: "Unset" -> "Unsent" UnsentAnnotations (#13684) 2021-12-02 09:37:31 -05:00
Ramón Souza
cb04e0b74c whiteboard toolbar component isPresenter rework 2021-11-23 14:51:41 +00:00
Ramón Souza
4415598243 remove duplicated isPresenter in whiteboard annotations text component 2021-11-23 12:50:26 +00:00
hiroshisuga
a8e1462744
fix: Fix wrong annotation codes (#13674)
Fix wrong annotation codes #13674
2021-11-22 10:43:02 -05:00
hiroshisuga
d11ac50112
Update component.jsx 2021-11-20 17:48:41 +09:00
hiroshisuga
4e201fa773
No flickering anymore 2021-11-20 17:35:41 +09:00
Anton Georgiev
542db847ff
Merge pull request #13574 from Tainan404/smooth-reconnection-25
Improve data structure to not break on reconnections
2021-11-17 15:55:21 -05:00
Ramón Souza
34923cc6a0 remove whiteboard toolbar styles 2021-11-11 11:34:45 +00:00
Joao Victor
5e82448be3 fixes the publication for user response polls 2021-11-05 11:11:55 -03:00
Tainan Felipe
f5eef03f3f Improve data structure to not break on reconnections 2021-11-03 14:37:54 -03:00
Anton Georgiev
a654f44011
Merge pull request #13623 from ramonlsouza/styled-components-7
refactor: styled-components conversion - partial
2021-11-03 08:44:04 -04:00
Ramón Souza
1c084c6b8f convert whiteboard-toolbar component 2021-11-02 20:05:49 +00:00
Anton Georgiev
13aba985cb
Merge pull request #10737 from hiroshisuga/fillshape
feat: Fill shape in whiteboard
2021-11-02 15:03:22 -04:00
Ramón Souza
e7b282a127 convert toolbar-submenu component 2021-11-02 17:43:42 +00:00
Ramón Souza
d926c40e64 convert toolbar-submenu-item component 2021-11-02 17:27:25 +00:00
Ramón Souza
f5e0a97c3d convert toolbar-menu-item component 2021-11-02 17:11:41 +00:00
Ramón Souza
f6f47bf25a convert whiteboard annotations component 2021-11-02 16:35:54 +00:00
Anton Georgiev
c60ef3c179
Merge pull request #13253 from ramonlsouza/PR-11359
feat: multiple choice poll
2021-10-26 14:42:29 -04:00
Anton Georgiev
1622425cbc Merge branch 'develop' of github.com:bigbluebutton/bigbluebutton into 2.4-into-develop 2021-10-22 19:12:58 +00:00
Ramón Souza
1cc066366f Merge remote-tracking branch 'upstream/develop' into PR-11359 2021-10-19 16:41:36 +00:00
Ramón Souza
9e71583ec7 restore old minimize presentation button and add a flag to switch 2021-10-14 19:31:47 +00:00
Anton Georgiev
24d672a832 Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24-dev 2021-10-14 15:13:17 +00:00
Tainan Felipe
1de8e0779d Add server side reactivity to publications 2021-10-13 15:00:52 -03:00
hiroshisuga
7ce8e6859a Fix toolbar item vanish 2021-10-04 18:10:19 +00:00
hiroshisuga
0ee8700bfc
Fix toolbar item vanish 2021-10-03 10:25:30 +09:00
Lucas Fialho Zawacki
d7f3924350 Enable swap layout for screenshare and external video 2021-09-27 21:03:20 +00:00
Ramon Souza
a8541eda6e remove linting 2021-09-17 10:38:10 -03:00
Ramon Souza
0ca1b7896e Merge remote-tracking branch 'upstream/develop' into PR-11359 2021-09-17 09:12:43 -03:00
KDSBrowne
aa3601f5fa add aria region & label to whiteboard toolbar 2021-09-13 14:03:40 +00:00
KDSBrowne
a87a0c8867 add aria-expanded to whiteboard toolbar submenu btns 2021-09-13 13:40:22 +00:00
hiroshisuga
75a14932ef fix bug when a coordinate is zero 2021-06-22 13:23:02 +00:00
germanocaumo
e252012bd5 fix(poll): missed test for polls with > 5 default answers 2021-06-16 23:16:28 +00:00
hiroshisuga
077941db99
update for palm rejection PR 2021-06-13 22:25:39 +09:00
germanocaumo
7bedcb08e5 fix(poll): don't translate user/presenter typed answers
When the answer is not default (Custom or UserResponse), don't translate the answers.
2021-06-11 16:55:53 +00:00
Ramon Souza
7c2a1384e2 remove useless conditional in whiteboard toolbar 2021-05-19 09:07:14 -03:00
hiroshisuga
e0a78ffbac
Merge branch 'develop' into fillshape 2021-05-14 20:57:16 +09:00
Ramon Souza
7a28119bc9 adjust poll annotations 2021-05-06 15:38:01 -03:00
Ramon Souza
5a771b8281 fix toolbar crash 2021-05-05 15:59:16 -03:00
Anton Georgiev
403329c324
Merge pull request #12224 from ramonlsouza/fix-poll-reduced-results
fix: number of votes displayed in poll results annotation
2021-05-04 10:41:52 -04:00
hiroshisuga
35443a2e29
chore: Typo in palm detection (#12236)
* Typo fix
2021-05-02 08:47:48 -04:00
Michael Zinsmeister
5ca831ff86 Merged upstream develop branch 2021-05-01 16:59:20 +02:00
Ramon Souza
7af5b0cea0 fix number of votes in poll results annotation 2021-04-30 13:40:46 -03:00
Ramon Souza
2e82bb2f64 resize whiteboard poll results 2021-04-23 11:24:01 -03:00
Anton Georgiev
651d09cbd0
Merge pull request #11224 from sapsDev/palm-rejection-develop-v2.3
Fix unintetionally drawing while using an active pencil
2021-04-15 13:34:01 -04:00
Ramon Souza
e7366485aa removing unused imports 2021-04-13 08:43:08 -03:00
Pedro Beschorner Marin
4170b9d1ac fix: whiteboard access for multiple presentations
Whiteboard service wasn't considering the current presentation id when
fetching for the current whiteboard id. Calls were always returning
the id of the first slide available. This was effecting the state of the
whiteboard access feedback at the users' list.
2021-04-12 11:06:43 -03:00
KDSBrowne
3d6c8fc194 fix text-area's not opening iOS virtual keyboard 2021-04-08 02:51:49 +00:00
Ramon Souza
98bc3e1cff remove edge specific code in whiteboard toolbar 2021-04-07 16:56:51 -03:00
Ramon Souza
fe53d4a1d8 do not show real font-size in tool button 2021-04-07 13:15:31 -03:00
Anton Georgiev
2dfb9d6fa7
Merge branch 'develop' into multiple-choice-poll 2021-04-01 12:38:44 -04:00
Ramon Souza
05a0d5afbf move browser info to helper + remove unused libs 2021-04-01 08:14:24 -03:00
Anton Georgiev
c9d2a17a4f
Merge branch 'develop' into multiple-choice-poll 2021-03-30 13:23:48 -04:00
Anton Georgiev
85a84f7cbf
Revert "Change browser detection library from browser-detect to bowser" 2021-03-30 13:16:10 -04:00
Anton Georgiev
cf6491adc8
Merge branch 'develop' into multiple-choice-poll 2021-03-30 12:49:35 -04:00
Anton Georgiev
027658ac5c
Merge pull request #11806 from ramonlsouza/mobile-detect
Change browser detection library from browser-detect to bowser
2021-03-30 12:28:13 -04:00
Ramon Souza
3fa193005b change browser detection lib to bowser 2021-03-30 09:53:47 -03:00
Mohamed Amine Ben Salah
cd985a02c2
Add additional user whiteboard access test spec (#11799)
* WIP adding whiteboard special user access test spec

* Adds additional user whiteboard access test spec to whiteboard.obj.js
2021-03-30 06:49:07 -04:00
Anton Georgiev
aae72c0547
Merge branch 'develop' into multiple-choice-poll 2021-03-29 11:54:44 -04:00
Anton Georgiev
7d9abe77a0
Merge pull request #11127 from FarzadKarkhani/patch-2
Fix for poll result in RTL languages
2021-03-26 16:35:33 -04:00
Ramon Souza
84f5ef9133 check+retry sending annotations if userid is not available 2021-03-25 09:47:57 -03:00
Michael Zinsmeister
5fb33d5224 merge upstream develop branch into current 2021-03-23 18:01:11 +01:00
Anton Georgiev
fe58a11249
Merge pull request #11718 from MaximKhlobystov/typed-poll-case-insensitive
Case insensitive typed poll responses grouping
2021-03-23 10:58:15 -04:00
Simon Hirtreiter
07b8946b39 Merge commit develop into multiple-choice-poll 2021-03-23 09:38:45 +01:00
Maxim Khlobystov
5adb3429eb Make typed poll responses grouping case insensitive 2021-03-23 06:30:37 +00:00
Jonathan S
fc367b7641 Mouse input isn't affected by palm rejection. 2021-03-19 12:35:30 +00:00
Jonathan S
87a9386f93 Delete text pointer listener. Textfields aren't affected by palm rejection. 2021-03-19 12:35:30 +00:00
Jonathan S
b5a014eea7 Add icon to new button. 2021-03-19 12:35:30 +00:00
Jonathan Schilling
7313916940 Add browser sniffing.
If a browser version can not handle the pointer events, it becomes detected and that browser uses the mouse event etc.
For these browser is no palm rejection provided. All other browser use the pointer events.
2021-03-19 12:35:29 +00:00
Jonathan Schilling
fc1b09b5ca Palm rejection menu button only appears if the browser supports pointer events. 2021-03-19 12:35:29 +00:00
Jonathan Schilling
a9e971cd60 Add palm rejection mode to pointer event handler. 2021-03-19 12:35:29 +00:00
Jonathan Schilling
a19451a2c4 Create pointer event handler for pencil, shape and text. 2021-03-19 12:35:29 +00:00
Jonathan Schilling
52637c59e0 Prepare whiteboard toolbar for palm rejection:
* add button to the toolbar to switch palm rejection mode
  * add a message for that new button to the locales/en
  * add boolean palmRejection to state of the toolbar
  * save that boolean also to the session storage, so it is ready to use it in the input handler
2021-03-19 12:35:28 +00:00
Pedro Beschorner Marin
92d3300d81 Handle multi-user whiteboard for solo presenter
Adjusts the user interface to keep coherence when activating the multi-user
whiteboard while there is only the presenter in the meeting.
2021-03-18 14:53:11 -03:00
Anton Georgiev
b1bbc3fd52
Merge branch 'develop' into multiple-choice-poll 2021-03-17 16:11:49 -04:00
Pedro Beschorner Marin
d90ba5e286 Merge branch '2.3-per-user-wb' into develop 2021-03-16 20:28:39 -03:00
Pedro Beschorner Marin
381c5cb15c Isolated whiteboard access
Modified the previous implementation of the whiteboard individual access to remove
multiple Collections dependency on this feature. Multi-user whiteboard is now an
array instead of a boolean value and most of the access control can be synchronized
and handled by akka-apps.
2021-03-16 19:55:25 -03:00
Michael Z
4d3bda1306
Merge branch 'develop' into multiple-choice-poll 2021-03-16 18:38:48 +01:00
hiroshisuga
cabddc6ddf
Change the color of color-picker icon even when the text tool is selected (#11642) 2021-03-15 14:19:52 -04:00
Michael Zinsmeister
214b236701 Merge with upstream 2021-03-07 15:12:49 +01:00
KDSBrowne
d2c36c1c94 update handleClick condition (fix text-area for FireFox) 2021-02-24 02:05:23 +00:00
KDSBrowne
babaf1b578 Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into 2.3-per-user-wb 2021-02-21 00:04:36 +00:00
KDSBrowne
2f094f7048 skip publishing poll annotation to whiteboard if presentation swapped 2021-02-17 14:15:20 +00:00
Michael Zinsmeister
6ad4828955 Merge remote-tracking branch 'upstream/develop' into multiple-choice-poll 2021-02-11 10:12:34 +01:00
Ramon Souza
672bd3f318 Merge branch 'PR-10217' into develop 2021-02-10 17:55:32 -03:00
Ramon Souza
3652562b63 resolve conflict 2021-02-10 17:35:55 -03:00
Michael Zinsmeister
eaa6f0260c Fix poll results and add locale entries 2021-02-08 10:57:39 +01:00
Anton Georgiev
09e6ba8dfd Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into merge-Jan30 2021-01-29 20:58:05 +00:00
Anton Georgiev
b2c702417c
Merge pull request #11216 from werk21/9101_add_poll_abstention
9101 add poll abstention
2021-01-27 11:57:15 -05:00
KDSBrowne
47e2f12b74 prevent open textarea blocking dropdown menus 2021-01-26 17:13:18 -05:00
Tainan Felipe
3aa8e115b5
Merge branch 'develop' into unsafe-whiteboard-components 2021-01-25 17:36:12 -03:00
werk21
80af96ff76 9101: Survey: New profile yes/no/abstention 2021-01-24 02:22:40 +01:00
KDSBrowne
a76b740ffe prevent open textarea blocking dropdown menus 2021-01-22 21:42:45 +00:00
Joao Siebel
fa0fd8a054 Add configurable process interval for cursor and annotations 2021-01-20 11:36:40 -03:00
Fazrad Karkhani
bdc3973538
Fix for poll result in RTL languages 2021-01-09 00:37:49 -08:00
hiroshisuga
06ef73b48a
fill property not always required 2020-12-24 21:06:45 +09:00
hiroshisuga
2f29d303f1
Bug fixed 2020-12-24 12:38:10 +09:00
Anton Georgiev
f34826718d include instanceId in resources url 2020-11-30 16:09:35 +00:00
KDSBrowne
bd4a3d2500 fix console errors in safari 2020-11-09 22:40:25 +00:00
KDSBrowne
76dc9034ee Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into 2.3-per-user-wb 2020-11-02 16:36:59 +00:00
hiroshisuga
0203d73061
Update component.jsx 2020-10-28 15:17:47 +09:00
hiroshisuga
70f398b0af
Update component.jsx 2020-10-28 15:09:23 +09:00
hiroshisuga
9efdb6777e
Update component.jsx 2020-10-28 14:57:45 +09:00
hiroshisuga
efa94b222e
Update component.jsx 2020-10-28 14:40:54 +09:00
hiroshisuga
677b26eb73
Update component.jsx 2020-10-28 14:39:33 +09:00
hiroshisuga
f5ac8470bb
Update component.jsx 2020-10-28 14:38:44 +09:00
hiroshisuga
dcf50d4e47
Update component.jsx 2020-10-28 14:37:49 +09:00
Mohamed Amine Ben Salah
bf45dbc7f9 adds visual regressions test with snapshots ready to use 2020-10-27 12:54:55 -03:00
Anton Georgiev
e18d94dd23 resolve media/component issues after 2.2.28 merge 2020-10-21 14:50:06 +00:00
Anton Georgiev
0c7ead1916 Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into oct16-merge 2020-10-21 14:48:02 +00:00
Joao Siebel
109c18beb0 Improve annotations and cursor streamer logs, also add a type info for some logs in authentication process
and rollback some attempts to fix multiple leaving end call.
2020-10-16 10:30:50 -03:00
KDSBrowne
9827664efc fix textArea width / height sent from client 2020-10-09 14:20:22 +00:00
Pedro Beschorner Marin
6b87491796 Check if DOMMatrix exists before cursor coordinate transform
Cursor coordinates are calculated using the presentation SVG object
DOMMatrix. When getting this matrix, some browsers (Firefox at least)
responds it as null if the svg object does not have a visible area.

This adds a check before trying to transform the cursor coordinates
using the matrix inverse so we avoid calling a method from a null object.
If there isn't a DOMMatrix to be used as reference, returns a simple out of
bounds SVGPoint (-1, -1)
2020-10-07 15:07:23 -03:00
KDSBrowne
f16dd6f702 Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into 2.3-per-user-wb 2020-09-21 23:41:40 +00:00
Anton Georgiev
d8b185f2b3 Merge branch 'issue-9219' of github.com:Tainan404/bigbluebutton into locales-total 2020-09-09 19:29:18 +00:00
KDSBrowne
77b71a4d1f fix duplicate css variables being loaded (improve imports) 2020-09-01 18:46:13 +00:00
Tainan Felipe
5bfeab289c Merge remote-tracking branch 'upstream/develop' into issue-9219 2020-08-19 10:41:03 -03:00
KDSBrowne
423a5fd1c2 Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into 2.3-per-user-wb 2020-08-17 17:13:36 +00:00
KDSBrowne
e596bfaefd add per user functionality to multi user whiteboard 2020-08-17 17:03:23 +00:00
Anton Georgiev
5be5aed1d9 Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into merge-2020-08-12 2020-08-12 17:12:58 +00:00
Tainan Felipe
bd6471b664 Remove unsafe lifecycle from all whiteboard related components 2020-08-07 17:21:28 -03:00
KDSBrowne
f409e912b1 add aria-label to whiteboard poll result 2020-07-31 13:20:48 +00:00
Tainan Felipe
e64c0e1c62
Merge branch 'develop' into issue-9219 2020-07-28 13:28:32 -03:00
Anton Georgiev
21b6def708
Revert "Replace unsafe react lifecycle methods" 2020-07-15 15:52:34 -04:00
Anton Georgiev
e48306431a
Merge pull request #9498 from Tainan404/issue-8744
Replace unsafe react lifecycle methods
2020-07-14 10:30:37 -04:00
Pedro Beschorner Marin
526f79e8f2 Merge remote-tracking branch 'bigbluebutton/v2.2.x-release' into bigbluebutton/develop 2020-06-30 18:15:18 -03:00
Anton Georgiev
789a7cb581
Merge pull request #9754 from KDSBrowne/issue-9451
Fix poll annotation error with large presentations
2020-06-19 13:25:36 -04:00
KDSBrowne
6cf519bfb4 add touch start event handler / update handleMouseDown 2020-06-19 16:37:48 +00:00
Joao Siebel
3e95ed0e4b Merge remote-tracking branch 'upstream/v2.2.x-release' into merge-2.2 2020-06-16 16:40:56 -03:00
KDSBrowne
e23b5c847d close whiteboard toolbar submenu on mousedown 2020-06-03 18:32:39 +00:00
KDSBrowne
dabc2e8213 fix poll annotation error with large presentations 2020-06-01 16:57:46 +00:00
Anton Georgiev
f510fdc484
Merge pull request #9517 from KDSBrowne/2.2-restore-presentation-on-update
Restore minimized presentation for viewer on (slide or zoom change / pub…
2020-05-29 13:20:31 -04:00
Tainan Felipe
e1573bded9 Merge remote-tracking branch 'upstream/develop' into issue-8744 2020-05-26 11:44:20 -03:00
Tainan Felipe
aa668e3f91 Merge remote-tracking branch 'upstream/develop' into issue-9219 2020-05-25 17:05:58 -03:00
Tainan Felipe
db8e7fcd39 Update react-intl and add fallback to unsupported languages 2020-05-25 17:00:13 -03:00
Anton Georgiev
c9e996de21 Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into merge-2.2-into-develop 2020-05-25 17:32:24 +00:00
KDSBrowne
f5d004c322 restore minimized presentation for viewer (slide or zoom change / published poll / added annotation) 2020-05-12 12:58:14 +00:00
Anton Georgiev
21375864fe
Merge pull request #9477 from KDSBrowne/issue-9302
Localize default poll options before calculating annotation required space
2020-05-11 14:48:22 -04:00
Anton Georgiev
b203095e07
Merge pull request #9173 from FarzadAkj/develop
customSvgIcon css class bug fixed for rtl layouts
2020-05-11 12:11:55 -04:00
Farzad Akbarinezhad
dd16e636ed customSvgIcon css class bug fixed for rtl layouts
in RTL layout, selecting colors and font thickness parts in whiteboard, will not appear correctly when they expand; one item will be thrown out of the container (overflow).
the following images demonstrate the problems.
adding some additional style to customSvgIcon class in css will fix the bug.

http://up.maralhost.com/do.php?img=359
http://up.maralhost.com/do.php?img=364
2020-05-11 12:03:17 -04:00
Tainan Felipe
851189f3c1 Merge remote-tracking branch 'upstream/develop' into issue-8744 2020-05-11 11:42:03 -03:00
Tainan Felipe
5b758a7cb9 Replace legacy react lifecycle on text draw listener 2020-05-11 11:36:18 -03:00
Tainan Felipe
44c8cd3f9b Replace legacy react lifecycle on pencil 2020-05-11 10:59:55 -03:00
KDSBrowne
eaccf8364c add outline to poll annotation text 2020-05-11 12:56:53 +00:00
KDSBrowne
41e33d9cda localise default poll options before calculating required annotation space 2020-05-08 18:17:50 +00:00
Tainan Felipe
8e02965e27 Replace legacy react lifecycle on poll anotation 2020-05-07 15:33:37 -03:00
Anton Georgiev
cc79c4b6ae merge 2.2.10 into 2.3 2020-05-05 19:52:44 +00:00
Tainan Felipe
6e43f262da Move unique ids to constructor 2020-05-05 13:33:28 -03:00
KDSBrowne
de7e2780c7 Fix exception in presentation when publishing poll while minimized 2020-04-27 17:25:22 +00:00
Farzad Akbarinezhad
4cb6e6af1b
customSvgIcon css class bug fixed for rtl layouts
in RTL layout, selecting colors and font thickness parts in whiteboard, will not appear correctly when they expand; one item will be thrown out of the container (overflow).
the following images demonstrate the problems.
adding some additional style to customSvgIcon class in css will fix the bug.

http://up.maralhost.com/do.php?img=359
http://up.maralhost.com/do.php?img=364
2020-04-21 11:34:16 +04:30
Chad Pilkey
40b18b0662 whiteboard performance improvements 2020-04-08 20:03:56 +00:00
KDSBrowne
50bb820eb7 Fix poll Maximum update depth exceeded error 2020-04-01 18:29:27 +00:00
Anton Georgiev
4b0452d1fd Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into feb14-merge-2.2-into-master 2020-02-14 21:43:35 +00:00
Tainan Felipe
4503e70051 Remove consoles 2020-01-24 16:44:47 -03:00
Tainan Felipe
d73b28eb06 Workaround to CTM request in svg of the screen 2020-01-23 14:52:16 -03:00
Joao Siebel
f95107e3a0 Remove JSON.parse and JSON.stringfy 2020-01-13 13:43:31 -03:00
Joao Siebel
b6c900ca84 Fix annotations and cursor streamer
The problem was caused when meteor restarted without reloading the page,
the ddp subscription called a onStop event that set all handlers to undefined
after we set the handlers on the init function.
2020-01-13 09:34:54 -03:00
KDSBrowne
9b8495ca09 fix whiteboard toolbar not accessible via mouse (after publish / presentation swap) 2019-12-16 14:58:52 +00:00
Anton Georgiev
98f4f731d0
Merge pull request #8235 from jfsiebel/update-annotations-streamer
Update annotations/cursor streamer logic
2019-11-19 11:56:49 -05:00
Anton Georgiev
42d640f3e2 Merge branch 'issue7791-add-support-to-new-parameters-name' of github.com:diegobenetti/bigbluebutton into test-7805 2019-11-05 11:59:00 -05:00
Joao Siebel
2443515cef Merge remote-tracking branch 'upstream/master' into update-annotations-streamer 2019-10-31 19:18:23 -03:00
Chad Pilkey
37b5286d3b throttle the pencil updates and increase cursor throttle 2019-10-24 15:25:50 -07:00
Joao Siebel
d0f0d91c01 Update annotations streams logic 2019-10-22 22:26:25 -03:00
Anton Georgiev
4a335a1db6 reduce db probes for getAvailableActions; simplify SaveUsernames 2019-09-06 16:28:02 -04:00
Anton Georgiev
c5856d43c8 moved static code outside of tracker 2019-09-04 14:32:58 -04:00
Anton Georgiev
ea18b09311 add a few more collection lookups "fields" delimiters 2019-08-29 12:26:07 -04:00
Anton Georgiev
cdb03042ee
Merge pull request #7952 from KDSBrowne/issue-7148
Reduce chance of text Area displaying invisible border
2019-08-28 15:13:00 -04:00
Chad Pilkey
83c727ac0d make sure the toolbar exists first before animating 2019-08-23 14:13:15 -07:00
KDSBrowne
79035443d3 make textarea border 2px for safari 2019-08-19 16:34:21 +00:00
KDSBrowne
74ac34c407 Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into issue-7148 2019-08-19 13:44:36 +00:00
Anton Georgiev
7ce13856f7
Merge pull request #7888 from vitormateusalmeida/issue-7340
Change the default tool in multi-user
2019-08-16 11:31:04 -04:00
Joao Siebel
4278b2b061 Add again handleMouseLeave function 2019-08-15 15:08:03 -03:00
Joao Siebel
ae87fe7e9d Remove handleMouseLeave function 2019-08-15 13:34:23 -03:00
Joao Siebel
5bedda90cb Remove unnecessary bind and revert the call of handleMouseLeave 2019-08-15 10:19:44 -03:00
Joao Siebel
632805c627 Prevent draw blocking buttons on tablets and mobile
close issue #7904
2019-08-14 17:28:27 -03:00
Vitor Mateus
dcf1e9986b Change default tool when component mount
Change default tool when component mount
2019-08-09 16:47:59 -03:00
KDSBrowne
8df0323bfe reduce the chance of textbox missing a border on render (firefox) 2019-08-09 15:35:41 +00:00