Skip to content

Commit

Permalink
IOS-2526 Merge branch 'develop' into ios-2526-types-for-file-objects
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-pusya committed Mar 27, 2024
2 parents 02873a0 + a793a7f commit 1220c1f
Show file tree
Hide file tree
Showing 93 changed files with 789 additions and 501 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/automerge-from-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto-merge-actions

on: pull_request_target

permissions:
contents: write
pull-requests: write

jobs:
dependencies:
runs-on: ubuntu-latest
if: github.actor == 'github-actions'

steps:

- uses: hmarr/auto-approve-action@v4
22 changes: 22 additions & 0 deletions .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Auto-merge

on: pull_request_target

permissions:
contents: write
pull-requests: write

jobs:
dependencies:
runs-on: ubuntu-latest
if: github.actor == 'any-association'

steps:

- uses: hmarr/auto-approve-action@v4

- name: Auto-merge PRs
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --squash "$PR_URL"
46 changes: 29 additions & 17 deletions Anytype.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Anytype/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2196,8 +2196,6 @@ internal enum Loc {
internal static let title = Loc.tr("Localizable", "SpaceCreate.Title", fallback: "Create a space")
}
internal enum SpaceManager {
/// Archive
internal static let archive = Loc.tr("Localizable", "SpaceManager.Archive", fallback: "Archive")
/// Cancel Join Request
internal static let cancelRequest = Loc.tr("Localizable", "SpaceManager.CancelRequest", fallback: "Cancel Join Request")
/// Do Not Cancel
Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/am.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/bg.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/bn.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/ca.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/cs.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/da.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -920,11 +920,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Einen privaten Kommentar für einen Spacebesitzer hinterlassen";
"SpaceShare.Join.Button" = "Beitrittsanfrage stellen";
"SpaceShare.Join.Info" = "Sobald der Spacebesitzer Ihre Anfrage genehmigt, werden Sie dem Space beitreten, wobei der Eigentümer die Zugriffsrechte festgelegt.";
"SpaceShare.Join.Message" = "Sie wurden eingeladen, dem Space %@, erstellt von %@ beizutreten. Senden Sie eine Anfrage, damit der Spacebesitzer Sie einladen kann.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Anfrage gesendet";
"SpaceShare.JoinConfirmation.Message" = "Sie erhalten eine Benachrichtigung, wenn der Spacebesitzer Ihre Anfrage angenommen hat.";
"SpaceShare.YouSuffix" = "%@ (du)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -939,7 +943,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "Die Anfrage wurde storniert.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/el.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
1 change: 0 additions & 1 deletion Anytype/Resources/Strings/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/eo.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Deja un comentario privado al propietario del espacio";
"SpaceShare.Join.Button" = "Solicitar acceso";
"SpaceShare.Join.Info" = "Una vez que el propietario del espacio apruebe su solicitud, te unirás al espacio con los derechos de acceso que el propietario haya determinado.";
"SpaceShare.Join.Message" = "Has sido invitado a unirte al espacio %@, creado por %@. Envía una solicitud para que el propietario del espacio pueda dejarte entrar.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Solicitud enviada";
"SpaceShare.JoinConfirmation.Message" = "Recibirás una notificación cuando el propietario del espacio apruebe tu solicitud.";
"SpaceShare.YouSuffix" = "%@ (tú)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Tus derechos de acceso fueron cambiados a **%@** en el espacio **%@**.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archivar";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
7 changes: 5 additions & 2 deletions Anytype/Resources/Strings/fi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,15 @@
"SpaceShare.Join.CommentPlaceholder" = "Leave a private comment for a space owner";
"SpaceShare.Join.Button" = "Request to join";
"SpaceShare.Join.Info" = "Once the space owner approves your request, you'll join the space with the access rights owner determined.";
"SpaceShare.Join.Message" = "You’ve been invited to join %@ space, created by %@. Send a request so space owner can let you in.";
"SpaceShare.Join.Message" = "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in.";
"SpaceShare.JoinConfirmation.Title" = "Request sent";
"SpaceShare.JoinConfirmation.Message" = "You will receive a notification when the space owner will approve your request.";
"SpaceShare.YouSuffix" = "%@ (you)";
"SpaceShare.ManageSpaces" = "Manage Spaces";
"SpaceShare.StopSharing.Action" = "Stop sharing";
"SpaceShare.StopSharing.Title" = "Stop sharing the space";
"SpaceShare.StopSharing.Message" = "Members will no longer sync to this space and the share link will be deactivated.";
"SpaceShare.StopSharing.Toast" = "The space is no longer shared";

// MARK: - Permission notification
"PermissionChangeNotification.Text" = "Your access rights were changed to **%@** in the **%@** space.";
Expand All @@ -938,7 +942,6 @@
// MARK: - Space manager
"SpaceManager.CancelRequest" = "Cancel Join Request";
"SpaceManager.DoNotCancel" = "Do Not Cancel";
"SpaceManager.Archive" = "Archive";
"SpaceManager.CancelRequestAlert.Title" = "You will have to send request access again";
"SpaceManager.CancelRequestAlert.Toast" = "The request was canceled.";

Expand Down
Loading

0 comments on commit 1220c1f

Please sign in to comment.