Commit graph

2631 commits

Author SHA1 Message Date
Karl Hobley
8c4c268641 Added *args, *kwargs paramters to serve/get_context/get_template
This makes it easier to pass parameters from the route method down to get_context/get_template
2014-05-20 11:23:36 +01:00
Karl Hobley
9564cbf39f Added document describing how to generate a static website 2014-05-20 11:17:49 +01:00
Matt Westcott
26183e608b mention some more optional/required dependencies in 'getting started' docs 2014-05-20 11:05:19 +01:00
Dave Cranwell
7d88d285cd updated login styles to match new 'iconfield' implementation 2014-05-20 10:41:08 +01:00
Dave Cranwell
05cbcd7546 merging master 2014-05-20 10:28:03 +01:00
Dave Cranwell
4111baf933 font size fix for login form icons 2014-05-20 10:25:14 +01:00
Dave Cranwell
3a0285fae4 Merge remote-tracking branch 'upstream/master' 2014-05-20 10:16:36 +01:00
Dave Cranwell
eb704fc5a9 added scrollable form submissions tables 2014-05-20 10:11:03 +01:00
Jeffrey Hearn
73fa1000b1 editing api started 2014-05-19 21:14:45 -04:00
Jeffrey Hearn
508a595f7b Merge branch 'master' of github.com:torchbox/wagtail into docs 2014-05-19 18:05:08 -04:00
Karl Hobley
b5d4c0e78a Renamed get_medusa_paths to get_staticsite_paths 2014-05-19 17:10:19 +01:00
Karl Hobley
f4040a648d Added medusa renderer for documents 2014-05-19 16:55:48 +01:00
Karl Hobley
4207a0b3b8 Moved medusa renders into their own app in contrib 2014-05-19 16:51:08 +01:00
Karl Hobley
e2930ab6bc Added contrib folder 2014-05-19 16:45:56 +01:00
Karl Hobley
d364f95413 Fixed typo 2014-05-19 14:03:11 +01:00
Karl Hobley
7c99fa664c Don't check internal file formatl if image is closed 2014-05-19 11:38:22 +01:00
Karl Hobley
e4401ba44a Revert "Reopen images for validation if they are closed"
This reverts commit 7d43b1cf6e.
2014-05-19 11:37:13 +01:00
Karl Hobley
7159d246d8 Merge branch 'image-validation-fix' 2014-05-19 10:53:07 +01:00
Karl Hobley
7d43b1cf6e Reopen images for validation if they are closed 2014-05-19 10:52:49 +01:00
Karl Hobley
e00bf58914 Merge pull request #252 from kaedroho/image-validation-fix
More robust image file validation
2014-05-19 09:59:13 +01:00
Karl Hobley
b0c069d446 More robust image file validation
Previously, it was possible to upload PSD files by simply renaming them to have a '.jpg' extension.

This causes issues as wagtailimages cannot resize PSD files causing crashes.

This commit fixes this by validating that the internal format of the file matches the extension.
2014-05-19 09:56:49 +01:00
Jeffrey Hearn
d617aa3a0e Merge branch 'master' of github.com:torchbox/wagtail into docs 2014-05-18 01:29:50 -04:00
Jeffrey Hearn
bfc53dd6ce added request lifestyle introduction 2014-05-18 01:21:17 -04:00
Jeffrey Hearn
446c053a17 more model basics 2014-05-17 20:54:36 -04:00
Matt Westcott
7a9e214fb5 Remove dead code for creating pages by type and then location; it's been unused since wagtail 0.1, hasn't been updated for the page permission model, and needs further spec / discussion (including a working subpage_types implementation) before it can return 2014-05-17 16:00:19 +02:00
Matt Westcott
f2b6b01838 Merge branch 'sixpearls-fix/remove_raw_sql' 2014-05-17 15:12:43 +02:00
Matt Westcott
ed36f25bff Add Ben Margolis to contributors 2014-05-17 15:12:18 +02:00
Matt Westcott
ac5e903c5e Merge branch 'fix/remove_raw_sql' of https://github.com/sixpearls/wagtail into sixpearls-fix/remove_raw_sql 2014-05-17 15:00:13 +02:00
Matt Westcott
9c5a88e581 Merge branch 'kaedroho-tests-changes' 2014-05-17 12:11:23 +02:00
Matt Westcott
398a208066 Merge branch 'tests-changes' of https://github.com/kaedroho/wagtail into kaedroho-tests-changes 2014-05-17 11:49:22 +02:00
Jeffrey Hearn
62f3ecaa9b another placeholder 2014-05-16 12:10:46 -04:00
Jeffrey Hearn
d7d096d89f bleh that merge sucked 2014-05-16 12:09:03 -04:00
Jeffrey Hearn
04e56198ff placeholders added 2014-05-16 12:02:32 -04:00
Jeffrey Hearn
2833c66c0f Merge branch 'master' of github.com:torchbox/wagtail into docs 2014-05-16 11:34:50 -04:00
Karl Hobley
d180ad8f08 Added medusa renderer for pages 2014-05-16 12:27:05 +01:00
Karl Hobley
6092791b86 Added get_medusa_paths method to Page
This is used to find a list of URLs for the entire site to feed into django-medusa
If your page requires extra views, you can override this like so:
def get_medusa_paths(self):
    yield '/myextraview/'
    super(MyPageType, self).get_medusa_paths()
2014-05-16 12:17:17 +01:00
Jeffrey Hearn
da2c69a5ee Routes 2014-05-15 22:50:26 -04:00
Jeffrey Hearn
65b9899269 Routes 2014-05-15 22:41:13 -04:00
Ben Margolis
09f185b3aa Remove all (3) raw SQL statements. This will allow Django to generate the statements, so there aren't any backend issues 2014-05-15 15:29:23 -07:00
Jeffrey Hearn
a2ed70bd8d Snippets and some reorg 2014-05-13 22:38:44 -04:00
Jeffrey Hearn
b42a0d2cf0 Merge branch 'master' of github.com:torchbox/wagtail into docs 2014-05-13 19:00:50 -04:00
Robert Clark
bc99de529b page type business rules 2014-05-13 12:46:20 -04:00
Dave Cranwell
49c5f762df fixing height of header 2014-05-13 17:19:41 +01:00
Karl Hobley
5474f7ef39 Embeds: Catch TypeErrors when casting width and height to integers 2014-05-13 17:18:33 +01:00
Dave Cranwell
f4588a3668 ongoing tweaks to how fields are rendered 2014-05-13 17:03:31 +01:00
Dave Cranwell
6f5203c6fd Medium-scale changes to fields to allow 'iconfields' and header refactored into own css file 2014-05-13 15:51:28 +01:00
Dave Cranwell
5a840c421b added form icon to font, font icomoon project and styleguide 2014-05-13 13:05:46 +01:00
Dave Cranwell
aa41a5e8a9 updating header form style 2014-05-13 12:45:49 +01:00
Dave Cranwell
0da3fa85d7 updated templates so that pagination of form pages is possible as well as pagination of submissions 2014-05-13 12:19:04 +01:00
Dave Cranwell
c69df32deb tweaks to all forms globally, to use left-aligned labels at desktop resolutions 2014-05-13 11:28:01 +01:00