Commit Graph

143 Commits

Author SHA1 Message Date
Grant 0ad4cd4f7e add reconnect debug lines 2024-07-02 17:57:07 -06:00
Grant ed97f6648d be more aggressive with loading canvas renderer 2024-07-02 17:28:26 -06:00
Grant 0282576fa8 add readme to src/tools 2024-07-02 15:28:20 -06:00
Grant 076ff1c942 server now notifies the client when the canvas isn't cached
- added foundation for server-sent alerts (related #53)
2024-07-02 14:25:55 -06:00
Grant 0e97316096 add pixel picker (fixes #55)
right click & middle click now get triggered by keybinds (uses auxclick event)
2024-07-02 13:20:14 -06:00
Grant 7964954a0d add missing mobile click emitter 2024-06-30 13:13:33 -06:00
Grant b09ddd13b4 massive performance rewrite
- main canvas & blank canvas drawing moved to separate worker thread (if possible)
- server jobs moved to separate process (fixing CPU leak on heatmap generation)
- pixels now store if they are on top reducing db queries
- remove various methods to store pixel data in redis, reducing delay for various actions

additional fixed: (came up during performance fixes)
- added square fill (fixes #15)
- redraw loop (fixes #59)
- added keybind to deselect current color (fixes #54)
- pixel undos no longer delete the pixel from the db
- server logging now indicates what module triggered the log
2024-06-26 18:38:46 -06:00
Grant 78d97b52e3 add mod menu & ignore place limit (fixes #14) 2024-06-19 15:38:53 -06:00
Grant a35f8ff59b add template keybind (fixes #52) 2024-06-19 10:47:27 -06:00
Grant bf60cde52c Expand header into multiple components (related #51) 2024-06-18 19:22:48 -06:00
Grant ccf43f13b3 fix overlapping issues 2024-06-18 19:22:32 -06:00
Grant 602767889b fix some types being incorrect 2024-06-18 19:00:15 -06:00
Grant 4ef7eaf33f add mobile templating buttons (fixes #48) 2024-06-18 18:37:18 -06:00
Grant bf9e93cd18 change z-indexes and disable overlay dismissing welcome modal (fixes #50) 2024-06-18 17:00:11 -06:00
Grant f237d292be rearrange metrics 2024-06-18 16:23:44 -06:00
Grant be0f53c0e2 add prometheus metrics (fixes #47) 2024-06-18 16:19:23 -06:00
Grant 80eebe38f0 add ratelimiting (fixes #40) & fix redis race-condition 2024-06-18 15:28:58 -06:00
Grant b4c7c10927 add autojoin general chat (related #6) 2024-06-12 15:15:40 -06:00
Grant e9b1f4c468 add info & welcome modal (related #1) 2024-06-11 16:34:20 -06:00
Grant 9e2e0556c4 add basic profile modal 2024-06-11 13:53:24 -06:00
Grant 169c19b8e2 [PanZoom] add utility to get what scale would fit the content (related #20) 2024-06-06 13:00:59 -06:00
Grant dc62d7e3d7 only attempt to update heatmap when enabled (fixes #45) 2024-06-06 11:26:56 -06:00
Grant b86c6735f2 virginmap -> blank canvas 2024-06-05 17:24:08 -06:00
Grant 5a30f3bda9 implement heatmap (fixes #31), fix a typo in palette, add opacity slider to virginmap 2024-06-05 17:00:13 -06:00
Grant b38b1d8b59 virginmap overlay (fixes #32) 2024-06-04 20:04:40 -06:00
Grant e69f5bf618 allow templates to be moved via cursor + alt (related #28) 2024-06-04 17:28:19 -06:00
Grant 5d2ef8989e fix type error (config is always defined when this is loaded) 2024-06-04 16:25:53 -06:00
Grant a715f534b8 -debug 2024-06-04 16:17:15 -06:00
Grant ced4bdc2d1 prevent same color & same user pixels to be placed on top of each other (fixes #19) 2024-06-04 16:02:46 -06:00
Grant aed4ac497f config is not always set 2024-06-04 15:14:21 -06:00
Grant d7b253c74b ClientConfig is not always available anymore 2024-06-04 15:09:46 -06:00
Grant 771ddd4d39 move VITE_MATRIX_HOST & VITE_ELEMENT_HOST to ClientConfig (fixes #41) 2024-06-04 14:49:58 -06:00
Grant 80f408ad55 add keybind info modal (fixes #43) 2024-06-04 14:31:12 -06:00
Grant c328a830e8 add long press event, multi keybind, mobile whois (fixes #42) 2024-06-04 13:54:12 -06:00
Grant 6f7aad5da8 pixel whois, keybinds & fix coords not showing on hover (CanvasMeta) (related #11) 2024-06-03 21:05:22 -06:00
Grant 28cadf07ee make the chat button actually work 2024-06-03 18:41:53 -06:00
Grant 235bc0b6ca add instance & profile metadata 2024-05-31 14:01:39 -06:00
Grant 0f545ee233 [admin] add toast status & better error handling with visual feedback (related #12) 2024-05-30 16:42:48 -06:00
Grant 6294a28c56 persistent canvas size (fixes #12) 2024-05-30 16:34:03 -06:00
Grant 1d00b53aba show proper login error details (fixes #35) 2024-05-29 15:57:39 -06:00
Grant 95bbd633c8 fix weird stretching issue (related #12) 2024-05-29 12:47:39 -06:00
Grant 0cf27d80f3 fix initial client load position (fixes #36) 2024-05-29 11:42:53 -06:00
Grant 6308992e02 fix admin UI serve 2024-05-28 21:02:00 -06:00
Grant ad1a785451 canvas resizing (related #12)
- updated client to allow for canvas size to change
- added API routes for admin UI to change size
- added isAdmin flag to user accounts
2024-05-28 20:34:59 -06:00
Grant 8559aea7c3 handle callback openid errors (fixes #34) 2024-05-28 12:50:14 -06:00
Grant 4f15c4e82a remove forgotten dev 2024-05-26 15:02:47 -06:00
Grant c907d52027 add connection status, version comparing, not hardlocking until config being sent (fixes #27) (related #23) 2024-05-26 14:23:54 -06:00
Grant eb73597667 forgot to remove debug statement 2024-05-25 23:15:40 -06:00
Grant 80c80057ee fix random "element went from uncontrolled to controlled" warnings 2024-05-25 22:42:20 -06:00
Grant 94b4cdd3b8 rewrite router (related #33) 2024-05-25 22:36:02 -06:00
Grant 634a69e79c chat settings require being logged in to view 2024-05-23 15:10:15 -06:00
Grant 099713dd50 default have chat enabled 2024-05-23 15:07:56 -06:00
Grant 8801efc9a3 migrate to OIDC for auth 2024-05-23 14:59:54 -06:00
Grant 732feacd5b chat initial (related #6) 2024-05-23 14:58:58 -06:00
Grant 5ba2eb0888 tsx is better at running ts in dev 2024-05-23 14:57:33 -06:00
Grant 45ad449f4e implement pixel undos (fixes #5) 2024-04-27 22:44:04 -06:00
Grant f81c98abe5 fixes weird zooming on iOS (#3) 2024-04-25 19:23:01 -06:00
Grant 0ed579c0d7 add debug menu & flags 2024-04-25 19:22:41 -06:00
Grant d262be82dd add settings sidebar & initial templating support 🎉 (#28) 2024-04-11 15:22:27 -06:00
Grant e09b78cf82 vary express & express-session options depending on environment (fixes #21) 2024-04-02 23:54:53 -06:00
Grant ea4b462a5f fix canvas randomly flipping (fixes #24) 2024-03-29 21:32:18 -06:00
Grant 74df47b426 small changes for beta testing 2024-03-21 23:39:09 -06:00
Grant 72e235406c enable source maps in npm run 2024-03-15 17:46:35 -06:00
Grant 97510b62b8 forgot to connect the "new pixel placed" event 💀 2024-03-15 13:03:08 -06:00
Grant 480f8a2375 move auth to env 2024-03-13 13:21:29 -06:00
Grant 45fd93ef48 add canvas_cache tool 2024-03-13 10:54:20 -06:00
Grant 8d136c3fb1 add online user count 2024-03-13 10:54:10 -06:00
Grant 004e4926c4 docker & prod building 🎉 2024-03-11 20:59:47 -06:00
Grant 613b75edb6 add base for tools and add seed_palette tool 2024-03-11 20:53:20 -06:00
Grant 51e13dd4df fix a typo (pallete -> palette) & move to postgres 2024-03-11 20:52:51 -06:00
Grant d0ca5fd7ae fix minor type error 2024-03-08 18:03:02 -07:00
Grant f52f7b406b fix event listener registration & unregistration 2024-03-08 15:38:11 -07:00
Grant b07ae0406f add scripts, eslint modification 2024-03-08 15:37:53 -07:00
Grant e5821027dc add pixel stacking 2024-03-08 15:37:24 -07:00
Grant c3b8467b8f reorganize server & fix various linting errors 2024-03-03 17:36:57 -07:00
Grant a4b3adaace fix linting & building errors 2024-03-02 19:26:46 -07:00
Grant 0dae4a750e initial faction database schema 2024-03-02 19:08:14 -07:00
Grant eda1eeb69e initial admin/moderation interface 2024-03-02 19:06:44 -07:00
Grant a4d30467c8 add @sc07-canvas to package.json to match workspace config 2024-02-22 23:48:21 -07:00
Grant 2c31685d02 make user box in the header show current user (& fix backend auth packet) 2024-02-22 23:37:01 -07:00
Grant 9ea1e903db store position in location hash, allowing resharing 2024-02-22 22:00:52 -07:00
Grant d29419bcf7 replace client with client-next 2024-02-15 19:44:12 -07:00
Grant b1b4fdffb4 dev: allow separate origins for backend & frontend 2024-02-15 19:43:18 -07:00
Grant 774d56fbee add cursor pos to canvasmeta 2024-02-15 19:33:06 -07:00
Grant b0f9419653 change wheel zoom speed (with todo to move it to settings) 2024-02-15 16:06:38 -07:00
Grant 59c1bd992c add nextui 2024-02-14 00:49:34 -07:00
Grant 8cad5ec8ab convert project to vite 2024-02-13 23:39:56 -07:00
Grant 45defd0a5b viewport coordinate system 2024-02-13 21:44:25 -07:00
Grant f396b4a16a move mouse events to PanZoom 2024-02-13 16:30:49 -07:00
Grant 93abdf6bcb fix mouse events from working when exiting the window 2024-02-13 12:50:47 -07:00
Grant d2c9d6eed9 custom zoom pan pinch implementation 2024-02-13 12:44:13 -07:00
Grant 2e469e39a9 client-next (react rewrite) 2024-02-07 21:39:02 -07:00
Grant cc94580bbe before react rewrite 💀 2024-01-26 19:38:41 -07:00