Merge branch 'master' into stable24

old_stable24
Varun Patil 2022-10-28 23:21:27 -07:00
commit e31446db93
4 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,7 @@ Memories is a photo management app for Nextcloud with advanced features includin
- **✏️ Edit Metadata**: Edit Exif dates on photos quickly and easily. - **✏️ Edit Metadata**: Edit Exif dates on photos quickly and easily.
- **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder. - **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder.
- **📷 RAW Support**: View RAW photos from your camera with the [Camera RAW Previews](https://apps.nextcloud.com/apps/camerarawpreviews) app. - **📷 RAW Support**: View RAW photos from your camera with the [Camera RAW Previews](https://apps.nextcloud.com/apps/camerarawpreviews) app.
- **🫱🏻‍🫲🏻 External Sharing**: Share photos and videos with people outside of your Nextcloud instance.
- **⚡️ Fast**: Memories is extremely fast. Period. More details below. - **⚡️ Fast**: Memories is extremely fast. Period. More details below.
To get an idea of what memories looks and feels like, check out the [public demo](https://memories-demo.radialapps.com/apps/memories/). Note that the demo is read-only and may be slow since it runs in a low-end free tier VM provided by [Oracle Cloud](https://www.oracle.com/cloud/free/). Photo credits go to [Unsplash](https://unsplash.com/) (for individual credits, refer to each folder). To get an idea of what memories looks and feels like, check out the [public demo](https://memories-demo.radialapps.com/apps/memories/). Note that the demo is read-only and may be slow since it runs in a low-end free tier VM provided by [Oracle Cloud](https://www.oracle.com/cloud/free/). Photo credits go to [Unsplash](https://unsplash.com/) (for individual credits, refer to each folder).

View File

@ -19,6 +19,7 @@ Memories is a photo management app for Nextcloud with advanced features includin
- **✏️ Edit Metadata**: Edit Exif dates on photos quickly and easily. - **✏️ Edit Metadata**: Edit Exif dates on photos quickly and easily.
- **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder. - **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder.
- **📷 RAW Support**: View RAW photos from your camera with the [Camera RAW Previews](https://apps.nextcloud.com/apps/camerarawpreviews) app. - **📷 RAW Support**: View RAW photos from your camera with the [Camera RAW Previews](https://apps.nextcloud.com/apps/camerarawpreviews) app.
- **🫱🏻‍🫲🏻 External Sharing**: Share photos and videos with people outside of your Nextcloud instance.
- **⚡️ Fast**: Memories is extremely fast. Period. - **⚡️ Fast**: Memories is extremely fast. Period.
To get an idea of what memories looks and feels like, check out the [public demo](https://memories-demo.radialapps.com/apps/memories/). Note that the demo is read-only and may be slow since it runs in a low-end free tier VM provided by [Oracle Cloud](https://www.oracle.com/cloud/free/). Photo credits go to [Unsplash](https://unsplash.com/) (for individual credits, refer to each folder). To get an idea of what memories looks and feels like, check out the [public demo](https://memories-demo.radialapps.com/apps/memories/). Note that the demo is read-only and may be slow since it runs in a low-end free tier VM provided by [Oracle Cloud](https://www.oracle.com/cloud/free/). Photo credits go to [Unsplash](https://unsplash.com/) (for individual credits, refer to each folder).

View File

@ -13,7 +13,7 @@ class AddMissingIndices
* @param SchemaWrapper $schema Schema wrapper * @param SchemaWrapper $schema Schema wrapper
* @param null|Connection $connection Connection to db * @param null|Connection $connection Connection to db
*/ */
public static function run(SchemaWrapper &$schema, $connection) public static function run(SchemaWrapper $schema, $connection)
{ {
// Should migrate at end // Should migrate at end
$shouldMigrate = false; $shouldMigrate = false;

View File

@ -65,9 +65,14 @@ export class ViewerManager {
return; return;
} }
// Check viewer > 2.0.0
const viewerVersion: string = globalThis.OCA.Viewer.version;
const viewerMajor = Number(viewerVersion.split(".")[0]);
// Open Nextcloud viewer // Open Nextcloud viewer
globalThis.OCA.Viewer.open({ globalThis.OCA.Viewer.open({
fileInfo: fInfo, fileInfo: fInfo,
path: viewerMajor < 2 ? fInfo.filename : undefined, // Only specify path upto Nextcloud 24
list: fileInfos, // file list list: fileInfos, // file list
canLoop: false, // don't loop canLoop: false, // don't loop
onClose: () => { onClose: () => {