aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
Commit message (Collapse)AuthorAgeLines
...
| * First stab at new feature. Adds new box in sidebar for reporting an issue, a ↵Seb Bacon2012-05-24-2/+8
| | | | | | | | | | | | new "needs admin attention"-type state to InfoRequests, a flag indicating that a request has ever been marked as needing admin attention, and a controller method and route for setting this state & flag. Also adds the reason something needs admin attention to the subject of the email that gets sent to administrators. Neeeds tests.
| * Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-2/+6
| | | | | | | | | | | | | | 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-34/+34
| | | | | | | | wombleton:feature/440_sparkly_admin_css)
| * Don't ever create more than one entry for each URL that we want Varnish to ↵Seb Bacon2012-05-04-3/+6
| | | | | | | | purge.
| * Use routing system to work out URL of request to purge, rather than hard ↵Seb Bacon2012-05-02-1/+5
| | | | | | | | coding it.
| * More changes and refactoring to make purges work.Seb Bacon2012-04-20-13/+8
| |
| * first stab at sending PURGE requests to upstream varnish for request pages. ↵Seb Bacon2012-03-13-0/+15
| | | | | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job.
* | Fix not I18n'd email address descriptionDavid Cabo2012-05-28-1/+5
|/
* Make sure acts_as_xapian is loaded only onceRobin Houston2012-01-12-1/+0
| | | | | | | | | | | This silences the warnings: warning: already initialized constant MSET_MAX_TRIES warning: already initialized constant MSET_MAX_DELAY coming from vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb and also resolves an XXXX-marked issue.
* Ensure model schema documentation is up to date.Seb Bacon2012-01-09-10/+4
|
* Ensure we only parse emails when needed by referring to a new last_parsed ↵Seb Bacon2011-12-21-1/+0
| | | | field on incoming_messages. Currently mails are always parsed just-in-time, but could be parsed as a queue in the future.
* WIP on caching attachmentsSeb Bacon2011-12-12-3/+5
|
* I18nize stringsFaton Selishta2011-11-10-10/+10
|
* Simplify the "Send follow up" / "Reply" UI: only offer singe "Write a reply" ↵Seb Bacon2011-09-15-1/+4
| | | | option, and on the next page, give the user the opportunity to change the recipient from the default (the last valid sender of a message) to any other valid recipient. Closes #35.
* I18n'ize some stringsFaton Selishta2011-09-05-3/+3
|
* Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-2/+5
|\ | | | | | | to match new wireframes)
| * Remove hardcoded status list from InfoRequestEvent, use InfoRequest one insteadDavid Cabo2011-08-24-2/+5
| |
* | First stab at filtering on the "View requests" pageSeb Bacon2011-08-29-1/+2
|/
* When displaying information about how overdue something is, use values from ↵Seb Bacon2011-08-12-0/+2
| | | | the config file, rather than hard coded ones. Fixes #130.
* Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-10/+27
| | | | Closes #117
* Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-4/+11
| | | | display it to administrators. Closes #107.
* Rescue NameErrors when attempting to load custom states (for the case where ↵Seb Bacon2011-07-25-1/+1
| | | | the file exists, but it's empty)
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-07-25-1/+1
|\
| * catch MissingSourceFile instead of NameError when including custom states, ↵David Cabo2011-07-23-1/+1
| | | | | | | | in order to handle the case when file is not present
* | Don't bother stripping whitespace when checking old requests: it's an ↵Seb Bacon2011-07-25-8/+1
|/ | | | expensive operation with a relatively small benefit.
* Store raw_emails in the filesystem, not in the database. They don't need to ↵Seb Bacon2011-07-22-2/+2
| | | | | | be in the database (we never write to them, for example), and they bloat it unecessarily, making backups etc difficult. NOTE: this migration could take a *very* long time.
* Fix bug that meant plugin custom states weren't being loadedSeb Bacon2011-07-13-2/+2
|
* Refactor custom states loading (use class methods where appropriate, ↵Seb Bacon2011-07-12-21/+13
| | | | simplify main code at the cost (small) of test legibility)
* ensure we don't load custom states from plugins when running testsSeb Bacon2011-07-12-1/+7
|
* Improve factoring out of custom states code (refactor a little, add tests)Seb Bacon2011-07-12-34/+51
|
* As a first attempt, in a dumb way, factor out jurisdiction-specific states ↵Seb Bacon2011-07-07-6/+14
| | | | to themes
* Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-1/+2
| | | | Includes new "REPLY_LATE_AFTER_DAYS" config option.
* initial merge of Kosovan branch; still need to get tests passing, factor out ↵Seb Bacon2011-07-06-17/+29
|\ | | | | | | Kosovan-specific code
| * I18n string for modelsFaton Selishta2011-06-30-17/+17
| |
| * Specific code for our requirements (kosovo law, our request etc..)Faton Selishta2011-06-02-2/+14
| |
* | Get rid of commented-out STDERR.puts messagesRobin Houston2011-06-21-1/+0
|/
* Updating validations so that none expect automatic interpolation of the ↵Louise Crow2011-02-24-5/+5
| | | | attribute.
* Stop people titling a request just "FOI request"Francis Irving2010-10-27-0/+3
|
* Send displayable version of statusFrancis Irving2010-10-20-0/+1
|
* Show more appropriate info about users/bodies everywhere in JSON.Francis Irving2010-10-20-21/+9
|
* Return more info in request JSON response.Francis Irving2010-10-20-0/+38
|
* Much better way of wording this, thanks LouiseFrancis Irving2010-10-18-6/+1
|
* Fix bug which gave errors on submitting requests.Francis Irving2010-10-18-0/+1
|
* Annotate models.Francis Irving2010-10-09-1/+1
|
* Index tags on info requests.Francis Irving2010-10-09-0/+7
|
* Tags for requests, with admin interface to view/edit them.Francis Irving2010-09-29-0/+2
|
* Update model annotations.Francis Irving2010-09-15-1/+1
|
* Remove surplus :s (for Ruby 1.9)FOI site testharness2010-09-09-1/+1
|
* Cope with there being no user.Francis Irving2010-08-04-4/+8
|
* Do censoring of whole users if the rules are there.Francis Irving2010-08-04-0/+6
|