Commit graph

146 commits

Author SHA1 Message Date
Benedikt Willi
765ac7a19d Rewrote JavaScript to be compatible with EcmaScript < 6. Clarified js docs in version_compare.js 2019-11-11 10:41:14 +01:00
Benedikt Willi
57d0a348bf Updated to work with Wagtail 2.7. 2019-11-08 16:39:17 +01:00
Diogo Marques
18ed10a2a9
Merge pull request #258 from easherma/bindtomodel-version
different bindto model function depending on wagtail version
2019-10-25 19:26:16 +01:00
Eric Sherman
a92d287a6e nested if 2019-10-25 13:17:44 -05:00
Eric Sherman
187e524ed2 import verision constant 2019-10-25 13:14:29 -05:00
Eric Sherman
e742a93f4c different bindto model function depending on wagtail version 2019-10-25 13:06:15 -05:00
Diogo Marques
8b945cec37
Merge branch 'master' into master 2019-10-23 12:22:29 +01:00
Diogo Marques
40b2b01648 Bumped version 0.10.5 2019-09-09 15:20:50 +01:00
Diogo Marques
a170f7a213 Hotfix: include templates in instalation 2019-09-09 15:16:14 +01:00
Diogo Marques
4456f6f902 Bumped version 0.10.4 2019-09-09 14:42:06 +01:00
Floroni
29404348cb fixed import statement to match wagtails reorganised wagtail.admin.forms module 2019-09-09 11:40:44 +02:00
Miguel Silva
6fb4725f65 Merge remote-tracking branch 'upstream/master' 2019-09-06 15:39:38 +01:00
Miguel Silva
86c4711e48 Raise ValidationError if save has errors 2019-09-06 15:15:41 +01:00
Miguel Silva
6cbd98ee54 Fixed imports 2019-09-06 14:19:57 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
3034d5807c Corrected template rendering "can publish" field twice 2019-09-06 12:43:40 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
07e0e98b47 Use SlugField and old slug to fill new page slugs 2019-09-06 12:43:40 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
88e5895c5b Removed hardcoded language codes, replaced by settings.LANGUAGES 2019-09-06 12:43:40 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
55fff643d3 Patched copy view from wagtail in before_page_copy hook 2019-09-06 12:43:40 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
d630f9c988 Created new form to override Wagtail's CopyForm 2019-09-06 12:42:24 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
fe0cd4c0b6 Template now load titles and slugs fields in all languages 2019-09-06 12:42:24 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
8a1a9eb94b Added copy form template to override the Wagtail one 2019-09-06 12:42:24 +01:00
Erwhann-Rouge Guilhem MAS-PAITRAULT
425438acd1 Added primitive hook to before_page_copy 2019-09-06 12:42:24 +01:00
Benedikt Willi
af888092bf Fixed missing copy buttons for Wagtail 2.6.x. 2019-09-05 16:33:04 +02:00
Thomas Lagae
5ec163b020 Replace direct use of STATIC_URL with static templatetag 2019-07-20 17:53:39 +02:00
Alexandre Silva
75facc5f22 Bump version: 0.10.1 → 0.10.2 2019-06-06 17:22:18 +01:00
Diogo Marques
f52993d73c
Merge pull request #239 from lucasmoeskops/fix-edit-handler-iterator
Fix invalid iterator
2019-06-06 16:29:31 +01:00
Miguel Silva
bbe19792c9 Allows patching admin interface for all models registered for translation 2019-06-06 15:59:25 +01:00
Miguel Silva
640d5202c9 Linter fix 2019-06-06 15:58:12 +01:00
Diogo Marques
5ef04f30f2 Fixes #242
Set a default url_path for old instances
2019-05-09 11:41:34 +01:00
Lucas Moeskops
b883f051f3 Fix invalid iterator 2019-04-01 15:46:37 +02:00
Diogo Marques
8deb0424f1 Updated docs;
bump bersion 0.10.1
2019-03-21 17:10:58 +00:00
Diogo Marques
4f0b07789c Fixes error on apps.py: TypeError: can only concatenate list (not "tuple") to list 2019-03-21 10:47:32 +00:00
Pomax
372a2f31df
Update apps.py 2019-03-19 11:36:42 -07:00
Pomax
304554f405 Update apps.py
From https://github.com/infoportugal/wagtail-modeltranslation/issues/234#issuecomment-474096604, the timing between django-modeltranslation and wagtail-modeltranslation leads to wmt updating the settings variable for dmt too late (namely, after dmt already read it out). This PR ensures that the `CUSTOM_FIELDS` value is set directly on dmt's settings. This fixes the (original) issue reported in https://github.com/infoportugal/wagtail-modeltranslation/issues/234
2019-03-19 11:18:48 -07:00
Diogo Marques
1db9f3947c Auto populate slug when not translated 2019-02-05 10:59:51 +00:00
Diogo Marques
466d88fdf2 Version 0.10b1 2019-02-01 16:59:31 +00:00
Diogo Marques
3d84c4a78f Hotfix: missing import 2019-02-01 14:36:48 +00:00
Diogo Marques
1cb2a41a08 Hotfix: missing import 2019-02-01 14:28:41 +00:00
Diogo Marques
8b8f64a7cc
Merge branch 'master' into django2 2019-02-01 14:22:48 +00:00
Ondřej Šodek
4614b5faa4
Fix diacritics downcoding in slugs
This change correctly downcodes diacritics to ASCII if user has WAGTAIL_ALLOW_UNICODE_SLUGS = False (e.g. abčďéfg -> abcdefg)
Without this change, the slug simply strips all diacritics which is not ideal (e.g. abčďěfg -> abfg)
2018-12-12 19:09:56 +01:00
Diogo Marques
e7adf51d2a
Merge pull request #214 from infoportugal/210_hide_old_fields
Hide old fields for snippets without panels defenition
2018-08-21 17:18:49 +01:00
DiogoMarques
f7d748b7ee Moving translatable Page fields definition to the class 2018-08-21 14:20:10 +01:00
DiogoMarques
531a7494c2 Adds setting to translate slugs (default True) 2018-06-21 12:10:17 +01:00
DiogoMarques
7929589e7a Hotfix: import for wagtail >= 2.0 2018-06-14 11:27:06 +01:00
DiogoMarques
49246457cb Hide old fields for snippets without panels defenition 2018-06-14 11:20:12 +01:00
Dario Marcelino
11cbedfe13 #191, drop support for Wagtail < 1.8
And inherently Django < 1.8
2018-04-24 16:52:15 +01:00
Dario Marcelino
7d69a7135d #191, Django 2 compatibility 2018-04-24 16:42:07 +01:00
DiogoMarques
0be5939cdc Bump version: 0.8.1 → 0.9.0 2018-04-24 11:39:45 +01:00
Diogo Marques
f795622109
Merge pull request #200 from kakulukia/master
added Makefile for easy releases
2018-04-24 11:36:12 +01:00
Alex Miller
50d78a1826 Patch wagtail hooks to account for unpredictable dict internal table 2018-04-16 15:10:57 -04:00