0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

180 Commits

Author SHA1 Message Date
Mikalai Radchuk
90552bedb5 Fix site ref in docs 2016-10-01 22:04:46 +03:00
Andy Babic
0c1b67bc16 Add documentation to help with customisation of contrib.modeladmin 2016-09-28 20:52:19 +01:00
riceyrice
5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Mikalai Radchuk
fb93a6d6b9 Allow to limit access to form submissions (#3016)
Add the filter_form_submissions_for_user hook

Thanks @kaedroho for the code review and docs.
2016-09-22 14:36:39 +03:00
Matt Westcott
89f4699a91 Fix underlines 2016-09-19 13:51:04 +01:00
Matt Westcott
8aa316c575 Correct description of 'title' class on FieldPanel - fixes #2990 2016-09-15 17:02:25 +01:00
Matt Westcott
b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Karl Hobley
4dc1ef05f8 Removed unused import from example
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
Karl Hobley
8b9b2ced36 Docs for new hooks 2016-09-14 16:52:28 +01:00
Luiz Boaretto
24feca5333 Fix typo on modeladmin docs 2016-09-04 12:43:39 -03:00
Matt Westcott
1d5475672e Release note for #2577 2016-09-01 16:20:57 +01:00
dirtycoder
959723eddb Create a panel to display informations about the submissions for form pages, fix #406 2016-09-01 15:22:30 +01:00
Karl Hobley
cdcdb4a4cd Update frontendcache.rst 2016-08-29 16:38:26 +01:00
Karl Hobley
692c4017f9 Changelog and release note for #1845 2016-08-29 15:24:53 +01:00
Rob Moorman
df45c215a2 Added support for AWS CloudFront in Frontend cache invalidation module (#1845)
* added base cloudfrontbackend and testcase

* added boto3 cloudfront client

* implemented create invalidation method
added error handling botocore

* added aws docs

* fixed typo

* flake8 fixes

* added boto3 configuration docs

* removed return

* purge path instead of full url

* added multisite hostname mapping

* added validation of DISTRIBUTION_ID

* renamed Cloudfront to CloudFront

* added note to include www in mapping
added tests for cloudfront site mapping

* removed deprecated has_key, used in
fixed _create_invalidation

* changed type checking of dict
removed debug line of code to check hostname

* fixed dict type checking condition
added assert t make sure no invalid cache is being purged

* changed import order

* fixed isort error

* more detailed error message for cloudfront
pep8 fixes 120 chars per line

* Log missing cloudfront distribution id as info

Was logging as error, but it may be possible that a developer wants cloudfront on only specific hostnames.

* , => .

* Docs edits

* Removed hard-dependency on boto3
2016-08-29 15:15:27 +01:00
Matt Westcott
5dee12508d Mark django-medusa as no longer maintained 2016-07-29 15:54:52 +01:00
Matt Westcott
bdd80dd33e Fix styling of email fields in AbstractEmailForm example (#2821)
classname="full" is incorrect here (it generates excessive padding); also, using a FieldRowPanel
can make the display neater.
2016-07-08 16:47:54 +03:00
Mikalai Radchuk
0b29ba80db Makes notes for settings module more visible (#2826) 2016-07-06 19:01:09 +03:00
Andreas Nüßlein
5b72f81327 mention edit_handler in this context (#2716) 2016-06-15 13:54:54 +01:00
Matt Westcott
bdaf696cd2 Release note / docs for #2257 2016-06-10 14:26:30 +01:00
Andreas Nüßlein
8e6c9f555f Update staticsitegen.rst (#2647)
added python3 hint for http.server
2016-05-30 18:28:48 +01:00
Alex Gleason
8d5d29c2f3 Rename table_block.fields to table_block.blocks 2016-05-18 15:51:54 +01:00
Brad Busenius
53dfe6f5de Added documentation for table_block. 2016-05-11 15:16:06 +01:00
Karl Hobley
e72b25f61c Make api_fields a list
All other model attribute settings in Wagtail use lists now. This commit changes the api_fields docs to use a list as well.

Both list and tuple work, but list is now the recommended option
2016-05-10 19:35:41 +03:00
Karl Hobley
9dcc12ac55 Fix a typo in model reference 2016-05-10 14:28:34 +01:00
Tim Heap
facd66cf82 Use code-block:: python for a code example in docs 2016-05-08 04:59:34 +02:00
Philipp Dieter
d247fe9bf6 Fix name of ForeignKey object 2016-05-08 04:50:37 +02:00
Tim Heap
b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +01:00
Robert Rollins
7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins
11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Robert Rollins
1a9caccdcd The "code-block:: json" tag doesn't work for full HTML response text.
You get a lexer error from the document builder if you use "code-block:: json",
and the json-style highlighting ends up not being applied. So I switched it to
"code-block:: text".
2016-04-28 10:57:22 +01:00
Andy Babic
dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
Karl Hobley
b978fb826f Added --schema-only flag to update_index command 2016-04-12 16:21:46 +01:00
Karl Hobley
2e970f88ea Changelog and release note for #2451 2016-04-12 06:57:27 +01:00
Tim Heap
31d2d43d5b Add wagtail.contrib.settings.jinja2tags (#2451) 2016-04-12 06:49:32 +01:00
Charlie Hornsby
5cb7ae01f6 FIx incorrect paginator label in example code (#2468) 2016-04-10 11:06:51 +01:00
Tomas Olander
10e564b935 Fix site settings docs for setting an icon
The "icon-" prefix is automatically added in SettingMenuItem.
Using "icon-placeholder" as suggested would thus result in
the CSS class "icon-icon-placeholder".
2016-04-01 10:50:03 +02:00
Tom Dyson
6dcb433215 CamelCase JavaScript in hooks documentation 2016-03-11 17:19:45 +00:00
Tom Dyson
43cb7f8e83 Hook for adding JS to all admin pages
Like insert_editor_js but not just for edit pages.
2016-03-11 17:19:45 +00:00
Matt Westcott
6803075188 Release notes for #1940 2016-03-11 15:43:43 +00:00
Josh Barr
a7d8a7bd4d added documentation for page listing buttons 2016-03-11 15:43:42 +00:00
Loïc Teixeira
5429c007ad Fix internal links 2016-03-06 21:05:05 +00:00
Loïc Teixeira
33aad3957f Fix internal links with anchors
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.

It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.

References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Matt Westcott
7861c2b492 Add get_site and get_url_parts to the Page model reference docs 2016-03-01 12:11:14 +00:00
Matt Westcott
d1a86c06da documentation: now with 8.3% more underline 2016-02-29 15:03:28 +00:00
Matt Westcott
3195a5200f Prevent deletion of collections that are non-empty
Since the collections infrastructure itself does not know about the object types that
can exist within collections, this requires a new hook `describe_collection_contents`
to allow collection contents to be discovered.
2016-02-29 13:14:10 +00:00
Matt Westcott
766e2501e4 Implement register_group_permission_panel hook for adding new panels to the group edit form 2016-02-29 13:14:05 +00:00
Tom Dyson
985a987436 Hook for adding CSS to all admin pages 2016-02-25 10:24:54 +02:00
Matt Westcott
d620ce9656 Document the construct_explorer_page_queryset hook 2016-02-12 11:15:13 +00:00
Matt Westcott
cddbc7c4a8 Remove 'versionadded:: 0.7' tags - 0.7 is ancient enough to be irrelevant 2016-02-11 10:53:03 +00:00