Commit Graph

25 Commits

Author SHA1 Message Date
Annika
367ed82e56
Support configurable URLs (#1543) 2020-07-21 15:27:21 -07:00
Guangcong Luo
73a8845932 Shorten customcss timeout time 2017-06-21 23:13:16 -04:00
Sacha Reinert
64659a50af Custom CSS: Increase max execution time (#946) 2017-06-18 09:12:14 -07:00
Guangcong Luo
796b74ed9d Fix Linux/macOS support for CSS sanitizer 2017-06-14 23:36:34 -04:00
Sacha Reinert
a6e7db9b89 Use Wikimedia's css sanitizer for custom css parsing (#919) 2017-06-13 23:26:15 -05:00
Guangcong Luo
30e9af2706 Save some more bandwidth
Smogtours is now also hardcoded to have no custom CSS.
2015-07-22 18:14:21 -04:00
Guangcong Luo
55b64b30cd Improve custom CSS support
The main server is now hardcoded not to support custom CSS, which
should save a decent amount of server resource use.

In addition, the request for custom CSS now comes with a user agent,
to make it clearer what it's doing.
2015-07-20 21:32:25 -04:00
Guangcong Luo
9c55f485b5 Link back to server manager when reloading custom CSS 2013-09-17 21:55:43 -05:00
Cathy J. Fitzpatrick
af992bd86a Add SSL support (not yet usable) 2013-05-01 07:41:47 -07:00
Cathy J. Fitzpatrick
feaf2fbbca Cached CSS files now get a .css extension 2013-04-24 15:44:00 -07:00
Cathy J. Fitzpatrick
439d1841b6 Correct Content-Type in customcss.php 2013-04-24 15:53:05 -06:00
Guangcong Luo
12b5f256aa Optimize CSS valiation a bit 2013-04-24 13:59:46 -07:00
Guangcong Luo
18163ad247 Support custom CSS from server static directory
You no longer need an external host: now any registered server
can have custom CSS by making a static/custom.css file.
2013-04-24 13:59:35 -07:00
Guangcong Luo
f173347ce9 More lenient CSS purifier 2013-04-24 11:56:39 -07:00
Cathy J. Fitzpatrick
d5056c47a7 Load CSS from filesystem if curl doesn't work 2013-04-15 06:08:11 -07:00
Cathy J. Fitzpatrick
3b822f05f6 Allow safe proprietary (nonstandard) CSS 2013-02-19 00:01:26 -07:00
Cathy J. Fitzpatrick
d0e2902479 Don't clear custom CSS in case of error 2013-02-13 20:29:06 -07:00
Cathy J. Fitzpatrick
263fe976a8 One more customcss.php fix 2013-02-13 14:31:15 -07:00
Cathy J. Fitzpatrick
3555e0831b Fixes for invalidate option 2013-02-13 14:29:13 -07:00
Cathy J. Fitzpatrick
b703b4fe7e Correct invalidation check in customcss.php 2013-02-13 14:17:46 -07:00
Cathy J. Fitzpatrick
c0f8bae979 Fix bug in customcss.php 2013-02-13 14:11:52 -07:00
Cathy J. Fitzpatrick
002addda88 Add invalidate option to force customcss.php to make HTTP request 2013-02-13 14:06:37 -07:00
Cathy J. Fitzpatrick
0121e879b2 Add correct Expires header to customcss.php 2013-02-13 13:24:57 -07:00
Cathy J. Fitzpatrick
092c214128 Fix theoretical race condition in customcss.php 2013-02-13 01:18:19 -07:00
Cathy J. Fitzpatrick
6650291f9b Sanitise custom CSS 2013-02-13 01:12:58 -07:00