Commit graph

252 commits

Author SHA1 Message Date
Stephan Ritscher
9370cbab09 Fix improper deleting synced folder by OfflineSyncWork 2020-06-22 21:09:41 +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
34eaf9d6db
remove non needed exceptions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-16 14:49:01 +02:00
Tobias Kaminsky
3965af0cfc
Merge pull request #6214 from nextcloud/fixods
Fix crash when creating client
2020-06-09 08:03:33 +02:00
tobiasKaminsky
ec12ad56d4
use check arrow for chosen account
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-08 10:03:38 +02:00
tobiasKaminsky
07dc18339a
Fix crash when creating client
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-04 15:44:03 +02:00
Joris Bodin
6e34c38da7
Improve design
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-26 10:49:53 +02:00
Kilian Périsset
f4752cb9bb
Fixed definitively KTLint errors
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-26 10:49:53 +02:00
Kilian Périsset
da5983d7db
Fixed Spotbugs and KtLint reports
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-26 10:49:52 +02:00
Kilian Périsset
01a597d391
Aligned icons + Cleaned code + Implemented listeners
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-26 10:49:52 +02:00
Kilian Périsset
127f4886cd
Implemented ChooseAccountFragment dialog + Fixed some things around accounts management
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-26 10:49:51 +02:00
Chris Narkiewicz
be2a4489e2
Fix contacts backup job interval
Job interval was set in ms, when API requred minutes.
Use of invalid time unit resulted in period of ~164 years.

This change removes ms interval constants and sets
proper contact backup job period.

Fixes #6041

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-24 01:39:18 +01:00
tobiasKaminsky
a2fc279c01
E2E overhaul
- Limit online editing/stream when e2e-encrypted file
- download files in subfolder to correct local folder name
- use httpd/unix-directory for folder in metadata
- set encryption status of subfolder

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-18 14:02:58 +02:00
tobiasKaminsky
1c7430367d
Fix wrong extra_account, which used user instead of account
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-14 13:50:49 +02:00
Tobias Kaminsky
30501e9503
Merge pull request #5825 from nextcloud/pushDeck
send push to deck app, if installed
2020-05-14 12:44:57 +02:00
tobiasKaminsky
54d4acf216
Fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-12 16:20:17 +02:00
Chris Narkiewicz
b10038cced
DeckApi unit test
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-12 13:11:14 +02:00
Stefan Niedermann
c0bd6b1a51
Adjusted javadoc
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
24cbc66a92
Removed logging
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
a9a2c06a1b
Add license header and code format
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
19deab3fba
Internal refactoring of the DeckApiImpl
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:10 +02:00
Stefan Niedermann
10437c9d82
Add some java doc
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:08 +02:00
Stefan Niedermann
53a1344e47
Rename interface and implementation for Deck integration
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:06 +02:00
Stefan Niedermann
9a00819286
Use Optional for DeckIntegration and better name for interface
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:03 +02:00
Stefan Niedermann
820f6745e1
Don't instantiate intent each time in the for loop
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
ad8eaff22b
Don't spam logs
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
dfb3d8d15f
Small refactorings
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
40e1f089f4
Added default serialVersionUID for new Exception classes
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
a751523c20
Fix typo in handle
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:59 +02:00
Stefan Niedermann
37aa694a52
Add GPL headers
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:58 +02:00
Stefan Niedermann
ee882187fb
Move Deck exception classes into own files
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:55 +02:00
Stefan Niedermann
b0ab109e5d
Move Deck integration logic to own package
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:51 +02:00
Abdourahamane BOINAIDI
6f5e7027f4
3 Columns on grid mode
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 12:50:32 +02:00
Andy Scherzinger
109be926ff
Merge pull request #6014 from nextcloud/fixAccountRemoval
Fix account removal
2020-05-06 22:10:16 +02:00
tobiasKaminsky
3eb8b1c069
Fix account removal, #6012
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-06 15:27:36 +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
3aa25cc7a5
fix typo
organized imports

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-30 11:41:38 +02:00
Chris Narkiewicz
1a2d85a9cb
Migrate remaining jobs to WorkManager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-30 00:50:54 +01:00
Tobias Kaminsky
f477a6873b
Merge pull request #5892 from nextcloud/ezaquarii/migrate-notifcation-job-to-work-manager-api
Migrate notifcation job to work manager api
2020-04-29 17:58:05 +02:00
tobiasKaminsky
cf996c34af
add missing work manager function to create notification work
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-29 16:04:11 +02:00
Chris Narkiewicz
57ac50788e
Migrate NotificationJob to WorkManager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-28 21:31:08 +01:00
Joris Bodin
81a6ab38a9
Remove unused argument
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-28 17:34:02 +02:00
Chris Narkiewicz
d0a6fdc2da
Start files sync job when enabling auto upload
This is #5885 solution ported to BackgroundJobManager API.

Fixes #5882
Fixes #5898

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-23 10:45:02 +01:00
Chris Narkiewicz
77c4a3e6a5
Migrate file sync related jobs to WorkManager API
* FilesSyncJob.java converted to FilesSyncWork.kt
* FilesSyncJob removed from code
* Extended ETM screen to allow scheduling immediate
  TestJob (for development experimentation)
* OfflineSyncJob.java conveted to OfflineSyncWork.kt
* OfflineSyncJob removed from code
* Fixed re-scheduling of content observer work
* MediaFoldersDetectionJob.java converted to
  MediaFoldersDetectionWork.kt
* MediaFolderDetectionJob removed from code

Fixes #5881

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-23 10:45:01 +01:00
David Luhmer
d4bc9b3cf2
refactorings
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-20 15:00:31 +02:00
tobiasKaminsky
3a9d9e8c23
close SSO streams
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-20 15:00:26 +02:00
Andy Scherzinger
aa9e80f0a7
Merge pull request #5876 from nextcloud/releaseConnections
Release connections after usage
2020-04-16 18:15:25 +02:00
Tobias Kaminsky
47d5552af8
Merge pull request #5741 from nextcloud/fix-#5736master
Readd enableAccountHandling for show slider
2020-04-16 12:48:10 +02:00
tobiasKaminsky
4b30ed5993
Release connections after usage
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-15 17:44:17 +02:00
Tobias Kaminsky
517437eba9
Merge pull request #5761 from nextcloud/ezaquarii/migrate-file-downloader-service-to-user-model
Migrate FileDownloader server to User model
2020-04-09 15:08:26 +02:00