Commit graph

402 commits

Author SHA1 Message Date
Dario Marcelino
8751517403 Adds failing test for descendant URL path update on .save 2017-12-18 17:21:39 +00:00
Dario Marcelino
fc0e803dc5 Patch save() so we ensure set_url_path is called if slug_xx changes
Wagtail can only detect changes in slug for current language so we need
to check the others
2017-12-16 11:46:39 +00:00
Dario Marcelino
6a483eae19 Adds failing test for set_url_path
If slug for non-current language changes set_url_path is never called
2017-12-16 11:06:57 +00:00
Diogo Marques
ffaa485d83
Merge pull request #144 from dmarcelino/streamfield_fallback
Fix StreamField fallback (addresses #143)
2017-12-14 12:03:26 +00:00
Diogo Marques
bd1dbc6758
Merge branch 'master' into streamfield_fallback 2017-12-14 12:02:52 +00:00
Diogo Marques
53ad48e799
Merge branch 'master' into streamfield_fallback 2017-12-14 12:01:44 +00:00
Diogo Marques
37eec32f7a
Merge pull request #142 from dmarcelino/original_slug
#141: Ensure original slug field is always saved in the same language
2017-12-14 11:53:46 +00:00
Dario Marcelino
1f36b55f0c #143: Fixes StreamField fallback behaviour 2017-12-12 20:21:07 +00:00
Dario Marcelino
1e03faf76e #143: adds failing tests for StreamField fallback 2017-12-12 20:19:17 +00:00
Dario Marcelino
e91101977e #141: documentation for original slug field language changes 2017-12-12 12:26:25 +00:00
Dario Marcelino
7cf94069b6 #141: patch Slug Field pre_save() to ensure slug value consistency 2017-12-12 12:26:02 +00:00
Dario Marcelino
271bbe513f #141 Failing tests for original slug field issue 2017-12-12 12:22:25 +00:00
Dário
27ac5491f2
update_translation_fields: patch model instead of obj 2017-12-04 14:34:04 +00:00
Diogo Marques
dca220cb0c
Merge pull request #135 from WnP/i18n-slugs
[fix] i18n slugs required specific page in order to retrieve good url
2017-11-30 16:34:52 +00:00
Dário
86caf9a816
update_translation_fields: remove unused method 2017-11-30 15:16:25 +00:00
Dário
421a52e155
#103: fix update_translation_fields command 2017-11-30 14:59:03 +00:00
Diogo Marques
da76ec44a2
Merge pull request #137 from dmarcelino/patch-1
#126, Docs: fix translation.py example
2017-11-28 09:59:12 +00:00
Dário
c114d0d326
#126, Docs: fix translation.py example
Update the imports to reflect latest changes
2017-11-27 19:06:54 +00:00
Steeve Chailloux
dd473f1497 [fix] i18n slugs required specific page in order to retrieve good url path 2017-10-27 15:17:38 +02:00
Steeve Chailloux
de3797cc8f relative_url should accept a 'request' keyword argument. 2017-08-24 18:45:10 +02:00
Rodrigue Nsiangani (rodnsi)
adf68c5a3b New tag: 'get_available_languages_wmt'. Use this template tag to get the current languages from MODELTRANSLATION_LANGUAGES (or LANGUAGES) from your setting file (or the default settings). 2017-07-17 14:40:41 +02:00
Alexandre Silva
281e2f7002 Merge pull request #115 from v1kku/master
rename handle_noargs to handle in management commands
2017-05-09 12:45:29 +01:00
Alexandre Silva
791a9c003a Changed validation on _new_route to check if the object is an instance of RoutablePageMixin 2017-05-09 12:44:12 +01:00
Alexandre Silva
5361ae777f Merge pull request #119 from dwasyl/routing-for-routablepages
Added routing for RoutablePages
2017-05-09 12:42:24 +01:00
Alexandre Silva
500d9e7932 Fixed docs 2017-05-08 17:33:52 +01:00
Alexandre Silva
2b9fcc4fe2 Updated version in setup.py 2017-05-08 16:54:06 +01:00
Alexandre Silva
c7f9369155 Updated docs for v0.6.0rc2 2017-05-08 16:52:52 +01:00
Alexandre Silva
024a407cf3 Added RichTextFieldPanel to the default simple panel classes 2017-05-08 15:08:26 +01:00
Alexandre Silva
fe77adfd42 Merge pull request #117 from dwasyl/fix-extra-tabs-children
Remove extraneous .children reference
2017-05-08 12:19:36 +01:00
David
2950a8f75b Added routing for RoutablePages 2017-04-27 23:26:00 -06:00
David
ce969d8581 Remove extraneous children 2017-04-27 23:21:16 -06:00
Victor Munene
b38d6b67a4 rename set_translation_url_paths.Command.handle_noargs to handle 2017-04-25 10:13:17 +03:00
Victor Munene
0c8f54e529 rename update_translation_fields.Command.handle_noargs to handle 2017-04-25 09:42:23 +03:00
Alexandre Silva
e830a104b2 Merge pull request #113 from albertoconnor/patch-1
Update docs
2017-04-19 11:12:33 +01:00
albertoconnor
45bd7e2cbd Update docs
Based on 0.6.0rc1
2017-04-18 16:36:36 -04:00
Alexandre Silva
f2a9b647d9 Added setting to define custom simple and composed panels to be patched. 2017-03-10 16:43:19 +00:00
Alexandre Silva
8a8ce5051c Added code from PR #80. 2017-03-08 15:01:05 +00:00
Alexandre Silva
240933c531 Auto-population for slug is made using the same behaviour as wagtail (only auto-populated in non-live pages and slug only follows the title field if its value matched the title's value at the time of focus). Fixes #54. 2017-03-08 12:45:25 +00:00
Alexandre Silva
bb6b266fcf Added custom handler for page links in RichTextField. 2017-03-08 11:39:25 +00:00
Alexandre Silva
f21bf5a3ad Fixed version number for pypi. 2017-03-07 14:35:57 +00:00
Alexandre Silva
cb217cd18e Fixed docs. 2017-03-07 14:20:05 +00:00
Alexandre Silva
e8f969a87e Merge branch 'master' into release/v0.6 2017-03-07 12:15:43 +00:00
Alexandre Silva
86bf5639e7 Updated documentation. 2017-03-07 11:48:28 +00:00
Alexandre Silva
c79a2be57c Added package info. 2017-03-06 17:27:39 +00:00
Alexandre Silva
f331ac3643 Fixed related model field for inline panel patching in Django 1.8. 2017-03-06 14:56:24 +00:00
Alexandre Silva
abdaee8f7c Fixed tox and travis for python 3.3 as the latest Django supported is 1.8. 2017-03-06 14:39:43 +00:00
Alexandre Silva
68a8dcd862 Compatibility with Python 3. 2017-03-06 14:16:20 +00:00
Alexandre Silva
80e5feae4c Merge pull request #77 from sopelj/master
[FIX] Compatibility Fixes for Python3
2017-03-06 11:58:09 +00:00
Alexandre Silva
87f303c35f Another fix in travis. 2017-03-06 11:42:32 +00:00
Alexandre Silva
cd831e5886 Forced upgrade on pip in travis as the version available is old and causes problems. 2017-03-06 11:39:23 +00:00