Commit Graph

56 Commits

Author SHA1 Message Date
gggeek
510a2374d8 Fix generation of content migrations with date, datetime, file, image attributes 2017-02-05 21:53:39 +00:00
gggeek
83bf87f224 Improve generation of content-type migrations - still a WIP 2017-02-04 23:31:28 +00:00
gggeek
8c5037d4bc Allow matching using a NOT condition 2017-02-04 00:37:32 +00:00
gggeek
1bf2702933 Fix creation/modification fate when generating content migration; more tests 2017-01-29 14:08:12 +00:00
gggeek
a0f3aa4b44 Make sure original logged in user stays the same when generating migrations 2017-01-29 13:43:49 +00:00
gggeek
174a179313 Merge by hand the PR #93 by blankse; allow one generation for many entities; allow to generate 'delete' migrations 2017-01-28 16:43:25 +00:00
gggeek
b4efa607d0 Fix: bad manual revert of merges 2017-01-28 14:15:52 +00:00
gggeek
7f753d9080 Revert some changes from PR #92 2017-01-28 13:21:55 +00:00
Sebastian Blank
1f05628f11 Make scrutinizer happier 2017-01-26 09:28:13 +01:00
Douglas Hammond
70bf7e81f8 Add future removal notice. 2017-01-09 10:02:24 -05:00
wizhippo
c03a0ed190 Fix handling of alwaysAvailable on content create
When adding content alwaysAvailable is not respecting the content type default.  This allow setting alwaysAvailable or falling back to the default from the content type.
2017-01-04 12:12:26 -05:00
gggeek
1a153b814a Better support for timestamps in content creation/modification dates 2016-11-25 13:48:26 +00:00
gggeek
9da854fbb9 Fix: use default child sorting from content class if unspecified 2016-11-20 16:58:43 +00:00
gggeek
da3732a21a Change the preferred tags to identify the parent location(s) used to create content 2016-11-15 12:05:08 +00:00
gggeek
fa3295a942 Allow event listener to mess up with executors and steps 2016-11-14 18:44:01 +00:00
gggeek
1d46455145 Allow setting version creator of content; allow setting publication_date on content creation 2016-10-20 13:53:35 +01:00
gggeek
612071c261 Allow simpler yml for content creation/update; fix docs for obj states dsl 2016-10-20 12:09:58 +01:00
gggeek
e731b8b7f8 Restore reference resolving in contenttype settings; restore reference resolving in scalar attributes; do not swallow any more errors from non-existing user groups 2016-10-06 09:26:53 +01:00
gggeek
4739c9aac1 Allow registration of Complex Field handlers even for scalar fields; Allow registration of Complex Field handlers even for scalar fields for specific content types 2016-10-05 15:04:01 +01:00
gggeek
df5eda18c5 shameless refactoring 2016-10-03 09:55:17 +01:00
gggeek
cbff28f312 Move trait out of API namespace; simplify references resolution code; remove dead code; allow matching locations by remote id in content/location creation 2016-10-02 22:40:58 +01:00
gggeek
6758fdd889 allow to assign a remote id for the Location when creating Contents 2016-10-02 01:53:12 +01:00
gggeek
5867d36a90 Support setting object states on content creation and update 2016-10-01 22:12:40 +01:00
gggeek
7fa3f8a83d Allow setting content publication and modification dates 2016-10-01 20:15:15 +01:00
gggeek
0dd5d99d50 allow setting owner on content creation and update; replace array_key_exist calls with isset 2016-10-01 19:53:26 +01:00
gggeek
9c56d33d43 Better error message when using wrong field name in content creation/update; fix usage of 'match' for updating roles; allow usage of content type id when matching contents; more tests for role assignments 2016-10-01 18:52:21 +01:00
gggeek
b2030e7cb8 Allow is_hidden, sort_field and sort_order when creating content 2016-10-01 15:42:43 +01:00
gggeek
ab29e11423 Merge branch 'stable-3.x'
Conflicts:
	.travis.yml
	Resources/doc/DSL/ManageContent.yml
	WHATSNEW.md
2016-09-29 21:15:43 +01:00
gggeek
8292d8cbf4 Allow references to 'path'; test using ezplatform 1.5 instead of 1.4 2016-09-29 18:51:22 +01:00
gggeek
70fe0442fc Properly support setting section; avoid setting remote_id on location for newly created objects when the object remote_id is set 2016-09-25 21:35:32 +01:00
gggeek
c0e5c39570 Begin work on supporting setting of section on created/updated contents 2016-09-25 20:22:35 +01:00
gggeek
8d33c850e0 Make all executors return the created/updated/deleted elements, so that events can use them; add felxible matchers for Users, Groups and Roles 2016-09-25 02:04:29 +01:00
gggeek
f662c477ad allow cretaion, removal of languages, with tests 2016-08-29 18:16:10 +01:00
gggeek
03c14d5b25 allow setting refs to remote_id, location of content 2016-08-29 17:37:46 +01:00
gggeek
f7de74c698 make matching of locations for update/delete more flexible 2016-08-29 17:12:13 +01:00
Jérôme Vieilledent
65590e5e9c Add support for language in repository migration steps 2016-08-26 11:01:26 +02:00
gggeek
cc0cf3eea3 more location tests; improve stability of content deletion by type identifier 2016-08-12 12:07:54 +01:00
gggeek
2278736f1a add tests for location editing; allow setting refs on location creation 2016-08-12 09:29:49 +01:00
gggeek
ce8ae81d4e Make sure root user does not stay logged in if a migration step fails 2016-08-11 20:03:12 +01:00
gggeek
a9459cb9c9 Add support for ezcountry fields; add unit test 2016-08-11 13:19:54 +01:00
gggeek
36badc3dfe Remove leftover var_dump calls; two more test cases 2016-08-10 21:16:31 +01:00
gggeek
dfba964d99 Add more tests: invalid sql and invalid php; match content to be deleted by contentType identifier 2016-08-10 21:03:13 +01:00
gggeek
8bb517fd7a Fix more refactoring breackage; add basic tests for content creation; better testsuite error messages 2016-08-09 17:30:04 +01:00
gggeek
706e5f949c Fix recent changes which had broken content updates 2016-08-09 16:05:51 +01:00
gggeek
a268173738 Fix various broken hings; better error messages when migration steps fail 2016-08-09 13:36:31 +01:00
gggeek
097d9ea5b5 Add a simple unit test for contentType creation; allow matching content types by reference; allow to load 'complex' types by usage of default FromHash method 2016-08-08 18:12:41 +01:00
gggeek
59250f753e fix error in last commit; docs updates 2016-08-05 18:27:51 +01:00
gggeek
17569295f4 Better error messages from migrate and generate commands; better validation of filedType yml definitions; allow mass update/delete of contents 2016-08-05 18:10:44 +01:00
gggeek
2b87f97978 Cleanups suggested by scrutinizer 2016-08-05 12:46:30 +01:00
gggeek
4aa7f5bb83 Fix brokenness of reference parses for most types of managers 2016-08-03 12:25:09 +01:00