Commit graph

140 commits

Author SHA1 Message Date
Chris Narkiewicz
fadf1b0dfd
Fix ConnectivityService.isInternetWalled() check when content length is -1
When server returns no Content-Length, the check was failing due to
expectation of 0. Change the condition to account for no content-length
situation and updated test.

Fixes #8384

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-05-13 23:48:40 +01:00
Lucas Haug
a114a593a8
Added Tests
Signed-off-by: Lucas Haug <fuermhandy@gmail.com>
2021-03-08 18:35:34 +01:00
Andy Scherzinger
44926b6f24
Merge pull request #7207 from nextcloud/newGet
Use new GetMethod, drop apache one
2021-02-19 08:59:16 +01:00
tobiasKaminsky
d3306ba516
Fix tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-18 14:58:19 +01:00
tobiasKaminsky
f97a86df68
Use new GetMethod, drop apache one
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-18 14:58:18 +01:00
tobiasKaminsky
048bb8aa34
Pin prompt: add brute force: delay from 1 to 10s when wrong input
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-17 09:06:13 +01:00
Andy Scherzinger
0fc91a7a1e
proper identation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-12-08 09:11:18 +01:00
Andy Scherzinger
f3749b6bd3
Update tests to shimmer logic
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-11-25 22:09:14 +01:00
Andy Scherzinger
1f1d50e54a
update activities tests
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-11-25 22:09:11 +01:00
tobiasKaminsky
a733d1e5f0
Show generated avatars is file detail sharing list
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-10 10:15:17 +01:00
tobiasKaminsky
16997601fc
Drop NC13-NC15
in 204 endpoint there is no maintenance:false

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-03 10:46:50 +01:00
tobiasKaminsky
ed90d07a17
detekt, ktlint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:39:58 +02:00
tobiasKaminsky
92070d2934
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:26:04 +02:00
tobiasKaminsky
6a1292d690
Rename .java to .kt
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:26:04 +02:00
tobiasKaminsky
c8a49d99ba
Merge remote-tracking branch 'remotes/origin/master' into sharingPart2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-22 08:14:43 +02:00
tobiasKaminsky
eb839c3968
do not use internal FieldSetter
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-10 12:46:51 +02:00
tobiasKaminsky
996b0f0e67
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
12f827e063
Use two chars for avatars
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-26 10:41:27 +02:00
Chris Narkiewicz
75b9fa8551
New download manager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-07-20 12:28:47 +02:00
tobiasKaminsky
d721941032
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 08:41:27 +02:00
dependabot-preview[bot]
78b879d10f
Bump ktlint from 0.36.0 to 0.37.2
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.36.0...0.37.0)

changed to new syntax

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-17 10:45:36 +02:00
tobiasKaminsky
5ba2aff146
Fix unit tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-09 16:35:11 +02:00
tobiasKaminsky
b752e94130
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-27 13:56:24 +02:00
Chris Narkiewicz
8073a0d003
Remove Evernote job scheduler dependency
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-05 22:57:16 +01:00
tobiasKaminsky
63a3d92b1c
Fix background tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-28 20:18:52 +02:00
Joachim Meyer
32da47d6a3
Make the name collision policy for auto uploads selectable, fixes #5599.
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
2020-04-15 19:12:06 +02:00
Chris Narkiewicz
500fdb919b
Migrate contacts backup job to new background job manager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-11 23:16:56 +00:00
Chris Koying Browet
1b7bd72c49
ADD: [instantupload] setting to also upload existing files
Signed-off-by: Chris Koying Browet <cbro@semperpax.com>
2020-02-18 07:37:54 +01:00
Chris Narkiewicz
53024d1cd1
Migrate account list to new user model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-12 07:31:38 +00:00
Tobias Kaminsky
f520f2f9a2
Merge pull request #5436 from nextcloud/ezaquarii/make-user-model-parcelable
Make user model parcelable
2020-02-11 09:26:26 +01:00
Chris Narkiewicz
4ce54bc21e
Make user model parcelable
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-10 15:49:12 +00:00
Chris Narkiewicz
26f2d52a5a
Extract account logic from BaseActivity into a mixin
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-05 22:08:58 +00:00
tobiasKaminsky
a2357181ab
fix tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-12 07:13:29 +01:00
Andy Scherzinger
cb00677172
Merge pull request #4926 from nextcloud/deleteChecksFor16
remove all checks for <= JELLY_BEAN as we have this as our new minimum.
2019-12-04 06:59:17 +01:00
tobiasKaminsky
5e687f2c17
Dark mode: light, dark, follow system
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-04 06:33:34 +01:00
tobiasKaminsky
fb69c1bd51
remove all checks for <= JELLY_BEAN as we have this as our new minimum.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-04 06:15:30 +01:00
Andy Scherzinger
7c62ad6b06
unify use of boolean, make use of lombok getter/setters, remove unneeded boolean boxing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:05 +01:00
Andy Scherzinger
23e44243da
show/hide auto upload list items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:34:40 +01:00
Chris Narkiewicz
609b99666f
New user model
New non-nullable user model abstracts away all complexities of Nextcloud
user account and provides.

- backported java.util.Optional
- extended UserAccountManager with User getters
- deprecated CurrentAccountProvider.getCurrentAccount() method
- migrated connectivity service to new user model
- migrated UploadsStorageManager to new user model
- migrated OCFileListAdapter

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-21 19:58:57 +00:00
Tobias Kaminsky
94502f66b5
Merge pull request #4787 from ArisuOngaku/auto-upload-start-date-persistence
Make synced folder init/enable date persistent
2019-11-19 13:21:43 +01:00
Alice Gaudon
2e13212752 SyncedFolderProvider: pass Clock dependency via constructor instead of dagger
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-06 01:59:06 +01:00
Alice Gaudon
7f4db3fdd0 Make synced folder init/enable date persistent
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-05 21:23:45 +01:00
Chris Narkiewicz
6b01382e7f
Replace BaseActivity.sharedPreferences with app preferences
- Eliminate access to shared preferences when setting dark theme.
- Extend AppPreferences interface to allow subscription for preference changes
- Improve preferences interface documentation

Fixes #4791

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-05 06:00:58 +00:00
Andy Scherzinger
d3d0df46f1
make Android v16/JellyBean the new min-supported Android version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-31 23:36:06 +01:00
Andy Scherzinger
862e5d4776
Merge pull request #4537 from nextcloud/ezaquarii/migrate-ncontentobserverjob-to-workmanager
Migrate NContentObserverJob to WorkManager
2019-10-15 15:23:15 +02:00
tobiasKaminsky
8cbabf08e5
add license header
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-15 13:41:27 +02:00
tobiasKaminsky
1b0d548c69
fix sorting of synced folder: NPE if both enabled, but one has null folder name
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-15 09:56:55 +02:00
tobiasKaminsky
a2f2da9c20
move logic completely into function
prevent double subfolders

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-10 12:01:35 +02:00
Chris Narkiewicz
808c9098ea
Migrate NContentObserverJob to WorkManager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-10-02 21:38:44 +01:00
Tobias Kaminsky
9876c49001
Merge pull request #4415 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.0.1
Bump detekt-gradle-plugin from 1.0.0-RC14 to 1.0.1
2019-10-02 08:26:25 +02:00