Skip to content

make extension work also with OpenCloud#96

Merged
individual-it merged 18 commits intomainfrom
opencloud
Apr 2, 2025
Merged

make extension work also with OpenCloud#96
individual-it merged 18 commits intomainfrom
opencloud

Conversation

@individual-it
Copy link
Member

@individual-it individual-it commented Mar 31, 2025

Description

Make the extension work with OpenCloud.
It is achieved by

  1. merging a general package file with a system specific
  2. using sed to change all imports from owncloud to opencloud

Motivation and Context

make it work with OpenCloud without having an other repo

How Has This Been Tested?

  • run locally on both systems
  • run tests in CI
  • deployment with docker container

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Tests only (no source changes)
  • Documentation only (no source changes)
  • Maintenance (e.g. dependency updates or tooling)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation updated

@individual-it individual-it force-pushed the opencloud branch 6 times, most recently from 6c34e3a to 7d77ab8 Compare March 31, 2025 08:03
@individual-it individual-it marked this pull request as ready for review April 1, 2025 07:56
@individual-it individual-it requested review from S-Panta and saw-jan April 1, 2025 07:56
@individual-it
Copy link
Member Author

CC @kulmann in case you are interested to see what I've done here

README.md Outdated
1. Download the zip file from the [releases page](https://github.com/JankariTech/web-app-presentation-viewer/releases)

For example: `mdpresentation-viewer-x.x.x.zip`
For example: `mdpresentation-viewer-<architecture>-x.x.x.zip`
Copy link
Member

Choose a reason for hiding this comment

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

will it be arch or server name?

Suggested change
For example: `mdpresentation-viewer-<architecture>-x.x.x.zip`
For example: `mdpresentation-viewer-<server>-x.x.x.zip`

Copy link
Member Author

Choose a reason for hiding this comment

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

I've renamed it to use server everywhere. What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

server sounds good. here as well

@individual-it individual-it requested a review from saw-jan April 2, 2025 04:12

env:
OCIS_URL: https://localhost:9200
OC_URL: https://localhost:9200
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is for both, why not keep OCIS_URL as env too?

Copy link
Member

Choose a reason for hiding this comment

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

OC_URL serves for both

Copy link
Member Author

Choose a reason for hiding this comment

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

because one of the servers is not called OCIS ;-)

Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
@individual-it individual-it requested review from S-Panta and saw-jan April 2, 2025 10:59
@individual-it individual-it merged commit 86342e6 into main Apr 2, 2025
2 checks passed
@individual-it individual-it deleted the opencloud branch April 2, 2025 11:32
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.

3 participants