Commit graph

290 commits

Author SHA1 Message Date
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
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
Diogo Marques
6aaa9fbeda
Merge pull request #157 from dmarcelino/remove_pre_save
Remove slug .pre_save() patch
2018-01-04 17:11:58 +00:00
Diogo Marques
d6ed53c0fc
Merge pull request #156 from dmarcelino/travis
Make experimental build on travis
2018-01-04 17:09:27 +00:00
Dario Marcelino
0bca45dcbb Docs: add management commands to index
[ci skip]
2018-01-04 15:12:32 +00:00
Dário
45c7c9e2c5
Update management commands.rst
[ci skip]
2018-01-04 15:09:57 +00:00
Dario Marcelino
487741ecbe Drop python 3.3 in favor of 3.6
Note that Wagtail tests from python 3.4 to 3.6:
9926745262/.travis.yml
2018-01-04 11:38:57 +00:00
Dario Marcelino
787bbf4344 Travis: add the latest versions of wagtail 2018-01-04 11:18:27 +00:00
Dario Marcelino
3b463f7ee7 Remove slug .pre_save() patch since it's no longer relevant
Update docs accordingly
2018-01-03 19:01:12 +00:00
Dario Marcelino
8000594114 Add --dependency-links flag to pip install 2018-01-03 17:52:21 +00:00
Dario Marcelino
7a9750cbd7 Please travis by adding latest commit of django-modeltranslation to
dependencies
2018-01-03 17:22:35 +00:00
Diogo Marques
238e265ec7
Merge pull request #153 from dmarcelino/fix_makemigrations
Fix makemigrations bug when Page has dependencies
2018-01-03 15:05:02 +00:00
Diogo Marques
ff8a7f7afe
Merge pull request #140 from dmarcelino/patch-2
Fix update_translation_fields command
2018-01-03 14:34:00 +00:00
Diogo Marques
7f028ffac8
Merge pull request #125 from WnP/fix-RemovedInWagtail113Warning
relative_url should accept a 'request' keyword argument.
2018-01-03 12:58:32 +00:00