aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
Commit message (Collapse)AuthorAgeLines
* Add missing full stops from new translationsLouise Crow2014-05-15-24/+24
|
* Merge branch 'feature/1310-better-track-translation' into rails-3-developLouise Crow2014-04-04-6/+128
|\ | | | | | | | | Conflicts: spec/factories.rb
| * Remove explicit escaping callsLouise Crow2014-03-24-9/+9
| | | | | | | | Will be done automatically in Rails 3
| * Move track descriptions to a helper.Louise Crow2014-03-24-0/+20
| | | | | | | | We can access url generation methods more easily here.
| * Add notices for unsubscribing from things.Louise Crow2014-03-24-0/+23
| | | | | | | | | | 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-0/+53
| | | | | | | | | | 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-0/+26
| | | | | | | | | | These notices are full sentences, rather than being composed of phrases, which should make them easier to translate.
* | Add AdminHelper#comment_visibilityGareth Rees2014-03-25-0/+5
| | | | | | | | Get the canonical human-readable status of a comment
* | Merge branch 'feature/1313-better-translation-markup' into rails-3-developLouise Crow2014-03-24-3/+45
|\ \
| * | Refactor event description to make it easier to translate.Louise Crow2014-03-17-0/+42
| | | | | | | | | | | | Closes #1313 and #365.
| * | Remove redundant h() callsLouise Crow2014-03-13-3/+3
| |/ | | | | | | Text will be escaped by default in Rails 3
* / Add formatting options to LinkToHelper#simple_dateGareth Rees2014-03-13-3/+48
|/
* Merge branch 'feature/cache-request-lists' into rails-3-developLouise Crow2014-01-28-0/+13
|\
| * Cache frequently accessed request lists.Louise Crow2013-12-19-0/+13
| | | | | | | | Make specs a bit more focused, remove view specs - they're not relevant to the new code in their current form and don't seem to merit updating.
* | Pass explicit value for absoluteLouise Crow2014-01-28-2/+2
| | | | | | | | Previous syntax broken under Ruby 1.8.7.
* | Link 'anonymous' users to help section with explanation.Louise Crow2014-01-14-6/+19
|/ | | | | | | Requests submitted using the write API may have an anonymous user. Add a section to the FAQ explaining this, and link to it from those requests. Note this commit removes some 'h' calls that are no longer needed in Rails 3. Contributes to https://github.com/mysociety/alaveteli/issues/1286
* Merge remote-tracking branch 'origin/merged-rails-3-2-assset-pipeline' into ↵Louise Crow2013-11-29-4/+4
|\ | | | | | | | | | | | | rails-3-develop Conflicts: Gemfile.lock
| * In excerpt, radius is now an option.Louise Crow2013-11-12-2/+2
| | | | | | | | Passing it as an argument is deprecated.
| * Highlighter is now an option.Louise Crow2013-11-12-2/+2
| | | | | | | | Passing it as an argument is deprecated.
* | Make fragment caching dependent on a config variable.Louise Crow2013-11-25-0/+7
|/
* Add public criteria for message event access methodsLouise Crow2013-09-16-1/+1
| | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear.
* Remove unused method.Louise Crow2013-06-25-3/+0
|
* Merge branch 'hotfix/0.8.0.1' into rails-3-developLouise Crow2013-04-02-1/+1
|\ | | | | | | | | | | Conflicts: config/environment.rb spec/mailers/track_mailer_spec.rb
| * Use full urls in outgoing_message_url as the name impliesMatthew Landauer2013-04-02-1/+1
| |
* | Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-2/+2
| |
* | Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-83/+136
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
| * Merge remote-tracking branch ↵Louise Crow2013-03-11-19/+39
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'openaustralia_github/make_ui_for_links_in_admin_interface_consistent' into develop Conflicts: app/views/admin_censor_rule/new.rhtml app/views/admin_general/index.rhtml app/views/admin_general/timeline.rhtml app/views/admin_request/_some_requests.rhtml app/views/admin_request/show.rhtml app/views/admin_track/_some_tracks.rhtml
| | * Inline helperMatthew Landauer2013-03-08-4/+0
| | |
| | * Use helpers for iconsMatthew Landauer2013-03-08-4/+16
| | |
| | * New helper for showing two links for a userMatthew Landauer2013-03-08-1/+2
| | |
| | * Refactor user_admin_link_for_requestMatthew Landauer2013-03-08-3/+2
| | |
| | * Give explanatory titles to links which can be seen on hoverMatthew Landauer2013-03-08-4/+4
| | |
| | * Extract helper for making an iconMatthew Landauer2013-03-08-3/+11
| | |
| | * Move admin specific helpers to AdminHelperMatthew Landauer2013-03-08-18/+20
| | |
| | * Would help if I wrote that helper correctlyMatthew Landauer2013-03-08-2/+2
| | |
| | * Update admin specific helpers with new standard form of linksMatthew Landauer2013-03-08-2/+4
| |/
| * Merge remote-tracking branch 'openaustralia_github/make-links-relative' into ↵Louise Crow2013-03-06-76/+106
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml
| | * Reinstate main_url and admin_url helpers with deprecation warningMatthew Landauer2013-02-18-0/+26
| | |
| | * Remove unused parameters from helper methodMatthew Landauer2013-02-15-1/+1
| | |
| | * Fix incoming_message_url to return an absolute path. Don't use this helper ↵Matthew Landauer2013-02-15-1/+1
| | | | | | | | | | | | with links
| | * Remove unused helperMatthew Landauer2013-02-15-4/+0
| | |
| | * Replace use of route_url(:only_path => true) with route_path where we canMatthew Landauer2013-02-15-2/+2
| | |
| | * Inline helper methodMatthew Landauer2013-02-15-7/+3
| | |
| | * Inline helperMatthew Landauer2013-02-15-5/+1
| | |
| | * Inline helperMatthew Landauer2013-02-15-6/+2
| | |
| | * Stop using admin_url to generate absolute url for the admin interfaceMatthew Landauer2013-02-15-9/+3
| | |
| | * Stop using main_url to generate absolute urls for the main siteMatthew Landauer2013-02-15-23/+6
| | |
| | * Make links relativeMatthew Landauer2013-02-15-0/+12
| | |
| | * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-3/+6
| | |
| | * Rename helper methodMatthew Landauer2013-02-15-6/+6
| | |