aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeLines
* Rework the temporary storing of a csv file of public body info between a dry ↵Louise Crow2012-08-20-31/+77
| | | | run and real load. Use a temp file, not the session for the data. Also fixes #503.
* Add p tags to make blockquote html valid.Louise Crow2012-08-20-15/+16
|
* Add warning about regex censor rules.Louise Crow2012-08-14-0/+2
| | | | Fix spec to accommodate validation of text presence.
* Validate presence of text to replace in censor rules.Louise Crow2012-08-14-0/+1
|
* Add basic validation for regexp censor rules that a valid regexp can be ↵Louise Crow2012-08-14-2/+15
| | | | created with the text of the rule.
* Make global validation work correctly for regex censor rules.Louise Crow2012-08-14-1/+1
|
* Whether a rule is a regex rule should not affect the redirect that happens ↵Louise Crow2012-08-14-2/+0
| | | | after you create it.
* Apply global and public body censor rules to binary files.Louise Crow2012-08-14-9/+10
|
* Handle regexp rules when running censor rules on binary files.Louise Crow2012-08-14-5/+2
|
* Add association between public bodies and censor rules, have info_request ↵Louise Crow2012-08-14-1/+2
| | | | apply rules from its public body.
* Add concept of global censor rules as orthogonal to regex censor rules. ↵Louise Crow2012-08-14-20/+35
| | | | Apply global rules to every request, not regex rules.
* Set api_key in before_save rather than after_initialize (to avoid errors ↵Seb Bacon2012-07-19-2/+4
| | | | when uploading via CSV)
* Fix bug preventing CSV upload. Fixes #525 (needs tests!)Seb Bacon2012-07-19-7/+7
|
* Fix up whitespaceSeb Bacon2012-07-17-122/+122
|
* Oh dear, a "revert revert revert" that reverts the "revert revert" that ↵Seb Bacon2012-07-17-9/+2
| | | | | | | | should never have been pushed in the first place. Sorry! Revert "Revert "Revert "In the API, when parsing posted responses, assume all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9.
* Revert "Revert "In the API, when parsing posted responses, assume all ↵Seb Bacon2012-07-17-2/+9
| | | | | | multipart mail parts that are Tempfiles are attachments"" This reverts commit d4a700da1760fc2ba09cf19613a995569e4965ea.
* Merge branch 'feature/public-body-api-2a' into developRobin Houston2012-07-16-43/+64
|\
| * Revert "In the API, when parsing posted responses, assume all multipart mail ↵Robin Houston2012-07-16-9/+2
| | | | | | | | | | | | | | | | | | | | parts that are Tempfiles are attachments" This change makes the tests fail, I think, and doesn’t have (IMHO) a desperately strong rationale, so let’s try it without for now. This reverts commit 4490482cedf362390b25efe453232ac1b7dfce99.
| * In the API, when parsing posted responses, assume all multipart mail parts ↵Seb Bacon2012-07-11-2/+9
| | | | | | | | that are Tempfiles are attachments
| * Fix bug introduced in commit 049198bSeb Bacon2012-07-09-1/+1
| |
| * Calls to API that are expected to return JSON are always expected to return ↵Seb Bacon2012-07-09-2/+3
| | | | | | | | something, even when there are no errors.
| * Ensure (at least in the most basic cases) that views support recent ↵Seb Bacon2012-07-09-42/+62
| | | | | | | | "external request" changes (mainly that InfoRequests no longer necessarily have a User).
* | Style the search button with CSS so it can be overridden in themesSeb Bacon2012-07-13-1/+1
| |
* | Cleanup mixtures of tabs and spacesSeb Bacon2012-07-13-105/+104
| |
* | Indentation fixesSeb Bacon2012-07-13-16/+14
| |
* | Misc fixes to get tests to pass - notably a MonkeyPatch to work around ↵Seb Bacon2012-07-13-1/+1
| | | | | | | | problem testing template results
* | Don't fail when a banner is completely absent.Seb Bacon2012-07-13-1/+1
| |
* | Factor out showing user info so it can easily be specialised in a themeSeb Bacon2012-07-13-19/+21
| |
* | Some missing i18n strings (and whitespace changes)Seb Bacon2012-07-13-30/+30
| |
* | Fix bug that only occurs when loading sample data - sometimes an InfoRequest ↵Seb Bacon2012-07-13-1/+1
| | | | | | | | doesn't have a PublicBody at the time its slug is being calculated.
* | Factor popup banner out into own partial, for easier setting/unsetting ↵Seb Bacon2012-07-13-15/+18
| | | | | | | | (including from themes). Fixes #524
* | Factor out stylesheet includes into separate partial (allows easier ↵Seb Bacon2012-07-13-23/+23
| | | | | | | | overriding in themes). Fixes #523
* | Support regular expressions in CensorRules; also support 'global' ↵Seb Bacon2012-07-13-28/+18
| | | | | | | | CensorRules that aren't attached to a User or Request or Public Body (but don't expose this in the admin UI). Fixes #33
* | Include request_id as well as event_id in the JSONRobin Houston2012-07-05-0/+1
|/
* JSON new events feedRobin Houston2012-07-04-21/+48
|
* Atom feed of request eventsRobin Houston2012-07-04-33/+40
| | | | | | | | | | We need not only new requests, but new outgoing correspondence of any sort. The idea is that this feed will contain any event that would have triggered an email to be sent to the public body, so can be used as an alternative, equivalent way to stay up-to-date with happenings on WDTK (or the Alaveteli installation of choice).
* Use fully-qualified URLs in feedRobin Houston2012-07-04-1/+6
| | | | The <link> tags in the feed <entry>s ought to be fully-qualified URLs.
* Atom feed approximately working (?)Robin Houston2012-07-04-2/+4
|
* WIP new requests feedRobin Houston2012-07-04-10/+38
|
* Use 33 bytes consistentlyRobin Houston2012-07-02-1/+1
| | | | | Let’s use 33 bytes consistently for the API key, to avoid an = pad at the end when it’s base64-encoded.
* Use cannonical twitter urls (use https). Fixes #500Seb Bacon2012-06-27-5/+5
|
* Unset any "using_admin" flag when logging outSeb Bacon2012-06-27-0/+1
|
* Show the admin navigation bar when browsing the main site. Fixes #512Seb Bacon2012-06-27-4/+16
|
* Don't allow non-superusers to access admin interface (eek!) Fixes #515Seb Bacon2012-06-27-2/+5
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-06-23-18/+44
|\ | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb
| * Merge branch 'master' into developSeb Bacon2012-06-20-19/+44
| |\
| | * Only invalidate a user's cached requests when their *name* changes. ↵Seb Bacon2012-06-20-2/+3
| | | | | | | | | | | | Otherwise we issue PURGEs every time, for example, we send out email alerts.
| | * Only extend the cache time on InfoRequest views for sites with Varnish ↵Seb Bacon2012-06-20-1/+7
| | | | | | | | | | | | purging set up
| | * Increase the time a page is cached for sites that are using Varnish. ↵Seb Bacon2012-06-20-1/+1
| | | | | | | | | | | | Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log.
| | * Correctly name the person who has requested something for admin attentionSeb Bacon2012-06-19-4/+5
| | |