aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
Commit message (Collapse)AuthorAgeLines
...
* Merge branch 'fixing-xapian-reindexing' into release/0.5Seb Bacon2012-01-06-2/+2
|\
| * Make test less brittleSeb Bacon2012-01-06-2/+2
| |
* | Fix zip-attachment functionalitySeb Bacon2012-01-06-3/+3
|/
* Reintroduce a "my requests" link. Fixes #289.Seb Bacon2012-01-02-0/+10
|
* 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-10/+8
|\ | | | | | | | | Conflicts: app/controllers/request_controller.rb
| * Don't do wildcard searches for partial matches in type ahead searches. ↵Seb Bacon2011-12-21-10/+8
| | | | | | | | Fixes #310.
* | Further improvements to attachment cachingSeb Bacon2011-12-13-4/+4
| |
* | WIP on caching attachmentsSeb Bacon2011-12-12-5/+65
|/
* Fix tests relating to commit dc3c642e889f887e46873ae78967ec7c893c9c1bSeb Bacon2011-12-05-10/+12
|
* When listing public bodies, instead of showing only those with translations ↵Seb Bacon2011-12-02-1/+14
| | | | in the current locale, show all those that have entries in the default locale. When there is no translation present for a locale, it will fall back to the default translation. Fixes #280.
* Merge remote-tracking branch 'jpmckinney/pre1.9' into developSeb Bacon2011-11-24-14/+15
|\ | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| * fix spec example for 1.9James McKinney2011-10-17-2/+2
| |
| * call #first on from_addrs and to_addrs before calling #to_sJames McKinney2011-10-16-12/+12
| |
| * add encoding magic comments and fix pathsJames McKinney2011-10-16-0/+2
| |
* | Merge pull request #275 from jpmckinney/independent-specsSeb Bacon2011-11-22-42/+46
|\ \ | | | | | | Allow specs to run independently
| * | add more fixtures to one specJames McKinney2011-10-17-4/+4
| | |
| * | allow specs to run independentlyJames McKinney2011-10-16-43/+46
| |/
* / 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-27/+27
|
* Merge branch 'release/0.4' into developSeb Bacon2011-10-10-0/+46
|\
| * Respect admin password and username. Fixes #245.Seb Bacon2011-09-30-0/+19
| |
| * 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 'wdtk' into developRobin Houston2011-09-08-4/+4
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb
| * Fix User.should_be_emailed?Robin Houston2011-09-08-3/+3
| | | | | | | | | | The User.should_be_emailed? method needs to be public. It should also be tested.
| * yet another missing fixture declaration!Robin Houston2011-09-08-1/+1
| |
* | Amend test which broke due to missing locale prefix under some conditionsDavid Cabo2011-09-05-1/+1
| |
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop, fix ↵Seb Bacon2011-09-05-13/+80
|\ \ | | | | | | | | | conflicts
| * | Remove hardcoded site name from testDavid Cabo2011-09-03-1/+1
| | |
| * | Merge branch 'develop' of github.com:sebbacon/alaveteli into developDavid Cabo2011-09-03-5/+39
| |\ \
| * | | 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/+79
| |\ \ \ | | | | | | | | | | | | | | | to match new wireframes)
| | * \ \ Merge branch 'asktheeu' into asktheeu-new-designDavid Cabo2011-08-22-30/+151
| | |\ \ \
| | | * \ \ Merge branch 'fixes' into asktheeuDavid Cabo2011-08-17-19/+81
| | | |\ \ \
| | | | * | | Refactor fixes to #142 and #143, new implementation much simpler to understandDavid Cabo2011-08-17-20/+19
| | | | | | |
| | | | * | | Support editing of public bodies simultaneously in all locales (closes #143)David Cabo2011-08-17-11/+16
| | | | | | |
| | | | * | | Make public body creation tests more robustDavid Cabo2011-08-17-2/+4
| | | | | | |
| | | | * | | Extend "new public body" form to support multiple locales (closes #142)David Cabo2011-08-17-8/+56
| | | | | | |
| | | * | | | 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-23/+139
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | | | | implementing new request wireframes: new page to select authority to write toDavid Cabo2011-08-02-0/+35
| | | | | | | |
| | | * | | | | Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeuDavid Cabo2011-07-30-9/+53
| | | |\ \ \ \ \
| | | * \ \ \ \ \ Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeuDavid Cabo2011-07-28-3/+23
| | | |\ \ \ \ \ \
| | | * | | | | | | Adapting New Request flow to new wireframes: added type ahead search when ↵David Cabo2011-07-26-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creating new requests
* | | | | | | | | | Flash a message to users from outside the deployed country, telling them ↵Seb Bacon2011-09-05-0/+31
| |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124.
* | | | | | | | | Store user's locale against profile, so we can send them localised track ↵Seb Bacon2011-09-03-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emails. Also internationalize more strings at the same time. Fixes #163.
* | | | | | | | | Provide a search function on the user profile pages. Closes #138.Seb Bacon2011-09-01-0/+7
| | | | | | | | |