Tobias Kaminsky
9a5a6f5596
Merge pull request #2685 from nextcloud/versions
...
Add support for file versions
2018-06-15 11:56:17 +02:00
tobiasKaminsky
9d7f5b226e
fix unit test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-15 11:51:18 +02:00
Nextcloud bot
6657bb061b
[tx-robot] updated from transifex
2018-06-15 00:48:23 +00:00
tobiasKaminsky
818ec6473e
- removed m prefix
...
- in background for file deletion
- download new file version if file was previously downloaded
- show snackbar on success
- cleanup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:19 +02:00
AndyScherzinger
ddde216a4c
use tools attribute for AS rendering close to real data
2018-06-14 23:44:19 +02:00
AndyScherzinger
de4c27aa2e
Minor CR changes
2018-06-14 23:44:19 +02:00
AndyScherzinger
cc0bdc726e
fix lint: remove unused string
2018-06-14 23:44:18 +02:00
AndyScherzinger
cf265e16d8
fix codacy
2018-06-14 23:44:18 +02:00
tobiasKaminsky
83f6dc0686
changes due to rebase
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:17 +02:00
tobiasKaminsky
5b9c442139
changes due to codacy
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:17 +02:00
tobiasKaminsky
25075069c9
c&p error
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:16 +02:00
tobiasKaminsky
529488a9af
show error message
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:16 +02:00
tobiasKaminsky
4da8a94a75
delete local file on restore
...
refresh file list / activity list on succesfull restore
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:15 +02:00
tobiasKaminsky
86da82f7b7
changes due to codacy
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:15 +02:00
tobiasKaminsky
74b832c958
remove local copy
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:14 +02:00
tobiasKaminsky
075b0f52b8
Add file version to activity stream
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:14 +02:00
tobiasKaminsky
941ab7c023
fix not needed try/catch blocks
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:13 +02:00
tobiasKaminsky
78055cbf21
add avatar icons on sharee list
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 23:44:13 +02:00
AndyScherzinger
7df8a18d6b
butterknife for details fragment + proper empty content handling
2018-06-14 23:44:12 +02:00
Andy Scherzinger
b3d3d3c047
Merge pull request #2700 from nextcloud/emailShare
...
Iteration 4 for File detail & new sharing - email share
2018-06-14 23:38:08 +02:00
Andy Scherzinger
2f68a6ef85
Merge pull request #2706 from nextcloud/preferencesCrash
...
Crash on preferences: NPE check
2018-06-14 23:31:43 +02:00
AndyScherzinger
4ac524e244
adjust javaDoc
2018-06-14 15:32:04 +02:00
AndyScherzinger
8d924a720e
display email icon for email addresses in the suggestions for share searches
2018-06-14 15:32:03 +02:00
AndyScherzinger
c0e116a298
simplify if-clauses
2018-06-14 15:32:03 +02:00
AndyScherzinger
16e6e75a45
codacy: organize imports
2018-06-14 15:32:02 +02:00
tobiasKaminsky
3a08be4406
add sharing to email
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-14 15:31:58 +02:00
Nextcloud bot
1fc02c03ff
[tx-robot] updated from transifex
2018-06-14 00:49:46 +00:00
tobiasKaminsky
82679c70f2
NPE check
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-13 16:39:20 +02:00
Nextcloud bot
d65050b303
[tx-robot] updated from transifex
2018-06-13 00:47:58 +00:00
AndyScherzinger
29fcc56865
Fix CR
2018-06-12 08:28:46 +02:00
AndyScherzinger
1b22eadec0
fix save of share is_password_protected single share persistence
2018-06-12 08:28:46 +02:00
AndyScherzinger
3cbec23774
adding is_password_protected column for shares for initial DB setup
2018-06-12 08:28:45 +02:00
AndyScherzinger
62a53dc3e5
rewrite of sharing logic/persistence to store and use the fact if a share(mail) is password protected
2018-06-12 08:28:45 +02:00
Nextcloud bot
174a2691c1
[tx-robot] updated from transifex
2018-06-12 00:53:26 +00:00
AndyScherzinger
5c6dd299a1
move further Snackbar calls to Utils implementation
2018-06-11 16:37:34 +02:00
AndyScherzinger
edd9331691
fix string to make lint happy
2018-06-11 16:29:57 +02:00
AndyScherzinger
217fd15857
Fix imports
2018-06-11 16:24:33 +02:00
AndyScherzinger
4e99e9626e
fix type in variable names
2018-06-11 16:21:38 +02:00
AndyScherzinger
f0f566ea66
further aligned javaDoc with Snackbar docs
2018-06-11 16:12:19 +02:00
AndyScherzinger
99225f1282
replace Snackbar calls with utils calls
2018-06-11 12:32:48 +02:00
Harshika
c7c6dea158
fix unnecessary changes
2018-06-11 11:59:30 +02:00
Harshika
7c491ce7ee
refactor: convert toast to snackbar
2018-06-11 11:59:26 +02:00
Nextcloud bot
9173f1345c
[tx-robot] updated from transifex
2018-06-11 00:46:35 +00:00
tobiasKaminsky
122e2c47ab
remove unneeded 2.x check
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 22:28:55 +02:00
tobiasKaminsky
009762cfd0
always use window variable
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 22:28:55 +02:00
xXSTrikeXx
e9f524f218
Update ThemeUtils.java
...
Fix Codacy
2018-06-10 22:28:39 +02:00
tobiasKaminsky
d996b0d0e8
getWindow(): The current window, or null if the activity is not visual.
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 22:28:38 +02:00
Andy Scherzinger
b5bc9b6578
Merge pull request #1657 from rhari991/device-credentials-unlock
...
Add support for device credentials
2018-06-10 22:14:33 +02:00
Andy Scherzinger
cd258ab180
Merge pull request #2698 from nextcloud/filedetailsharing-private-constructor
...
fragment:util: Added private constructor to hide the inherit public one
2018-06-10 22:04:16 +02:00
AndyScherzinger
6ba8b24c40
fix feature list
2018-06-10 21:36:32 +02:00
AndyScherzinger
f4438afc03
move preference access to manager class
2018-06-10 21:36:32 +02:00
AndyScherzinger
7e338b8ce9
lint: remove unused dimens value
2018-06-10 21:36:32 +02:00
AndyScherzinger
20bc9d21af
remove unused variable
2018-06-10 21:36:31 +02:00
AndyScherzinger
077f486069
fixes after rebase
2018-06-10 21:36:31 +02:00
AndyScherzinger
10dabe7145
cleanup after rebase (removed unused methods, simplified statements)
2018-06-10 21:36:30 +02:00
tobiasKaminsky
19899b0519
do not show document content if protection is enabled
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 21:36:30 +02:00
tobiasKaminsky
28c2967739
adjust what's new to 3.2.0
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 21:36:29 +02:00
tobiasKaminsky
2403ed5efe
changes due to merge
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-10 21:36:29 +02:00
tobiaskaminsky
4a3197d8dd
enhance what's new screen
...
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-06-10 21:36:28 +02:00
tobiaskaminsky
58d62ab204
updated whatsnew image
...
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-06-10 21:36:27 +02:00
tobiaskaminsky
f85e8e3389
code cleanup
...
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-06-10 21:36:27 +02:00
tobiaskaminsky
5f89a1f626
- use device credential if fingerprint was used on old version
...
- draft for what's new
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-06-10 21:36:26 +02:00
tobiaskaminsky
cadf4c0ba5
- show device credentials only when set up
...
- allow press back/cancel during device credentials
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-06-10 21:36:26 +02:00
tobiasKaminsky
2b67067bc9
removed unneeded translations
2018-06-10 21:36:25 +02:00
tobiaskaminsky
e8a4f3736c
remove unused translations
2018-06-10 21:36:24 +02:00
Hari
a98905a9a3
Make lock options mutually exclusive
2018-06-10 21:36:24 +02:00
AndyScherzinger
05869f5796
remove obsolete string
2018-06-10 21:36:23 +02:00
tobiaskaminsky
b1244cad42
remove unneedded translations
2018-06-10 21:36:23 +02:00
AndyScherzinger
ab4444aa22
fix lint issues
2018-06-10 21:36:22 +02:00
Hari
6625d4f3b7
Fix crash when no credentials are available
2018-06-10 21:36:21 +02:00
Hari
4cd916848b
Disable lock after user confirms credentials
2018-06-10 21:36:21 +02:00
Hari
62ceb226f6
Fix codestyle and follow suggestions
2018-06-10 21:36:20 +02:00
Hari
a832abd87e
Remove fingerprint authentication
2018-06-10 21:36:20 +02:00
Hari
9e6dfb644c
Add support for default credentials
2018-06-10 21:36:19 +02:00
Andy Scherzinger
8c8832991f
Merge pull request #2682 from nextcloud/filedetailsactivity-cleanup
...
ui:fragment: Use isEmpty() to check if list of activities is empty.
2018-06-10 21:34:26 +02:00
Nextcloud bot
3c3eeeb986
[tx-robot] updated from transifex
2018-06-10 00:47:45 +00:00
eho
d5b500559e
fragment:util: Added private constructor to hide the inherit public one
...
Utility classes, which are collections of static members, are not meant to be instantiated.
Java adds an implicit public constructor to every class which does not define at least one explicitly. Hence, at least one non-public constructor should be defined.
2018-06-09 23:06:12 +02:00
eho
06e85e8819
ui:fragment Inverted if-statement for increased readability.
2018-06-09 22:56:10 +02:00
Andy Scherzinger
9d963cec33
Merge pull request #2686 from nextcloud/correctException
...
Use correct exception
2018-06-09 18:55:48 +02:00
AndyScherzinger
fb094e7628
renamed due to CR
2018-06-09 14:23:17 +02:00
AndyScherzinger
eb6821dc25
codacy: organize imports
2018-06-09 14:23:17 +02:00
AndyScherzinger
f863ea9adc
extract UI init and show/hide parts in separate methods for a better overview
2018-06-09 14:23:16 +02:00
AndyScherzinger
7fb487f717
remove unused import
2018-06-09 14:23:16 +02:00
AndyScherzinger
05a0167255
extract open file intent creation into a separate method
2018-06-09 14:23:15 +02:00
AndyScherzinger
7d4a2ecfa8
change call order to not create unneeded objects before the checks haven't succeeded
2018-06-09 14:23:15 +02:00
AndyScherzinger
015aa06d79
use a more specific input param
2018-06-09 14:23:14 +02:00
AndyScherzinger
d663535ce6
extract credentials update notification
2018-06-09 14:23:14 +02:00
Andy Scherzinger
080acb2f8e
Merge pull request #2694 from nextcloud/whiteBadge
...
Tint badge to element color
2018-06-09 14:22:33 +02:00
tobiasKaminsky
59f1253a86
do not use static context
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-09 13:35:15 +02:00
Nextcloud bot
fe4b113b80
[tx-robot] updated from transifex
2018-06-09 00:47:24 +00:00
Nextcloud bot
711dd895e2
[tx-robot] updated from transifex
2018-06-08 00:47:35 +00:00
tobiasKaminsky
537a3b7eb9
tint badge to element color
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-07 14:57:21 +02:00
Nextcloud bot
bc374c8741
[tx-robot] updated from transifex
2018-06-07 00:46:20 +00:00
AndyScherzinger
c439e84880
make sort by date package private
2018-06-06 14:38:52 +02:00
AndyScherzinger
34568caba7
120character print margin
2018-06-06 14:37:46 +02:00
AndyScherzinger
9ce8b19aed
use method expression lambdas to further shorten the code
2018-06-06 14:37:00 +02:00
AndyScherzinger
379c461f33
Also use lambda for sorting
2018-06-06 14:33:05 +02:00
eho
51eab2457d
util: Use lambdas where applicable in the FileSortOrderByName/Size classes.
2018-06-06 14:27:51 +02:00
eho
754419090d
util: Made FileSortOrderByName and FileSortOrderBySize package private.
...
- Follows principle of least privilege.
2018-06-06 14:27:51 +02:00
Nextcloud bot
bb9a6a5364
[tx-robot] updated from transifex
2018-06-06 00:47:06 +00:00
Andy Scherzinger
0b2c986c0f
Merge pull request #2648 from nextcloud/resumeDetailView
...
File detail view: store file/account when suspending fragments
2018-06-05 16:39:26 +02:00
tobiasKaminsky
60a0df7020
use correct exception
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 14:52:12 +02:00
tobiasKaminsky
b4b1790ef6
Use context instead of static getAppContext
2018-06-05 13:19:17 +02:00
AndyScherzinger
c5e5868eec
ignore restricted API lint error for tinting a spinner icon
2018-06-05 12:58:42 +02:00
AndyScherzinger
119b8a5943
fix zip icon tinting after rebase
2018-06-05 12:46:37 +02:00
tobiasKaminsky
7ae333635a
tint search view in upload activity
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:02 +02:00
tobiasKaminsky
df01428150
tint spinner
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:02 +02:00
tobiasKaminsky
ebb04db951
tint action bar icon
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:01 +02:00
tobiasKaminsky
1c6fec7192
tint remove file dialog buttons
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:01 +02:00
tobiasKaminsky
8b2d082d32
tint pin elements
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:00 +02:00
tobiasKaminsky
9bb708dd08
tint "report button"
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:00 +02:00
tobiasKaminsky
b13a3ae680
tint also upload file list
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:34:59 +02:00
tobiasKaminsky
c32e47f4ce
White theming
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:34:51 +02:00
Mario Đanić
b48a6e8d8e
Merge pull request #2626 from nextcloud/menuHelper
...
Shorten code and improve readability via a menu helper
2018-06-05 07:56:06 +02:00
Mario Đanić
c5bca087f2
Merge pull request #2631 from nextcloud/tintZip
...
tint zip icon same as folder icon
2018-06-05 07:55:00 +02:00
Mario Đanić
648b02ee8a
Merge pull request #2649 from nextcloud/finishPreferences
...
Explicitly finish preferences
2018-06-05 07:53:40 +02:00
Mario Đanić
f123c269f0
Merge pull request #2651 from nextcloud/resultOnStoppedAsync
...
Do not process result of async task if activity is stopped
2018-06-05 07:53:09 +02:00
Mario Đanić
2d4cb825f9
Merge pull request #2661 from nextcloud/rewordEmptyActivity
...
Reword empty activity message
2018-06-05 07:52:31 +02:00
eho
62fe30134c
util: Added @Override annotation where applicable.
...
Using the @Override annotation is useful for two reasons :
It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling.
It improves the readability of the source code by making it obvious that methods are overridden.
2018-06-04 16:10:08 +02:00
eho
b1e032cd6c
ui:fragment: Use isEmpty() to check if list of activities is empty.
...
Using Collection.size() to test for emptiness works, but using Collection.isEmpty() makes the code more readable and can be more performant
2018-06-04 16:07:29 +02:00
AndyScherzinger
4c6ffea5e4
massively shorten code and improve readability via a menu helper
2018-06-04 15:21:59 +02:00
AndyScherzinger
eb7e5f735d
lint: ignore setJavaScriptEnabled
2018-06-04 13:20:33 +02:00
AndyScherzinger
afc32f1cf1
fix he->iw and id->in
2018-06-02 22:23:21 +02:00
Nextcloud bot
18755ba08c
[tx-robot] updated from transifex
2018-06-02 00:45:28 +00:00
Nextcloud bot
f7f988bc15
[tx-robot] updated from transifex
2018-05-31 00:47:30 +00:00
tobiasKaminsky
6cf37f3a0d
reword empty activity
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 13:45:50 +02:00
tobiasKaminsky
8d7b16b3ca
do not process result of async task if activity is stopped
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 11:07:34 +02:00
Andy Scherzinger
8c5f564253
Merge pull request #2650 from nextcloud/explicitAllowGCM
...
Explicitly allow gcm on gplay
2018-05-30 10:32:22 +02:00
tobiasKaminsky
c1b1bc8fab
explicitly allow gcm on gplay
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 09:25:43 +02:00
tobiasKaminsky
7f28bad63e
explicitly finish preferences
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 08:23:49 +02:00
tobiasKaminsky
e718f49dea
store file/account when suspending fragments
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 07:29:52 +02:00
tobiasKaminsky
cf8478b80d
as we use singleTop, we shall not start a new activity
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 06:34:11 +02:00
Nextcloud bot
d598c3afcf
[tx-robot] updated from transifex
2018-05-30 00:47:59 +00:00
Nextcloud bot
455a92849f
[tx-robot] updated from transifex
2018-05-29 11:28:08 +00:00
Nextcloud bot
46fb12a68f
[tx-robot] updated from transifex
2018-05-29 10:02:22 +00:00
AndyScherzinger
058eff9627
restore prematurely deleted strings
2018-05-29 11:38:59 +02:00
Nextcloud bot
9a65471805
[tx-robot] updated from transifex
2018-05-29 09:05:28 +00:00
AndyScherzinger
ba0aff41a7
Fix comment again
2018-05-29 09:14:22 +02:00
AndyScherzinger
c3209d817d
fix further review comments
2018-05-29 09:13:09 +02:00
AndyScherzinger
84401e73a7
fix menu filter
2018-05-29 09:01:41 +02:00
AndyScherzinger
f731e4d59b
java imports, unused java been removed...
2018-05-29 08:38:58 +02:00
AndyScherzinger
cf1b8f8f85
Fix theming issue with date picker dialog
2018-05-29 08:31:50 +02:00
AndyScherzinger
892db9f689
raise font size on file name
2018-05-29 07:58:41 +02:00
AndyScherzinger
d72eb2a4b7
fix codacy
2018-05-29 07:58:41 +02:00
AndyScherzinger
a3daf0642e
fix lint again
2018-05-29 07:58:41 +02:00
AndyScherzinger
f201a2dd66
first changes due to designers review
2018-05-29 07:58:40 +02:00
AndyScherzinger
d8c4be0604
fix lint for item divider, plus code formatting
2018-05-29 07:58:39 +02:00
AndyScherzinger
952db5a34b
added javaDoc for public methods
2018-05-29 07:58:39 +02:00
AndyScherzinger
5154280f00
fix refreshing OC file list after sharing info changes
2018-05-29 07:58:38 +02:00
AndyScherzinger
5c4a450b11
use file details sharing tab for files also via the share bottom sheet (only if FileDisplayActivity is the parent)
2018-05-29 07:58:38 +02:00