aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
* Further fix for issue #328.Seb Bacon2012-01-12-2/+15
|
* Fix problem with typeahead searches containing " - " characters and similar. ↵Seb Bacon2012-01-11-1/+17
| | | | Closes #328
* Don't give error when viewing HTML versions. Fixes issue #321Seb Bacon2012-01-08-0/+9
|
* Fix zip-attachment functionalitySeb Bacon2012-01-06-3/+3
|
* Ensure we only parse emails when needed by referring to a new last_parsed ↵Seb Bacon2011-12-21-2/+4
| | | | field on incoming_messages. Currently mails are always parsed just-in-time, but could be parsed as a queue in the future.
* Merge branch 'develop' into cache-foi-attachments-sebSeb Bacon2011-12-21-5/+4
|\ | | | | | | | | Conflicts: app/controllers/request_controller.rb
| * Don't do wildcard searches for partial matches in type ahead searches. ↵Seb Bacon2011-12-21-5/+4
| | | | | | | | Fixes #310.
* | Further improvements to attachment cachingSeb Bacon2011-12-13-4/+4
| |
* | WIP on caching attachmentsSeb Bacon2011-12-12-5/+65
|/
* Merge remote-tracking branch 'jpmckinney/pre1.9' into developSeb Bacon2011-11-24-9/+9
|\ | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| * call #first on from_addrs and to_addrs before calling #to_sJames McKinney2011-10-16-9/+9
| |
| * add encoding magic comments and fix pathsJames McKinney2011-10-16-0/+1
| |
* | Merge pull request #275 from jpmckinney/independent-specsSeb Bacon2011-11-22-15/+15
|\ \ | | | | | | Allow specs to run independently
| * | allow specs to run independentlyJames McKinney2011-10-16-16/+15
| |/
* / Fix occasional test failures due to two events happening in the same second ↵seb2011-11-21-2/+2
|/ | | | being treated as one for the purposes of caching. Fixes #290.
* fix fixtures order to avoid postgresql foreign key errorsJames McKinney2011-10-11-15/+15
|
* Merge branch 'release/0.4' into developSeb Bacon2011-10-10-0/+27
|\
| * Remove invalid collate argument for public body searchesDavid Cabo2011-09-23-0/+27
| | | | | | | | The existing bug wasn't catched by the tests, because it only fails when running in dev: otherwise all the classes are loaded before the search is done, and acts_as_xapian can find the provided 'request_collapse' argument, even if the PublicBody class doesn't define it, since all the init options end up together in acts_as_xapian.
* | Extra tests to sanity check UTF conversion (see issue #128 for background)Seb Bacon2011-10-10-0/+7
|/
* Simplify the "Send follow up" / "Reply" UI: only offer singe "Write a reply" ↵Seb Bacon2011-09-15-0/+16
| | | | 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.
* Provide ability to download zip file containing complete request. Closes #11Seb Bacon2011-09-13-1/+22
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developDavid Cabo2011-09-03-0/+1
|\
| * Store user's locale against profile, so we can send them localised track ↵Seb Bacon2011-09-03-0/+1
| | | | | | | | emails. Also internationalize more strings at the same time. Fixes #163.
* | Fix test: sign-in step is after Preview request, not beforeDavid Cabo2011-09-01-1/+1
| |
* | Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-12/+44
|\ \ | |/ |/| | | to match new wireframes)
| * Merge branch 'asktheeu' into asktheeu-new-designDavid Cabo2011-08-22-12/+44
| |\
| | * Merge branch 'fixes' into asktheeuDavid Cabo2011-08-17-0/+9
| | |\
| | * | Update tests to reflect sign-in is now before Preview when making new requestDavid Cabo2011-08-13-12/+13
| | | |
| | * | Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeuDavid Cabo2011-08-12-3/+9
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: locale/cy/app.po locale/de/app.po locale/es/app.po locale/fr/app.po locale/sq/app.po locale/sr/app.po locale/sr@latin/app.po
| | * \ \ Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeuDavid Cabo2011-07-30-9/+42
| | |\ \ \
| | * \ \ \ Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeuDavid Cabo2011-07-28-0/+3
| | |\ \ \ \
| | * | | | | Adapting New Request flow to new wireframes: added type ahead search when ↵David Cabo2011-07-26-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | creating new requests
* | | | | | | 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/+16
| | | | | | |
* | | | | | | Fixes to get tests to pass following addition of new search / filter ↵Seb Bacon2011-08-29-5/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | functionality
* | | | | / 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
| | | | |
* | | | | 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.
* | | | Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-3/+9
| |_|/ |/| | | | | | | | funr). Also tidy up raw_email setup code to match everywhere.
* | | 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/+41
| |/ |/| | | | | 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
* Remove redundant test (this change should be with commit ↵Seb Bacon2011-07-25-14/+0
| | | | dd58cd35e51c1b98228aae1aa930629e84b6a905)
* 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-1/+1
|
* 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.
* Get rid of commented-out STDERR.puts messagesRobin Houston2011-06-21-4/+0
|