Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

v1.7.24

Aswin Asok65277b193674
diff --git a/desktop/CHANGELOG.md b/desktop/CHANGELOG.md
index 3399a50f5f..f67580a113 100644
--- a/desktop/CHANGELOG.md
+++ b/desktop/CHANGELOG.md
@@ -1,8 +1,8 @@
# CHANGELOG
-## v1.7.24 (unreleased)
+## v1.7.24
-- Upload files directly to shared albums
+- Add files to shared albums
- Add shared files to your albums
- Add shared files to shared albums
- Favorite files in shared albums
diff --git a/desktop/package.json b/desktop/package.json
index ee6b35de45..cb788a57e7 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -1,6 +1,6 @@
{
"name": "ente",
- "version": "1.7.24-beta",
+ "version": "1.7.24",
"private": true,
"description": "Desktop client for Ente Photos",
"repository": "github:ente-io/photos-desktop",
diff --git a/docs/docs/photos/changelog.md b/docs/docs/photos/changelog.md
index 47f39acd82..5114e34fc8 100644
--- a/docs/docs/photos/changelog.md
+++ b/docs/docs/photos/changelog.md
@@ -7,6 +7,14 @@ description: Release notes of recent updates to Ente Photos mobile and desktop a
A short summary list of changes to the Ente Photos mobile and desktop apps. For a more descriptive list with screenshots and blog post links, see the [news](https://ente.com/news).
+## v1.7.24 (desktop) - May 2026
+
+- Add files to shared albums
+- Add shared files to your albums
+- Add shared files to shared albums
+- Favorite files in shared albums
+- Indicator for shared files in map view
+
## v1.3.44 (mobile) - May 2026
- Added support for selecting photos in 3rd party apps
diff --git a/web/apps/photos/src/components/Upload.tsx b/web/apps/photos/src/components/Upload.tsx
index 0bd058a908..34b1ace095 100644
--- a/web/apps/photos/src/components/Upload.tsx
+++ b/web/apps/photos/src/components/Upload.tsx
@@ -56,7 +56,6 @@ import { CollectionMappingChoice } from "ente-new/photos/components/CollectionMa
import type { CollectionSelectorAttributes } from "ente-new/photos/components/CollectionSelector";
import type { RemotePullOpts } from "ente-new/photos/components/gallery";
import { downloadAppDialogAttributes } from "ente-new/photos/components/utils/download";
-import { useSettingsSnapshot } from "ente-new/photos/components/utils/use-snapshot";
import { suppressAutoLockOnBlurForTrustedPrompt } from "ente-new/photos/services/app-lock";
import {
addOrCopyToCollection,
@@ -179,8 +178,6 @@ export const Upload: React.FC<UploadProps> = ({
}) => {
const { showMiniDialog, onGenericError } = useBaseContext();
const { showNotification, watchFolderView } = usePhotosAppContext();
- const { isInternalUser } = useSettingsSnapshot();
- const canUseSharedAlbumUpload = isInternalUser;
const [uploadProgressView, setUploadProgressView] = useState(false);
const [
@@ -571,8 +568,7 @@ export const Upload: React.FC<UploadProps> = ({
const canUploadToActiveCollection =
props.activeCollection &&
(props.activeCollection.owner.id == user?.id ||
- (canUseSharedAlbumUpload &&
- canAddFilesToCollection(props.activeCollection)));
+ canAddFilesToCollection(props.activeCollection));
if (props.activeCollection && canUploadToActiveCollection) {
uploadFilesToExistingCollection(props.activeCollection);
return;
@@ -655,7 +651,7 @@ export const Upload: React.FC<UploadProps> = ({
try {
const uploadCollection = canDirectlyUploadToCollection(collection)
? collection
- : canUseSharedAlbumUpload && canAddFilesToCollection(collection)
+ : canAddFilesToCollection(collection)
? await savedOrCreateUserUncategorizedCollection()
: undefined;
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 7e751b9158..feedc6e8eb 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -255,8 +255,7 @@ const Page: React.FC = () => {
const [collectionSelectorAttributes, setCollectionSelectorAttributes] =
useState<CollectionSelectorAttributes | undefined>();
- const { customDomain, isInternalUser } = useSettingsSnapshot();
- const canUseSharedAlbumAdd = isInternalUser;
+ const { customDomain } = useSettingsSnapshot();
const userDetails = useUserDetailsSnapshot();
const peopleState = usePeopleStateSnapshot();
@@ -994,14 +993,12 @@ const Page: React.FC = () => {
(f) => f.ownerID == user!.id,
);
/**
- * The shared-album add/copy path can process non-owned
- * files, but keep the old owner-only behavior for users who
- * do not pass the shared-album add gate.
+ * The add/copy path can process non-owned files when a
+ * shared album requires copying them through the current
+ * user's library.
*/
const filesToProcess =
- canUseSharedAlbumAdd && op == "add"
- ? selectedFiles
- : userFiles;
+ op == "add" ? selectedFiles : userFiles;
const sourceCollectionID = selected.collectionID;
if (filesToProcess.length > 0) {
await performCollectionOp(
@@ -1012,7 +1009,7 @@ const Page: React.FC = () => {
);
}
if (
- !(canUseSharedAlbumAdd && op == "add") &&
+ op != "add" &&
userFiles.length != selectedFiles.length
) {
showMiniDialog(notifyOthersFilesDialogAttributes());
diff --git a/web/packages/new/photos/components/CollectionSelector.tsx b/web/packages/new/photos/components/CollectionSelector.tsx
index 409e7279e8..10ada040cc 100644
--- a/web/packages/new/photos/components/CollectionSelector.tsx
+++ b/web/packages/new/photos/components/CollectionSelector.tsx
@@ -38,7 +38,6 @@ import {
import { includes } from "ente-utils/type-guards";
import { t } from "i18next";
import React, { useEffect, useMemo, useRef, useState } from "react";
-import { useSettingsSnapshot } from "./utils/use-snapshot";
export type CollectionSelectorAction =
| "upload"
@@ -141,8 +140,6 @@ export const CollectionSelector: React.FC<CollectionSelectorProps> = ({
}) => {
// Make the dialog fullscreen if the screen is <= the dialog's max width.
const isFullScreen = useMediaQuery("(max-width: 490px)");
- const { isInternalUser } = useSettingsSnapshot();
- const canUseSharedAlbumUpload = isInternalUser;
const [searchTerm, setSearchTerm] = useState("");
const [sortBy, setSortBy] =
@@ -169,11 +166,9 @@ export const CollectionSelector: React.FC<CollectionSelectorProps> = ({
} else if (attributes.action == "add") {
return canAddToCollection(cs) && cs.type != "userFavorites";
} else if (attributes.action == "upload") {
- const canUploadToCollection = canUseSharedAlbumUpload
- ? canAddToCollection(cs)
- : canMoveToCollection(cs);
return (
- (canUploadToCollection || cs.type == "uncategorized") &&
+ (canAddToCollection(cs) ||
+ cs.type == "uncategorized") &&
cs.type != "userFavorites"
);
} else if (attributes.action == "restore") {
@@ -206,14 +201,7 @@ export const CollectionSelector: React.FC<CollectionSelectorProps> = ({
}
setFilteredCollections(collections);
- }, [
- collectionSummaries,
- attributes,
- open,
- onClose,
- sortBy,
- canUseSharedAlbumUpload,
- ]);
+ }, [collectionSummaries, attributes, open, onClose, sortBy]);
const searchFilteredCollections = useMemo(() => {
if (!searchTerm.trim()) {
diff --git a/web/packages/new/photos/components/WhatsNew.tsx b/web/packages/new/photos/components/WhatsNew.tsx
index 8fbce8c257..0891e27c4b 100644
--- a/web/packages/new/photos/components/WhatsNew.tsx
+++ b/web/packages/new/photos/components/WhatsNew.tsx
@@ -83,7 +83,7 @@ const ChangelogContent: React.FC = () => {
</Typography>
<Typography sx={{ color: "text.muted" }}>
{ut(
- "Upload files directly to shared albums. Add shared files to your albums or shared albums. Favorite files in shared albums. Indicator for shared files in map view.",
+ "Add files directly to shared albums. Add shared files to your albums or shared albums. Favorite files in shared albums. Indicator for shared files in map view.",
)}
</Typography>
</Stack>