Commit graph

6060 commits

Author SHA1 Message Date
Mario Danic
0ddc264e0b
Rename a method
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:43 +01:00
Mario Danic
26c8966eb3
Use getters & setters
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:43 +01:00
Mario Danic
4f51489210
Scope
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:42 +01:00
Mario Danic
2a558cee2b
Not needed
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:42 +01:00
Mario Danic
0697f56f48
Schedule, just in case
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:41 +01:00
Mario Danic
b70831e939
Check if internet is walled
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:41 +01:00
Mario Danic
f07d5a8180
Improve syncing code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-15 12:37:38 +01:00
tobiaskaminsky
ce970cf42b
fix wrong folder sorting, when OCFile.compareTo() is used
added testcases

Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-15 12:16:08 +01:00
tobiasKaminsky
d95e8a98a6
Natural sorting, for digits use value (01 -> 1), order by leading zeros (1 > 01)
use AlphanumComparator also for folder comparison

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-15 12:16:07 +01:00
tobiasKaminsky
c5d492cee9
Natural sorting, for digits use value (01 -> 1), order by leading zeros (1 > 01)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-15 12:16:04 +01:00
Andy Scherzinger
6b000595b1
Merge pull request #2228 from nextcloud/timSortNullCheck
TimSort: Add correct null check
2018-03-15 11:35:20 +01:00
Mario Đanić
b1cd940de7
Merge pull request #2160 from nextcloud/trimTwitter
Make multiple whitespaces on twitter working
2018-03-15 10:40:57 +01:00
Mario Đanić
b0af6f5e61
Merge pull request #2038 from nextcloud/enhanceSyncSpeed
Speed up sync
2018-03-15 10:35:59 +01:00
Nextcloud bot
afcf698ad9
[tx-robot] updated from transifex 2018-03-15 06:32:05 +00:00
Nextcloud bot
ce87ef2fd1
[tx-robot] updated from transifex 2018-03-15 01:41:05 +00:00
tobiaskaminsky
033b8a9c95
simplify
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-14 22:00:51 +01:00
tobiasKaminsky
c9634022d2
if nothing received to upload, app crashed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-14 22:00:51 +01:00
tobiasKaminsky
3386de1a94
copy/move starts within current folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-14 21:53:08 +01:00
tobiasKaminsky
228a69a38f
show files during copy, move, remote folder select on synced folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-14 21:44:20 +01:00
tobiasKaminsky
099f52ce03
show multiaccount intro only if multiaccount is enabled
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-14 21:37:07 +01:00
tobiaskaminsky
fa17f55eaf
try to prevent NPE on notification manager
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-14 21:20:22 +01:00
tobiaskaminsky
e5988fe7c7
use modification date from server
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-14 11:50:53 +01:00
tobiaskaminsky
48e3036e36
use contentResolver directly
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-14 09:55:46 +01:00
eho
897a25d0fc
Added the REQUEST_INSTALL_PACKAGES permission to the Android manifest.
With API 26 (Android O) any app that wants to install unknown apps must declare the REQUEST_INSTALL_PACKAGES permission. The user can then control what specific apps should be allowed to install unknown apps unlike the previous system where it was a system wide binary option for all apps. Without this declared permission the Nextcloud app will not be able to install apk's that the user have in their Nextcloud storage. With this permission added the user will be prompted to grant the app permission to install apps from unknown sources should they attempt to do so .

This fixes #2269 and #2266
2018-03-14 09:25:16 +01:00
Nextcloud bot
bb0711e944
[tx-robot] updated from transifex 2018-03-14 01:47:48 +00:00
Mario Danic
23f80f3e45
Use magical vectors
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-13 22:19:20 +01:00
AndyScherzinger
d45408bae5
fix CR 2018-03-13 21:30:39 +01:00
tobiaskaminsky
a12d41c884
equal sized icon
fix showing app chooser twice

Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-13 21:30:38 +01:00
tobiasKaminsky
df55697cc2
if searchView does not exist, search is not opened
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-13 16:53:11 +01:00
tobiasKaminsky
73115c09a3
crash on restoring activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-13 14:50:29 +01:00
tobiasKaminsky
3c50d9285d
close cursor
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-13 14:31:17 +01:00
tobiasKaminsky
df2f999fd4
fix crash on 4.x devices
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-13 14:10:48 +01:00
AndyScherzinger
32a92f9f17
Fix #2215 resizing the activity icon 2018-03-13 13:30:35 +01:00
tobiasKaminsky
dbcfb88168
as we now have a call to get the uid, we shall not split the string, as usernames as such are valid: tobi@nc
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-13 13:06:08 +01:00
Nextcloud bot
266160b475
[tx-robot] updated from transifex 2018-03-13 01:43:00 +00:00
Mario Danic
2e988665f2
Remove locking
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-03-12 18:03:04 +01:00
tobiaskaminsky
be3086c2f4
generating avatar as fallback
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-12 17:47:58 +01:00
Tobias Kaminsky
1d2ed0bcbd
Revert "Do not ignore ignoreEtags" 2018-03-12 17:37:25 +01:00
tobiaskaminsky
a2606d2aab
add push channel for 8.x with default value
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-03-12 14:37:05 +01:00
Tobias Kaminsky
fcf64bc969
Merge pull request #2322 from nextcloud/fix-2302
Show long subtext of notification
2018-03-12 12:43:41 +01:00
Tobias Kaminsky
e952262ad0
Merge pull request #2264 from tanvidadu/fixer
Remove Select all from the 3-dot-menu as that's already in the multis…
2018-03-12 08:15:57 +01:00
Nextcloud bot
a8c4705509
[tx-robot] updated from transifex 2018-03-12 01:45:10 +00:00
Nextcloud bot
39193ddd0f
[tx-robot] updated from transifex 2018-03-11 01:42:56 +00:00
tanvidadu
9ea0af9673 Removed unused field 2018-03-10 10:01:17 +05:30
tanvidadu
bdba03b936 error fixed 2018-03-10 01:54:47 +05:30
xXSTrikeXx
3c07717ba1
Update activity_list_item.xml
Remove android:maxLines="3" to see long subtitles of notifications.
2018-03-09 18:28:44 +01:00
Nextcloud bot
498f00895a
[tx-robot] updated from transifex 2018-03-09 01:46:39 +00:00
Tobias Kaminsky
230606e70e
Merge pull request #2299 from nextcloud/revert-2283-confirmation_before_exit
Revert "Added confirmation before exit (Fixed #2276)"
2018-03-08 14:56:36 +01:00
Nextcloud bot
6532f2ff4b
[tx-robot] updated from transifex 2018-03-07 15:15:07 +00:00
Arundhati Gupta
619aa2ed28
Revert "Added confirmation before exit (Fixed #2276)" 2018-03-06 20:51:30 +05:30
Nextcloud bot
0169b30c25
[tx-robot] updated from transifex 2018-03-06 01:44:51 +00:00
arundhati24
e24f46cde5 Add confirmation before exit
Earlier hitting the back button once caused exit from the app. Now
a toast message is displayed that prompts the user to hit the back
button twice to exit from the app. This prevents unintentional exit
in case the user hits the back button by chance.
2018-03-05 21:36:51 +05:30
Nextcloud bot
9c7e75754b
[tx-robot] updated from transifex 2018-03-05 01:43:40 +00:00
Nextcloud bot
a7c66ce6b5
[tx-robot] updated from transifex 2018-03-04 01:45:15 +00:00
Nextcloud bot
ae26d0a89b
[tx-robot] updated from transifex 2018-03-03 01:45:01 +00:00
tanvidadu
ccfea66e61
Remove Select all from the 3-dot-menu as that's already in the multiselect menu 2018-03-02 18:45:39 +01:00
Mario Đanić
22b9d97209
Merge pull request #2200 from nextcloud/e2eUserAgent
Fix failing operations (create folder, download file) due to user agent change
2018-03-02 18:34:01 +01:00
tobiasKaminsky
3ce4280931
fix failing operations (create folder, download file) due to user agent change
fix upload of fresh ones into folders where parent does not exist yet

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-02 09:25:48 +01:00
Nextcloud bot
d624ceec38
[tx-robot] updated from transifex 2018-03-02 01:45:20 +00:00
Tobias Kaminsky
3c0bfcfb16
Merge pull request #2254 from nextcloud/fix-2241
Fix wrong status message on non existing files on upload
2018-03-01 12:46:17 +01:00
Tobias Kaminsky
aedb83de2e
Merge pull request #2255 from nextcloud/fix-2140
Fix #2140: waiting for Wifi
2018-03-01 12:41:02 +01:00
Nextcloud bot
a88f0e125b
[tx-robot] updated from transifex 2018-03-01 01:45:43 +00:00
Mario Danic
d62cd3413b Fix #2140
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-28 16:42:37 +01:00
Mario Danic
8eedca84f7 Fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-28 16:37:40 +01:00
Nextcloud bot
fb47dd95d2
[tx-robot] updated from transifex 2018-02-28 01:43:53 +00:00
Nextcloud bot
23f08c49e2
[tx-robot] updated from transifex 2018-02-27 01:49:52 +00:00
tobiasKaminsky
59f52d7265
add correct null check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-02-26 08:31:03 +01:00
Nextcloud bot
71230d6e03
[tx-robot] updated from transifex 2018-02-23 01:42:48 +00:00
Nextcloud bot
7cae34ee9c
[tx-robot] updated from transifex 2018-02-21 01:43:18 +00:00
AndyScherzinger
7c7b1ba25b
codacy: remove unused / superseeded method 2018-02-20 18:01:43 +01:00
AndyScherzinger
1afd2e67d2
codacy: remove unused import statement 2018-02-20 18:01:33 +01:00
Tobias Kaminsky
beb24c7dd2
Merge pull request #2037 from nextcloud/useIgnoreEtagAgain
Do not ignore ignoreEtags
2018-02-20 13:39:24 +01:00
Mario Đanić
b5c4cc7ac7
Merge pull request #2180 from nextcloud/loadSavedFolder
Correctly load saved folder on resume
2018-02-20 11:50:52 +01:00
Mario Đanić
8990909895
Merge pull request #2201 from nextcloud/pngSize
use correct size for png
2018-02-20 11:47:31 +01:00
Nextcloud bot
6c0a4ed591
[tx-robot] updated from transifex 2018-02-20 01:46:12 +00:00
tobiasKaminsky
0c944e95db
use correct size for png
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-02-19 17:10:54 +01:00
Nextcloud bot
96d939b2e8
[tx-robot] updated from transifex 2018-02-19 01:40:31 +00:00
Nextcloud bot
8b8f0fdccf
[tx-robot] updated from transifex 2018-02-17 01:43:24 +00:00
Tobias Kaminsky
661b7424af
Merge pull request #2163 from nextcloud/folders-structure-au
Implement folder structure
2018-02-16 10:08:36 +01:00
Nextcloud bot
46e0f3c73a
[tx-robot] updated from transifex 2018-02-16 01:42:40 +00:00
tobiasKaminsky
710cde0a30
load saved folder on resume
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-02-15 08:49:31 +01:00
Nextcloud bot
0cafb86e28
[tx-robot] updated from transifex 2018-02-15 01:44:53 +00:00
Tobias Kaminsky
6038848665
Merge pull request #2154 from ardevd/master
Encryption: Get IV directly from the cipher object when encrypting the private key
2018-02-14 12:02:27 +01:00
Mario Danic
4ba1a8758c
Fix SSL
Document empty body
Fix drone issue
Fix codacy

Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-14 08:42:55 +01:00
tobiasKaminsky
04de5cab62
delete public key if storage of private key did not worked 2018-02-14 07:50:56 +01:00
Nextcloud bot
6a35a44598
[tx-robot] updated from transifex 2018-02-14 01:41:22 +00:00
Mario Danic
de3e05c764 Implement folder structure
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-13 21:56:03 +01:00
Mario Danic
7c870c198e
Fix build issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-13 18:36:26 +01:00
Mario Danic
df8e73fff2
Fix push
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-13 18:36:18 +01:00
tobiasKaminsky
95c457652f
make multiple whitespaces on twitter working 2018-02-13 11:36:12 +01:00
Nextcloud bot
1e5924d611
[tx-robot] updated from transifex 2018-02-12 22:59:11 +00:00
eho
5a49c5a464 Encryption: Get IV directly from the cipher object when encrypting the private key.
In Android O and newer (at least) javax.crypto.spec.IvParameterSpec is unsupported. Get the IV directly from the cipher object instead.
2018-02-12 21:06:53 +01:00
AndyScherzinger
b1f5ae5297
also trim() when beatifying URLs and twitter handles 2018-02-12 18:17:08 +01:00
Bartosz Przybylski
5df5d1d7b5
Don't beautify empty inputs 2018-02-12 18:17:08 +01:00
Tobias Kaminsky
f5758956ef
Merge pull request #2138 from codedsun/UIGlitch
Fix#2125:ShareDialogFix
2018-02-12 15:25:55 +01:00
AndyScherzinger
3ba75af913
Fix #2141 by using the correct time pattern 2018-02-12 10:14:46 +01:00
Nextcloud bot
2623f061e2
[tx-robot] updated from transifex 2018-02-12 07:55:43 +00:00
Nextcloud bot
6877c5669e
[tx-robot] updated from transifex 2018-02-12 07:45:48 +00:00
Suneet Srivastava
7ffa5886c1 Fix#2125:ShareDialogFix 2018-02-11 00:09:41 +05:30
Nextcloud bot
a835c1b950
[tx-robot] updated from transifex 2018-02-10 08:54:50 +00:00
Andy Scherzinger
a6f657b752
Merge branch 'master' into issue2040 2018-02-09 13:24:36 +01:00
Allan Nordhøy
f81f9ab35e
New intro strings, could not rename, info 2018-02-09 12:54:38 +01:00
Nextcloud bot
88950f3e3b
[tx-robot] updated from transifex 2018-02-09 01:41:08 +00:00
Tobias Kaminsky
073f08bf3f
Merge pull request #2113 from nextcloud/fix-au
Fixes auto upload
2018-02-08 06:39:00 +00:00
Nextcloud bot
bbf9ba21a3
[tx-robot] updated from transifex 2018-02-08 01:39:20 +00:00
cc7d6683af Rename folder to existing name issue 2018-02-08 00:18:54 +01:00
AndyScherzinger
66e99d0557
codacy: cleanup nested if conditions 2018-02-07 12:26:29 +01:00
AndyScherzinger
0aa8289cb8
codacy: use local variables when adequate 2018-02-07 12:26:28 +01:00
AndyScherzinger
a54fea72d6
revert SHOW_ON_UPGRADE removal 2018-02-07 12:26:28 +01:00
AndyScherzinger
69f313561d
codacy: fix code style issues 2018-02-07 12:26:28 +01:00
AndyScherzinger
0ade905557
codacy: remove unused code 2018-02-07 12:26:19 +01:00
Mario Danic
dbc32b2427 Fixes auto upload
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-07 11:07:00 +01:00
Nextcloud bot
93913ae931
[tx-robot] updated from transifex 2018-02-07 01:39:16 +00:00
tobiasKaminsky
e327e6a7c0
theme share icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-02-06 11:16:14 +00:00
Tobias Kaminsky
8a5a6ce9b0
Merge pull request #2095 from nextcloud/fix-2094
Fix #2094
2018-02-06 06:39:00 +00:00
Nextcloud bot
e57c47ab5b
[tx-robot] updated from transifex 2018-02-06 01:39:35 +00:00
Nextcloud bot
3c01a0dd59
[tx-robot] updated from transifex 2018-02-04 01:39:28 +00:00
Andy Scherzinger
0009b259cd
Merge pull request #2088 from nextcloud/installLocation
Force install location to internal, even if this is default
2018-02-03 22:02:58 +01:00
Mario Danic
e27b2f7689 Fix #2094
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-02-03 10:38:37 +01:00
Nextcloud bot
39116962b9
[tx-robot] updated from transifex 2018-02-03 01:39:15 +00:00
tobiaskaminsky
13e99f8482
force install location to internal, even if this is default
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-02-02 09:32:02 +01:00
Nextcloud bot
5eeeab171a
[tx-robot] updated from transifex 2018-02-02 01:41:41 +00:00
Nextcloud bot
87aed75104
[tx-robot] updated from transifex 2018-02-01 05:46:50 +00:00
Nextcloud bot
68c60d3287
[tx-robot] updated from transifex 2018-02-01 01:41:58 +00:00
Tilo Spannagel
52f1e58535
Auto upload: Prioritize Screenshots Folder
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-01-31 13:15:45 +01:00
tobiasKaminsky
5b160add9c
simplify
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-31 10:07:55 +01:00
tobiasKaminsky
56b7e3afc4
Fix upgrade from 1.4.3 to 3.0.0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-31 09:51:30 +01:00
tobiasKaminsky
b0a1152a75
store info that file is encrypted
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-31 08:47:50 +01:00
Tobias Kaminsky
d1c53093cc
Merge pull request #2068 from nextcloud/snackbarOnlyIfActivityExists
show download snackbar only if activity exists
2018-01-31 08:10:32 +01:00
Tobias Kaminsky
44bef145a2
Merge pull request #2066 from nextcloud/fix-autoupload-2
Fix auto restart of pending Auto Upload entries
2018-01-31 07:37:17 +01:00
tobiaskaminsky
d9435fcf1d
show download snackbar only if activity exists
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-31 07:35:41 +01:00
Nextcloud bot
09337e9cea
[tx-robot] updated from transifex 2018-01-31 01:39:53 +00:00
Mario Đanić
737ce03e51
Merge pull request #2067 from nextcloud/hardenExternalStorage
getExternalFilesDir(null) can be null --> preventing NPE
2018-01-30 19:26:05 +01:00
Mario Đanić
f4670cf602
Merge pull request #2071 from nextcloud/e2eFlagOnlyOnFolders
E2e flag only on folders
2018-01-30 19:24:22 +01:00
Bartosz Przybylski
2e8c417ed7 Fixes #2070: Move the responsibility of FAB's theming to theris owner
Since ExtendedListFragment is owning all FAB's where is no need for any other activity to alter the theming of those buttons. ThemeUtils are wide accessible, and at the time of construction, so apply the theming there.
2018-01-30 17:12:02 +01:00
tobiaskaminsky
3ae0610b7a
add default values
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-30 13:20:13 +01:00
tobiaskaminsky
c1a2221b88
e2e flag only on folder
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-30 13:14:34 +01:00
tobiaskaminsky
f080bdb70e
getExternalFilesDir(null) an be null --> preventing NPE
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-30 08:37:15 +01:00
Nextcloud bot
dcb82998f8
[tx-robot] updated from transifex 2018-01-30 01:41:11 +00:00
Mario Danic
6bb9636dcb Just a test
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-29 20:55:33 +01:00
tobiasKaminsky
601138099a
bump version
fix webpage -> website

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-29 16:50:02 +01:00
tobiaskaminsky
91f624524d
use fetched userID
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-29 16:50:02 +01:00
Mario Đanić
8bf7aa24bf
Merge pull request #2062 from nextcloud/fix-for-autoupload
Fix for autoupload
2018-01-29 16:48:53 +01:00
Mario Danic
30dd629364 Check internetSet all arguments as nullable
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-29 10:29:31 +01:00
Tobias Kaminsky
9d89d0554e
Update UploadsStorageManager.java
line wrap
2018-01-29 10:28:04 +01:00
Mario Danic
18ad2d858b Fix up request
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-29 10:18:10 +01:00
Mario Đanić
1028bb351d
Merge pull request #2052 from nextcloud/tintDeleteDialog
Tint delete account dialog buttons
2018-01-29 09:15:51 +01:00
Mario Danic
4880e783bf Fix
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-29 09:12:56 +01:00
Mario Danic
0feaa84149 Fix auto uploads
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-29 09:11:41 +01:00
Tobias Kaminsky
19ca990db8
Merge pull request #2058 from nextcloud/fix-issues-with-services
Fix crashing issue on bootup
2018-01-29 08:54:51 +01:00