Wykres commitów

4165 Commity (c3a4a3071929798048811b5319fd931df9f73b33)

Autor SHA1 Wiadomość Data
Matt Westcott 7936e8c01d Skip TestServeWithUnicodeFilename if filesystem doesn't support unicode filenames 2015-04-30 11:42:43 +01:00
Matt Westcott 733f2c3ef6 Merge pull request #1133 from kaedroho/issue-746
Set has_unpublished_changes in Page.save_revision
2015-04-29 17:14:23 +01:00
Matt Westcott ad3a3d6c54 Finalise 0.8.7 in documentation
Conflicts:
	CHANGELOG.txt
2015-04-29 14:08:32 +01:00
Matt Westcott ea22d3d2f9 release note for #1244 2015-04-28 19:06:32 +01:00
Matt Westcott 00d2fd16ac Merge branch 'fix/unicode-doc-filename' 2015-04-28 17:43:04 +01:00
Matt Westcott dcdbd7ea36 Fall back on ASCII filename if setting Content-Disposition fails - fixes #1166 2015-04-28 13:02:30 +01:00
Dave Cranwell 5da7a31bc2 Merge pull request #1237 from JoshBarr/feature/javascript-airbnb
Conform JavaScript to Airbnb StyleGuide
2015-04-28 12:37:32 +01:00
Matt Westcott d0abaa77fe support Django 1.8 in setup.py 2015-04-27 15:25:05 +01:00
Matt Westcott e243cf2403 remove note that was meaningful when the rich text tag library was called rich_text, but isn't any more 2015-04-27 15:23:47 +01:00
Matt Westcott 9ebd6979ae CAN HAZ DJANGO 1.8 2015-04-27 15:21:56 +01:00
Matt Westcott 9f9c991364 Merge branch 'kaedroho-new-routable-page' 2015-04-27 14:51:49 +01:00
Matt Westcott d3a16b8d27 Release note for #1161 2015-04-27 14:51:33 +01:00
Matt Westcott 6668a5fa69 revert typo fix which wasn't 2015-04-27 14:22:15 +01:00
Matt Westcott d385e1fd4b TestPageModel needs to be both is_abstract = True and Meta.abstract = True 2015-04-27 14:22:15 +01:00
Karl Hobley 1401df9457 Fix typo
It's friday afternoon...
2015-04-27 14:22:15 +01:00
Karl Hobley 69e65a4ab8 Check that using subpage_urls raises deprecation 2015-04-27 14:22:15 +01:00
Karl Hobley 122c524a1c Hide subpage_urls deprecation warning in tests 2015-04-27 14:22:15 +01:00
Karl Hobley 4b4b4bcc74 Skip old style tests on Django 1.8 and above 2015-04-27 14:22:15 +01:00
Karl Hobley 1384129d89 Added deprecation warning for old style 2015-04-27 14:22:15 +01:00
Karl Hobley 7200def791 Added @route decorator 2015-04-27 14:22:15 +01:00
Matt Westcott f7b2cfbb4e Move release note for #1236 from 1.0 to 0.8.7 2015-04-27 14:22:01 +01:00
Josh Barr d83ef58ecb added JS documentation to the contributing section 2015-04-27 23:05:36 +12:00
Tom Dyson 7a66367517 Merge pull request #1239 from revsys/copyright-year
Update docs copyright year
2015-04-26 21:57:48 +01:00
Tom Dyson c7f8813020 Merge pull request #1238 from revsys/sites-in-docs
Add Sites to configuration instructions
2015-04-26 21:57:18 +01:00
Frank Wiles 312033ba4e Update docs copyright year 2015-04-25 13:01:58 -05:00
Frank Wiles 9239057489 Add Sites to configuration instructions 2015-04-25 12:22:54 -05:00
Josh Barr d28e9ab3d6 fixed all linter errors... ignored modal js 2015-04-25 18:38:33 +12:00
Josh Barr 3319d87195 auto formatted js files 2015-04-25 17:52:54 +12:00
Josh Barr d5045a620a exclude server-side generated JS files 2015-04-25 17:51:02 +12:00
Josh Barr 69fedba2b0 added newline to end of file 2015-04-25 17:48:06 +12:00
Josh Barr b02ca75214 added spec for linting js 2015-04-25 17:46:45 +12:00
Matt Westcott d22413dafc Remove 'customising the tabbed interface' section from 1.0 release notes
It's covered by the 'editing API' docs, and isn't something that developers need to know about at the point of upgrading.
2015-04-24 15:17:08 +01:00
Dave Cranwell f0b12dede4 Update README.rst 2015-04-24 11:40:05 +01:00
Dave Cranwell 6f8e1e65cb Update README.rst 2015-04-24 11:39:07 +01:00
Dave Cranwell 88e5bc5cee fixing typo, which added double quote to static file name 2015-04-24 10:48:12 +01:00
Matt Westcott a4af4b9e0a release note for #1226 2015-04-24 10:45:42 +01:00
Matt Westcott 550e4d611b Merge pull request #1226 from kaedroho/static-url-cleanup
Replace {{ STATIC_URL }} with {% static %} tags
2015-04-24 10:42:32 +01:00
Matt Westcott 777930c9a8 typo 2015-04-24 09:50:54 +01:00
Matt Westcott 35a8802fac move release note item for #942 from 1.0 to 0.8.7 2015-04-23 16:54:41 +01:00
Matt Westcott 587349b83d Merge branch 'kaedroho-issue-1168' 2015-04-23 16:12:54 +01:00
Matt Westcott 07cf971911 Release note for #1225 2015-04-23 16:12:39 +01:00
Matt Westcott e15d19c6dd Merge branch 'issue-1168' of https://github.com/kaedroho/wagtail into kaedroho-issue-1168 2015-04-23 15:51:12 +01:00
Karl Hobley 1e41a4d8fa Merge pull request #1202 from pcraston/master
#1183 add note to staticsitegen documentation
2015-04-23 11:54:04 +01:00
Karl Hobley b744e953de Don't use spelling extension on read the docs 2015-04-22 17:39:23 +01:00
Karl Hobley f2b4ac9753 Prevent {{ STATIC_URL }} from being used in templates 2015-04-22 12:20:23 +01:00
Karl Hobley 57fd4656fd Replace {{ STATIC_URL }} with {% static %} tags
STATIC_URL is not added into the template context by default in Django 1.8. Also, I think {% static %} looks neater
2015-04-22 12:18:56 +01:00
Dan Braghis 4adb3f2dc4 Change translation wording to strongly point to Transifex 2015-04-22 10:36:00 +01:00
Dan Braghis d725bb0390 Update RTD links and add Transifex as preferred translation option 2015-04-22 10:26:21 +01:00
Karl Hobley 8e7c9306ad RoutablePage: Change way URL resolver is created
Fixes #1168

Prevously, we looked up the URLs directly from the subpage_urls attribute and gave the value this returned to Djangos get_resolver function.

get_resolver implements an infinite LRU cache so if this attribute was a property, every time a different instance of RoutablePage called it, a new item was added to the cache. This would repeat until the process was restarted or crashed.

This commit makes defining subpage_urls as a property raise an error so this memory leak can't happen. The implementation was taken from #1161 to make it forwards-compatible.

The changes are:
 - Added a new classmethod called get_resolver. This builds a RegexURLResolver itself and caches it on the class
 - No longer using Djangos get_resolver so url configs don't get cached twice
 - Added a new classmethod called get_subpage_urls. This can be overridden by subclasses to add more URLs
2015-04-22 10:13:59 +01:00
Karl Hobley b5a3821dfa Changelog/release note for #1222 2015-04-22 09:58:03 +01:00