613761d1cd
FEATURE: upgrade to Rails 4.2.4
2015-09-23 15:24:30 +10:00
5539ea701c
disable image optim railstie for now, we run it manually
2015-05-29 13:23:11 +10:00
90eaad336d
FEATURE: allow users to pick a CDN for s3 assets
2015-05-26 11:13:12 +10:00
bb0c2813ac
FEATURE: generate (avatar) thumbnails in a background task
...
FIX: keep the "uploading..." indicator until the server replies via the MessageBus
FIX: text was disapearing when uploading an avatar
PERF: always use a region for S3 (defaults to 'us-east-1')
FEATURE: ApplyCDN middleware when using S3
FIX: use the same pattern to store files on S3 and locally
PERF: keep a local cache of uploads when generating thumbnails
FEATURE: migrate_to_s3 rake task
2015-05-25 17:59:00 +02:00
d2b1cc55b9
Disable raise_in_transactional_callbacks for now
2015-04-28 23:20:08 -04:00
439d0d2e37
Check Rails.version instead of ENV
...
Like that we can have code that works on multiple Rails versions, and we
dont need to mix a new method on Kernel.
Also, this makes easier to have multiple versions.
For instance, before master was 4.2, which is not the case anymore, so
on the code we should check versions and not Environment variables
2015-04-28 22:27:47 -04:00
4a9587fa23
FIX: auto-load all plugin locales so that they can be used in PrettyText
2015-04-09 17:04:14 +02:00
a82530012a
FEATURE: Allow selection of highlight js languages
...
PERF: stop loading highlight js on load
To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
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
3aa165d3b6
Provides the ability to skip minification of some JS assets.
2015-02-20 15:51:38 -05:00
3afda54d22
Run after_fork hooks correctly on Phusion Passenger
2014-12-22 15:59:07 +01:00
b1a0cd417d
Avoid a deprecation warning by poly-filling #deliver_now and #deliver_now
2014-11-10 01:05:46 -08:00
ff5c4550fb
Change default timezone to UTC.
2014-10-27 11:31:36 -04:00
6b41c6b335
add permalinks route constraint
2014-08-29 11:28:16 -04:00
911b8647cf
FIX: Revert permalink support until implemented correctly
2014-08-29 17:06:14 +10:00
c07d76677d
Merge pull request #2701 from riking/email-pr-ssl
...
Rename POP3 settings, fix multisite SSL state leak
2014-08-29 10:02:05 +10:00
14890a6002
FEATURE: add a way to map arbitrary urls to a topic, post, or category. Useful for sites that have migrated to Discourse and want to redirect from their old site to Discourse with 301 redirects.
2014-08-28 15:58:24 -04:00
6d357c9c23
Rename pop3s settings to pop3, remove 'insecure'
2014-08-26 17:03:58 -07:00
b4e38e5646
updated checks of environment with Rails.env by Rails.env methods
2014-08-18 15:36:47 +05:30
7e2aa5acfb
Move discourse_plugin to lib
2014-07-23 00:03:48 -04:00
939e8505a9
Remove hub username integration
2014-07-16 12:25:24 -04:00
6019e3f257
FIX: remove hardcoding from middleware stack so we can control it
2014-07-10 17:01:21 +10:00
5032c96486
FIX: disable x accl redirect for CDN assets
...
We need to keep headers in tact
2014-07-10 16:32:46 +10:00
103e2ebba9
FIX: properly support sendfile on all routes
...
FIX: disable unused etags
2014-07-10 15:18:51 +10:00
6b45b635f8
FIX: properly whitelist <code> classes needed for syntax highlighting
2014-07-09 16:27:47 +02:00
724b36fe0d
We need pry in development
2014-05-27 10:08:03 +10:00
1aa200788c
Monkey patching, not required.
2014-05-14 10:20:23 +10:00
c3ccc3e309
Transpile ES6 even without node, just using rubyracer
2014-05-08 11:35:33 -04:00
0334179c6e
give logster its own redis connection
2014-05-08 06:52:59 +10:00
4af0aa9cbc
logster integration (in production as well)
2014-05-07 08:24:15 +10:00
692f099807
Remove uneeded hack
2014-05-07 08:24:15 +10:00
33307a50b3
Get rid of plugins.css, inject it using DiscourseSassImporter.
2014-04-09 19:42:43 +05:30
d22df7731d
Allow plugins to ship custom styles only for mobile
...
- adds another :mobile-flag to register_assets
- adds test for plugin registering of assets
- load plugins when on desktop and plugins_mobile when on mobile
2014-04-07 16:33:35 +02:00
bd7d1e62f6
BUGFIX: we need to precompile plugins.css ... otherwise there be dragons
2014-04-02 11:58:02 +11:00
b0a130db86
Precompile break_string
2014-03-20 14:50:34 -04:00
f12925887c
Drop Rails3 support
2014-02-17 19:42:08 +01:00
6acc5c19e7
Use LOAD_PLUGINS=1 instead of LOAD_PLUGINS=true for consistency.
2014-02-05 10:50:28 +05:30
102352e205
Add rake task for running plugin tests.
2014-02-02 01:52:53 +05:30
abe814412e
Source DB config more cleanly, fixes issues with socket in prd
2014-01-15 12:08:35 +11:00
8d73b7f94d
BUGFIX: hide sensitive site settings
2014-01-06 13:03:53 +01:00
b703d8c77a
BUGFIX: redis-rails has always been a problem child
...
implemented an ActiveSupport::Cache::Store for our internal use.
* allows for expire by family
* works correctly in multisite
* namespaced correctly
Removed redis-rails from the project, no longer needed
2014-01-06 16:50:04 +11:00
cab6a3f339
Don't forget to precompile the embed css
2013-12-31 18:12:07 -05:00
d150bc20cf
no need to remove what is not there
2013-12-31 15:12:07 +11:00
b67a3a85dd
split js with vendor/application
...
avoid one huge js bundle and instead break it down
to application and vendor (3rd party) our app changes
a lot, vendor changes a lot less
2013-12-23 10:32:07 +11:00
7b8d2547d0
globals now implemented and documented
2013-12-20 16:17:21 +11:00
c91d1624cf
Oops, add browser-update to config.assets.precompile
2013-11-27 14:41:35 -05:00
7603faa20d
add rbtrace for production tracing
2013-11-20 10:10:12 +11:00
291acca4fa
autoload server/client locales in plugins
2013-11-19 16:42:28 +01:00
a01b423263
remove empty plugin.rb file
2013-11-13 16:14:22 +01:00
e5202b19c0
fix for emoji precompile
2013-11-06 22:39:28 +11:00