Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Minor tidy up | Gareth Rees | 2015-04-27 | -16/+26 |
| | ||||
* | Use GET for search forms, not POST. | Louise Crow | 2015-04-10 | -3/+3 |
| | | | | | | | | | | Now that we use global CSRF authenticity checks, searches were logging logged-in users out as the form is an HTML form, not a Rails-generated form with a CSRF token. So form submission raised an InvalidAuthenticityToken error and reset their session. We could generate the form in Rails, but we also want to minimise the number of non-logged in people who have a session cookie, so that varnish can cache pages extensively. So we don't want to put the CSRF token for the search form in everyone's session. | |||
* | Wrap current filter in span for styling hook | Gareth Rees | 2015-03-27 | -1/+1 |
| | ||||
* | Make sure fields with errors are highlighted in the default locale. | Louise Crow | 2015-03-18 | -0/+12 |
| | ||||
* | Fix translating Public Body Headings | Gareth Rees | 2015-03-18 | -30/+48 |
| | | | | | Fixes submission of form containing both existing and new translations | |||
* | Fix translating Public Body Categories | Gareth Rees | 2015-03-18 | -36/+54 |
| | ||||
* | Fix translating Public Bodies | Gareth Rees | 2015-03-18 | -4/+23 |
| | ||||
* | Merge branch '59-localised-authority-links' into rails-3-develop | Louise Crow | 2015-03-05 | -1/+1 |
|\ | | | | | | | | | Conflicts: app/views/public_body/show.html.erb | |||
| * | Use routing helper to generate localised urls. | Louise Crow | 2015-03-05 | -1/+1 |
| | | ||||
| * | Remove 'html' param. | Louise Crow | 2015-03-05 | -1/+1 |
| | | | | | | | | | | There's only one call to this function in the rest of the code. That has 'html' set to true. | |||
* | | Use new styling for batch request sent panel. | Louise Crow | 2015-03-03 | -15/+54 |
| | | ||||
* | | Make notice about override work with batch requests. | Louise Crow | 2015-03-03 | -2/+2 |
| | | | | | | | | They don't have a public body, so use the config param directly. | |||
* | | Restore text from 0870c537bdd910091b604e0e0c1f90b7ea57ac06. | Louise Crow | 2015-03-02 | -1/+2 |
| | | ||||
* | | Remove duplicate notes field. | Louise Crow | 2015-03-02 | -3/+1 |
| | | ||||
* | | Make unsubscribe a button as it is elsewhere on this page. | Louise Crow | 2015-03-02 | -6/+5 |
| | | ||||
* | | Don't display stepwise_make_request unless there's some content for it. | Louise Crow | 2015-03-02 | -1/+3 |
| | | ||||
* | | Don't show two 'Make a request' buttons if there's no contact info. | Louise Crow | 2015-03-02 | -1/+1 |
| | | ||||
* | | repaired some errors introduced with merge | Martin Wright | 2015-03-02 | -19/+18 |
| | | ||||
* | | tidy up after merge added missing </div> | Martin Wright | 2015-03-02 | -27/+20 |
| | | | | | | | | remove duplicate request button | |||
* | | Remove eir header, only display h2 if it has contents. | Louise Crow | 2015-03-02 | -5/+4 |
| | | ||||
* | | Center each share link on it's own line on smaller screens. | Louise Crow | 2015-03-02 | -2/+2 |
| | | ||||
* | | Restore missing whitespace. | Louise Crow | 2015-03-02 | -1/+1 |
| | | ||||
* | | Don't add any elements to page if there are no results. | Louise Crow | 2015-03-02 | -3/+4 |
| | | ||||
* | | reworded 'duplicate' to 'related' | Martin Wright | 2015-03-02 | -14/+14 |
| | | | | | | | | when searching for similar requests | |||
* | | complete new styling of new request page | Martin Wright | 2015-03-02 | -142/+158 |
| | | ||||
* | | made filters more semantic, styling | Martin Wright | 2015-03-02 | -3/+5 |
| | | ||||
* | | Add in new partials | Martin Wright | 2015-03-02 | -3/+3 |
| | | ||||
* | | WIP commit of public body page redesign | Martin Wright | 2015-03-02 | -60/+88 |
| | | ||||
* | | move to: field to become a more obvious part of the form | Martin Wright | 2015-03-02 | -73/+75 |
| | | ||||
* | | request_search_ahead_results will now longer flash up an empty conatiner div | Martin Wright | 2015-03-02 | -15/+14 |
| | | ||||
* | | refactored grid layout to solve problems with nested columns | Martin Wright | 2015-03-02 | -77/+80 |
| | | ||||
* | | Message preview screen now has an improved layout | Martin Wright | 2015-03-02 | -51/+61 |
| | | ||||
* | | improved styling of request_search_ahead_results | Martin Wright | 2015-03-02 | -1/+1 |
| | | ||||
* | | tidied up language and help text | Martin Wright | 2015-03-02 | -9/+6 |
| | | ||||
* | | WIP styling of new request/make a request page | Martin Wright | 2015-03-02 | -6/+8 |
| | | ||||
* | | Improved layout, moved help text to the right, so the form has less clutter. ↵ | Martin Wright | 2015-03-02 | -44/+46 |
| | | | | | | | | TODO: Visual styling | |||
* | | minor wording updates, results list now split in two columns on authority search | Martin Wright | 2015-03-02 | -8/+10 |
| | | ||||
* | | Tweak wording | Martin Wright | 2015-03-02 | -2/+2 |
| | | ||||
* | | remove inline css | Martin Wright | 2015-03-02 | -1/+1 |
| | | ||||
* | | Change wording from 'select' to 'find' | Martin Wright | 2015-03-02 | -6/+5 |
|/ | ||||
* | Disable profile_photo file field if user is banned | Gareth Rees | 2015-02-24 | -1/+3 |
| | | | | | | | | | | Stops the user editing their profile photo if they have been banned. https://www.righttoknow.org.au/ reported that spam accounts were being created and even though the user accounts were getting banned, the spam user/bots couls still edit the about me field to propagate more spam. This prevents the profile photo being modified so that they cannot add offensive images. | |||
* | Disable about_me text field if user is banned | Gareth Rees | 2015-02-24 | -2/+6 |
| | | | | | | | Stops the user editing their about me if they have been banned. https://www.righttoknow.org.au/ reported that spam accounts were being created and even though the user accounts were getting banned, the spam user/bots could still edit the about me field to propagate more spam. | |||
* | Add User#banned? | Gareth Rees | 2015-02-24 | -1/+1 |
| | | | | | | | - Redefined User#public_banned? to User#banned? - Add specs for User#banned? - Deprecate User#public_banned? - Replace use of User#public_banned? with User#banned? | |||
* | Refactor showing the Make Request button | Gareth Rees | 2015-02-20 | -21/+13 |
| | | | | | | | | | | | | | | | The code here was hard to follow. Now we have a cleaner path to decide whether to show the Make Request button or not. - Always show any notes associated with the body - If a request can be made to the body - Show any tag-specific notes that may affect the request - Show the Make Request button - If a request cannot be made to the body - Show the most relevant reason why a request cannot be made Added PublicBodyHelper#public_body_not_requestable_reasons to extract the logic of finding the reason a user can’t request out of the template | |||
* | Put warning in the form that you actually use to make a request. | Louise Crow | 2015-02-20 | -6/+6 |
| | ||||
* | Show a 'make a request' button in the new request process. | Louise Crow | 2015-02-20 | -7/+13 |
| | | | | | When we know the intent is to make a new request, make it possible to do straight from the list of authorities. | |||
* | Move logic to model | Louise Crow | 2015-02-20 | -13/+12 |
| | ||||
* | Use new style when we do display a request link. | Louise Crow | 2015-02-20 | -14/+15 |
| | | | | | Move reasons for not having a link to a similar position to the link, after the rest of the text. | |||
* | Cover both not_requestable reasons. | Louise Crow | 2015-02-20 | -2/+4 |
| | ||||
* | make a request button will now appear next to each authority in search ↵ | Martin Wright | 2015-02-20 | -1/+4 |
| | | | | results, part of #1526 |