Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove jquery-ui; in a later commit we'll add it back via the gem | Mark Longair | 2013-11-26 | -529/+0 |
| | | | | | | | The intention is to stop including our own custom build of jquery-ui but instead use the jquery-ui-rails gem, which works well with the asset pipeline. This commit should remove all traces of the old download of jquery-ui. | |||
* | Don't include the main stylesheet directly; it's now in application.css | Mark Longair | 2013-11-26 | -4/+2 |
| | ||||
* | Move last JS files from public/javascripts/ to app/assets/javascripts/ | Mark Longair | 2013-11-26 | -0/+0 |
| | ||||
* | Precompile the assets in rails-post-deploy | Mark Longair | 2013-11-26 | -0/+2 |
| | ||||
* | Add an empty custom.css to cope with THEME_URLS being empty | Mark Longair | 2013-11-26 | -0/+5 |
| | ||||
* | Fix asset inclusion where THEME_URLS is empty | Mark Longair | 2013-11-26 | -1/+2 |
| | ||||
* | Add Jedidiah's placeholder logo | Jedidiah Broadbent | 2013-11-26 | -0/+0 |
| | ||||
* | Add a guide for upgrading themes to use the asset pipeline | Mark Longair | 2013-11-26 | -0/+69 |
| | ||||
* | Some of the non-manifest assets must have the full basename | Mark Longair | 2013-11-19 | -3/+4 |
| | | | | | | | In production mode, the javascript_include_tag and stylesheet_link_tag helpers seem to fail unless the non-manifest assets are given the full basename, whereas the manifests, e.g. application.js, can be referred to as just, e.g. 'application'. | |||
* | Also precompile admin.css | Mark Longair | 2013-11-19 | -0/+1 |
| | ||||
* | Use font-url in fonts.scss | Mark Longair | 2013-11-19 | -30/+30 |
| | ||||
* | Generate fonts.css from SCSS | Mark Longair | 2013-11-19 | -0/+0 |
| | ||||
* | Include both the main and custom CSS files | Mark Longair | 2013-11-19 | -0/+2 |
| | ||||
* | Fix the inclusion of CSS in output for zip file download | Mark Longair | 2013-11-19 | -2/+2 |
| | ||||
* | Fix links to icons for attachments | Mark Longair | 2013-11-19 | -3/+3 |
| | ||||
* | Fix the use of jquery.Jcrop for profile photos | Mark Longair | 2013-11-19 | -1/+1 |
| | ||||
* | Fix links to /images to use image_tag instead | Mark Longair | 2013-11-19 | -3/+3 |
| | ||||
* | Make fancybox work again | Mark Longair | 2013-11-19 | -0/+0 |
| | ||||
* | Add the IE 6 and IE 7 compatability CSS to the asset pipeline | Mark Longair | 2013-11-19 | -4/+6 |
| | ||||
* | Move the print.css stylesheet into the asset pipeline | Mark Longair | 2013-11-19 | -0/+0 |
| | ||||
* | Move to serving main.css from the asset pipeline | Mark Longair | 2013-11-19 | -30/+31 |
| | ||||
* | Also add main.css to the asset pipeline | Mark Longair | 2013-11-19 | -0/+0 |
| | ||||
* | Fix the links to the Twitter and RSS icons | Mark Longair | 2013-11-19 | -5/+5 |
| | ||||
* | Serve fonts from the asset pipeline | Mark Longair | 2013-11-19 | -74/+75 |
| | | | | | | Following the suggestion to use the sass-rails font-path helper: http://aokolish.me/blog/2011/12/24/at-font-face-with-the-asset-pipeline/ | |||
* | Fix more stylesheet links for the asset pipeline | Mark Longair | 2013-11-19 | -3/+3 |
| | ||||
* | Fix a bug in jquery-ui-1.8.15.custom.css | Mark Longair | 2013-11-19 | -1/+1 |
| | | | | | The "font-size: ;" in jquery-ui-1.8.15.custom.css breaks asset precompilation. | |||
* | Move everything out of stylesheets/admin-theme into app/assets/ | Mark Longair | 2013-11-19 | -0/+1 |
| | ||||
* | Move all remaining images from public into app/assets/images/ | Mark Longair | 2013-11-19 | -0/+0 |
| | ||||
* | .gitignore: /public/assets only has generated files | Mark Longair | 2013-11-19 | -0/+1 |
| | ||||
* | Move admin CSS and images into the asset pipeline | Mark Longair | 2013-11-19 | -1058/+6 |
| | | | | | We no longer need to run compass to regenerate the admin CSS - it will be done automatically. | |||
* | Bundle up admin javascript using the asset pipeline | Mark Longair | 2013-11-19 | -33/+17 |
| | | | | | This includes adding coffee-rails so that the .js.coffee file is compiled to .js automatically. | |||
* | Switch Javascript (bar admin) to be served with the asset pipline | Mark Longair | 2013-11-19 | -10/+30 |
| | ||||
* | Upgrade sass-rails | Louise Crow | 2013-11-19 | -8/+10 |
| | | | | An attempt to get image-path to work in sass files. | |||
* | Adding rubyracer to supply a js runtime | Louise Crow | 2013-11-19 | -0/+7 |
| | ||||
* | Enable the Rails asset pipeline (Sprockets) | Mark Longair | 2013-11-19 | -1/+53 |
| | ||||
* | Merge branch 'rails-3-develop' of ↵ | Louise Crow | 2013-11-19 | -42/+86 |
|\ | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop | |||
| * | Also update Gemfile.lock to refer to the upstream globalize | Mark Longair | 2013-11-19 | -3/+3 |
| | | ||||
| * | Merge branch 'all-authorities-reduce-memory' into rails-3-develop | Mark Longair | 2013-11-19 | -7/+43 |
| |\ | | | | | | | | | | | | | This has already been cherry-picked into the wdtk branch, but it should also be merged into rails-3-develop | |||
| | * | Reduce the memory used to serve /body/all-authorities.csv | Mark Longair | 2013-11-14 | -7/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On WDTK, /body/all-authorities was using lots of memory - this commit reduces that by (a) fetching the public bodies in batches, rather than keeping them all in memory at one time and (b) writing the CSV to a file and then returning it with X-Sendfile (or equivalent), rather than returning the whole file from memory with send_data. There's a FIXME to do with the layout of download directories; if that's changed, the example nginx config, etc. will need to be updated too. This commit also adds a basic test for reasonable CSV being returned and switches from FasterCSV to CSV in order to fix this NotImplementedError under Ruby 1.9: Please switch to Ruby 1.9's standard CSV library. It's FasterCSV plus support for Ruby 1.9's m17n encoding engine. (The CSV version seems to still work fine under 1.8.7.) | |||
| * | | Merge branch 'fixes-for-upstream-globalize' into rails-3-develop | Mark Longair | 2013-11-19 | -32/+40 |
| |\ \ | ||||
| | * | | Fix construction of example public bodies for upstream globalize | Mark Longair | 2013-11-19 | -14/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're trying to switch to an upstream version of globalize, which now has Henare's change to allowed blank values without them being converted to nil - however, there is another intermediate change that was introduced which means that the name is only written back to the original table if the locale matches the default locale. This is described in more depth here: https://github.com/globalize/globalize/pull/183 This change broke the make_single_language_example helper, but this commit fixes that by also setting the default locale before creating the example public bodies. | |||
| | * | | Refactor some tests to use with_default_locale | Mark Longair | 2013-11-19 | -17/+15 |
| | | | | ||||
| | * | | Add a helper method for temporarily setting I18n.default_locale | Mark Longair | 2013-11-19 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | Although the I18n library has an I18n.with_locale helper, there's no equivalent for I18n.default_locale. This method will make a couple of our tests clearer and less brittle. | |||
| * | | | Update commonlib to include Alaveteli support in install-site.sh | Mark Longair | 2013-11-19 | -0/+0 |
| | | | | ||||
* | | | | Merge branch 'feature/set-rails-env-from-cap-config' into rails-3-develop | Louise Crow | 2013-11-19 | -0/+3 |
|\ \ \ \ | |/ / / |/| | | | ||||
| * | | | Add rails env to example config. | Louise Crow | 2013-11-19 | -0/+2 |
| | | | | ||||
| * | | | Allow the rails_env to be set from the deploy.yml file. | Louise Crow | 2013-11-19 | -0/+1 |
|/ / / | ||||
* / / | Use our own copy of globalize3 for now. | Louise Crow | 2013-11-19 | -4/+4 |
|/ / | ||||
* | | Update globalize3 repo. | Louise Crow | 2013-11-18 | -5/+5 |
| | | | | | | | | This is the commit where @henares' pull request was merged. This is a quick fix, but I think we want to see if we can use the globalize 3.0.1 gem with minimal fixes. It causes tests to fail at the moment, I think because we still have translated attributes in our public_bodies table (and not null constraints at the databse level on at least the name attribute). | |||
* | | Insert cookie stripping at correct point in middleware stack. | Louise Crow | 2013-11-18 | -1/+13 |
| | |