Commit Graph

27 Commits

Author SHA1 Message Date
Guo Xiang Tan
169d17edc3
Include cdn path in the stylesheet digest. 2016-06-16 00:19:38 +08:00
Sam
bcaed90744 fix missing rtl stylesheets 2015-05-23 15:25:05 +10:00
Sam
96dbeb8608 fix stylesheet cache to recover if file is on disk 2015-05-22 11:22:12 +10:00
Sam
45bdd23689 FEATURE: support user local switching to RTL correctly
FEATURE: support RTL in multisite
2015-05-20 15:56:54 +10:00
Neil Lalonde
7f9504abb2 PERF: sites in multisite config can share css files if they are not using a color scheme or category backgrounds 2015-05-12 16:12:49 -04:00
Neil Lalonde
406c8bb340 PERF: don't recompile css files that have already been compiled 2015-05-12 16:12:49 -04:00
Sam
ea670118c1 Add better error handling, correct the location on disk of stylesheet 2015-05-05 23:28:40 +10:00
Sam
f58d85edea FEATURE: move stylesheet cache out of the uploads directory 2015-05-05 15:50:13 +10:00
Sam
f5af4768eb FEATURE: add clean support for running Discourse in a subfolder
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
2015-03-09 13:14:29 +11:00
Régis Hanol
f82e8ce5f1 remove discourse stylesheets const warning when auto-reloading 2015-02-09 18:53:49 +01:00
Sam
fe57ebcd33 typo 2015-01-05 13:03:43 +11:00
Sam
b713688ce2 FIX: deliver discourse stylesheets over cdn 2015-01-05 12:50:42 +11:00
Greg Kempe
e2fb5310d8 Traverse symlinks to plugins in dev mode when compiling stylesheets
When developing plugins it's useful to symlink the to the plugin directory from the discourse directory, since that means the two are separate git repos.

However, Dir.glob doesn't by default traverse symlinks. This change means that the SASS compilation caching detects when any of a plugin's files have changed.
2014-12-01 15:59:21 +02:00
Robin Ward
4090ed226a FIX: Don't use a process cache in development mode 2014-11-12 13:51:16 -05:00
Sam
0c7c738a94 don't send html safe strings into the cache 2014-11-12 10:32:46 +11:00
Sam
ec496a71b1 tag should be html safe 2014-11-12 10:06:02 +11:00
Sam
c98d0a8eb6 Revert "Revert "PERF: use distributed cache for site text and category slugs""
This reverts commit 65e7cd1d1d.
2014-11-12 10:01:41 +11:00
Sam
65e7cd1d1d Revert "PERF: use distributed cache for site text and category slugs"
This reverts commit a97f2eee05.
2014-11-12 10:01:07 +11:00
Sam
a97f2eee05 PERF: use distributed cache for site text and category slugs 2014-11-12 09:44:44 +11:00
Sam
b2af49251d PERF: remove superflous queries from initial page loads
stop doing expensive work to figure out discourse style sheet
2014-11-11 15:32:44 +11:00
Kris Aubuchon
4a1ec20585 adding border to poster expansion, changing media screen to media all, trying new notification style 2014-07-24 12:21:22 -04:00
Robin Ward
952426d358 FEATURE: Uploaded images to categories are shown when browsing 2014-06-30 14:14:00 -04:00
Neil Lalonde
15e91f2da9 FIX: detect css changes in plugins that use register_css 2014-06-03 16:46:32 -04:00
Neil Lalonde
d69472c9fb FIX: production css digest not changing 2014-05-29 15:42:50 -04:00
Neil Lalonde
39bac5b36c FIX: don't create digestless css files in production. With multisite setup, it's keeps getting swapped out for the current site, which is slow and pointless. Digestless css files are for auto-reload of css in dev env 2014-05-27 16:08:47 -04:00
Neil Lalonde
d412cd370e FIX: compare Time with nil error in dev env. Remove nils when looking for max mtime. 2014-05-22 18:46:29 -04:00
Neil Lalonde
c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00