Commit graph

22 commits

Author SHA1 Message Date
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
Godfrey Chan
f749961d97 Sprockets::Context takes a Pathname for its third argument
As far as I can tell, sprockets has always expected the third argument to be a
`Pathname` object. Not sure what actually changed and why it was working before,
but it now throws a `NoMethodError` for `dirname` on `String` in
`Context#resolve`

    # , not sure why this was working before
2014-11-10 01:05:47 -08:00
Sam
742c5e29c9 FEATURE: advanced search help 2014-10-18 14:27:33 +11:00
Zohar Arad
c99ab7fb06 ensure RTLit gem is included and CSS is RTLed if css_rtl is enabled in discourse config 2014-08-08 16:06:29 +03:00
Zohar Arad
557af8b8bd Add RTL support to Discourse CSS pre-processing using the RTLit gem and configurable via discourse.conf 2014-08-08 09:31:31 +03: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
288bb5588f Use different approach for background image 2014-07-01 13:40:09 -04:00
Robin Ward
952426d358 FEATURE: Uploaded images to categories are shown when browsing 2014-06-30 14:14:00 -04:00
Neil Lalonde
f9e80e1eb2 FIX: make sure rails sprockets sass functions are included when compiling sass 2014-06-17 12:45:33 -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
9445bea530 FIX: add line numbers and file names to generated css 2014-05-20 14:23:50 -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