aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
Commit message (Collapse)AuthorAgeLines
* Merge branch 'hotfix/0.20.0.2' into rails-3-developLouise Crow2015-01-07-1/+1
|\
| * Fix unvalidated redirectsGareth Rees2014-12-22-1/+1
| |
* | Add global protect_from_forgeryGareth Rees2014-12-18-3/+0
|/ | | | | | | Grepping the git logs didn’t bring up a good reason for this to be excluded. Seems like it came along after the app was initially created so it never got fully added for fear of regressions. The specs pass for this commit.
* Handle unhelpful stemmingGareth Rees2014-06-25-1/+9
| | | | | | | Stemming returns 'bore' as the word to highlight which can't be matched in the original phrase. Also removes duplicates from the results
* Use regex based highlightingGareth Rees2014-06-25-1/+1
|
* Rename XXX comments with TODO:Gareth Rees2014-06-10-1/+1
| | | | Picks these up in `rake notes` and adds semantic meaning
* Add notices for unsubscribing from things.Louise Crow2014-03-24-1/+1
| | | | | These are full sentences, not composed on the fly, so should be easier to translate.
* Add notices for subscribing to something.Louise Crow2014-03-24-5/+1
| | | | | These notices are complete sentences, not composed on the fly, so should be easier to translate.
* Add notices for subscribing something you're subscribed to.Louise Crow2014-03-24-1/+1
| | | | | These notices are full sentences, rather than being composed of phrases, which should make them easier to translate.
* Remove obsolete line.Louise Crow2014-03-24-1/+0
| | | | | Should have been removed in https://github.com/mysociety/alaveteli/commit/b236d4f113187b0e5d87867fc6512e5486f9764f.
* Remove old unused code.Louise Crow2014-03-24-8/+0
|
* Make method names for finding existing objects clearerLouise Crow2013-12-04-1/+1
| | | | | They're not finding by the existing object, they're finding an existing object.
* Merge branch 'feature/rails-3-2-upgrade-spike' into ↵Mark Longair2013-11-29-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/switch-to-asset-pipeline Conflicts: Gemfile.lock app/assets/images/admin-theme/ui-bg_flat_0_aaaaaa_40x100.png app/assets/images/admin-theme/ui-bg_flat_55_fbf9ee_40x100.png app/assets/images/admin-theme/ui-bg_flat_65_ffffff_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_cccccc_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_dadada_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_e6e6e6_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_ffffff_40x100.png app/assets/images/admin-theme/ui-bg_inset-soft_95_fef1ec_1x100.png app/assets/images/admin-theme/ui-icons_222222_256x240.png app/assets/images/admin-theme/ui-icons_2e83ff_256x240.png app/assets/images/admin-theme/ui-icons_454545_256x240.png app/assets/images/admin-theme/ui-icons_888888_256x240.png app/assets/images/admin-theme/ui-icons_cd0a0a_256x240.png app/assets/javascripts/admin.js app/assets/javascripts/admin/jquery-ui.min.js app/assets/javascripts/application.js app/assets/javascripts/jquery-ui.min.js app/assets/javascripts/jquery.flot.errorbars.min.js app/assets/javascripts/jquery.flot.min.js app/assets/javascripts/stats.js app/assets/stylesheets/application.css app/assets/stylesheets/fonts.scss app/views/general/_stylesheet_includes.html.erb app/views/layouts/admin.html.erb app/views/layouts/default.html.erb app/views/public_body/statistics.html.erb config/application.rb config/environments/development.rb
| * Don't specify format in template name.Louise Crow2013-11-12-1/+4
| | | | | | | | | | In render calls, that's now deprecated in favour of using the :formats option.
| * We're assuming feed urls without format suffixes should serve up atom/xml, ↵Louise Crow2013-06-05-0/+3
| | | | | | | | so ignore any format from content negotiation in favour of that default.
* | Don't allow redirects to another host.Louise Crow2013-10-02-1/+2
| |
* | We're assuming feed urls without format suffixes should serve up atom/xml, ↵0.11.0.4hotfix/0.11.0.4Louise Crow2013-06-05-0/+3
|/ | | | so ignore any format from content negotiation in favour of that default.
* Make sure Atom feeds are served with content type application/atom+xmlMark Longair2013-05-29-1/+1
| | | | Fixes #961
* Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-1/+1
|
* Fix track searches by changing the way the routing worksHenare Degan2013-03-05-4/+1
|
* Access view helper from controller using view_contextMatthew Landauer2013-01-31-1/+1
|
* Fix rendering of atom feed and set correct content typeMatthew Landauer2013-01-31-1/+1
|
* Add a full stop to the end of this sentenceHenare Degan2012-10-18-1/+1
|
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Fail with NotFound if request slug doesn't existRobin Houston2012-08-20-1/+1
| | | | Closes #554.
* Fix typo that broke one of the "follow" informational messagesSeb Bacon2012-05-30-1/+1
|
* Support "following" functionality:Seb Bacon2012-05-30-4/+7
| | | | | | * Change "email me about stuff" wording to "follow" throughout * Introduce a new flag that the user can set, which controls if they get email alerts * Add a new link to a "wall" for logged in users where they can see a feed of all the things they're following
* Redirect people to more user-friendly search results page (where possible) ↵Seb Bacon2012-05-11-1/+17
| | | | after they've "followed" search results. Fixes #487
* Filter public body tracks by event typeRobin Houston2012-05-03-2/+6
| | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent.
* Return 404 for /feed/user/no_such_userRobin Houston2012-02-03-0/+1
| | | | Fixes #407.
* Old feed URLs should continue to workRobin Houston2012-01-09-1/+8
|
* Add cache headers to various pages (in three categories: short, medium, and ↵Seb Bacon2011-07-26-0/+2
| | | | long).
* I18n string for controllersFaton Selishta2011-06-30-10/+10
|
* Add CSRF protection on state changing actions. Use default handler ↵Louise Crow2011-02-28-3/+5
| | | | handle_unverified_request which clears session.
* Show more appropriate info about users/bodies everywhere in JSON.Francis Irving2010-10-20-27/+4
|
* Return more info in request JSON response.Francis Irving2010-10-20-1/+3
|
* Include snippet in results from search query JSON.Francis Irving2010-10-20-0/+2
|
* Remove superfluous routes, make search query feeds work.Francis Irving2010-10-09-0/+7
|
* .json form for RSS feedsFrancis Irving2010-10-09-2/+24
|
* Revert "Don't set cookies in feed filters"Francis Irving2010-09-03-3/+0
| | | | This reverts commit 98addf135eccf6726adc7eeae818fd62e8acf3d7.
* Don't set cookies in feed filtersFrancis Irving2010-09-03-0/+3
|
* Minor spacing change.francis2009-09-02-2/+2
|
* Issue permanent redirects for old-style atom feed requeststony2009-03-12-3/+8
|
* Don't fill flash up with potentially hundreds of lines.francis2009-03-05-3/+2
|
* Button to delete all tracks of a particular type.francis2009-03-05-1/+27
|
* Remove debugging.francis2008-09-11-2/+1
|
* Display RSS link on same line as form for unsubscribe.francis2008-08-09-13/+19
|
* Simplify code a bit. Improve wording of now/already being emailed flash.francis2008-08-08-41/+9
|
* Email alert subscriptions are now private. Remove RSS subscriptions completely,francis2008-08-08-75/+43
| | | | | | | people can use the raw RSS feeds now. This means the way RSS and email alerts are handled is like on other sites, so people will hopefully understand it :) We'll add comments to put back the social stuff we'd hoped having tracks private would gain...
* RSS feeds without tracking (just underlying code, not linked from anywhere yet)francis2008-07-18-3/+21
|