-
Notifications
You must be signed in to change notification settings - Fork 351
added template structure & mapper #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
replaces pull request https://github.com/sulu-cmf/SuluContentBundle/pull/2 |
@drotter ready to merge! |
The detail-specification should not be written as bullet point list |
/** | ||
* @return SessionInterface | ||
*/ | ||
protected function getSession() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wachterjohannes Is that really necessary? I think only the content types which really need the session should get it (shouldn't be that many, and they could get it by themeselves).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case we could also get rid of this class, and let the complex content types just implement ContentTypeInterface. Then we don't have that many classes dependent on the container. /cc @chirimoya
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm ... I personally wouldn't remove the abstract class. May be useful in future and also for reflection or type hint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A very wise person told me once "never use reflections" :-P
However, what about the getSession-Method? I would prefer to let each content type decide on it's own if it needs this session or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chirimoya @drotter changed things that should be done before merge |
Adjusted to new theme config
Integrate husky auto complete list in ContentType
[FEATURE] save last clicked category to restore the datagrid
Adjusted to new theme config
Integrate husky auto complete list in ContentType
[FEATURE] save last clicked category to restore the datagrid
* init automation-bundle * Implemented task-api (#1) * implemented task-api * fixed comments * Added ui to manage tasks (#2) * added automation-tab * fixed comments * added delete dialog and validation of date-picker * ID changed to guid and added locale (#4) * changed id type to uuid * added locale to task * Added php-task library (#3) * refactored task-controller cget * renamed task-name to handler-class * added automation-task-handler * added php-task to sulu-task * added document-handler (#6) * Added ui improvements (#5) * fixed missing locale for find * Devided tasks into a list for future and history list (#7) * devided tasks into a list for future (editable) and history (with status) * improved handler configuration and added central navigation provider for tab * included style for task-history list * UI fixes (#8) * fixed translations * removed sortable from all fields except schedule * added icons for started and running * added remove button to overlay * added security-context to ui * fixed comments * added document automation events (#9)
* Webspace settings frontend * Fix StyleCI * Fixed bug * PHPCR Implementation (#4) * Implementation finished * Add tests * Add ES indexing * Info just gray * Check for ES in test * Add install notes * Better doc * Better doc * Fix bug in addition webspaces preselect * Fixed bug * Dataprovider considers webspace settings (#5) * Implementation finished * Dataprovider considers webspace settings * Code clean up * Corrected property param * Update ArticleDataProvider.php * Resolve Sitemap correctly (#6) * Add Canonical Tag (#7) * Add Canonical Tag * Code clean up * Target webspace (#8) * Add targetWebspace to ViewDocument * Fixed test * Search Subscriber (#10) * ArticleSearchSubscriber * Code clean up * Fix tests * Add "ignoreWebspaces" param to twig extension (#9) * Add "ignoreWebspaces" param to twig extension * Code clean up * Finishing (#11) * Add UPGRADE note * Add NL translations * Add FR translation * Fix indention * Fix StyleCI * Page tree route (#12) * Page tree route * Disable webspace settings form * Fix StyleCI
* added .idea folder to the .gitignore file * adjusted name in jmsserializer configuration * added seo-form xml * added seo model and interface * implemented seo-controller, find-seo-query and basic modify-seo-message * added form configuration in sulu-content-extension * added translations for seo-form * improved phpdoc in content-repository-interface and content-view-factory-interface * implemented seo query-handler and message-handler, implemented seo-repository, implemented seo-view and seo-view-factory, adjusted various files * automatically fixed coding style with phpcs * made seo-model properties nullable, implemented modify-seo-message-handler * removed handling of unlocalized seo-dimensions in message-handlers * renamed getAttributes-method to createAttributes in publish-content-message-handler to match naming in other handlers * added serializer configuration for seo-view class * return empty seo-view in the seo-controller when seo is not found to unbreak form in the frontend * implemented publish-seo-message and its handler, added orm configuration for seo-view model * made bool properties of seo model nullable * added phpunit and webmozart-assert plugin for phpstan * refactored contet-view-factory-test, added seo-view-factory-test * added modify-seo-message-test and publish-seo-message-test * added seo-test and find-seo-query-test * refactored find-content-query-handler-test, added find-seo-query-handler-test * refactored modify-content-message-handler-test, added modify-seo-message-handler * refactored publish-content-message-handler-test, added publish-seo-message-handler-test * fixed namespace in seo unit-test files * added abstract prefix for abstract controller classes, renamed getResourceKey method * added functional test setup, created basic content-controller test * automatically fixed coding style with php-cs * implemented abstract-content-controller-test * implemented abstract-seo-controller-test * added comment in get-action of abstract-seo-controller and abstract-content-controller * renamed publish-dimension method, added copy-attributes-from method in seo-interface and content-interface * renamed form-key of seo-form from seo to content_seo * added test cases for testCopyAttributesFrom mothod of content-interface and seo-interface * fixed service-id of structure-metadata-factory
added template structure & mapper: