Commit graph

1242 commits

Author SHA1 Message Date
Álvaro Brey
6d24c960a5
Fix BackgroundJobFactoryTest
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
0f51646d3c
Close scan activity if camera permission is denied
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
f6094ae343
Lock AppScanActivity in portrait
Suggested in the library's docs, and prevents the activity crashing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
f183fc4968
Fix copyright for VariantsModule
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
31a6cd99fd
Write simple test for pdf generator
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
fc9139f4e2
Remove useless todo, handle request type event
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
1917198305
Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:32 +01:00
Álvaro Brey
9478fb15e9
Improve export type selection dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
cd51c4f5df
Allow uploading document as multiple images instead of single PDF
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
41ef0614e0
Allow multi-page PDF scans
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
2147322652
AppScanActivity: use JPEG for format
PNG is way slower AND way heavier. Why did we use it?

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:36 +01:00
Álvaro Brey
9bbbc83aff
Merge pull request #11246 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.0
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
2023-01-27 11:52:17 +01:00
Álvaro Brey
54724f1ea6
Merge pull request #11289 from nextcloud/dependabot/gradle/com.google.android.material-material-1.8.0
Build(deps): Bump material from 1.7.0 to 1.8.0
2023-01-27 11:49:20 +01:00
Tobias Kaminsky
76b1bcf39b
Merge pull request #11309 from nextcloud/fix/e2e-screenshots
Update SettingsActivity screenshots to fix screenshot tests
2023-01-27 11:42:38 +01:00
Álvaro Brey
a80c85388a
Merge pull request #11307 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.14.0
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
2023-01-27 10:47:12 +01:00
Álvaro Brey
53f5348e1d
Update SettingsActivity screenshots to fix screenshot tests
Broken since latest merged e2e tests

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 10:42:17 +01:00
Nextcloud bot
48a21bdc59
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 03:40:19 +00:00
Nextcloud bot
66dd575f97
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 03:39:47 +00:00
dependabot[bot]
400c46c6c4
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
Bumps com.diffplug.spotless from 6.13.0 to 6.14.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 02:01:31 +00:00
Nextcloud bot
a69381c775
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 03:57:36 +00:00
Nextcloud bot
5041611c6f
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 03:57:05 +00:00
Álvaro Brey
3d291d8fec
Bump OUTDATED_SERVER_VERSION to Nextcloud 23, as it has reached EOL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:41:06 +01:00
Álvaro Brey
77e906fead
Bump version to 3.25.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:40:36 +01:00
Álvaro Brey
b30b8ebf1f
Merge pull request #10558 from nextcloud/doNotUploadFolderWhenEncryption
When uploading files to an encrypted folder do not allow to upload entire folders
2023-01-25 14:26:54 +01:00
Álvaro Brey
f115883df2
Merge pull request #11138 from nextcloud/favoriteInShares
Shows favorite state in share overview
2023-01-25 12:46:07 +01:00
tobiasKaminsky
d4e9ef203f When uploading files to an encrypted folder do not allow to upload entire folders
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 11:28:48 +00:00
tobiasKaminsky
4f1d0347f4 Uses: https://github.com/nextcloud/android-library/pull/968
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:58:50 +01:00
tobiasKaminsky
f18225eda6
Show "unset encryption" only when E2E is setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:56:55 +01:00
Álvaro Brey
4cedd9d30d
Merge pull request #11230 from nextcloud/e2eCorrectState
Show setup e2e only when
2023-01-25 09:55:00 +01:00
dependabot[bot]
73339ec32c
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 08:49:57 +00:00
Álvaro Brey
f0003c4a56
Merge pull request #11264 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.13.0
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
2023-01-25 09:47:58 +01:00
Tobias Kaminsky
974bfbd973
Merge pull request #11287 from nextcloud/fixLocalIDafterUpgrade
upon upgrade localID may be null, better use default value
2023-01-25 07:30:10 +01:00
Nextcloud bot
d9d0f21c43
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-25 03:55:40 +00:00
Nextcloud bot
f67469da38
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-25 03:55:09 +00:00
dependabot[bot]
34265d3d2c
Build(deps): Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 02:03:02 +00:00
Álvaro Brey
21479cc912
Apply ktlint style after spotless update
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 12:02:04 +01:00
Álvaro Brey
07f744fe8f
Merge pull request #11100 from nextcloud/chore/skip-ui-refresh-when-no-changes
Refresh UI only when changes are detected on the server
2023-01-24 11:53:24 +01:00
Álvaro Brey
29bcfd07fd
NextcloudDatabase: 67 to 68 is a manual migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:53 +01:00
Álvaro Brey
9053bc96a7
Add test for DB 67 -> 68 migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:01 +01:00
Álvaro Brey
42b4519ab1
Add room migration to change local_id to NOT NULL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:58:53 +01:00
Álvaro Brey
1f0bcc74b1
Include schema and automigration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:02:39 +01:00
tobiasKaminsky
a41ca26b90
upon upgrade localID may be null, better use default value
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-24 08:54:55 +01:00
Nextcloud bot
c9f35c06ea
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 03:37:39 +00:00
Nextcloud bot
6cfc469c6e
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 03:37:10 +00:00
Dariusz Olszewski
d3841cd0ca Partially revert previous commit - existence check required for directories
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
Dariusz Olszewski
08db3923cb Skip check for existing files when reading file data from local DB
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
dependabot[bot]
4a5a856034
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
Dependabot couldn't find the original pull request head commit, 10076aeed8cee158e02965ed13b423e9a47208d8.
2023-01-23 15:22:30 +00:00
Dariusz Olszewski
742fa45f16 Refresh UI only when changes are detected on the server
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:12:21 +00:00
Nextcloud bot
2f855e0470
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-23 06:14:12 +00:00
Nextcloud bot
e924dff94a
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-22 03:35:31 +00:00