Commit graph

5698 commits

Author SHA1 Message Date
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
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
Nextcloud bot
beb45efc0b
[tx-robot] updated from transifex 2020-06-30 03:26:21 +00:00
tobiasKaminsky
32a0d1c309
Replace fragment by FragmentContainerView
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +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
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
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
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
Andy Scherzinger
0ad81bdd29
remove element color references
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:29 +02:00
Andy Scherzinger
8af257d54f
remove unused method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:27 +02:00
Andy Scherzinger
a7088c8c87
improve edge case FAB coloring
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:25 +02:00
Andy Scherzinger
5b76892ab1
move primary action button theming to new theming method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:24 +02:00
Andy Scherzinger
7005cdef2e
Introduce light/dark theme / black/white primary-color-aware primary-button theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:22 +02:00
Andy Scherzinger
643454c1d7
proper coloring of drawer items in black/white edge case scenarios
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:21 +02:00
Andy Scherzinger
20d2ef989d
proper button coloring for dark theme + black primary color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 15:15:14 +02:00
Andy Scherzinger
dfc94f4505
Merge pull request #6354 from nextcloud/noShare
Enhance FileDetailSharingFragment
2020-06-26 13:27:16 +02:00
Andy Scherzinger
93d0875883
Merge pull request #6253 from nextcloud/noNothingIfNoActivity
PreviewImageFragment: if we have no activity, do nothing
2020-06-26 11:13:58 +02:00
Joris Bodin
947e4a1b10
Remove duplacation
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-06-26 11:05:44 +02:00
tobiasKaminsky
c55e9b8fd2
black nav bar on image preview
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 11:05:44 +02:00
Andy Scherzinger
2b5c39095d
lint: remove unused resource
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-26 11:03:09 +02:00
tobiasKaminsky
348ae4435a
Enhance FileDetailSharingFragment:
- remove no users text
- disable search view if reshare is not allowed
- show note icon

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 11:03:03 +02:00
tobiasKaminsky
d36c2d35a5
Hide on scrolling for activities and notifications
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 23:44:03 +02:00
tobiasKaminsky
741cc24d11
fix #5468
if we have no activity, do nothing

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 23:36:05 +02:00
tobiasKaminsky
7ed4e2b24e
changes due to CR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 22:57:48 +02:00
tobiasKaminsky
58ba15ac95
Removed legacy login
cleaned up a bit AuthenticatorActivity

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 22:57:22 +02:00
Andy Scherzinger
fe1cd33c26
Merge pull request #6344 from nextcloud/ocp
fix OCP_OVERLY_CONCRETE_PARAMETER
2020-06-25 20:30:34 +02:00
Andy Scherzinger
c3f838d445
Merge pull request #6349 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.4.3
Bump spotbugs-gradle-plugin from 4.3.0 to 4.4.3
2020-06-25 20:29:45 +02:00
Andy Scherzinger
2f60b75fc5
add null check 2020-06-25 18:55:50 +02:00
tobiasKaminsky
1017e3ac3b
fix OCP_OVERLY_CONCRETE_PARAMETER
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 18:45:28 +02:00
Andy Scherzinger
2913918232
Merge pull request #6361 from nextcloud/fixZoom
Fix zoom, toggle background
2020-06-25 17:12:00 +02:00
Tobias Kaminsky
d70502f747
Merge pull request #6262 from nextcloud/hideOnScrolling
Hide on scrolling
2020-06-25 16:18:40 +02:00
tobiasKaminsky
38c28332e2
fix tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 15:57:46 +02:00
tobiasKaminsky
bd5c9dfa1e
make function puplic for testing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 15:22:58 +02:00
tobiasKaminsky
db4a7ee8f5
Fix zoom, toggle background
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 15:17:54 +02:00
tobiasKaminsky
22657040bd
Removed possible NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 12:59:54 +02:00
tobiasKaminsky
a9dc3f5787
removed duplicated sort/switch grid buttons
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 12:59:54 +02:00
tobiasKaminsky
e5ec91b5a7
Changes due to CR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 12:59:54 +02:00
tobiasKaminsky
1ecd64f128
Hide on scrolling, fix https://github.com/nextcloud/android/issues/6238
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 12:59:54 +02:00
tobiasKaminsky
6dfb4c7ef6
use view instead of linear layout as common parent
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-25 12:48:40 +02:00
Nextcloud bot
56a1fc868d
[tx-robot] updated from transifex 2020-06-25 03:28:24 +00:00
Andy Scherzinger
83d4aaf1ab
Merge pull request #6345 from nextcloud/usbr
fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
2020-06-24 23:18:08 +02:00
tobiasKaminsky
1f5352f2ec
Remove useless parents
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 22:05:37 +02:00
tobiasKaminsky
72fce1dd1e
fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 21:54:56 +02:00
Andy Scherzinger
9e633b91b5
Merge pull request #6342 from nextcloud/view-binding
View binding
2020-06-24 20:28:20 +02:00
Andy Scherzinger
37fdd97c29
Merge pull request #6355 from nextcloud/unshareOnBottom
on user share permission: unshare as destructive option on bottom
2020-06-24 20:22:20 +02:00
Andy Scherzinger
f0a608acde
remove unused constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-24 17:00:38 +02:00
tobiasKaminsky
4a791dda86
fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 16:45:15 +02:00