aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | Make the general search return requests only, by defaultSeb Bacon2011-09-01-1/+1
| | | | | | | | |
* | | | | | | | | Fixes to get tests pass following new design changesSeb Bacon2011-09-01-3/+3
|/ / / / / / / /
* | | | | | | | Additional changes omitted from commit ↵Seb Bacon2011-08-30-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9d8388c03d0faeaca29d233a340c58bd65f28a97 (distinguish 404s and 500s), fixes #161.
* | | | | | | | Add tests & fixes for new search/filtering functionalitySeb Bacon2011-08-29-0/+54
| | | | | | | |
* | | | | | | | Fixes to get tests to pass following addition of new search / filter ↵Seb Bacon2011-08-29-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality
* | | | | | | | Merge branch 'develop' of git@github.com:sebbacon/alaveteli into developRobin Houston2011-08-25-18/+72
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Refactor fixes to #142 and #143, new implementation much simpler to understandDavid Cabo2011-08-23-20/+19
| | | | | | | |
| * | | | | | | Support editing of public bodies simultaneously in all locales (closes #143)David Cabo2011-08-23-11/+16
| | | | | | | |
| * | | | | | | Make public body creation tests more robustDavid Cabo2011-08-23-2/+4
| | | | | | | |
| * | | | | | | Extend "new public body" form to support multiple locales (closes #142)David Cabo2011-08-23-8/+56
| |/ / / / / /
* / / / / / / Anneal brittle testRobin Houston2011-08-24-1/+3
|/ / / / / /
* | | | | / Add test for generation of HTML versions of attachments. As a side-effect, ↵Seb Bacon2011-08-17-0/+8
| |_|_|_|/ |/| | | | | | | | | | | | | | make some of the HTML more valid. Prerequisite for addressing issue #108.
* | | | | Fix template syntax error. Closes #136Seb Bacon2011-08-15-0/+7
| | | | |
* | | | | Monkey patch around bug that was stripping out quotes from search phrases. ↵Seb Bacon2011-08-15-1/+0
| | | | | | | | | | | | | | | | | | | | Fixes #38
* | | | | 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.
* | | | I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-2/+2
| | | | | | | | | | | | | | | | substitution in gettext strings.
* | | | Show the rejected reason for the incoming message in question, not the most ↵Seb Bacon2011-08-11-1/+6
| | | | | | | | | | | | | | | | recent rejected reason for the info request in question. Fixes #129.
* | | | Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-12/+20
| | | | | | | | | | | | | | | | funr). Also tidy up raw_email setup code to match everywhere.
* | | | allow admin to redeliver emails to closed requests. Fixes #116Seb Bacon2011-08-08-0/+18
| | | |
* | | | Introduce config setting to ignore browser language settingsSeb Bacon2011-08-08-1/+15
| | | |
* | | | Fix dependency problem when deleting incoming messages. Closes #115Seb Bacon2011-08-08-0/+7
| | | |
* | | | Ensure we use sensible fallbacks for setting the default / initial locale ↵Seb Bacon2011-08-08-8/+29
| | | | | | | | | | | | | | | | for a user. (Partially) fixes #114
* | | | Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-0/+11
| | | | | | | | | | | | | | | | Closes #117
* | | | Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-0/+19
| | | | | | | | | | | | | | | | display it to administrators. Closes #107.
* | | | Force a trailing slash on the end of the administrators' index page. Fixes #106Seb Bacon2011-08-03-1/+7
| | | |
* | | | Fail silently if there's no user matching one referenced in the current ↵Seb Bacon2011-08-03-0/+7
| |_|/ |/| | | | | | | | session. Fixes #105
* | | make explicit path test locale-independentSeb Bacon2011-07-29-1/+1
| | |
* | | To make tests pass with RawEmails on the filesystem, instead of hacky ↵Seb Bacon2011-07-29-8/+52
| |/ |/| | | | | 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.
* | Cause the final step in the "new request" workflow to have a unique URL (so ↵Seb Bacon2011-07-28-0/+3
| | | | | | | | we can distinguish it in Google Analytics). Fixes #96
* | Don't treat CSRF tokens as optional session data for administrators (they're ↵Seb Bacon2011-07-27-4/+12
| | | | | | | | | | | | needed to allow them to edit anything! Fixes #95 (Also change wording of test namess to match usual rspec convention)
* | Authentication should only apply to admin interface when *both* email *and* ↵Seb Bacon2011-07-27-0/+9
|/ | | | password are unset
* Remove redundant test (this change should be with commit ↵Seb Bacon2011-07-25-14/+0
| | | | dd58cd35e51c1b98228aae1aa930629e84b6a905)
* Only prepend locales to paths when there's more than one locale to choose from.Seb Bacon2011-07-15-0/+23
| | | | Replaces core "locale" filter with customised one. Fixes #82
* Make test description be accurateSeb Bacon2011-07-14-1/+1
|
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-07-14-1/+4
|\ | | | | | | | | Conflicts: app/views/request/_request_listing_single.rhtml
| * Make the tests work with authenticationRobin Houston2011-07-13-1/+4
| |
* | Fix bug on categorisation page that was stopping game from workingSeb Bacon2011-07-14-0/+12
|/
* don't test routing filters at same time as other testsSeb Bacon2011-07-13-1/+2
|
* fix "custom request states" request controller testSeb Bacon2011-07-12-0/+3
|
* Refactor custom states loading (use class methods where appropriate, ↵Seb Bacon2011-07-12-1/+2
| | | | simplify main code at the cost (small) of test legibility)
* Improve factoring out of custom states code (refactor a little, add tests)Seb Bacon2011-07-12-0/+12
|
* changes to get tests to pass with IZ fork and new routing-filter gemSeb Bacon2011-07-11-40/+54
|
* merge from masterSeb Bacon2011-07-07-1/+1
|\
| * Remove the translate_routes plugin, for now, because it appears toRobin Houston2011-07-06-1/+1
| | | | | | | | be the cause of several difficult bugs related to routing.
* | Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-2/+2
| | | | | | | | Includes new "REPLY_LATE_AFTER_DAYS" config option.
* | fix up basic auth for admin settings: get credentials from config, cause ↵Seb Bacon2011-07-06-3/+32
|/ | | | default (where no config) to skip authorization completely, add tests for these
* Get rid of commented-out STDERR.puts messagesRobin Houston2011-06-21-4/+0
|
* Correct an operator precendence bug in request_controller, and add a test ↵Robin Houston2011-06-21-6/+15
| | | | for it.
* Argh! Another spec that uses the :public_bodies fixture and needsRobin Houston2011-06-20-0/+1
| | | | :public_body_translations to be added for it to work correctly.
* merge WTDK changes to master (preparation for closing WTDK branch and ↵Seb Bacon2011-06-14-2/+2
|\ | | | | | | deploying WTDK website straight from master)