Commit graph

360 commits

Author SHA1 Message Date
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
7d9b42f542
Merge pull request #235 from Pomax/patch-1
Fixes #234
2019-03-21 12:04:09 +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
d0034364d2
Merge pull request #229 from infoportugal/populate_slug_not_translated
Populate slug not translated
2019-03-12 17:18:36 +00:00
Diogo Marques
89d285555e .gitignore updated 2019-02-05 11:00:01 +00:00
Diogo Marques
1db9f3947c Auto populate slug when not translated 2019-02-05 10:59:51 +00:00
Diogo Marques
1193528e75 Merge branch 'django2' 2019-02-01 17:00:32 +00:00
Diogo Marques
466d88fdf2 Version 0.10b1 2019-02-01 16:59:31 +00:00
Diogo Marques
2b09b06eb3
Merge pull request #223 from Sempiternal02/patch-1
Update translation.py
2019-02-01 16:17:05 +00:00
Diogo Marques
b0a4e61d4a
Merge pull request #227 from tomazursic/fix-doc-setup
Add migrate module to INSTALLED_APPS setting list
2019-02-01 15:14:46 +00:00
Diogo Marques
3f9ac92bc8
Merge pull request #228 from infoportugal/django2
Django2
2019-02-01 15:14:19 +00:00
Diogo Marques
24df39a0d8 Hotfix: django 2.1 only supports postgres 9.4+, so we need to override
version 9.2 of travis
2019-02-01 14:53:56 +00:00
Diogo Marques
2c10234f80 Hotfix: travis does not have python 3.7 2019-02-01 14:38:06 +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
Diogo Marques
293d518f8a v0.10b1, wagtail support 1.12+ 2019-02-01 14:15:14 +00:00
Tomaz
46059f791b Add migrate module to INSTALLED_APPS setting list 2019-02-01 09:48:22 +01:00
Alexandre Silva
d9a8c2c06d
Merge pull request #224 from OndrejSodek/patch-2
Fix diacritics downcoding in slugs
2018-12-13 17:21: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
Sempiternal02
dcf2651ee7
Update translation.py 2018-10-16 23:42:50 +03: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
Diogo Marques
060491a75e
Merge pull request #215 from infoportugal/213_slug_translation_optional
Adds setting to translate slugs (default True)
2018-08-21 17:17:48 +01:00
DiogoMarques
7658d2e8d8 Merge branch 'master' into 213_slug_translation_optional 2018-08-21 15:33:07 +01:00
Diogo Marques
cd8a9ad5f0
Merge pull request #220 from infoportugal/python_accepted_version_cleanup
Droped python version 3.3 and added 3.6
2018-08-21 15:31:39 +01:00
DiogoMarques
54a2729283 Droped python version 3.3 and added 3.6 2018-08-21 15:08:23 +01:00
DiogoMarques
f7d748b7ee Moving translatable Page fields definition to the class 2018-08-21 14:20:10 +01:00
Diogo Marques
d5ecd24d70
Merge pull request #217 from infoportugal/document-migrations
Update README.rst
2018-06-26 12:55:55 +01:00
nulopes
e84cdc6acb
Update README.rst
Fixes #193
2018-06-26 11:46:46 +00: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
Dario Marcelino
adeb645a69 #191, update django-modeltranslation to 0.13b1 and update version to 0.10b1 2018-04-24 15:40:17 +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
Diogo Marques
77a86fb894
Merge pull request #201 from akmiller01/master
Patch wagtail hooks to account for unpredictable dict internal table
2018-04-17 16:20:46 +01:00
Alex Miller
50d78a1826 Patch wagtail hooks to account for unpredictable dict internal table 2018-04-16 15:10:57 -04:00
Andy Grabow
e40c776da3 new option to skip the version bump 2018-04-16 13:37:26 +02:00
Andy Grabow
5d42d99430 not needed either 2018-04-13 23:51:49 +02:00
Andy Grabow
eac95ec38a the import is not needed - bad PyCharm! 2018-04-13 23:50:45 +02:00
Andy Grabow
be57e57077 added Makefile for easy releases
Bump version: 0.8.1 → 0.8.2

Bump version: 0.8.2 → 0.8.3

included version in package
DRY version from package

revert the version to the current value

remove the breakpoint

change version in the new location

typo

activate compilation and uploading
2018-04-13 12:16:01 +02:00
Diogo Marques
a91a158612
Merge pull request #199 from kakulukia/master
lets be pep compliant
2018-04-10 10:05:14 +01:00
kakulukia
7613c7bd0f
lets be pep compliant
https://www.python.org/dev/peps/pep-0508/

otherwise pipenv cant install this package correctly
2018-04-09 16:20:36 +02:00
Diogo Marques
3f1882bad0
Merge pull request #197 from dmarcelino/root_page_slug
_get_site_root_paths: clear cache when changing languages
2018-04-09 11:42:25 +01:00
Dario Marcelino
a92cf200a3 #195: cache each language's site root paths individually
instead of evicting the cache when language changes.
Patch `Page._get_site_root_paths()` and `Page.get_url_parts()` on Wagtail<1.11
Update `test_root_page_slug` to cover more scenarios
2018-04-03 09:04:02 +01:00