Commit graph

15379 commits

Author SHA1 Message Date
tobiasKaminsky
7cbfc58036
fix switch statement
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 09:35:33 +02:00
tobiasKaminsky
3d7e8b770a
add missing import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 08:45:52 +02:00
Tobias Kaminsky
f1a70ccb32
Merge pull request #6364 from nextcloud/ezaquarii/fix-npe-in-file-list-fragment-when-file-is-null
Fix NPE in OCFileListFragment when OCFile is null
2020-06-30 08:42:52 +02:00
tobiasKaminsky
d721941032
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 08:41:27 +02:00
tobiasKaminsky
f07e14fd30
minor code changes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 08:34:39 +02:00
Alice Gaudon
7af28a1c36
Synced folder dialog: remove local and remote folder icons
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-06-30 07:53:13 +02:00
Alice Gaudon
e5f56152b0
Synced folder dialog: use display name instead of full path for local folder
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-06-30 07:53:13 +02:00
Alice Gaudon
4a4ad20e66
Synced folder dialog: remove folder path expand action
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-06-30 07:53:13 +02:00
Chris Narkiewicz
74e68d6b8e
Deep link handler tests
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz
a887a4c32b
Move user filtering to deep link handler
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz
50b19e5d77
Refactored deep link handling
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz
bcb1262064
Deep link handler prototype
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-30 07:51:20 +02:00
szaimen
214689bc0d
allow 3 times deep nextcloud nesting
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-06-30 07:51:20 +02:00
szaimen
ed4917db14
Update pattern matcher to allow pretty urls
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-06-30 07:51:20 +02:00
szaimen
815e30166e
allow pretty urls
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-06-30 07:51:20 +02:00
tobiasKaminsky
40d40c32b1
revert library
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 07:34:24 +02:00
tobiasKaminsky
51365fa7c3
fixes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 07:34:24 +02:00
Andy Scherzinger
3848346f4a
remove literals in conditional statements 2020-06-30 07:34:23 +02:00
Andy Scherzinger
3c7fe3a405
UI fine tuning for link items / sharing fragments
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-30 07:34:04 +02:00
tobiasKaminsky
8c9841f033
add multiple share links
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 07:34:03 +02:00
Tobias Kaminsky
ff4a0a7030
Merge pull request #6372 from nextcloud/ezaquarii/migrate-file-details-to-user-model
Migate file details and share details to User model
2020-06-30 07:29:48 +02:00
Tobias Kaminsky
197552a488
Merge pull request #6158 from nextcloud/dependabot/gradle/daggerVersion-2.28
Bump daggerVersion from 2.27 to 2.28
2020-06-30 07:27:39 +02:00
Nextcloud bot
beb45efc0b
[tx-robot] updated from transifex 2020-06-30 03:26:21 +00:00
tobiasKaminsky
10f6ec94fa
Add to jetified-dagger-lint-aar-2.28.1 for custom lint check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:59:20 +02:00
tobiasKaminsky
738291b2fa
Bump to dagger 2.28.1
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:31:15 +02:00
dependabot-preview[bot]
14fd15e9ae
Bump daggerVersion from 2.27 to 2.28
Bumps `daggerVersion` from 2.27 to 2.28.

Updates `dagger` from 2.27 to 2.28
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.27...dagger-2.28)

Updates `dagger-android` from 2.27 to 2.28
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.27...dagger-2.28)

Updates `dagger-android-support` from 2.27 to 2.28
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.27...dagger-2.28)

Updates `dagger-compiler` from 2.27 to 2.28
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.27...dagger-2.28)

Updates `dagger-android-processor` from 2.27 to 2.28
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.27...dagger-2.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 16:31:15 +02:00
Tobias Kaminsky
4073cd235c
Merge pull request #6341 from nextcloud/fragmentContainerView
Replace fragment by FragmentContainerView
2020-06-29 16:30:40 +02:00
tobiasKaminsky
cc517ffcfd
Lint ignore
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
98d1b5e2b9
split up delete old commit to always delete them
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
3102c23d2c
always delete old comments
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
32a0d1c309
Replace fragment by FragmentContainerView
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
Tobias Kaminsky
212b3a6ef9
Merge pull request #6385 from nextcloud/fixDeleteOnSuccess
type -> TYPE
2020-06-29 15:59:58 +02:00
tobiasKaminsky
fd7b722ac4
type -> TYPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 15:59:36 +02:00
Tobias Kaminsky
0207e70323
Merge pull request #6384 from nextcloud/dronePermission
make deleteOutdatedComments.sh executable
2020-06-29 15:42:14 +02:00
tobiasKaminsky
fb5ae37a38
make deleteOutdatedComments.sh executable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 15:41:55 +02:00
Tobias Kaminsky
ced60bf59b
Merge pull request #6366 from nextcloud/deleteOutdatedComments
Delete outdated comments in case of success
2020-06-29 10:28:59 +02:00
Tobias Kaminsky
3c609a329f
Merge pull request #6332 from nextcloud/enh/darkThemeOptimizations
Enh/dark theme optimizations
2020-06-29 10:28:36 +02:00
Tobias Kaminsky
9a0d1085ed
Merge pull request #6382 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.4.4
Bump spotbugs-gradle-plugin from 4.4.3 to 4.4.4
2020-06-29 10:00:45 +02:00
Tobias Kaminsky
a5142483a4
Merge pull request #6381 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.10.0
Bump detekt-gradle-plugin from 1.9.1 to 1.10.0
2020-06-29 10:00:31 +02:00
Tobias Kaminsky
1edaffeafe
Merge pull request #6380 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.13
Bump byte-buddy from 1.10.12 to 1.10.13
2020-06-29 10:00:12 +02:00
Tobias Kaminsky
b2ff37505e
Merge pull request #6244 from nextcloud/blackNavBar
black nav bar on image preview
2020-06-29 09:59:06 +02:00
Nextcloud bot
ebbedb46a0
[tx-robot] updated from transifex 2020-06-29 03:26:45 +00:00
dependabot-preview[bot]
dfe2e5dbd4
Bump spotbugs-gradle-plugin from 4.4.3 to 4.4.4
Bumps spotbugs-gradle-plugin from 4.4.3 to 4.4.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 01:14:26 +00:00
dependabot-preview[bot]
c1f5817f3f
Bump detekt-gradle-plugin from 1.9.1 to 1.10.0
Bumps detekt-gradle-plugin from 1.9.1 to 1.10.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 01:13:56 +00:00
dependabot-preview[bot]
9f23230bf1
Bump byte-buddy from 1.10.12 to 1.10.13
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.12 to 1.10.13.
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.12...byte-buddy-1.10.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 01:13:16 +00:00
Nextcloud bot
fbfdf1104a
[tx-robot] updated from transifex 2020-06-28 03:27:05 +00:00
Nextcloud bot
bf587f1a65
[tx-robot] updated from transifex 2020-06-27 03:26:25 +00:00
Chris Narkiewicz
dbae9443eb
Provide DeckApi via dependency injection framework
- renamed integration packate to integrations (plural)
- created DI module for integrations
- added provider for DeckApi
- inject DeckApi to background job factory

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-26 23:43:43 +01:00
Chris Narkiewicz
e13a3ca7cb
Migate file details and share details to User model
UserAccountManager:
 - added userOwnsFile API that replaces accountOwnsFile
 - deprecated accountOwnsFile

FileDisplayActivity:
 - simplified initFragmentWithFile by passing non-null instanecs
   of user and file and thus avoiding numerous redundant null-checks
 - fragments are initialized using User model instead of Account
 - transfer and download callbacks use getUser() instead of getAccount()
   and pass user instance to framents

ShareActivity
 - initlize fragment using user model instead of account
 - close acivity immediately if current user is not available
   (cannot reach such state not, but historically account was nullable)

FileDetailTabAdapter
 - framents are initialized using User model instead of Account

FileDetailActivitiesFragment
 - migrated to User
 - removed dependency on constants from FileActivity

FileDetailFragment
 - migrated to User
 - removed dependency on constants from FileActivity

FileDetailsSharingFragment
 - migrated to User
 - removed dependency on constants from FileActivity

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-26 23:07:40 +01:00
nextcloud-android-bot
79f4270bb9 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-26 13:35:51 +00:00