Skip to content

Integrate between Nextcloud file system and objects#144

Merged
remko48 merged 38 commits into
developmentfrom
feature/CONNECTOR-179/locking
Jan 27, 2025
Merged

Integrate between Nextcloud file system and objects#144
remko48 merged 38 commits into
developmentfrom
feature/CONNECTOR-179/locking

Conversation

@rjzondervan
Copy link
Copy Markdown
Member

No description provided.

rubenvdlinde and others added 29 commits January 15, 2025 21:38
- Introduced locking functionality in ObjectEntity with methods to lock, unlock, check lock status, and retrieve lock information.
- Enhanced ObjectService to include methods for locking and unlocking objects, along with appropriate exception handling for authorization and locking conflicts.
- Added new properties for locked state, owner, and authorization in ObjectEntity.
- Updated documentation for new methods and parameters.
- Added methods for locking and unlocking objects in ObjectEntityMapper, including user session checks and event dispatching for lock/unlock actions.
- Refactored ObjectService to utilize the new locking methods from ObjectEntityMapper, improving code organization and exception handling.
- Updated constructor of ObjectEntityMapper to inject dependencies for event dispatching and user session management.
- Ensured that the current user is set as the owner when creating or updating objects.
- Added documentation for new methods and parameters related to object locking.
- Introduced new API endpoints for locking, unlocking, and reverting objects in the ObjectsController.
- Enhanced ObjectEntityMapper and ObjectService to support reverting objects to previous states based on datetime, audit trail ID, or semantic version.
- Updated documentation to reflect new capabilities, including detailed descriptions of locking and version control features.
- Implemented error handling for locking and reverting operations, ensuring robust responses for various scenarios.
…ents

- Enhanced ObjectEntity to include 'locked' state and 'owner' properties.
- Updated mock data and tests to reflect new attributes for object locking and ownership.
- Introduced LockObject modal for locking functionality in the UI.
- Added methods in the object store for locking and unlocking objects, with appropriate error handling.
- Updated ObjectDetails and ObjectsList views to support locking and unlocking actions.
Also, read the folder property from an object if the property is set, instead of generating the whole thing over and over again.
Copy link
Copy Markdown
Member

@remko48 remko48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but there are some breaking bugs

Also all the lint errors need to be fixed

Comment thread src/modals/object/LockObject.vue
Comment thread src/views/object/ObjectDetails.vue
Comment thread src/modals/object/LockObject.vue Outdated
Copy link
Copy Markdown
Member

@remko48 remko48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of time I will approve this PR.

Please Note! That the issue in this comment is not yet resloved!

@remko48 remko48 merged commit 4750764 into development Jan 27, 2025
@bbrands02 bbrands02 deleted the feature/CONNECTOR-179/locking branch March 7, 2025 10:37
rubenvdlinde pushed a commit that referenced this pull request Jul 30, 2025
Integrate between Nextcloud file system and objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants