Commit Graph

1070 Commits

Author SHA1 Message Date
Mitchell McCaffrey
2eef6ca7c4 Fixed gemstone dice colour 2021-01-05 15:33:50 +11:00
Mitchell McCaffrey
3e407f6c71 Fixed glass dice colour 2021-01-04 17:14:21 +11:00
Mitchell McCaffrey
26b474452c Removed connection logs 2021-01-04 13:44:20 +11:00
Mitchell McCaffrey
c89a75a23e Disabled multiplexing 2021-01-04 13:34:09 +11:00
Mitchell McCaffrey
bce5fb6154 Added logging to connection 2021-01-04 13:05:31 +11:00
Mitchell McCaffrey
a6f67320c5 Added v1.7.0 preview release notes 2021-01-04 12:28:42 +11:00
Mitchell McCaffrey
fd9f47e41e Added check for stage in drag overlay 2021-01-04 12:22:09 +11:00
Mitchell McCaffrey
eb0826d48c Moved to pixel per grid sizes for map resolutions 2021-01-04 10:16:25 +11:00
Mitchell McCaffrey
abd5f12269 Added a clear map call to map changes 2021-01-04 09:48:08 +11:00
Mitchell McCaffrey
30a1319298 Updated notes to always be square 2021-01-04 09:39:58 +11:00
Mitchell McCaffrey
524a6d9aea Update network partial updates to have id to prevent invalid changes 2021-01-04 09:34:25 +11:00
Mitchell McCaffrey
e3fe043a7b Clean up session logging and close 2021-01-03 17:52:14 +11:00
Mitchell McCaffrey
7693db325a Removed unused imports 2021-01-03 16:46:51 +11:00
Mitchell McCaffrey
037e4a4ab4 Added fallback for token without size 2021-01-03 16:46:22 +11:00
Mitchell McCaffrey
852d5bce81 Added force update option to useNetworkedState 2021-01-03 16:45:55 +11:00
Mitchell McCaffrey
d1315b3425 Added a larger layout for map and token select and edit 2021-01-03 14:53:06 +11:00
Mitchell McCaffrey
cf12629f82 Increased map loading overlay height 2021-01-03 12:34:37 +11:00
Mitchell McCaffrey
f8a2a1ece5 Added more checks to stage interaction 2021-01-03 12:34:01 +11:00
Mitchell McCaffrey
a4c67ce81f Removed partial updates from manifest 2021-01-03 12:12:13 +11:00
Mitchell McCaffrey
a3622979b8 Added more cases to note text update 2021-01-03 10:45:43 +11:00
Mitchell McCaffrey
02ecf9bffc Changed useNetworkState to implement a partial update mechanism 2021-01-03 10:45:24 +11:00
Mitchell McCaffrey
858c489980 Update useNetworkedState.js 2021-01-03 09:18:42 +11:00
Mitchell McCaffrey
815ca6bbe1 Added handling of uncommitted changes to networked state 2021-01-02 23:59:21 +11:00
Mitchell McCaffrey
651b0d7c6c Added konva array convert helper 2021-01-02 18:01:16 +11:00
Mitchell McCaffrey
2482196876 Fix errors with fog disappearing on zoom and crashing on zooming out 2021-01-02 18:01:04 +11:00
Mitchell McCaffrey
c90434b626 Added drop shadow to fog, and optimized it with caching 2021-01-02 12:17:27 +11:00
Mitchell McCaffrey
4adc6015f1 Changed token cache pixel ratio to use canvas ratio 2021-01-02 09:49:52 +11:00
Mitchell McCaffrey
cc7db42894 Changed hit detection for tokens to only enable when dragging a vehicle 2021-01-02 09:41:18 +11:00
Mitchell McCaffrey
dfe8f0f53b Updated black color 2021-01-02 09:31:06 +11:00
Mitchell McCaffrey
485b893fc6 Added use password option to saved settings 2021-01-02 09:28:26 +11:00
Mitchell McCaffrey
ae98b54c7b Fix drawings being erased when drawing tool not selected 2021-01-02 09:17:56 +11:00
Mitchell McCaffrey
f24156c44c Clean up imports 2021-01-02 09:13:26 +11:00
Mitchell McCaffrey
a146495326 Fix timer shifting when player state is updated 2021-01-01 14:57:56 +11:00
Mitchell McCaffrey
63129dfa14 Moved joined and left notifications to new networking 2021-01-01 14:50:11 +11:00
Mitchell McCaffrey
cbcc9ada72 Fix file maps not appearing on refresh for map owner 2021-01-01 13:56:12 +11:00
Mitchell McCaffrey
0fee1a910f Changed loading bar to be purple 2021-01-01 13:25:46 +11:00
Mitchell McCaffrey
ced66257b0 Fix progress bar not showing 2021-01-01 13:25:35 +11:00
Mitchell McCaffrey
ec3aa6ea11 Fix network state order bug 2021-01-01 13:25:19 +11:00
Mitchell McCaffrey
dd308ecab0 Added debounce to useNetworkedState 2021-01-01 13:06:56 +11:00
Mitchell McCaffrey
b9876c6a38 Fix offline mode and move to optional chaining for session socket 2021-01-01 12:44:56 +11:00
Mitchell McCaffrey
b13b46b17d Moved pointer out of player state and into separate socket event 2021-01-01 12:37:54 +11:00
Mitchell McCaffrey
501fc4377c Optimised pointer 2020-12-31 17:56:51 +11:00
Mitchell McCaffrey
12d9e64461 Fix bug with loading multiple assets at once 2020-12-12 17:36:56 +11:00
Mitchell McCaffrey
bdba2ecc13 Moved audio sharing to new network model 2020-12-12 16:30:55 +11:00
Mitchell McCaffrey
5e244617ae Changed Session event names to better match new model 2020-12-12 16:08:10 +11:00
Mitchell McCaffrey
089fd27ccf Converted custom token support to new network model 2020-12-12 15:03:24 +11:00
Mitchell McCaffrey
9265b99788 Added url support to image dropping 2020-12-11 16:36:27 +11:00
Mitchell McCaffrey
6a4c6b30ec Moved peer connections to an optional pull model 2020-12-11 13:24:39 +11:00
Mitchell McCaffrey
b40f78042f Moved party to use socket networking 2020-12-08 15:58:01 +11:00
Mitchell McCaffrey
b7da0cffa7 Added height and width check to resize handle 2020-12-05 17:16:31 +11:00
Mitchell McCaffrey
f2cb8b69db Moved to socket for game state networking 2020-12-05 17:16:06 +11:00
Mitchell McCaffrey
2847118ac1 Unified fog tool disabled icon diagonal lines 2020-12-03 17:33:16 +11:00
Mitchell McCaffrey
f1ae78612c Added fog rectangle tool 2020-12-03 17:32:41 +11:00
Mitchell McCaffrey
f5b875e101 Renamed remove fog to erase fog and changed shortcut 2020-12-03 16:53:44 +11:00
Mitchell McCaffrey
c24133813f Replaced fog subtraction with fog cutting 2020-12-03 16:52:24 +11:00
Mitchell McCaffrey
5ae6f0bc1b Added logging and preview options to .env 2020-12-03 12:29:33 +11:00
Mitchell McCaffrey
0a1c22b06f Testing preview node env 2020-12-03 11:57:30 +11:00
Mitchell McCaffrey
b65b2d4b3a Added ignore to xdr encoding failure 2020-11-28 08:55:25 +11:00
Mitchell McCaffrey
15750c2143 Added ignore to quota error 2020-11-28 08:51:56 +11:00
Mitchell McCaffrey
926f05f301 Added persistent storage permissions when uploading maps or tokens 2020-11-27 21:00:08 +11:00
Mitchell McCaffrey
951c515334 Added check for storage estimate available 2020-11-27 19:36:44 +11:00
Mitchell McCaffrey
5f572ff10d Update Session.js 2020-11-27 19:28:42 +11:00
Mitchell McCaffrey
dc46fceb4c Update Session.js 2020-11-27 19:20:57 +11:00
Mitchell McCaffrey
208911cde2 Update Session.js 2020-11-27 19:11:38 +11:00
Mitchell McCaffrey
ceb987d4fc Update Session.js 2020-11-27 18:31:21 +11:00
Mitchell McCaffrey
1b7b7179ee Update Session.js 2020-11-27 17:42:53 +11:00
Mitchell McCaffrey
19d44f3f79 Fix note crash when selecting pan tool 2020-11-27 12:23:57 +11:00
Mitchell McCaffrey
9fa8667081 Fix crash with interacting with page while loading 2020-11-27 12:02:00 +11:00
Mitchell McCaffrey
ddda241c56 Limit note and label text to 144 characters 2020-11-27 11:53:25 +11:00
Mitchell McCaffrey
309870247b Moved map loading overlay to be full screen width 2020-11-27 11:37:15 +11:00
Mitchell McCaffrey
56efa39c41 Removed unused token label image 2020-11-27 11:28:00 +11:00
Mitchell McCaffrey
5a4d879ac3 Changed start modal label to clarify password is for game 2020-11-27 11:26:56 +11:00
Mitchell McCaffrey
3cb1014ed2 Added getting started modal to home screen 2020-11-27 11:23:20 +11:00
Mitchell McCaffrey
ad9428c703 Increased line height for body 2 font 2020-11-27 11:22:58 +11:00
Mitchell McCaffrey
fca1c9fd1f Added margin to markdown list and added default props 2020-11-27 11:19:52 +11:00
Mitchell McCaffrey
700434a50c Added error message to ice servers fetch fail 2020-11-26 18:55:27 +11:00
Mitchell McCaffrey
11116e8686 Throw error when ice servers responds not ok 2020-11-26 18:54:32 +11:00
Mitchell McCaffrey
3fc8c98862 Fixed party joining 2020-11-26 18:54:11 +11:00
Mitchell McCaffrey
d231d9340e Fix styling of indexeddb disabled warning 2020-11-26 17:08:25 +11:00
Mitchell McCaffrey
025304ee44 Fix database worker for when indexeddb is disabled 2020-11-26 17:08:09 +11:00
Mitchell McCaffrey
7ac555baa0 Fix null reference error when image upload dialog is closed when image upload finishes 2020-11-26 16:32:48 +11:00
Mitchell McCaffrey
aaa793ad71 Added multi-threaded initial map and token loading 2020-11-26 16:29:10 +11:00
Mitchell McCaffrey
8160a98c49 Add quota error to sentry ignore 2020-11-26 16:27:41 +11:00
Mitchell McCaffrey
95d0509693 Added banner for quota exceeded error 2020-11-26 15:24:33 +11:00
Mitchell McCaffrey
9ee3efbadb Added storage usage summary to settings modal 2020-11-26 13:17:53 +11:00
Mitchell McCaffrey
794ba22689 Reworded offline message 2020-11-26 13:17:32 +11:00
Mitchell McCaffrey
5209317d1e Added offline mode 2020-11-26 11:09:48 +11:00
Mitchell McCaffrey
9131557b71 Merge branch 'master' into release/v1.7.0 2020-11-26 10:23:08 +11:00
Nicola Thouliss
8f3ebb8316 Revert "Add extra header options to socket io request"
This reverts commit fdb5d8c458.
2020-11-22 20:38:11 +11:00
Nicola Thouliss
fdb5d8c458 Add extra header options to socket io request 2020-11-22 20:19:32 +11:00
Nicola Thouliss
e98116c290 Revert "Added polling transport to socket io"
This reverts commit 9c91507eb3.
2020-11-22 10:47:28 +11:00
Nicola Thouliss
9c91507eb3 Added polling transport to socket io 2020-11-22 10:42:46 +11:00
Mitchell McCaffrey
575b566b53 Removed JSON parse from websocket messages 2020-11-21 16:15:04 +11:00
Mitchell McCaffrey
61d6a7bb85 Disabled sentry 2020-11-21 16:08:26 +11:00
Mitchell McCaffrey
4fee6d278a Moved handle party joined to array 2020-11-21 16:01:37 +11:00
Nicola
f028a011ca Changed transports to be websocket only 2020-11-21 15:46:36 +11:00
Mitchell McCaffrey
7346eced44 Fix vehicle tokens in Konva 7 2020-11-21 11:12:05 +11:00
Mitchell McCaffrey
b362d03bc6 Updated socket.io 2020-11-20 16:34:08 +11:00
Mitchell McCaffrey
4c301604fc Added alternating diagonals map measurement 2020-11-20 12:00:59 +11:00
Mitchell McCaffrey
c338af5557 Merge branch 'master' into release/v1.7.0 2020-11-20 09:40:43 +11:00
Mitchell McCaffrey
c54b863330 Fixed unused import warning 2020-11-20 09:24:58 +11:00
Mitchell McCaffrey
0883c1d79c Fix unnamed default export warning 2020-11-20 09:24:49 +11:00
Mitchell McCaffrey
f48a39c3ad Fix erase of drawing and fog with a short click 2020-11-20 09:24:28 +11:00
Mitchell McCaffrey
dd41925b25 Added decimal support to measure tool and added calculated precision 2020-11-20 09:08:13 +11:00
Mitchell McCaffrey
9a1a98ce9f Merge branch 'master' into release/v1.7.0 2020-11-20 08:30:09 +11:00
Mitchell McCaffrey
1db2fb04d2 Fix pointer being shown when tapping map controls on touch devices 2020-11-19 15:08:03 +11:00
Mitchell McCaffrey
b6b68014ed Fix issue with drag start using old positions on touch devices 2020-11-19 14:53:07 +11:00
Mitchell McCaffrey
edab7c85f1 Seperated drag events in map interaction 2020-11-19 14:26:06 +11:00
Mitchell McCaffrey
9eb70ac0a8 Removed unused note add icon 2020-11-12 11:06:23 +11:00
Mitchell McCaffrey
9853077e4f Moved max map zoom to be based off of max grid size 2020-11-07 12:40:20 +11:00
Mitchell McCaffrey
e886da6dd9 Remove dice share background colour 2020-11-07 12:35:23 +11:00
Mitchell McCaffrey
68a5ae1f46 Remove int requirement from default token size 2020-11-07 12:27:21 +11:00
Mitchell McCaffrey
485c418b57 Updated note text sizes to be relative to the note height 2020-11-06 16:27:47 +11:00
Mitchell McCaffrey
cb2c432d0a Changed min token and note scale to 0.5 and fix grid snapping for non integer values 2020-11-06 15:48:35 +11:00
Mitchell McCaffrey
088466ea07 Added slider label on drag 2020-11-06 13:35:11 +11:00
Mitchell McCaffrey
61a4596a3d Removed unused import 2020-11-05 16:58:09 +11:00
Mitchell McCaffrey
6fedcc171d Added note edit flags 2020-11-05 16:21:52 +11:00
Mitchell McCaffrey
8873e59205 Added sorting to notes 2020-11-05 15:39:56 +11:00
Mitchell McCaffrey
f5aec514f8 Added locking to notes 2020-11-05 15:30:22 +11:00
Mitchell McCaffrey
9790d4e44f Added animation and visibility to notes 2020-11-05 15:17:23 +11:00
Mitchell McCaffrey
5fd3f6d814 Changed note text color based off of background color 2020-11-05 14:48:32 +11:00
Mitchell McCaffrey
a6085599dd Added note removal 2020-11-05 14:41:33 +11:00
Mitchell McCaffrey
807a1be626 Removed label from map note menu 2020-11-05 13:40:50 +11:00
Mitchell McCaffrey
dcdbb1ea98 Removed modes from note tool 2020-11-05 12:28:28 +11:00
Mitchell McCaffrey
a3ae3471e8 Added note menu and note text 2020-11-04 15:03:34 +11:00
Mitchell McCaffrey
927c596b04 Added notes to map state reset detection 2020-11-04 15:03:14 +11:00
Mitchell McCaffrey
92fa7133bc Added notes to default map state 2020-11-04 15:02:56 +11:00
Mitchell McCaffrey
6c1d952855 Added basic persistance to notes 2020-11-03 17:15:39 +11:00
Mitchell McCaffrey
84af4c5845 Removed unused props from map drawing and fog 2020-11-03 16:38:26 +11:00
Mitchell McCaffrey
9fbd0d2a9d Added notes tool setup 2020-11-03 16:21:39 +11:00
Mitchell McCaffrey
9c1960ba71 Refactored getBrushPosition helper 2020-11-03 16:20:51 +11:00
Mitchell McCaffrey
251a89eaf4 Updated comment on Settings class 2020-11-03 16:17:35 +11:00
Mitchell McCaffrey
b72f6d483f Added null checks to token menu state changes 2020-10-30 12:01:46 +11:00
Mitchell McCaffrey
c743901962 Added check for map state in map state network update 2020-10-30 11:57:36 +11:00
Mitchell McCaffrey
04dceef022 Added check for resolutions in map send 2020-10-30 11:52:23 +11:00
Mitchell McCaffrey
d7b866d98d Added token group null check in tokenDragOverlay 2020-10-30 11:50:19 +11:00
Mitchell McCaffrey
fcbc903d16 Added lazy loading to dice and tensorflow 2020-10-30 11:17:27 +11:00
Mitchell McCaffrey
4f53ea70e9 Added igonre to resize observer error reporting 2020-10-28 10:34:11 +11:00
Mitchell McCaffrey
2686c33dd5 Removed sentry log for send error 2020-10-28 10:13:52 +11:00
Mitchell McCaffrey
3ea340763a Removed sentry log for peer error 2020-10-28 10:10:27 +11:00
Mitchell McCaffrey
35743ea8ff Updated v1.6.2 social links 2020-10-27 20:03:27 +11:00
Mitchell McCaffrey
12c1c3250c Added v1.6.2 release notes 2020-10-27 19:40:59 +11:00
Mitchell McCaffrey
21f4446db3 Fixed bug with sending maps when the map owner has left the party 2020-10-27 19:30:39 +11:00
Mitchell McCaffrey
16e2e53a24 Changed party toasts to lowercase 2020-10-27 19:17:40 +11:00
Mitchell McCaffrey
80850fdb95 Removed extra logs from session 2020-10-27 19:16:43 +11:00
Mitchell McCaffrey
c741da6f0e Removed connected emit from socket reconnect 2020-10-27 19:05:07 +11:00
Mitchell McCaffrey
75a9c604a3 Fix loading overlay being behind dice tray 2020-10-27 18:26:09 +11:00
Mitchell McCaffrey
1d3443414e Added toast notification for party joining 2020-10-27 18:25:50 +11:00
Mitchell McCaffrey
a9c45ff4fa Removed party kick on peer error 2020-10-27 16:02:20 +11:00
Mitchell McCaffrey
1c1e002e34 Removed all peer connections on an error 2020-10-27 15:03:50 +11:00
Mitchell McCaffrey
2a50c716b1 Testing reconnecting on peer error 2020-10-27 13:42:23 +11:00
Mitchell McCaffrey
d9cd5f78cc Added manual sentry error reporting 2020-10-27 10:26:55 +11:00
Mitchell McCaffrey
f096043975 added version number to Sentry 2020-10-27 09:47:10 +11:00
Mitchell McCaffrey
5021e06805 Remove Sentry test button 2020-10-27 09:43:25 +11:00
Mitchell McCaffrey
3599cad2e2 Fix Sentry test button 2020-10-27 09:34:42 +11:00
Mitchell McCaffrey
0f5956b7a3 Added sentry test button 2020-10-27 09:26:39 +11:00
Mitchell McCaffrey
65cb346fa9 Removed sentry tracing 2020-10-27 08:48:29 +11:00
Mitchell McCaffrey
28958d0769 Added sentry 2020-10-27 08:02:41 +11:00
Mitchell McCaffrey
b8ebcf5da7 Updated v1.6.1 social links 2020-10-24 10:11:15 +11:00
Mitchell McCaffrey
7c0327c495 Updated v1.6.1 release notes 2020-10-24 09:57:54 +11:00
Mitchell McCaffrey
8ca9c39bca Scaled pinch to zoom by stage scale 2020-10-24 09:47:53 +11:00
Mitchell McCaffrey
41ffd15a0c More fake-indexeddb 2020-10-24 09:13:29 +11:00
Mitchell McCaffrey
2a66d64c15 Updated v1.6.1 release notes 2020-10-24 09:05:32 +11:00
Mitchell McCaffrey
05e66e5e82 Reverted unnecessary changes to fix fake-indexeddb issue 2020-10-24 09:05:16 +11:00
Mitchell McCaffrey
b59efda436 Another possible fake-indexeddb work around 2020-10-24 08:52:31 +11:00
Mitchell McCaffrey
58b70a46de Fix another error with fake-indexeddb 2020-10-24 08:23:06 +11:00
Mitchell McCaffrey
623db9cf0e Updated v1.6.1 release notes 2020-10-24 00:28:22 +11:00
Mitchell McCaffrey
e64d715498 Removed debug logs 2020-10-24 00:15:15 +11:00
Mitchell McCaffrey
f8d7f7f19f Updated update map 2020-10-24 00:01:46 +11:00
Mitchell McCaffrey
b70bcdabd2 Updated update map 2020-10-23 23:45:39 +11:00
Mitchell McCaffrey
97c436b5e4 Removed id from map update data 2020-10-23 23:35:43 +11:00
Mitchell McCaffrey
b91d0e4157 more logging 2020-10-23 23:18:57 +11:00
Mitchell McCaffrey
2e5d52b6ac Added more logging to getMapFromDB to test private browsing error 2020-10-23 22:39:01 +11:00
Mitchell McCaffrey
086a7beff3 Added more database sanity checks 2020-10-23 22:16:18 +11:00
Mitchell McCaffrey
6c8833feae Added check that database is available before joining a game
Fixes issue with joining a game already in progress on a browser with indexedDB disabled
2020-10-23 21:11:25 +11:00
Mitchell McCaffrey
5df01973e5 Moved map database disabled banner down to account for search bar 2020-10-23 20:50:37 +11:00
Mitchell McCaffrey
3ce6203745 Added check for database in getMapFromDB 2020-10-23 20:50:05 +11:00
Mitchell McCaffrey
27a8e1dd72 Added v1.6.1 release notes 2020-10-23 20:29:43 +11:00
Mitchell McCaffrey
60d24050ee Added back show more option for maps but made it on by default 2020-10-23 20:22:12 +11:00
Mitchell McCaffrey
b2ea45d068 Fixed pinch interaction from happening on multiple canvas' at the same time 2020-10-23 13:12:46 +11:00
Mitchell McCaffrey
58fc986ca7 Added zoom centering on touch devices 2020-10-23 13:07:29 +11:00
Mitchell McCaffrey
37542dc0e6 Moved session and connection helpers and change data sending to use write streams 2020-10-23 10:27:22 +11:00
Mitchell McCaffrey
01e006f5e6 Updated map docs with draw grid name 2020-10-22 21:24:16 +11:00
Mitchell McCaffrey
f98fc394d4 Renamed show grid to draw grid 2020-10-22 21:15:07 +11:00
Mitchell McCaffrey
f9b55b4673 Fixed bug with direct database update for map state 2020-10-22 20:57:29 +11:00
Mitchell McCaffrey
d6b790035a Fix unused import 2020-10-22 20:57:01 +11:00
Mitchell McCaffrey
611e7af3d9 Removed show more button for editing maps 2020-10-22 16:39:24 +11:00
Mitchell McCaffrey
c60d495a14 Update comment 2020-10-22 16:11:44 +11:00
Mitchell McCaffrey
1d52edc775 Fixed unnecessary zoom speed increase 2020-10-22 16:11:00 +11:00
Mitchell McCaffrey
f26cbf24d2 Refactored stage zooming to center on the mouse position 2020-10-22 16:10:31 +11:00
Mitchell McCaffrey
dddfb3d498 Added token width and height for new and default tokens 2020-10-22 16:09:27 +11:00
Mitchell McCaffrey
75c855331a Upgraded database for tokens to have width and height 2020-10-22 16:09:00 +11:00
Mitchell McCaffrey
1c79032f30 Added max zoom based off of map size and normalized wheelY by window height 2020-10-22 12:51:37 +11:00
Mitchell McCaffrey
c1e67b716c Added exception handling to ML grid detection 2020-10-22 12:07:30 +11:00
Mitchell McCaffrey
d4ccad8e0a Added bounds to grid name match 2020-10-22 12:07:06 +11:00
Mitchell McCaffrey
76e650e478 Updated v1.6.0 twitter link 2020-10-17 22:33:32 +11:00
Mitchell McCaffrey
eb16b5706b Added v1.6.0 social links 2020-10-17 22:24:15 +11:00
Mitchell McCaffrey
6cb594216e Added fallback for ML grid detection to use raw prediction 2020-10-17 21:52:41 +11:00
Mitchell McCaffrey
67564a741e Updated v1.6.0 release notes with youtube video 2020-10-17 20:59:33 +11:00
Mitchell McCaffrey
e8b217f5a4 Updated v1.6.0 release notes 2020-10-17 18:19:15 +11:00