modeco80
4561eb1f63
Use nanoevents typing where possible
...
(this also fixes the use of a generic function type, where Nanoevents explciitly provides a cleaner type alias)
2024-03-12 00:10:24 -04:00
modeco80
3b4891c0a7
ok thank you javascript for not being a half baked language at all
2024-03-11 23:47:49 -04:00
modeco80
4dd5c42d55
Make CollabVMClient#send use typescript magic to allow passing any type
...
This allows passing any type (though practically, this is only ever going to include numbers) into it. This removes the need to constantly .toString() (though booleans are still kind of awful, but I guess we could factor that out somehow)
2024-03-11 23:40:43 -04:00
modeco80
72f321f689
Make admin opcodes a enum
...
just for typesafety. we're on typescript after all
2024-03-11 23:28:37 -04:00
modeco80
b59ebe2466
implement mouse wheel handling and clean up mouse handling in general
2024-03-11 21:24:40 -04:00
Elijah R
f981a661da
reset username color on vm close - resolves #19
2024-02-26 13:56:17 -05:00
Elijah R
20d268df21
re-add ctrl+alt+del button by popular request
2024-02-26 13:46:11 -05:00
Elijah R
5cbfe9f1b5
Add VM0 blur
...
this might not be the best way to do this. Maybe in the future ill add a config option to make some VMs nsfw. For now this is fine
2024-02-05 13:28:05 -05:00
Elijah R
33c7fcb421
add mastodon link
2024-02-04 13:13:24 -05:00
Elijah R
468bfe1748
add localstorage usernames
2024-02-04 13:02:45 -05:00
Elijah R
63902f6cdb
fix logging in as mod
2024-02-04 13:02:45 -05:00
Elijah R
b4d8bbcf28
color the username span on login
2024-02-04 13:02:45 -05:00
Elijah R
d1c8c5ae9a
implement xss, properly hide things on vm close
2024-02-04 13:02:45 -05:00
Elijah R
bb803f57a8
add welcome modal
2024-02-04 13:02:45 -05:00
Elijah R
a802027333
add chat sound
2024-02-04 13:02:45 -05:00
Elijah R
917109442e
Implement admin login and features
2024-02-04 13:02:45 -05:00
Elijah R
d7d377fe53
implement vote-to-reset, screenshotting, and fix system messages
2024-02-04 13:02:45 -05:00
Elijah R
3e2eb96b3e
dont need that now that the keyboard is back
2024-02-04 13:02:45 -05:00
Elijah R
f5e30a60b1
fix sorting
2024-02-04 13:02:45 -05:00
MDMCK10
bb08e50003
Merge branch 'feature/osk' of https://github.com/MDMCK10/collab-vm-1.2-webapp into MDMCK10-feature/osk
2024-02-04 13:02:45 -05:00
MDMCK10
795bf7bd01
fix merge conflict
2024-02-04 13:02:45 -05:00
Elijah R
b4559a3841
add turns and control
2024-02-04 13:02:45 -05:00
Elijah R
288edf6b3a
add users online count to list
2024-02-04 13:02:45 -05:00
Elijah R
7ef0f20189
add current user styling
2024-02-04 13:02:45 -05:00
Elijah R
a81eb5917b
clear turn on close
2024-02-04 13:02:45 -05:00
Elijah R
e905593896
finish turn css
2024-02-04 13:02:45 -05:00
Elijah R
05416caba0
switch to using an actual array instead of hacky htmlcollection enumeration shit (god i do the weirdest things while sleep deprived)
2024-02-04 13:02:45 -05:00
Elijah R
76ef47c5b2
chat and rename, half-working turn status. re-add crusty guac keyboard shit
2024-02-04 13:02:45 -05:00
Elijah R
33d16f4c2f
Implement opening the VM, as well as viewing the screen, chat, and userlist. It's pretty much fully functional as a view-only client, next up is interaction
2024-02-04 13:02:45 -05:00
Elijah R
225f91f7a4
Basic VM list support.
2024-02-04 13:02:45 -05:00
Elijah R
f244ae412f
Set up the source tree for the typescript rewrite. Nothing really here just yet, just filler
2024-02-04 13:02:45 -05:00
Elijah R
f99e8bdb2e
script tags should work in the motd as well
2023-12-03 23:05:38 -05:00
Elijah R
3c0b444bc5
Merge branch 'master' of https://github.com/computernewb/collab-vm-1.2-webapp
2023-10-28 16:25:27 -04:00
Elijah R
596ac24797
eventvm
2023-06-06 19:07:03 -04:00
MDMCK10
537211a5e3
Fix https://github.com/computernewb/collab-vm-1.2-webapp/issues/10
2023-06-06 18:57:25 +02:00
MDMCK10
8a26da9616
Fix vote display not being hidden when switching VMs
2023-05-28 01:43:55 +02:00
Elijah R
0ab54364ed
Merge branch 'master' of https://github.com/computernewb/collab-vm-1.2-webapp
2023-05-24 16:33:53 -04:00
MDMCK10
daf8541ced
Fix duplicate events + reconnect issues ( #8 )
...
* Fix duplicate display events
* oops
* Fix everything else
2023-05-18 22:49:13 +01:00
Elijah R
f2cd59c657
Merge branch 'master' of https://github.com/computernewb/collab-vm-1.2-webapp
2023-05-03 14:27:00 -04:00
MDMCK10
8aa5737921
Bug fixes
2023-04-29 17:50:03 +02:00
Elijah R
96e90ffcc3
Merge branch 'master' of https://github.com/computernewb/collab-vm-1.2-webapp
2023-04-05 20:55:37 -04:00
elijahr2411
c2058c91b4
really really hacky way to allow admin abuse
2023-04-05 20:52:25 -04:00
Elijah R
6312425129
vm9
2023-04-05 19:38:22 -04:00
Elijah R
9dab2907c8
welcome modal
2023-04-05 12:18:21 -04:00
Elijahr2411
3a377a02a5
expose VM name
2023-02-23 16:39:49 -05:00
Elijahr2411
48391c0723
retard proof the restore button
2023-02-23 16:36:55 -05:00
elijahr2411
b4fbd6cb20
fix username bug for real this time
2023-02-15 15:23:32 -05:00
Elijah R
4ea7557285
Update comments in common.js
2023-02-13 14:08:33 -05:00
elijahr2411
0e8cebd3bb
fix everything breaking
2023-02-10 09:07:09 -05:00
elijahr2411
262d6fe733
revert common.js
2023-02-10 09:01:19 -05:00
elijahr2411
2ba4307074
I suck at git man
...
This reverts commit 824c884ed3 .
2023-02-10 08:56:59 -05:00
elijahr2411
45774ff2ae
add captcha support
2023-02-10 08:52:44 -05:00
elijahr2411
a40199dda0
Merge branch 'master' of github.com:computernewb/collab-vm-1.2-webapp into captcha
2023-02-10 08:51:31 -05:00
Elijahr2411
b677ef4d55
Fix userlist bug on some server implementations
2023-02-08 09:58:25 -05:00
elijahr2411
abbc3950df
Merge branch 'master' into internal
2023-02-07 13:01:41 -05:00
elijahr2411
b9ee3dc9f0
fix rename bug
2023-02-07 12:59:47 -05:00
elijahr2411
824c884ed3
autotype
2023-02-05 12:02:24 -05:00
elijahr2411
20f7b753e2
Make the cards way smaller
2023-01-31 12:01:42 -05:00
elijahr2411
1bf119d68d
Add force vote functionality
2023-01-31 12:00:09 -05:00
elijahr2411
65ac88f771
Make all guac messages fire an event as opposed to unhandled ones, to make scripting easier
2023-01-29 19:55:25 -05:00
elijahr2411
d5bd23d5db
Add XSS implementation (supports both internal and yellows fork)
2023-01-29 17:58:44 -05:00
elijahr2411
4c2c4111b7
fix the screenshot being unsavable
2023-01-29 17:06:27 -05:00
elijahr2411
a9c939a3af
Fix multiple nodes on the same server being broken (scoping issue, switch to foreach)
2023-01-29 00:10:47 -05:00
elijahr2411
4a5286c6ed
ctrl alt del button
2023-01-28 00:03:29 -05:00
elijahr2411
bb7e9f8cd8
remove a buncha stray console.log's I used for debugging oops
2023-01-27 23:53:26 -05:00
elijahr2411
4453f2dc51
auto reconnect on connection close
2023-01-27 23:52:25 -05:00
elijahr2411
b5d08ed72a
Add scrolling (which requires refactoring the whole mouse system oops)
2023-01-27 23:05:38 -05:00
elijahr2411
ab464a5283
Add some kewl icons and a send chat button
2023-01-27 22:03:19 -05:00
elijahr2411
08ca372cf9
Add qemu monitor (and fix some atrocious indenting)
2023-01-27 21:41:57 -05:00
elijahr2411
9677ce9886
- remove duplicate variable
...
- fix error in chatMessage() when processing history
- fix turn timer being delayed by one second
2023-01-27 21:09:34 -05:00
elijahr2411
c4722060b8
Staff usernames are now colored in chat messages
2023-01-27 09:18:18 -05:00
elijahr2411
1a721298b7
Add turn and queue timer
2023-01-26 21:29:23 -05:00
elijahr2411
8dce6c9ac8
The VM list is now sorted alphabetically
2023-01-26 21:20:20 -05:00
elijahr2411
78ced28219
web standards or something
2023-01-26 20:55:34 -05:00
elijahr2411
0962f9871d
add node attribute to each card, for scripting and styling purposes
2023-01-26 20:50:29 -05:00
elijahr2411
04c51508a8
Add user-specific staff options (kick, ban, ipgrab, etc)
2023-01-26 20:34:31 -05:00
elijahr2411
4aeb9437df
- Add staff shit (no qemu monitor or user-specific actions just yet)
...
- Switch events to capture
2023-01-26 19:45:29 -05:00
Elijah R
3c1fb45e3c
Merge pull request #2 from dfault-user/master
...
Add indication of active or pending turn
2023-01-26 16:36:35 -05:00
Brandan
d406522cce
peter the coding style is consistent
2023-01-26 16:30:25 -05:00
Brandan
1fc61e94fc
Merge branch 'master' of https://github.com/dfault-user/collab-vm-1.2-webapp
2023-01-26 16:27:54 -05:00
Brandan
27a878b619
make it actually work this time
...
todo: 'you have a turn' text doesn't move chat
2023-01-26 16:27:38 -05:00
elijahr2411
54153e723d
switch to using nanoevents from the weird onmessage shit I had
2023-01-26 16:27:19 -05:00
Brandan
a0f3208686
wrong thing, whoops
...
Fuark
2023-01-26 16:21:36 -05:00
Brandan
a9cf21e066
Attempt 1 at indicating if user has turn or waiting for turn more vibrantly
2023-01-26 16:19:21 -05:00
elijahr2411
f4c7a97614
revert the list to its original functionality because that made it slower (vm urls still work)
2023-01-26 12:23:17 -05:00
elijahr2411
7d32a70f58
You can now access a VM through url hash
2023-01-26 12:14:05 -05:00
elijahr2411
bf43f2533d
Fix an issue that caused messages to double if you clicked a vm more than once
...
Expose the multicollab function
2023-01-26 11:33:48 -05:00
elijahr2411
afd2a178dc
add screenshot function
2023-01-25 21:29:10 -05:00
elijahr2411
f38eee8a15
implement vote resets and also move chatMessage to a function for scripting purposes
2023-01-25 21:18:05 -05:00
elijahr2411
e7e43b9399
Add chat sound
2023-01-25 20:13:11 -05:00
elijahr2411
37cab87a6f
buncha shit uhh i forgot to make a repo until now
2023-01-25 19:55:34 -05:00