aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeLines
* Add test for generation of HTML versions of attachments. As a side-effect, ↵Seb Bacon2011-08-17-2/+2
| | | | make some of the HTML more valid. Prerequisite for addressing issue #108.
* Merge branch 'master' of github.com:sebbacon/alaveteliDavid Cabo2011-08-16-2/+3
|\
| * Internationalise the salution, making sure it's OK to miss out the public ↵Seb Bacon2011-08-15-2/+3
| | | | | | | | body name as they might in French. Fixes #134.
* | Don't fail if a body has the same url_name in several locales (closes #139)David Cabo2011-08-16-6/+7
|/
* 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.
* Force elinks to assume UTF8 character set for its input (used when making ↵Seb Bacon2011-08-12-1/+1
| | | | plain text versions of HTML email)
* Remove more whatdotheyknow references. Closes #113 (I think).Seb Bacon2011-08-12-1/+2
|
* Fix name of first field on CSV importDavid Cabo2011-08-12-0/+1
|
* Index all available locales for requested_from field (fixes #126)David Cabo2011-08-11-1/+6
|
* I18n'ize some more strings in viewsDavid Cabo2011-08-11-11/+11
|
* Create public bodies in multiple locales when importing from CSVDavid Cabo2011-08-11-11/+39
|
* Handle optional field list on CSV import, needed for enabling multiple localesDavid Cabo2011-08-11-7/+11
|
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-24/+29
| | | | substitution in gettext strings.
* Apply censor rules even when pdftk refuses to compress. Also provide for ↵Seb Bacon2011-08-10-1/+13
| | | | alternative to pdftk for compression. Closes #123.
* Fix dependency problem when deleting incoming messages. Closes #115Seb Bacon2011-08-08-4/+1
|
* 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-6/+14
| | | | display it to administrators. Closes #107.
* Fix broken check for test environmentRobin Houston2011-08-01-1/+1
| | | | | | | The condition that was supposed to check for the "test" environment was accidentally imposing the test environment. Closes #102.
* User's display name should indicate if they've been banned. Fixes #100.Seb Bacon2011-08-01-0/+3
|
* To make tests pass with RawEmails on the filesystem, instead of hacky ↵Seb Bacon2011-07-29-3/+7
| | | | dependency on existence of text_binary field in raw_emails model, rewrite tests (and their fixtures) to explicitly load data from FS when raw_emails are used.
* 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
* | Clarify alert logic in a commentSeb Bacon2011-07-25-1/+5
| |
* | 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.
* | drop strange, stray commentSeb Bacon2011-07-22-1/+0
|/
* Drop post_redirects older than 2 months. The 6 month limit meant we had far ↵Seb Bacon2011-07-22-1/+1
| | | | too much redundant data that we were needlessly backing up.
* Store raw_emails in the filesystem, not in the database. They don't need to ↵Seb Bacon2011-07-22-4/+37
| | | | | | 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.
* 1) You can’t call an instance method from a class method (d’oh)Robin Houston2011-07-14-2/+2
| | | | | | 2) The test coverage is less good than I imagined. XXXX need test for zip file attachments
* Merge branch 'master' of git@github.com:sebbacon/alaveteliRobin Houston2011-07-13-2/+2
|\
| * Fix bug that meant plugin custom states weren't being loadedSeb Bacon2011-07-13-2/+2
| |
* | Continue processing if we encounter a corrupt zip fileRobin Houston2011-07-13-21/+31
|/
* 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
|
* merge IZ/Kosovo fork and refactorSeb Bacon2011-07-12-93/+155
|\
| * 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
| * fallbacks for public_body_categories (this needs to be done in a better way, ↵Seb Bacon2011-07-07-2/+9
| | | | | | | | but will do for now
| * Move various hard-coded strings to config fileSeb Bacon2011-07-07-1/+3
| |
| * Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-6/+8
| | | | | | | | 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-80/+106
| |\ | | | | | | | | | Kosovan-specific code
| | * I18n string for modelsFaton Selishta2011-06-30-66/+66
| | |
| | * I18n fixFaton Selishta2011-06-02-2/+10
| | |
| | * Specific code for our requirements (kosovo law, our request etc..)Faton Selishta2011-06-02-2/+20
| | |
| | * Fix a bug of translationFaton Selishta2011-04-26-2/+1
| | |
* | | The generated Message-Id value uses the id of the OutgoingMessage, whichRobin Houston2011-07-08-4/+4
| | | | | | | | | | | | | | | is not assigned till the object is saved. So we need to save it before we send the message.
* | | Include the id of the OutgoingMessage in the SMTP Message-Id, andRobin Houston2011-07-07-5/+24
|/ / | | | | | | | | | | record the full Message-Id in the event log. Closes #70.
* | Google Docs Viewer can now handle .pptx and .xlsx files.Robin Houston2011-07-04-50/+39
| | | | | | | | Closes #68.
* | The error messages are clearly designed to be used *without* theRobin Houston2011-06-23-2/+2
| | | | | | | | | | | | field name being prepended, so change the ApplicationHelper::foi_error_messages_for method to not prepend the field name, and add the field name back to the two messages from which we previously removed it.
* | Calling a class method from an instance method needs to be done explicitlyRobin Houston2011-06-22-1/+1
| |