aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
Commit message (Collapse)AuthorAgeLines
* Return a 404 for missing user profile pictures. Fixes #363Seb Bacon2012-01-24-0/+7
|
* Ensure short cache keys for interlock. Fixes #362Seb Bacon2012-01-24-0/+5
|
* Bug: we are causing a 500 when trying to raise 404 because the arguments to ↵Seb Bacon2012-01-24-0/+9
| | | | the exception constructor are wrong.
* Don't allow users to page beyond a certain number of results (because in ↵Seb Bacon2012-01-20-1/+11
| | | | large databases, the sorting of such large batches causes an extreme slowdown).
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkSeb Bacon2012-01-19-1/+29
|\
| * Return a 404 for broken attachment urls. Fixes #351.Seb Bacon2012-01-18-0/+10
| |
| * Fix more test breakageSeb Bacon2012-01-18-1/+7
| |
| * Catch timeouts and other extra errors when connection to 3rd party websites ↵Seb Bacon2012-01-18-1/+8
| | | | | | | | fails.
| * Ensure request typeahead search is tested properly (and fix a validation error).Seb Bacon2012-01-18-0/+2
| |
| * Fix paging bug for type ahead search. This wasn't caught because the spec ↵Seb Bacon2012-01-18-0/+3
| | | | | | | | didn't call "integrate_views", so the rendering part was mocked by RSpec instead of executed.
* | Don't choke on very long filenames when caching attachments. Fixes #349.Seb Bacon2012-01-19-0/+9
|/
* Test belonging to commit a39f71ee21739eb754688f185c59c3a7f209aaaSeb Bacon2012-01-17-3/+3
|
* Test fix that belongs to e82ca928a140400f8446dba85014a0c9059e789bSeb Bacon2012-01-17-1/+1
|
* Actually do a proper ORed and partial match query, rather than fix parsing ↵Seb Bacon2012-01-17-2/+12
| | | | errors ad hoc as I find them that result from the workaround code. Fixes #328 (for good, I hope).
* Fail silently if third party services are broken or unavailable. Fixes #354.Seb Bacon2012-01-17-6/+31
|
* Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵Seb Bacon2012-01-13-12/+34
| | | | issue #343.
* Show internal_review (and some other) items in the "unresolved" list. Fixes ↵Seb Bacon2012-01-13-0/+10
| | | | #344.
* Ensure we show "all requests" in order that they were last updated. FIxes #343.Seb Bacon2012-01-13-3/+6
|
* Fix further special character searches as per issue #328Seb Bacon2012-01-13-1/+2
|
* Further fix for issue #328.Seb Bacon2012-01-12-2/+2
|
* Further fix for issue #328.Seb Bacon2012-01-12-2/+15
|
* Accounts using expired PostRedirects were still causing 500 errors. Fixes ↵Seb Bacon2012-01-12-2/+3
| | | | #334 (again)
* Fix typeahead search specs to match recent API changeSeb Bacon2012-01-11-5/+5
|
* Fix problem with typeahead searches containing " - " characters and similar. ↵Seb Bacon2012-01-11-1/+17
| | | | Closes #328
* Don't give an error to users with an invalid postredirect token. Closes #334.Seb Bacon2012-01-11-0/+13
|
* Don't give error when viewing HTML versions. Fixes issue #321Seb Bacon2012-01-08-0/+9
|
* 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
|/