Граф коммитов

110 Коммитов

Автор SHA1 Сообщение Дата
Marcel Müller 4f5a0b191a Only set the default configuration when we're running as an extension
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2022-01-28 19:04:42 +01:00
Marcel Müller ebfe9b40bb Set the default realm-configuration when used in ShareExtension
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-12-17 22:24:23 +01:00
Ivan Sein f484ae8d69 Add NCCommunication as Swift Package.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-10-13 23:31:18 +02:00
Ivan Sein 6c82d9050b Use a textview in placeholder view.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-09-03 13:05:44 +02:00
Ivan Sein e6dba9a006 Allow to cancel share view controller used for forwarding a message.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-07-30 15:12:04 +02:00
Ivan Sein a9ad900346 Add RTL support in sharing extension room list.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-07-28 15:10:58 +02:00
Ivan Sein 252977d068 Add "Forward message" functionality using same controllers as with share extension.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-07-22 15:46:37 +02:00
Ivan Sein b88de12e76 Set default share confirmation view type in init instead of videwDidLoad.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-07-22 14:02:14 +02:00
Ivan Sein 011e927a2f Change app version to 12.0.0.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-22 16:39:07 +02:00
Ivan Sein 1d1ef798ed Add the ability to share contacts via share extension.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-22 09:48:38 +02:00
Ivan Sein d1b6799b38 Add the possibility of adding talkMetaData when sharing a file.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-10 09:28:53 +02:00
Ivan Sein 5f2dce7e1c Check for error code 409.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-08 12:24:21 +02:00
Ivan Sein 6cbe94c0e8 Move file upload utils functions to API controller.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-07 22:02:42 +02:00
Ivan Sein 642abb2863 Update communication library to version 0.98.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-06-07 16:25:32 +02:00
Ivan Sein 0e258c3d71 Clean up project targets and classes refactoring to be able to build the project with XCode 12.5.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-05-26 21:58:50 +02:00
Ivan Sein 3512bbfb85 Allow to select other accounts in share extension.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-04-26 19:59:26 +02:00
Ivan Sein bf53d429db Update bottomSpacer when keyboard hides.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-02-05 13:48:13 +01:00
Ivan Sein 3443d05285 Increase font size in shared text view.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-02-05 13:00:27 +01:00
Ivan Sein a84aca7aaf Fix collection view cell resize on device orientation changes.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-02-05 12:52:25 +01:00
Ivan Sein 48c9ab3a04 Make "To:" a (1 line) label instead of textView.
Fixes issue with long conversation titles.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-02-04 15:17:34 +01:00
Ivan Sein feb4943025
Merge pull request #468 from nextcloud/share-errors
Show errors when uploading failed
2021-01-28 17:21:39 +01:00
Marcel Müller 9f815bebda Render action images always as template
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-28 12:20:54 +01:00
SystemKeeper c6de0ba48d
Add comment for translators
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-23 13:19:22 +01:00
Ivan Sein 3f8e5b77f9 Set placeholderColor to all placeholder images.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-19 18:55:57 +01:00
Ivan Sein e4fb6a443c Adapt conversation placeholders icons backgroud to theme.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-19 15:09:39 +01:00
Marcel Müller b7f0629c17 Change alert title
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-18 10:25:01 +01:00
Marcel Müller a00f4a3d1f Show errors when uploading failed
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-17 14:40:38 +01:00
Ivan Sein 721fba1830 Fix toolbar background color.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-15 18:11:06 +01:00
Marcel Müller 36334f36cd DarkMode for ShareExtension
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-15 11:39:02 +01:00
Marcel Müller 7b1c515ac8 First attempt at dark mode
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-15 11:39:02 +01:00
Ivan Sein b94302eaa5 Fix hiding toolbar when sharing text.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 21:06:26 +01:00
Ivan Sein 20e2317236 Hide toolbar when sharing text.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 19:32:51 +01:00
Ivan Sein 48bed9fad3 Set white background to toolbar.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 19:15:23 +01:00
Ivan Sein 153fdebcd2 Make toolbar buttons wider to have a bit more space in between.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 19:14:37 +01:00
Ivan Sein 1dbf074768 Hide "Remove Item" option when there is only one item.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 19:00:21 +01:00
Ivan Sein 61d6be554c Do not add camera option in app extensions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 17:51:55 +01:00
Marcel Müller f51581d4da Adjust toolbar-button width
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-14 14:36:19 +01:00
Marcel Müller 8888bed29f Add toolbar to ShareConfirmationViewController
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-14 14:36:19 +01:00
Ivan Sein 6086e1ae42 Remove unneeded imports.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-08 14:20:45 +01:00
Ivan Sein 76d4699eb7 Check that managed object exists before creating unmanaged object.
Creating a unmanaged object with a nil value will crash the app.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-07 16:28:18 +01:00
Ivan Sein ee0f906877 Stop app extensions execution if no database file is found.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-07 16:19:22 +01:00
Marcel Müller 6b118b664b Don't open database from app extension
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-07 11:06:15 +01:00
Marcel Müller 11ce777e55 Log schema version
Don't migrate on app extension

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-06 16:33:55 +01:00
Ivan Sein e67300d816 Add specific text when uploading one element only.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2020-12-09 10:31:11 +01:00
Ivan Sein b0317a154d Make file name not editable neither selectable.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2020-12-03 13:51:10 +01:00
Ivan Sein e9fc951783 Use element color for current page indicator.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2020-12-03 13:30:34 +01:00
Marcel Müller 5b88a6e1fc Correctly wait for all uploads to finish
Correctly display progress of all uploads

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2020-12-01 16:51:28 +01:00
Marcel Müller 1b35298b4a Add removeAllItems
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2020-12-01 16:51:28 +01:00
Marcel Müller 782696a263 Use NCUtils for placeholder image
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2020-12-01 16:51:28 +01:00
Marcel Müller 73f27928cf Updated ShareConfirmationTypes
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2020-12-01 16:51:28 +01:00