Commit graph

402 commits

Author SHA1 Message Date
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
DiogoMarques
0b81be9d6e Final version for setup.py 0.8 alpha 2018-01-15 14:26:03 +00:00
DiogoMarques
7d02d760cd Added version 0.8 alpha 1 2018-01-15 12:53:09 +00:00
DiogoMarques
2377538f1a Rollback some changes to setup.py 2018-01-15 12:35:43 +00:00
DiogoMarques
b591fc1047 Fixed link to django-modeltranslation commit 2018-01-15 12:10:57 +00:00
DiogoMarques
064625cebd Dependency 'django-modeltranslation' installed via github commit 2018-01-15 12:00:09 +00:00
DiogoMarques
feedd129bd Added sub package 'makemigrations' to setup.py 2018-01-15 11:54:06 +00:00
Sylvain BLOT
4ed78783e6
Fix slug auto-population for translation with dash 2018-01-15 12:12:22 +01:00
Diogo Marques
b677f43dca
Merge pull request #163 from dmarcelino/docs
Update docs: sync README with Installation
2018-01-08 12:52:33 +00:00
Dario Marcelino
3c70fd4a0a Update docs: sync README with Installation
Replace TranslationOption with TranslationOptions
Update examples with latest Django syntax:
 - MIDDLEWARE instead of MIDDLEWARE_CLASSES
 - _('language') instead of u'language'
2018-01-08 12:06:15 +00:00
Diogo Marques
03cd69e8b9
Merge pull request #162 from dmarcelino/travis_matrix
Travis: reduce number of jobs from 40 to 15
2018-01-08 11:06:21 +00:00
Diogo Marques
3d95413a4c
Merge pull request #161 from dmarcelino/page_tr_options
Remove extraneous Meta class from PageTR
2018-01-06 12:20:34 +00:00
Diogo Marques
e859632484
Merge pull request #160 from dmarcelino/fix_merge
Remove _new_relative_url and _new_url methods
2018-01-06 12:20:08 +00:00
Dario Marcelino
a34e079305 Travis: fix mysql and python 3.3 jobs 2018-01-06 12:15:29 +00:00
Dario Marcelino
539254316c Travis: reduce the number of jobs by using matrix include
And test mysql and postgres
2018-01-06 12:05:05 +00:00
Dario Marcelino
2205fd719f Remove _new_relative_url and _new_url methods
These had been removed before but were reintroduced during experimental
branch merge
2018-01-05 19:14:24 +00:00
Dario Marcelino
ee3bda2248 Remove extraneous Meta class from PageTR 2018-01-05 19:02:25 +00:00
DiogoMarques
8c246f7f89 Merge branch 'experimental' 2018-01-05 18:36:44 +00:00
Diogo Marques
7b05253a39
Merge pull request #159 from dmarcelino/wag_1_13
Add support for Wagtail 1.13
2018-01-05 18:01:59 +00:00
Diogo Marques
4e38d8b654
Merge pull request #158 from infoportugal/docs
Document caveats and management commands
2018-01-05 17:50:51 +00:00
Dario Marcelino
f02b9294c3 Merge branch 'travis_wagtail' into wag_1_13 2018-01-05 16:36:13 +00:00
Dario Marcelino
b62be23616 Patches _update_descendant_url_paths to add .rewrite(False) to queryset
- _localized_update_descendant_url_paths: replaces raw SQL query for
Django queryset
- Refactors some *_descendant_url_paths methods for better clarity
2018-01-05 16:35:58 +00:00
Dario Marcelino
abeadb6871 Docs: add caveats
[ci skip]
2018-01-05 11:47:46 +00:00
Dario Marcelino
8e3d549a66 Merge branch 'experimental' into docs 2018-01-05 11:33:52 +00:00