Commit graph

17 commits

Author SHA1 Message Date
Jakob
75c905a985 Feature/fix terminal notification (#681)
* show terminal notification on top
* show notification only when not scrolled down and new output available
* terminal: move scrolled down check outside of push loop
2017-10-18 00:24:14 -04:00
Bent
4f2dd519c6 Fix terminal scrolling and terminalNotify
The original statement seems to be a bit too precise regarding the height. Any tiny lag or one pixel movement leads to the console not being scrolled to the bottom anymore. Same applies for manually scrolling down which does not hide the `terminalNotify` properly. 

A bit larger "buffer" fixes this.
2017-07-03 08:46:53 +02:00
Dane Everitt
1abcb99f78
Fix more of the console, add back support for arrow key command history 2017-06-30 20:41:16 -05:00
Dane Everitt
7463bea101
fix the console rendering 🚤 2017-06-28 21:39:30 -05:00
Dane Everitt
829453f805
[Security] Address critical flaw in console rendering that allowed arbitrary command execution 2017-06-26 22:36:09 -05:00
Dane Everitt
f58858206e
Add console popout option.
Popout: https://s3.kelp.in/IrTyE.png
Menu: https://s3.kelp.in/JYwlC.png
Menu Hover: https://s3.kelp.in/cPtSf.png
2017-04-15 18:23:29 -04:00
Dane Everitt
7f48b757cd
Major cleanup of Ace editor files, as well as hopefully fixing broken editor issues. 2017-04-15 17:14:20 -04:00
Dane Everitt
a2b451b990
Fix the terminal to stop glitching out and not displaying unless window is resized. 2017-04-14 01:21:38 -04:00
Jakob Schrettenbrunner
887e48aeb3 console: only flush once, not with every message 2017-03-19 16:18:31 +01:00
Dane Everitt
377fe92f5b
Don't try to render 200 lines per second in the console... 💣
Corrects a math mistake on my end, and makes the console speed
configurable again. Now sends 50 messages per second.

Console will notify when being throttled, and refreshing the page will
clear the queue if necessary.
2017-03-19 11:13:17 -04:00
Dane Everitt
0c6e6f39fe
Fix multiple clients causing all consoles to refresh 2017-03-17 19:05:54 -04:00
Jakob Schrettenbrunner
344e3b4330 add console notification on new output that is out of view
fix the revealing module pattern (browser cache 😒)
change graph colors to theme primary color
move Socket.on(‚console’) to console.js
2017-01-26 22:57:33 +01:00
Jakob Schrettenbrunner
5142dce0e0 reorganize code of console module 2017-01-26 22:20:04 +01:00
Jakob Schrettenbrunner
96f5d15811 switch console javascript code to revealing module pattern to avoid global variables 2017-01-26 22:12:33 +01:00
Dane Everitt
bf7b58470a
Update copyright headers 2017-01-24 17:57:08 -05:00
Dane Everitt
ae8f53d8ef
Prevent clicky mcgee from clicking too quickly 2017-01-23 22:26:48 -05:00
Dane Everitt
c7f3bb5112
New theme assigned to server console page. 2017-01-15 18:52:22 -05:00