Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | added global para style | Martin Wright | 2014-04-24 | -0/+5 |
| | ||||
* | navigation now has border | Martin Wright | 2014-04-24 | -0/+3 |
| | ||||
* | remove stylistic code | Martin Wright | 2014-04-24 | -3/+1 |
| | ||||
* | normalise styles of view and search page | Martin Wright | 2014-04-24 | -16/+4 |
| | ||||
* | refactored and simplified the navigation layout | Martin Wright | 2014-04-24 | -63/+43 |
| | ||||
* | sensible default styling for definition lists | Martin Wright | 2014-04-24 | -0/+16 |
| | ||||
* | set up front page with sensible defaults | Martin Wright | 2014-04-24 | -55/+13 |
| | ||||
* | set up sensible global CSS styles | Martin Wright | 2014-04-24 | -30/+52 |
| | ||||
* | font-weight now bold, 700 was hangover from web fonts which are no londer used | Martin Wright | 2014-04-24 | -1/+1 |
| | ||||
* | removed border radius, button will now appear as native style | Martin Wright | 2014-04-24 | -5/+0 |
| | ||||
* | remove pseudo-centring from form button | Martin Wright | 2014-04-24 | -5/+0 |
| | ||||
* | Changes to locale switcher on mobile | Martin Wright | 2014-04-24 | -27/+17 |
| | | | | | Now part of global navigation, sits within the main menu on mobile Removed un-needed HTML and CSS | |||
* | Use responsive stylesheets based on feature flag. | Louise Crow | 2014-04-24 | -26/+1864 |
| | ||||
* | Add foundation to the sass load paths | Louise Crow | 2014-04-24 | -0/+5 |
| | | | | So that we can import it from a subdirectory | |||
* | Add feature flag for responsive styling | Louise Crow | 2014-04-24 | -4/+17 |
| | | | | Sets viewport, uses responsive header and footer templates. | |||
* | Add alternative header and footer templates. | Louise Crow | 2014-04-24 | -0/+80 |
| | | | | These make markup changes required by the responsive styling. | |||
* | Use paragraph here to make styling easier | Louise Crow | 2014-04-24 | -2/+2 |
| | ||||
* | Make header_left an id, not a class. | Louise Crow | 2014-04-24 | -1/+1 |
| | | | | | I think this was a mistake, it seems to be an id in the other places it is used. | |||
* | Remove extra whitespace | Louise Crow | 2014-04-24 | -2/+2 |
| | ||||
* | Add wrapper div to make styling easier. | Louise Crow | 2014-04-24 | -17/+21 |
| | ||||
* | Add a div around the main content. | Louise Crow | 2014-04-24 | -15/+16 |
| | | | | Makes it easier to style. | |||
* | Only display result_section divs when results exists. | Louise Crow | 2014-04-24 | -14/+18 |
| | | | | Should make the styling more straightforward. | |||
* | Order page elements consistently with other pages. | Louise Crow | 2014-04-22 | -16/+15 |
| | | | | | | | 'right_column' appears after content it will be to the right hand side of on other pages. It doesn't matter to the current stylesheet, which floats it anyway, but is easier to handle in responsive css if the markup is consistent. | |||
* | Remove the quote from a comment in request correspondence. | Louise Crow | 2014-04-22 | -2/+1 |
| | | | | | It gets hidden by the current stylesheet, so easier and more efficient not to render it at all. | |||
* | Add foundation-rails gem | Louise Crow | 2014-04-22 | -0/+5 |
| | ||||
* | Merge branch 'issues/337-attachment-title' into rails-3-develop | Gareth Rees | 2014-04-14 | -88/+1027 |
|\ | ||||
| * | Update gubbins to call AttachmentToHTML | Gareth Rees | 2014-04-07 | -14/+10 |
| | | ||||
| * | Minor change to FoiAttachment#body_as_html | Gareth Rees | 2014-04-07 | -2/+1 |
| | | | | | | | | AttachmentToHTML#to_html already returns the raw html now | |||
| * | Dynamically inject AttachmentToHTML::View content | Gareth Rees | 2014-04-07 | -2/+26 |
| | | ||||
| * | Remove redundant AttachmentToHTML::HTML | Gareth Rees | 2014-04-07 | -39/+0 |
| | | ||||
| * | Update AttachmentToHTML for new View class | Gareth Rees | 2014-04-07 | -12/+31 |
| | | ||||
| * | Simpler AttachmentToHTML::Adapters::CouldNotConvert interface | Gareth Rees | 2014-04-07 | -69/+24 |
| | | ||||
| * | Simpler AttachmentToHTML::Adapters::GoogleDocsViewer interface | Gareth Rees | 2014-04-07 | -72/+23 |
| | | ||||
| * | Simpler AttachmentToHTML::Adapters::RTF interface | Gareth Rees | 2014-04-07 | -106/+38 |
| | | | | | | | | | | | | | | | | | | | | | | TODO: We really should be testing the full output of RTF#body, but we currently want to remain consistent with Adapters::PDF as many methods are shared between the Adapters. A more correct spec might be: expected = %Q(<font size=3><font color="#000000">thisisthebody</font></font>) adapter.body.should == expected | |||
| * | Simpler AttachmentToHTML::Adapters::PDF interface | Gareth Rees | 2014-04-07 | -102/+37 |
| | | | | | | | | | | | | | | | | | | | | | | TODO: We really should be testing the full output of PDF#body, but inconsistencies between pdftohtml prevent sensible means of doing this. For example: adapter.body.should == %Q(\n<A name=1></a>thisisthebody<br/>\n<hr>\n) Fails because some versions (correctly!) use lower case tag names. | |||
| * | Simpler AttachmentToHTML::Adapters::Text interface | Gareth Rees | 2014-04-07 | -114/+42 |
| | | ||||
| * | Add an AttachmentToHTML::View to deal with rendering | Gareth Rees | 2014-04-07 | -0/+188 |
| | | ||||
| * | Work around a bug in unrtf | Gareth Rees | 2014-04-01 | -1/+37 |
| | | ||||
| * | Get attachment body outside of chdir | Gareth Rees | 2014-04-01 | -24/+36 |
| | | ||||
| * | Use AttachmentToHTML to generate FoiAttachment#body_as_html | Gareth Rees | 2014-03-28 | -87/+17 |
| | | ||||
| * | Add AttachmentToHTML library | Gareth Rees | 2014-03-28 | -0/+1073 |
| | | | | | | | | | | | | | | | | | | | | | | | | Extracts the attachment processing from FoiAttachment#body_to_html AttachmentToHTML contains adapters which convert - text/plain - application/pdf - application/rtf Results are returned as an AttachmentHTML::HTML instance which contains the raw HTML and other metadata about the conversion. | |||
* | | Merge branch 'issues/1416-csv-update-public-bodies' into rails-3-develop | Gareth Rees | 2014-04-14 | -78/+166 |
|\ \ | ||||
| * | | Remove unrecognised field from import_csv example | Gareth Rees | 2014-04-14 | -3/+3 |
| | | | | | | | | | | | | `id` is not a recognised attribute when uploading from a CSV. | |||
| * | | Handle validation errors in PublicBody.import_csv | Gareth Rees | 2014-04-14 | -1/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically using save! so that anything other than an ActiveRecord::RecordInvalid doesn't get missed Note that ActiveModel::Errors#full_messages includes the attribute key in the message. This is by design, so we should consider whether we can improve the way that we use translated validation messages. | |||
| * | | Add missing validation to PublicBody | Gareth Rees | 2014-04-14 | -0/+7 |
| | | | | | | | | | | | | | | | There's a unique index on public_bodies url_name, so we should have a validation for that. | |||
| * | | Clarify import_csv supported fields name attribute | Gareth Rees | 2014-04-09 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mysociety/alaveteli/issues/1416 - Create a public body with name "Foobar" - Now try to upload this CSV: #name,request_email,short_name Foobar Test,a@example.com,foobar - The app raises the following exception: ERROR: duplicate key value violates unique constraint "index_public_bodies_on_url_name" DETAIL: Key (url_name)=(foobar) already exists. --- The reason for this is that the CSV import looks up records by their Name attribute. By attempting to rename the record, you're inadvertently creating a new Public Body, since one with the name of "Foobar Test" does not yet exist. | |||
| * | | Annotate models | Gareth Rees | 2014-04-09 | -62/+99 |
| | | | | | | | | | | | | | | | Should have been run after related migrations. Could automate this to always run after migrations. | |||
| * | | Add default blank string to PublicBody@short_name | Gareth Rees | 2014-04-09 | -1/+12 |
| | | | | | | | | | | | | The validation allows a blank short_name but the schema does not. | |||
| * | | Use more semantic allow_blank validation | Gareth Rees | 2014-04-09 | -1/+1 |
| | | | ||||
| * | | Make /admin/body/import_csv csv format clearer | Gareth Rees | 2014-04-09 | -11/+10 |
| | | | | | | | | | | | | | | | - Use code tags to highlight field names - Use pre tag to format example CSV as code |