Commit graph

325 commits

Author SHA1 Message Date
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
Dario Marcelino
2621e6e407 #195: replace _new_get_site_root_paths with decorator
While not as robust, this allows greater flexibility as we can re-use the decorator to decorate Model.get_url_parts() on wagtail<1.11
2018-04-02 19:24:54 +01:00
Dario Marcelino
c63eee4506 #195: if cached site_root_paths has different language clear cache and refetch them 2018-04-02 18:32:36 +01:00
Dario Marcelino
5648c0b164 #195: failing test for translated root_page.slug 2018-04-02 17:15:15 +01:00
Dario Marcelino
c78cac792b #195, PageFactory.create_page_tree: add a top root node to mimic Wagtail's behaviour 2018-04-02 17:13:06 +01:00
Dario Marcelino
16e08c30fc chore(gitignore): PyCharm 2018-04-02 16:41:36 +01:00
Diogo Marques
a61136e028
Merge pull request #188 from dmarcelino/wt2_dj111
Force django<2 while allowing Wagtail 2
2018-03-27 12:16:48 +01:00
Dario Marcelino
52e0c5aba5 Setup.py: force django<2 while allowing Wagtail 2 2018-03-21 03:29:19 +00:00
Tiago Costa
7591c015c9 Updated package information 2018-03-15 10:45:41 +00:00
Tiago Costa
6ef46d6cdc HotFix: Fixed validation for wagtail_search whenever there was more than one parameter on the 'change_lang' template tag 2018-03-14 15:14:48 +00:00
Diogo Marques
a323535582
Merge pull request #178 from dmarcelino/migrate
Add Migrate command
2018-03-14 15:13:00 +00:00
Diogo Marques
8c45ea32fd
Merge pull request #185 from dmarcelino/wagtail2
Add support for Wagtail 2
2018-03-14 14:11:08 +00:00
Diogo Marques
a8b2921b69
Merge pull request #181 from dmarcelino/travis_django_version
Travis: make clear which django version is used
2018-03-14 12:52:58 +00:00
Stuart Axon
03e8b0e38c Fix version to work in early wagtail 2018-03-14 12:06:41 +00:00
DESKTOP-QK6PGF0\dario
b26759205d Travis: test against Wagtail 2 2018-03-14 11:59:08 +00:00
Stuart Axon
f3ec60184a Use django.urls for newer django 2018-03-14 11:45:13 +00:00
Stuart Axon
cc83d9881a Add a missing wagtail2 import 2018-03-14 11:44:25 +00:00
Stuart Axon
45e7b4adf0 Fix more imports 2018-03-14 11:39:36 +00:00
Stuart Axon
ef1e0bf5ee Missing import 2018-03-14 11:39:23 +00:00
Stuart Axon
cf2bcc5a7f Update tests to work on wt2 2018-03-14 11:38:36 +00:00
Stuart Axon
7cc4eece20 Change imports for wagtail2 2018-03-14 11:38:10 +00:00
Jason Abbott
19ad0226f3 ensure wagtail version < 2 2018-03-14 11:27:59 +00:00
Dário
093b251008 Make clearer which django version is being tested
- by printing it to the console;
- by outputting `pip install $WAGTAIL` output.
- Also remove `--process-dependency-links` as it's no longer needed.
2018-02-28 17:40:17 +00:00
Diogo Marques
f8c3dd369f
Merge pull request #164 from sylvainblot/patch-1
Fix slug auto-population for translation with dash
2018-02-28 15:04:22 +00:00
Diogo Marques
51091640fa
Merge pull request #179 from stuaxo/patch-1
Update setup.py
2018-02-28 14:21:16 +00:00
Stuart Axon
ebfd3a67dc
Update setup.py
Move from distutils to setuptools so that ```python setup.py develop``` can be used.
2018-02-28 11:06:05 +00:00
Dário
1f747cfd6f
Document migrate command 2018-02-23 16:37:10 +00:00
Dario Marcelino
69ae7dfbd8 #175: Override Migrate command
To additionaly run `sync_page_translation_fields`
To silence any missing migrations warnings
2018-02-23 15:35:32 +00:00
Alexandre Silva
2135d7d081
Merge pull request #177 from dmarcelino/safer_slugurl
Make slugurl_trans tag resilient to missing request
2018-02-21 09:59:33 +00:00
Dario Marcelino
d542dacbb3 #176: remove context['request'] to prevent KeyError 2018-02-20 18:13:38 +00:00
Diogo Marques
06fd1e8bfa
Merge pull request #172 from dmarcelino/streamfield_required_2
Make localized StreamField optional (Wagtail >= 1.12)
2018-02-15 12:34:57 +00:00
Dario Marcelino
b3d654eba5 #170: only test StreamField required for wagtail 1.12 and above
Since Wagtail didn't honour StreamField blank before 1.12 tests would
fail
2018-02-14 19:09:50 +00:00
Dario Marcelino
080bd89b6f #170: make localized StreamFields default to optional 2018-02-14 18:08:22 +00:00
Dario Marcelino
eec0108f33 #170: failing test for StreamField required 2018-02-14 17:59:08 +00:00
Diogo Marques
77b352e53c
Merge pull request #168 from dmarcelino/modeltranslation_0_12_2
Update django-modeltranslation to v0.12.2 and bump version to 0.8
2018-01-30 10:06:48 +00:00
Dario Marcelino
358dc259e1 Update django-modeltranslation to v0.12.2 and bump version to 0.8 2018-01-29 15:39:43 +00:00