Skip to content
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
merged 15 commits into from Mar 1, 2022

Commits on Mar 1, 2022

  1. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    97f5f23 View commit details
    Browse the repository at this point in the history
  2. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    8328d47 View commit details
    Browse the repository at this point in the history
  3. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    a72eaca View commit details
    Browse the repository at this point in the history
  4. Feature #12713

    Add first version of the selection basket business code in JS to wrap
    the requests to the Web API
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    9d5c3f0 View commit details
    Browse the repository at this point in the history
  5. 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.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    dfce089 View commit details
    Browse the repository at this point in the history
  6. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    d495f9b View commit details
    Browse the repository at this point in the history
  7. Feature #12713 fixing minification errors.

    Using constant in basket service about BasketElement signature implementation.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    9914e69 View commit details
    Browse the repository at this point in the history
  8. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    667193e View commit details
    Browse the repository at this point in the history
  9. Feature #12713

    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.
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    cfe80ea View commit details
    Browse the repository at this point in the history
  10. Feature #12713

    Fixing some Javascript regressions on IE around for ... of ... directive.
    Fixing also a little letter introduced into the call of a method.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    60c479c View commit details
    Browse the repository at this point in the history
  11. Feature #12713

    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.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    533a556 View commit details
    Browse the repository at this point in the history
  12. Feature #12713

    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
    mmoqui authored and SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    11370c6 View commit details
    Browse the repository at this point in the history
  13. Feature #12713

    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.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    9c45a70 View commit details
    Browse the repository at this point in the history
  14. Feature #12713

    Updating GrapesJS from 0.17.29 to 0.18.3.
    SilverYoCha committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    832b792 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ec203ff View commit details
    Browse the repository at this point in the history