Arthur Bogaart pushed to branch feature/create-content at cms-community / hippo-addon-channel-manager
Commits: 0e06c9e5 by Arthur Bogaart at 2017-10-07T20:36:06+02:00 CHANNELMGR-1480 Add template-query service The new REST endpoint templatequery/{id} returns a list of DocumentTypeInfo objects {id, displayName} for the given template query. Returns 404 if template query is not found or not of type nt:query, 500 on a query parse error or repository errors. If the targeted prototype is of an invalid namespace or type (hippo:, hipposys:, hipposysedit:, reporting:, nt:unstructured, hippogallery:) it will be ignored. - - - - - 051ad6b2 by Arthur Bogaart at 2017-10-09T09:27:48+02:00 CHANNELMGR-1480 Use single quotes - - - - - a74372cc by Arthur Bogaart at 2017-10-09T10:50:26+02:00 CHANNELMGR-1480 Add method for templatequery endpoint - - - - - 65579d52 by Arthur Bogaart at 2017-10-09T10:51:34+02:00 CHANNELMGR-1480 Use ng1 ContentService in ng4 - add provider for ContentService to ng4 module config - - - - - cfad6dbb by Arthur Bogaart at 2017-10-09T15:26:40+02:00 CHANNELMGR-1480 Use templatequery API in create-content.component - - - - - bfdca7bd by Arthur Bogaart at 2017-10-09T16:45:04+02:00 CHANNELMGR-1480 Add unit test for template query - - - - - fa2d1270 by Arthur Bogaart at 2017-10-11T00:13:31+02:00 CHANNELMGR-1480 Add CreateContentService - wraps calls to ContentService - moved DocumenTypeInfo to CreateContentService - added simple unit test for CreateContentService - - - - - 3dfe3898 by Arthur Bogaart at 2017-10-13T00:19:06+02:00 CHANNELMGR-1480 Pass ManageContentLink options to CreateContentPanel - rename manageContent to editContent - added create-content options passing - added templateQuery getter to manageContentLink - added type and options parameters to onOpen callback in rightSidePanelController to enable generic calls - - - - - f088076d by Arthur Bogaart at 2017-10-13T00:45:06+02:00 CHANNELMGR-1480 Fix tests - manageContent => editContent rename - introduction of type param in onOpen callback - create-content - - - - - 697a36ad by Arthur Bogaart at 2017-10-13T00:57:39+02:00 CHANNELMGR-1480 Update template usage of createContent var - - - - - 662a76f3 by Arthur Bogaart at 2017-10-16T10:00:16+02:00 CHANNELMGR-1480 Add ManageContentLink getters and tests - - - - - aeb6bf3a by Arthur Bogaart at 2017-10-16T13:28:33+02:00 CHANNELMGR-1480 Merge master changes - - - - - 4e26790c by Arthur Bogaart at 2017-10-16T13:41:19+02:00 CHANNELMGR-1480 Preselect first documentType if there is only one - - - - - c9a431b5 by Arthur Bogaart at 2017-10-16T13:59:37+02:00 CHANNELMGR-1480 Fix render order of dial buttons - - - - - 73a88897 by Arthur Bogaart at 2017-10-17T11:08:43+02:00 CHANNELMGR-1480 Emit feedback if documentTypesFromTemplateQuery failes - - - - - dd14eb0c by Arthur Bogaart at 2017-10-17T11:09:32+02:00 CHANNELMGR-1480 Add unit tests for create-content.component - - - - - 778ac3a7 by Arthur Bogaart at 2017-10-17T11:50:30+02:00 CHANNELMGR-1480 Return TemplateQuery with DocumentTypeInfo Makes the name of REST endpoint more logical and makes later additions like display name, etc of the template query possible. - - - - - 4ea2b610 by Arthur Bogaart at 2017-10-17T13:48:40+02:00 CHANNELMGR-1480 Add locale based ignore-case sorting for TemplateQuery - - - - - 4b077826 by Arthur Bogaart at 2017-10-17T13:52:26+02:00 CHANNELMGR-1480 Disable documentType dropdown if only one present - - - - - 446cdd32 by Arthur Bogaart at 2017-10-17T15:41:46+02:00 CHANNELMGR-1480 Rename templateQuery parameter to id - - - - - beb48732 by Arthur Bogaart at 2017-10-17T16:56:33+02:00 CHANNELMGR-1480 Small code changes from review - private logger - use constant for "hipposysedit:prototype" nodetype - pass error message to the client and log at debug level - add comment to #getDocumentTypeName to clarify where it's logic comes from - - - - - 57d1a239 by Arthur Bogaart at 2017-10-19T13:51:18+02:00 CHANNELMGR-1480 Use feedback service to show errors in CreateContent1 - Remove onError output from create-content.component - Add ErrorInfo reasons - Add feedback.service provider - - - - - fde1e173 by Arthur Bogaart at 2017-10-19T15:14:12+02:00 CHANNELMGR-1480 Merge feature/create-content changes - - - - - d864f21f by Arthur Bogaart at 2017-10-20T14:02:56+02:00 CHANNELMGR-1480 Split test of prototypes with and without display names - - - - - 67bc6477 by Arthur Bogaart at 2017-10-23T10:49:06+02:00 CHANNELMGR-1480 Simplify rightSidePanel logic for switching between edit&create - - - - - fa8b225d by Arthur Bogaart at 2017-10-23T15:28:40+02:00 CHANNELMGR-1480 Code format - - - - - ebeb05fe by Arthur Bogaart at 2017-10-24T01:04:42+02:00 CHANNELMGR-1480 Attach form submit listener - - - - - b0767a2e by Arthur Bogaart at 2017-10-24T01:07:57+02:00 CHANNELMGR-1480 Move CreateContentService and extract type into .d.ts file + code fixes fom review - - - - - e514b136 by Arthur Bogaart at 2017-10-24T01:09:07+02:00 CHANNELMGR-1480 Adjust tests to new rightsidepanel setup - - - - - be081b91 by Arthur Bogaart at 2017-10-24T02:11:22+02:00 CHANNELMGR-1480 Merge feature/create-content changes - - - - - 40293f21 by Arthur Bogaart at 2017-10-24T09:39:17+02:00 CHANNELMGR-1480 Refactor rightSidePanel.controller - generic onOpen/setState behavior - adjusted spec files - - - - - c528720e by Arthur Bogaart at 2017-10-24T10:49:25+02:00 CHANNELMGR-1480 Change state name to mode - - - - - b110e2bb by Arthur Bogaart at 2017-10-24T10:53:37+02:00 CHANNELMGR-1480 Reintegrate feature/CHANNELMGR-1480 - - - - - 30 changed files: - content-service/src/main/java/org/onehippo/cms/channelmanager/content/ContentResource.java - + content-service/src/main/java/org/onehippo/cms/channelmanager/content/documenttype/model/DocumentTypeInfo.java - content-service/src/main/java/org/onehippo/cms/channelmanager/content/error/ErrorInfo.java - + content-service/src/main/java/org/onehippo/cms/channelmanager/content/templatequery/TemplateQuery.java - + content-service/src/main/java/org/onehippo/cms/channelmanager/content/templatequery/TemplateQueryService.java - + content-service/src/main/java/org/onehippo/cms/channelmanager/content/templatequery/TemplateQueryServiceImpl.java - + content-service/src/main/java/org/onehippo/cms/channelmanager/content/templatequery/TemplateQueryUtils.java - + content-service/src/test/java/org/onehippo/cms/channelmanager/content/templatequery/TemplateQueryServiceImplTest.java - content-service/src/test/resources/log4j-filters.txt - frontend-ng/src/app/app.module.ts - frontend-ng/src/app/channel/channel.controller.js - frontend-ng/src/app/channel/channel.controller.spec.js - frontend-ng/src/app/channel/channel.html - frontend-ng/src/app/channel/hippoIframe/hippoIframe.controller.js - frontend-ng/src/app/channel/hippoIframe/hippoIframe.controller.spec.js - frontend-ng/src/app/channel/hippoIframe/hippoIframe.directive.js - frontend-ng/src/app/channel/hippoIframe/overlay/overlay.service.js - frontend-ng/src/app/channel/hippoIframe/overlay/overlay.service.spec.js - frontend-ng/src/app/channel/page/element/manageContentLink.js - frontend-ng/src/app/channel/page/pageStructure.service.fixture.html - frontend-ng/src/app/channel/page/pageStructure.service.js - frontend-ng/src/app/channel/page/pageStructure.service.spec.js - frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.component.spec.ts - frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.component.ts - + frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.d.ts - frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.html - + frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.service.spec.ts - + frontend-ng/src/app/channel/sidePanels/rightSidePanel/createContent/create-content.service.ts - frontend-ng/src/app/channel/sidePanels/rightSidePanel/rightSidePanel.controller.js - frontend-ng/src/app/channel/sidePanels/rightSidePanel/rightSidePanel.html The diff was not included because it is too large. View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/10da7f1859e85ac8f3f329c2ec76db7e90851a4d...b110e2bbcd9355b566de63acae7ad1fd71298fe5 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/10da7f1859e85ac8f3f329c2ec76db7e90851a4d...b110e2bbcd9355b566de63acae7ad1fd71298fe5 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn