Commit Graph

69 Commits

Author SHA1 Message Date
Bjorn Neergaard a1ff8e8783 Refactor tgui interactions
Removes a lot of duplicated code, thanks to @nullquery's parent tweaks
2016-01-18 14:27:56 -06:00
Bjorn Neergaard f26f6189c7 Inline style/theme once again; fix titlebar color 2016-01-16 12:13:39 -06:00
Bjorn Neergaard bb80fd647c Fix state checks 2016-01-12 21:55:37 -06:00
Bjorn Neergaard 07747e4410 Put tgui interactions behind admin toggle 2016-01-12 21:55:36 -06:00
Bjorn Neergaard c32ce28733 Improve IE8/old IE messages 2016-01-12 21:55:35 -06:00
Bjorn Neergaard 345e4a5d71 Continue to remove Coffeescript for es6 2016-01-12 21:55:34 -06:00
Bjorn Neergaard 743cb09a8f Continue to ES6 everything, drop IE8 support 2016-01-12 21:55:33 -06:00
Bjorn Neergaard 872bf0a692 Fix some typos, don't wash out button hover colors, fix APC delays 2016-01-04 22:01:14 -06:00
Bjorn Neergaard 174c25f53f Initialize non-inlined UIs through a topic call 2016-01-04 16:58:40 -06:00
Bjorn Neergaard aec6bc103c Fix tgui proc signatures and thus AI APC reboot
This allows state overloading

Make AI reboot code use ui_interact instead of attack_ai
Fixes #13762
2016-01-04 16:25:20 -06:00
Bjorn Neergaard 31281dabf7 Add IE detection
Now we beg the user to upgrade, or to switch to No Frills mode

Also fix some minor IE bugs
2016-01-04 15:17:26 -06:00
Bjorn Neergaard 57cd223eb0 Fix contains proc to use a loop 2016-01-04 12:17:09 -06:00
Bjorn Neergaard dc69cbaefb Allow UIs to be attached to datums; various fixes 2016-01-04 10:46:31 -06:00
Bjorn Neergaard 453f149be5 Fix tgui states
This led to a few in-game exploits it seems
2016-01-04 00:02:28 -06:00
Bjorn Neergaard 1319bd722d Clean comments; adata on the serverside; update postcss; APC size 2016-01-03 19:18:55 -06:00
Bjorn Neergaard 9c1e05f57e Increase tgui security by inlining for admins only; reduce cruft 2016-01-03 18:59:01 -06:00
Bjorn Neergaard 1f4017855a Add window locking system/sanity checks
This fixes complaints about windows ending up offscreen or resize
throwing a fit, hopefully
2016-01-03 10:43:03 -06:00
Bjorn Neergaard 85b1576ba0 Sanitize HTML in VV to prevent HTML injection
Also rename SStgui html variable to be more informative
2016-01-01 18:41:39 -06:00
Bjorn Neergaard a2bb279164 NanoUI is now 'tgui' 2016-01-01 17:47:44 -06:00