dependabot[bot]
8b0deac0b4
Build(deps): Bump gradle from 7.3.1 to 7.4.0
...
Bumps gradle from 7.3.1 to 7.4.0.
---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-13 09:14:20 +01:00
Nextcloud bot
0f542c49ca
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-13 03:48:59 +00:00
Nextcloud bot
79094d8f4f
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-13 03:48:29 +00:00
Álvaro Brey
07d2a0c91b
Move test runner back to com.nextcloud.client package
...
For some reason, Dexopener uses the package of the runner to determine which packages to open.
Which means with the new location, mockk can't work on android < P
Ref: https://github.com/tmurakami/dexopener/issues/24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 17:14:26 +01:00
Álvaro Brey
aefc2db091
MainApp: restore appcomponent method
...
Not needed for the final approach
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 13:10:53 +01:00
Álvaro Brey
7ea6283af4
Add testing utilities to override injections in classes injected with AndroidInjection
...
This includes Activities, Fragments, Services, etc. Other classes should use constructor injection,
and as such shouldn't need this.
This works by overriding the androidInjector method in the Application class (new TestMainApp added)
and allowing to use custom injectors there.
A InjectionOverrideRule is included for ease of use, but for more complicated cases, injection can be
controlled by accessing TestMainApp directly.
A sample is included in InjectionTestActivityTest.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 12:58:31 +01:00
Álvaro Brey
443e6984f6
Move test helper classes to a consistent package (com.nextcloud.test)
...
Avoids having them mixed up with the tests
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 09:36:27 +01:00
Tobias Kaminsky
7368809f37
Merge pull request #11242 from nextcloud/fix/passcode-double-check
...
PassCodeManager: add some logic to avoid counting the same activity twice
2023-01-12 08:32:31 +01:00
Nextcloud bot
8bf1a32ded
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-12 03:35:09 +00:00
Nextcloud bot
3eebd46ff5
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-12 03:34:40 +00:00
Álvaro Brey
d6f7bb601d
Merge pull request #11244 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.4.0
...
Build(deps): Bump ui from 0.3.0 to 0.4.0
2023-01-11 16:31:15 +01:00
Álvaro Brey
134fd2a57e
Merge pull request #11245 from nextcloud/repo-sync/android-config/master
...
🔄 synced file(s) with nextcloud/android-config
2023-01-11 16:26:46 +01:00
Álvaro Brey
81db4f7b54
PasscodeManagerIT: use actual actitivy for test
...
Can't mock PowerManager on Android < 9
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-11 15:37:48 +01:00
nextcloud-android-bot
6e8c8db1c4
🔄 synced local '.github/workflows/' with remote 'config/workflows/'
...
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-01-11 14:32:46 +00:00
Nextcloud bot
d551c4b585
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 03:36:35 +00:00
Nextcloud bot
b13efc4bee
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 03:36:05 +00:00
dependabot[bot]
c56d3d16b8
Build(deps): Bump ui from 0.3.0 to 0.4.0
...
Bumps ui from 0.3.0 to 0.4.0.
---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 02:04:00 +00:00
Álvaro Brey
cc9de3b015
Merge pull request #11205 from nextcloud/dependabot/github_actions/actions/stale-7.0.0
...
Bump actions/stale from 6.0.1 to 7.0.0
2023-01-10 16:39:58 +01:00
Álvaro Brey
22540ba37a
Fix version comment for stale action
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-10 15:56:42 +01:00
Álvaro Brey
df0089ed1d
PassCodeManager: add some logic to avoid counting the same activity twice
...
This is very specific to the case where an activity extending from AuthenticatorActivity _and_ running as `singleTask`
gets restarted, in which case it calls `PassCodeManager.onActivityResumed` twice (once on `onResume` and once on `onNewIntent`).
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-10 14:38:16 +01:00
Nextcloud bot
cd8ed82937
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 03:40:17 +00:00
Nextcloud bot
d49b7184e8
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 03:39:47 +00:00
Álvaro Brey
1049ff3367
Merge pull request #11209 from nextcloud/dependabot/gradle/mockitoVersion-4.11.0
...
Bump mockitoVersion from 4.10.0 to 4.11.0
2023-01-09 17:15:43 +01:00
dependabot[bot]
77c9cc92ae
Bump mockitoVersion from 4.10.0 to 4.11.0
...
Bumps `mockitoVersion` from 4.10.0 to 4.11.0.
Updates `mockito-core` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.0 )
Updates `mockito-android` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.0 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-android
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 16:02:35 +00:00
Álvaro Brey
103f2a867c
Merge pull request #11223 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.5
...
Build(deps): Bump junit from 1.1.4 to 1.1.5
2023-01-09 15:23:46 +01:00
Álvaro Brey
59d64fc7f8
Merge pull request #11222 from nextcloud/dependabot/gradle/espressoVersion-3.5.1
...
Build(deps): Bump espressoVersion from 3.5.0 to 3.5.1
2023-01-09 15:17:37 +01:00
Álvaro Brey
65b8b17213
Merge pull request #11235 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.10.1
...
Build(deps): Bump gson from 2.10 to 2.10.1
2023-01-09 15:05:45 +01:00
Álvaro Brey
59e4df5ef4
Merge pull request #11236 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.2
...
Build(deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2
2023-01-09 15:04:01 +01:00
Álvaro Brey
d092c7892d
Merge pull request #11237 from nextcloud/dependabot/github_actions/actions/cache-3.2.3
...
Build(deps): Bump actions/cache from 3.2.2 to 3.2.3
2023-01-09 15:03:01 +01:00
Álvaro Brey
1c7ffffe03
Merge pull request #11194 from nextcloud/fix/random-lint
...
fix/random lint
2023-01-09 15:01:45 +01:00
dependabot[bot]
1149b37de6
Build(deps): Bump actions/cache from 3.2.2 to 3.2.3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](4723a57e26...58c146cc91
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:04:27 +00:00
dependabot[bot]
1779158cb2
Build(deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](83fd05a356...0b7f8abb15
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:04:23 +00:00
Nextcloud bot
220e77629a
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 03:37:36 +00:00
Nextcloud bot
f1d6e90f80
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 03:37:07 +00:00
dependabot[bot]
b55a7e683d
Build(deps): Bump gson from 2.10 to 2.10.1
...
Bumps [gson](https://github.com/google/gson ) from 2.10 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 02:02:54 +00:00
Nextcloud bot
18bd07420a
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 03:34:09 +00:00
Nextcloud bot
fe890614ee
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 03:33:40 +00:00
dependabot[bot]
b23d72d84e
Build(deps): Bump espressoVersion from 3.5.0 to 3.5.1
...
Bumps `espressoVersion` from 3.5.0 to 3.5.1.
Updates `espresso-core` from 3.5.0 to 3.5.1
Updates `espresso-contrib` from 3.5.0 to 3.5.1
Updates `espresso-web` from 3.5.0 to 3.5.1
Updates `espresso-accessibility` from 3.5.0 to 3.5.1
Updates `espresso-intents` from 3.5.0 to 3.5.1
---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-contrib
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-web
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-accessibility
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-intents
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 22:55:37 +00:00
Álvaro Brey
26b5b36cdc
Merge pull request #11214 from nextcloud/dependabot/github_actions/actions/cache-3.2.2
...
Build(deps): Bump actions/cache from 3.0.11 to 3.2.2
2023-01-07 14:21:46 +01:00
Nextcloud bot
9094298d6b
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 03:33:58 +00:00
Nextcloud bot
64e21d462b
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 03:33:29 +00:00
Tobias Kaminsky
41ec8b1b21
Merge pull request #10713 from nextcloud/checkCSR
...
Check CSR
2023-01-06 07:08:40 +01:00
Nextcloud bot
57e1f98094
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-06 03:35:53 +00:00
Nextcloud bot
654f2fd01e
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-06 03:35:23 +00:00
tobiasKaminsky
5b52b440d4
Fix test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-05 15:31:14 +01:00
tobiasKaminsky
d605ffe5d1
Revert to master library branch
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-05 09:47:33 +01:00
github-actions
985283e18d
Analysis: update lint results to reflect reduced error/warning count
...
Signed-off-by: github-actions <github-actions@github.com>
2023-01-05 08:32:09 +00:00
Álvaro Brey
b3b3fedcdf
lint: Remove useless clickable attribute from some layout roots
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 08:32:09 +00:00
Álvaro Brey
805add5b69
Clear layout inflation lint issues in ReceiveExternalFilesActivity and UploaderAdapter
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 08:32:09 +00:00
Álvaro Brey
adae8d9e71
MediaControlView: move to ViewBinding to fix lint issue with inflation and clean up
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 08:32:09 +00:00