Skip to content

Release v0.3.8#44

Merged
wginolas merged 11 commits intomainfrom
fix-open-from-share-link
Aug 11, 2025
Merged

Release v0.3.8#44
wginolas merged 11 commits intomainfrom
fix-open-from-share-link

Conversation

@AAAMON
Copy link
Contributor

@AAAMON AAAMON commented Aug 4, 2025

  • Fix: internal and external shares
  • Fix: "Open in Cryptpad" not showing
  • Fix: german translations.

@AAAMON AAAMON changed the title Release v0.3.6 Release v0.3.8 Aug 4, 2025
Copy link
Collaborator

@wginolas wginolas left a comment

Choose a reason for hiding this comment

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

Can you also fix the eslint warnings that show here: https://github.com/cryptpad/nextcloud-open-in-cryptpad/pull/44/files ?

* Always add main script
*/
Util::addInitScript(self::APP_ID, 'openincryptpad-main', 'files');
// Util::addInitScript(self::APP_ID, 'openincryptpad-main', 'files');
Copy link
Collaborator

Choose a reason for hiding this comment

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

The LoadAdditionalScriptsEvent does work in older NC versions (we support) right? Than we can remove boot completely.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing boot gives an internal server error and breaks NC itself. I think we can keep it empty. (and maybe at some point we will need to implement a 'global' script again)

if (!$this->permissionService->hasWritePermission($id)) {
return new DataResponse('', Http::STATUS_FORBIDDEN);
}
// if (!$this->permissionService->hasWritePermission($id)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this needs to stay. I need to check the rest of the code to say more.

if (!$this->permissionService->hasWritePermission($id)) {
return new DataResponse('', Http::STATUS_FORBIDDEN);
}
// if (!$this->permissionService->hasWritePermission($id)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this needs to stay. I need to check the rest of the code to say more.

AAAMON and others added 4 commits August 5, 2025 10:00
When in view only mode we let CryptPad create a session key and ignore
it. This way the user will always be alone in his CryptPad session.
@wginolas wginolas merged commit acff47e into main Aug 11, 2025
4 of 20 checks passed
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.

2 participants