Skip to content
En échec

Changes

Summary

  1. bug #14803 : Access to chat with a user is now more visible (details)
  2. Bug #13477 (details)
  3. Bug #13477 (details)
Commit a7cf75fcc801521b15ab2d11cc0d29790d340d7a by Miguel Moquillon
bug #14803 : Access to chat with a user is now more visible
The file was modifiedcore-configuration/src/main/config/resources/StringTemplates/core/directory/user_de.st (diff)
The file was modifiedcore-configuration/src/main/config/resources/StringTemplates/core/directory/user_en.st (diff)
The file was modifiedcore-configuration/src/main/config/resources/StringTemplates/core/directory/user_fr.st (diff)
Commit 428aa0ed6b74737159aa4c8d3371512404a79fab by Miguel Moquillon
Bug #13477

Improve by simplifying the code of resource sharing by ticket.
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/control/NodeSharingListener.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/control/AttachmentSharingListener.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/control/PublicationSharingListener.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/node/SharedNodeResource.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/SimpleFileTicket.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/NodeTicket.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/VersionFileAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/PublicationTicket.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/ShareableAccessControl.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/servlets/FileSharingConstants.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/AbstractShareableAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/NodeAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/SimpleFileAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/Ticket.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/publication/SharedPublicationResource.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/VersionFileTicket.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/control/FileSharingSessionController.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/ShareablePublication.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/services/SharingTicketService.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/node/AbstractNodeResource.java (diff)
The file was addedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/AccessControlContext.java
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/servlets/FileSharingRequestRouter.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/ShareableNode.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/ShareableVersionDocument.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/attachment/SharedAttachmentResource.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/PublicationAccessControl.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/servlets/GetLinkFileServlet.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/ShareableResource.java (diff)
The file was removedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/FileSharingRuntimeException.java
Commit 595b5d771cf48c532cd6359361d0503802d3432d by Miguel Moquillon
Bug #13477

Fix the bug: now the publications aliases cannot be shared to other
people for security reasons.

Indeed, the publication aliasing covers two features:
* A way to allow access for publications to users having no access
  for the EDM in which those publications are located.
* A way to multi categorize a publication;
For the first point, for security reasons, the users have only read
rights on the publication aliases. They have then all the functions
mapped to their role that don't break this read-only constraint. Only
users having access for the EDM or the folder in the EDM in which the
alias has been created can then access, through the alias, for the
publication.
For the second point, the multi categorization feature is limited by
the way the publications cannot be directly modified in those different
categorizations; they cannot be modified by their aliases. In fact, the
feature is more a consequence of the first one than a thinkfully one.

Beside this, the folder or publication sharing is a way to share
information both to other users in Silverpeas and external users. This
is why the feature can be a way to counterpass the access constraint on
publications with aliases. So, this fix ensures now the publication
aliases cannot be shared to other people than those expected by the
contributor who created the aliases.
The file was modifiedcore-library/src/test/java/org/silverpeas/core/util/FileUtilTest.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/contribution/publication/service/DefaultPublicationService.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/security/AbstractShareableAccessControl.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/contribution/publication/service/PublicationService.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/attachment/AbstractAttachmentResource.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/contribution/publication/model/Location.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/util/OsEnum.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/NodeAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/NodeTicket.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/VersionFileAccessControl.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/attachment/AbstractSimpleDocumentResource.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/attachment/SharedAttachmentResource.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/PublicationAccessControl.java (diff)
The file was modifiedcore-services/sharing/src/main/java/org/silverpeas/core/sharing/model/SimpleFileAccessControl.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/publication/PublicationResource.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/node/NodeResource.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/node/SharedNodeResource.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/attachment/AttachmentResource.java (diff)
The file was modifiedcore-war/src/main/java/org/silverpeas/web/sharing/servlets/FileSharingRequestRouter.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/publication/SharedPublicationResource.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/util/file/FileUtil.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/node/AbstractNodeResource.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/webapi/publication/AbstractPublicationResource.java (diff)
The file was modifiedcore-library/src/main/java/org/silverpeas/core/contribution/publication/model/PublicationDetail.java (diff)

Summary

  1. Add two global config parameters allowing to parameterize the FILE log (details)
Commit 819fef128a1a9e2e93a76755b0c25c4a6325b856 by Miguel Moquillon
Add two global config parameters allowing to parameterize the FILE log
handler of Wildfly:
* SERVER_LOG_BACKUP_MAX: the number of backup of the FILE log to
  maintain. Above this count, all the olders additional backups are
  deleted;
* SERVER_LOG_BACKUP_SIZE: the maximum size of the FILE log (the unity, m
  for megabyte for example, has to be indicated with the number).

By default, SERVER_LOG_BACKUP_MAX=10 and SERVER_LOG_BACKUP_SIZE=5m
The file was modifiedsrc/main/resources/default_config.properties (diff)

Summary

  1. Add new JBoss CLI script to modify the FILE log handler. The script will (details)
  2. Update the silverpeas logging definition CLI script by defining (details)
Commit 48a2c03d48089cd10e13b6ef55c00d3d0bfb8081 by Miguel Moquillon
Add new JBoss CLI script to modify the FILE log handler. The script will
swith the FILE log handler from a periodic rotating handler to a size
rotating one. The size of the file and the number of backup files can be
parameterized with the new following parameters in config.properties:
SERVER_LOG_BACKUP_MAX and SERVER_LOG_BACKUP_SIZE.
The file was addedsrc/main/dist/configuration/jboss/wildfly-logging.cli
The file was modifiedsrc/main/dist/configuration/sample_config.properties (diff)
Commit 82673899847afe1bc0d0336c78b923b3132e1a46 by Miguel Moquillon
Update the silverpeas logging definition CLI script by defining
explicitly two different log formatters to be used by the log handlers
dedicated to the Silverpeas logging.
The file was modifiedsrc/main/dist/configuration/jboss/silverpeas-logging-profile.cli (diff)