Wykres commitów

521 Commity (6f7406b4a54c58d2bd22ad3be7d43aabe5819a4c)

Autor SHA1 Wiadomość Data
Matt Westcott 6f7406b4a5 Update urlconf to use django-2-style paths 2021-07-20 12:15:24 +01:00
Matt Westcott 7803f451d2
Fix dependency for wagtail 2.13.x 2021-05-23 17:35:12 +01:00
Kalob Taulien ba3b54d7d8 Use Wagtail 2.13 for bakery demo and GitPod. 2021-05-23 17:32:28 +01:00
Coen van der Kamp 4469a5a182 Add Gitpod (#292) 2021-05-10 13:17:41 +01:00
Matt Westcott 1a40b54993 upgrade to elasticsearch 5 2021-04-19 12:54:57 +01:00
Matt Westcott 931ca82742 Version bump to Wagtail 2.12 2021-04-19 12:40:40 +01:00
Brian Xu 63c4add18a
change python runtime from 3.7.6 to 3.7.9 (#288) 2021-03-03 15:09:48 +00:00
JNaftali 624f4419b6 fix requirements mismatch 2021-01-04 16:29:45 +00:00
Matt Westcott 530dd7b4c4 Upgrade to Wagtail 2.11 2020-11-17 17:10:45 +00:00
Matt Westcott e82c84b6a3 Fix collection paths for alphabetical ordering
Required for Wagtail 2.11 compatibility, as per https://github.com/wagtail/wagtail/pull/6417
2020-09-30 15:30:52 +01:00
Matt Westcott 2e3b59c8c4 Remove legacy rich text image styles
The `<div class="rich-text">` wrapper around rich text was disabled by default in Wagtail 2.10 (https://docs.wagtail.io/en/stable/releases/2.10.html#div-class-rich-text-wrappers-removed-from-rich-text) and we'd prefer not to enable the legacy handler, to encourage Wagtail developers to follow current best practice.

There is already a `width: 100%` rule in place for all img elements, and since an image with `width: 100%` but no `height: auto` would render with the wrong aspect ratio, it's reasonable to assume that no images on the site rely on `height: auto` being absent. Adding this to the `img` rule therefore makes the `rich-text` rule redundant.

The `width: 100%` also meant that the left/right-alignment options for rich text images had no effect - we add a `width: 50%` to those to make them meaningful again.

Finally, the responsive-object wrapper for media embeds was dropped in 2.9, so those rules are unused since then. Anyone who feels strongly about restoring responsive embeds is welcome to contribute a PR :-)
2020-08-26 10:20:36 +10:00
Matt Westcott 1fa7cdccd2 populate FormField.clean_name in initial data 2020-08-17 12:20:47 +01:00
Cynthia Kiser 5d255cd535 upgrade to Wagtail 2.10 2020-08-17 11:43:18 +01:00
Cynthia Kiser d9d02d9317 Add an example local.py for use with docker-wagtail-develop 2020-08-04 14:28:28 +01:00
Matt Westcott b281b72010
Update Python version range listed for virtualenv 2020-07-27 11:59:57 +01:00
Thibaud Colas 014a784c70
Ignore .vscode folder in git 2020-07-07 10:15:08 +01:00
Karl Hobley 82cbbfb09b Minor spelling fixes in fixture 2020-07-06 09:33:46 +01:00
Thibaud Colas 2ec4475f75
Allow all hosts to simplify cross-browser testing (#268) 2020-06-04 15:50:54 +01:00
jonndoe 20fdd22226 height :auto, for displaying images without distortion. 2020-05-11 21:51:41 +01:00
Thibaud Colas 30dcfd4dfd Remove useless "content" styles 2020-05-07 21:33:44 +01:00
Thibaud Colas fa35309371 Remove unneeded style override for nav pills items 2020-05-07 21:33:44 +01:00
Thibaud Colas 40faa0a16d Remove unnecessary flex for no-gutters 2020-05-07 21:33:44 +01:00
Thibaud Colas 2ed2d9408c Reset form elements border regardless of viewport 2020-05-07 21:33:44 +01:00
Thibaud Colas 9490524008 Make whole bread list item a link 2020-05-07 21:33:44 +01:00
Thibaud Colas e2c6f3b09e Change selectors to make !important unnecessary 2020-05-07 21:33:44 +01:00
Thibaud Colas cf81da5db4 Clean up input width definitions 2020-05-07 21:33:44 +01:00
Thibaud Colas cb271fc3ae Fix off-by-one media utility media query 2020-05-07 21:33:44 +01:00
Edd Baldry a4f8d887ea Adds 1px border to form page input fields on mobile touch #139 2020-05-07 21:33:44 +01:00
Edd Baldry dd7bb19afe Amend mobile menu to not display child items 2020-05-07 21:33:44 +01:00
Edd Baldry 4760216ec8 Add global mobile menu style 2020-05-07 21:33:44 +01:00
Edd Baldry 6afa3127a1 Amend mobile styles for global hero, main menu, breads index, locations index and breads detail page 2020-05-07 21:33:44 +01:00
Edd Baldry 53fe8e8e6d Wrap elements with 12-col div as per other detail pages 2020-05-07 21:33:44 +01:00
Edd Baldry fadcc373f5 Use consistent hero image include 2020-05-07 21:33:44 +01:00
Mikalai Saskavets 4485387027 Add a section to bashrc idempotently 2020-05-06 22:54:20 +01:00
Mikalai Saskavets 90cda66739 Add lines to bashrc idempotently 2020-05-06 22:54:20 +01:00
Mikalai Saskavets 94ae0a94eb Check if db already exists before creating it 2020-05-06 22:54:20 +01:00
Mikalai Saskavets e17190a607 ignore pycharm settings dir 2020-05-06 22:54:20 +01:00
Matt Westcott 3372510e60 Remove use of request.site / SiteMiddleware 2020-05-05 12:27:58 +01:00
Matt Westcott 0efe78e7b0 Upgrade to Wagtail 2.9 2020-05-05 12:11:05 +01:00
Tom Dyson f246defeec Update Python runtime 2020-04-07 10:57:47 +01:00
Matt Westcott 7be07a7ea4 Version bump django-storages for Django 3.0 compatibility 2020-03-16 09:17:57 +00:00
Matt Westcott 5c5516f3b7 Revert "specify workflow build in requirements"
This reverts commit 40bf52e2de.
2020-02-24 15:43:55 +00:00
Matt Westcott 40bf52e2de specify workflow build in requirements 2020-02-24 15:43:21 +00:00
Matt Westcott 5dd8afb3d3 Update API imports for Wagtail 2.8 2020-02-11 09:43:45 +00:00
Matt Westcott de6876d452 Upgrade whitenoise to 5.0.x for Django 3.0 compatibility 2020-02-03 16:33:42 +00:00
Matt Westcott 03525d76db Version bump django-redis to 4.11.0 for Django 3.0 support 2020-02-03 14:36:56 +00:00
Matt Westcott 580cbaeed4 Upgrade to Wagtail 2.8, Django 3.0 2020-02-03 14:27:35 +00:00
Andy Babic ef50e188e1 Use search_fields and list_filter on ModelAdmin classes to make features easier to test (for things like accessibility) (#262) 2020-01-23 15:34:45 +00:00
Matt Westcott f57fa6f6f2 Upgrade to Wagtail 2.7 2019-11-06 14:56:42 +00:00
Caitlin White 48ed8a06e7 Make site work offline by self-hosting webfonts, jQuery, Bootstrap etc. (#261)
* Self-host Bootstrap and jQuery

* Self-host Google fonts (via https://google-webfonts-helper.herokuapp.com/fonts)

* Use wagtailfontawesome package for Font Awesome Icons on front end

* Self-host HTML5 Shiv and Respond.js

* Add Bootstrap Glyphicons font files and change name of static fonts directory
2019-11-06 09:10:39 -05:00