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
Feature #12713: New transversal basket and Newsletter improvements #1204
Merged
Commits on Mar 1, 2022
-
Add a basket to contain resources selected by a user. These resources can be a contribution or an organizational resource. The far goal of the basket is to replace the current clipboard used in copy/cut and paste operations. For instance, it is dedicated to contain the publications a user has selected to use for filling a given newsletter template.
Configuration menu - View commit details
-
Copy full SHA for 97f5f23 - Browse repository at this point
Copy the full SHA 97f5f23View commit details -
Add a REST-based web service to get, post and to pop items from the selection basket. Improve some business code and the integration tests on web resources accessible by a REST-based Web API. For example, a method is added in RESTWebServiceTest to perform a user authentication against Silverpeas in order to open an explicit session that can be used in the integration test. For business code, the improve is about to use contributions in a more generic way for the selection basket without having to know their concrete type and to resolve some sonar feedbacks about code quality.
Configuration menu - View commit details
-
Copy full SHA for 8328d47 - Browse repository at this point
Copy the full SHA 8328d47View commit details -
Merge ApplicationService and ContributionManager to avoid redondant code and features and to facilitate the code by providing a single way to get a contribution from a component instance (an application instance). ContributionManager is now removed.
Configuration menu - View commit details
-
Copy full SHA for a72eaca - Browse repository at this point
Copy the full SHA a72eacaView commit details -
Add first version of the selection basket business code in JS to wrap the requests to the Web API
Configuration menu - View commit details
-
Copy full SHA for 9d5c3f0 - Browse repository at this point
Copy the full SHA 9d5c3f0View commit details -
Feature #12713: Drag & Drop Web Editor
Adding the representation of a Drag&Drop Web Editor content. Making the WBE Host Manger API able to get the right client according the edited file. Upgrading the WBE API in order to get several WBE clients enabled. Adding the WBE Client Manager able to handle the Drag & Drop Web Editor into context of WBE API. Adding to the WBE API the possibility to set a specific configuration when initializing an edition. Adding the Web Controller in charge of managing the editor. Adding Grapes Libraries. Adding sharedSpace CKEditor plugin. Adding new signature to Contribution which permits to retrieve as a centralized way its path. Adding new VueJS components: - silverpeas-fade-transition-group which permits to perform fade operation on list of HTML element - Silverpeas Image Selector which centralizes the way to get image from Silverpeas's platform - Silverpeas Basket Selection which permits to handled selected items into a basket - Silverpeas Publication Basket Selector which permits to use element from basket selection Using the image tool services first into image preview API before using old way to get width and height of an image.
Configuration menu - View commit details
-
Copy full SHA for dfce089 - Browse repository at this point
Copy the full SHA dfce089View commit details -
It is now possible to push incomplete resource data into the selection basket through its Web RESTful API. The data are automatically reloaded each time the content of the basket is returned by the web resource representing the selection basket. Only the unique identifier and the type of the resource is required. Because the draftOutDate is always set at null and because the automatic drafting out process (batch process) isn't more used (anyway it cannot work because the draftOutDate is always null) since 2011, the process and the draftOutDate attribute and its handling in the code are all removed of the code.
Configuration menu - View commit details
-
Copy full SHA for d495f9b - Browse repository at this point
Copy the full SHA d495f9bView commit details -
Feature #12713 fixing minification errors.
Using constant in basket service about BasketElement signature implementation.
Configuration menu - View commit details
-
Copy full SHA for 9914e69 - Browse repository at this point
Copy the full SHA 9914e69View commit details -
LocalizedContributionWrapper implements now WithThumbnail and WithPermanentLink interfaces. If there is no resource matching the identifier of the item in the selection basket, then a Not Found error (404) is sent back.
Configuration menu - View commit details
-
Copy full SHA for 667193e - Browse repository at this point
Copy the full SHA 667193eView commit details -
The calendar events can be put now in the selection basket. The personal user calendar doesn't support this feature. Improve codes according to SonarCube issues. Refine the text for putting contributions into the selection basket.
Configuration menu - View commit details
-
Copy full SHA for cfe80ea - Browse repository at this point
Copy the full SHA cfe80eaView commit details -
Fixing some Javascript regressions on IE around for ... of ... directive. Fixing also a little letter introduced into the call of a method.
Configuration menu - View commit details
-
Copy full SHA for 60c479c - Browse repository at this point
Copy the full SHA 60c479cView commit details -
UI: - The user is redirected to the contribution of a basket item if he clicks on it. - Improving silverpeas-embed-player plugin by adding the possibility to listen to message events. WEB: - Implementing into FileServer LinkUrlDataSourceScanner and ImageUrlAccordingToHtmlSizeDirective.SrcTranslator interfaces. The first permits to take in charge thumbnails URL into mail processing. The second permits to take in charge the image resizing for WYSIWYG contents about thumbnails. - Adding to HttpRequest getParameterSimpleMap signature which permits to retrieve as a common way a Map<String, String> instead of a Map<String, String[]>. - Handling the user session id into RESTAdapter API. - Moving JavasScript resources providing common services from vuejs to common javascript root folder. BACKEND: - Adding to User API getCurrentUser signature which provides the user of the session if any or the system user otherwise. - Making a drag and drop web editor store deletable. - Moving DragAndDropEditorContent to core-api project in order to centralize the use of a drag and drop editor content. - Adding a signature to ContributionContentRenderer in order to take into account the view rendering into an external context of the Silverpeas's one.
Configuration menu - View commit details
-
Copy full SHA for 533a556 - Browse repository at this point
Copy the full SHA 533a556View commit details -
Now, when the item in the basket is a calendar event, the period of time in which the event is spanning is provided in JSON through the web REST API
Configuration menu - View commit details
-
Copy full SHA for 11370c6 - Browse repository at this point
Copy the full SHA 11370c6View commit details -
Adjustments around Silverpeas's component selction into the editor. Adding new grapes component to handle specifically the 'CalendarOccurenceEvent' entities. Adjustments around Silverpeas's component selection into the editor. Fixing a unit test which has not been adjusted after the little refactoring around WYSIWYG URL source scanners. Fixing a plugin inclusion missing into built-in look. Adding the possibility to select as fast as possible elements for basket selection container (centralizing the code to put elements into basket selection by implementing BasketManager). Improving the mail sending in order to allow using the @media into style HTML TAGs. Adding the possibility to specify a minimal width for image resizing when sending an email. Moving the MailSending creation at a centralized place in order to use it from several functionalities instead only from infoletter. Adding to WysiwygManager the possibility to manage the copy of documents between two resources while updating also the content. Adding new WYSIWYG directive in order to add Silverpeas's server URL to URL starting with the application context.
Configuration menu - View commit details
-
Copy full SHA for 9c45a70 - Browse repository at this point
Copy the full SHA 9c45a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 832b792 - Browse repository at this point
Copy the full SHA 832b792View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec203ff - Browse repository at this point
Copy the full SHA ec203ffView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.