aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request_event.rb
Commit message (Collapse)AuthorAgeLines
* Improve InfoRequestEvent#incoming_message_selective_columns SQLGareth Rees2014-12-18-5/+4
|
* Rename XXX comments with TODO:Gareth Rees2014-06-10-4/+4
| | | | Picks these up in `rake notes` and adds semantic meaning
* Move make_query_from_params to XapianQueriesLouise Crow2013-12-19-0/+4
| | | | | | | | | | This is involved with the construction of meaningful xapian queries with respect to InfoRequestEvents. This commit also removes the get_tags_from_params method, which presumably was targeted at PublicBodies, but doesn't seem to actually be used anywhere. XapianQueries is used to extend InfoRequestEvent in order to prevent InfoRequestEvent becoming too unwieldy and to preserve the association between these methods.
* Add some translator's notes on the use of 'follow up'.Louise Crow2013-10-04-0/+3
|
* InfoRequestEvent.indexed_by_search consults OutgoingMessage.Louise Crow2013-09-16-0/+3
|
* Add a possible event type 'edit_incoming'.Louise Crow2013-09-16-1/+1
| | | | This will cover changes in prominence to incoming messages.
* Don't index hidden and requester_only incoming messages.Louise Crow2013-09-16-0/+4
|
* Re-annotate models with database fieldsLouise Crow2013-09-16-7/+5
|
* Remove prominence.Louise Crow2013-09-16-23/+0
| | | | | | | Add a migration to remove the unused column 'prominence' from info_request_events, remove validation of prominence, remove unused InfoRequestEvent.user_can_view? method. Remove references to InfoRequestEvent.prominence.
* Handle request for json for an external request. Closes #973.Louise Crow2013-06-07-1/+1
|
* Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-1/+1
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-15/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Avoid using return in the middle of methodsMatthew Landauer2013-03-02-7/+8
| |
| * InfoRequestEvent should know about its event typesMatthew Landauer2013-03-02-0/+8
| |
| * Simplify methodsMatthew Landauer2013-03-02-8/+3
| |
* | Rename ALL THE TEMPLATES!!1!!!one!!1!!Henare Degan2013-02-27-1/+1
|/ | | | .rhtml is deprecated in favour of .erb in Rails 3
* Wrap address parsing in a address_from_string method in the mail handler.Louise Crow2012-11-15-1/+1
|
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Remove now unused league table method from InfoRequestEvent.Louise Crow2012-09-11-20/+2
|
* Fix indexing of info_request_eventsRobin Houston2012-06-06-1/+1
| | | | | Even external requests need to be indexed, for which we need a slug representing the user.
* Log an event when a request is hiddenRobin Houston2012-06-04-0/+1
|
* Further annotation correctionsSeb Bacon2012-05-24-1/+1
|
* Rollback refactoring of event_type validation that broke various testsSeb Bacon2012-05-23-19/+24
|
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-26/+24
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-28/+28
| | | | wombleton:feature/440_sparkly_admin_css)
* Filter public body tracks by event typeRobin Houston2012-05-03-19/+23
| | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent.
* Always show the right search snippet. Fixes #352.Seb Bacon2012-01-19-1/+21
|
* Changes to make normal search pages not necessarily load info_request_events ↵Seb Bacon2012-01-12-4/+18
| | | | every time
* Ensure model schema documentation is up to date.Seb Bacon2012-01-09-7/+7
|
* Return nil if there's no latest calculated state to returnSeb Bacon2012-01-06-0/+1
|
* Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-31/+1
|\ | | | | | | to match new wireframes)
| * Fix bug introduced in previous commit: missed return statementDavid Cabo2011-08-24-1/+1
| |
| * Remove hardcoded status list from InfoRequestEvent, use InfoRequest one insteadDavid Cabo2011-08-24-31/+1
| |
| * Replace hardcoded state list in InfoRequestState with customizable one from ↵David Cabo2011-08-24-16/+7
| | | | | | | | InfoRequest (fixes #155)
* | Further work in progress on better search functionalitySeb Bacon2011-08-29-2/+10
| |
* | First stab at filtering on the "View requests" pageSeb Bacon2011-08-29-1/+17
| |
* | Replace hardcoded state list in InfoRequestState with customizable one from ↵David Cabo2011-08-23-16/+7
|/ | | | InfoRequest (fixes #155)
* Index all available locales for requested_from field (fixes #126)David Cabo2011-08-11-1/+6
|
* I18n string for modelsFaton Selishta2011-06-30-18/+18
|
* Specific code for our requirements (kosovo law, our request etc..)Faton Selishta2011-06-02-0/+6
|
* Only show display_status when canFrancis Irving2010-10-20-1/+4
|
* Send displayable version of statusFrancis Irving2010-10-20-0/+1
|
* Show more appropriate info about users/bodies everywhere in JSON.Francis Irving2010-10-20-0/+31
|
* Annotate models.Francis Irving2010-10-09-1/+1
|
* Index tags on info requests.Francis Irving2010-10-09-1/+6
|
* Update model annotations.Francis Irving2010-09-15-1/+1
|
* Remove surplus :s (for Ruby 1.9)FOI site testharness2010-09-09-1/+1
|
* Log changing body / userFrancis Irving2010-08-12-6/+9
|
* Update model annotations.Francis Irving2010-07-27-1/+1
|
* Add specific draft attribute.Francis Irving2010-07-15-1/+1
|