Commit graph

3424 commits

Author SHA1 Message Date
alperozturk
ef2ebb9176 Add long running task support
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
Jonas Mayer
be1fed8f84 Improve Notifications
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-12 08:51:16 +01:00
alperozturk
e9e74ba8fb Fix Cancel Notification Appearance and Progress Bar Visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
457f01dfd4 Fix cancel notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2754cc6ac6 Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
25ff9e884a Prevent unnecessary file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3099ff3991 Rename worker observer func
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9b8829701b Fix cancel for unique tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
4a5d75a325 Use unique tag for all download type to fix sync problems
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
bb2f2c7fc6 Fix cancel feature for individual file download inside folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e0b5fc1257 Cancel All notification when sync canncelled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
12f95c6b8e Cancel action remove added
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2fd1955bae No need for clear for each worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ec69cbc8fe Fix race condition for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
801e86f555 Add user check for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
0558c34718 Add showNewNotification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b5a57fc55b Fix sync icon for downloads in queue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dbf8ca9394 Add credentials error notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
11a8ec4ec1 Unify download notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
508460d49d Fix potential race condition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1ada24583d Fix context memory leak
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5a5b18bad0 Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8d7aec013f Rename argument name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
0f59254b2b Fix back to back download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5a38769f83 Use same worker for file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
11fa95d2b9 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3ccec8e5fd Add dismissAll notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
db1d58205c Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
742f01259d Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2038c7ce59 Fix file sync icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b2b94ff4cc Fix serializable data limit crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e32d8adbcf Add capability to track multiple download workers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7bfe1ae164 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
09b4cf44b2 Better notification for folder download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
de8e5045bf Fix isDownloading Folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ff891aee9c Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d661dc2001 Fix worker tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c131a1237e Fix cancelAllDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dafec345da Fix isDownloadingFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2da427c04e Add folder download job
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
01d620f051 Simplify worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1c18a3d840 Move notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
cb40293932 Fixes notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
adb1269e0a Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7b8be6b235 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
680f31edef Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
14cb1d436b Use WorkerState for handling download state
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ce463aff0b Implement WorkerState for replacing ServiceConnection
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d166035dda Fix isDownloading, cancel, success notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2b6f96d1e3 Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f756a03147 Fix requestDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
875c509504 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
4e4c3a6dd5 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3b5b4313eb Use BackgroundJobManager for cancel Downloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e3d8e85337 Fix FileDownloaderBinder cancelAllDownloadsForAccount
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
efe6649b69 Fix FileDownloaderBinder functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
60ee1d59ad Fix Code Analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1c2c56fdd4 Fix sync
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f14abd4b8e Remove return
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9b124d402b Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
589f9561b2 Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
919fd6b850 Fix Notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d601998858 Fix createMockTask test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6bd335cf3c Move packages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
414e6a668a Remove Download Service Connections
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e123128d90 Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e1238e3bd1 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
daa882aa20 Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7588dc5430 Implement files download worker constructor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e2b75915e7 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8308f187fa Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
cf09356cf7 Cleanup code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
842ff87c84 Fix download progress
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6fcc35f7de Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
fd3408b9ce Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9f3e61cef3 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2b595910b4 Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8610275362 Remove handler
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f0a845fc3a Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
828c239a97 Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c419604ae5 Remove FileDownloader Service
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
fe11d64fb3 Refactor FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2a00392ff5 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a2afffc667 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f4802b9519 Implement FilesDownloadHelper
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1b8e25b77b Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e392ad3f75 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
Nextcloud bot
61493ee3bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 02:36:05 +00:00
Nextcloud bot
0e975c6b3b
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 02:35:36 +00:00
Tobias Kaminsky
880ad62cf5 Merge remote-tracking branch 'origin/master' into dev 2024-01-12 02:31:15 +01:00
Jonas Mayer
1043070d5f suppress warning
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-11 13:33:24 +01:00
Jonas Mayer
9c7890d797 Make sure notifyDataSetChanged gets directly called after removing file
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-11 12:16:41 +01:00
Alper Öztürk
5ec3f5115a
Merge pull request #12345 from nextcloud/make_sure_upload_is_only_added_once_to_db
Make sure upload is only added once to db
2024-01-11 09:19:23 +01:00
Alper Öztürk
1757edecad
Merge pull request #12337 from nextcloud/11741-auto-upload-does-not-start-automatically-on-3250
Fix auto upload does not start automatically
2024-01-11 09:10:42 +01:00
Nextcloud bot
b7d52861fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 02:36:41 +00:00
Nextcloud bot
1d079a93da
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 02:36:15 +00:00
Tobias Kaminsky
2015f7327a Merge remote-tracking branch 'origin/master' into dev 2024-01-11 02:31:09 +01:00
Jonas Mayer
3d3cd15094 Remove forgotten test function call
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
efe3b55208 Make uploads in tests unique
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
8995fe727e Make code cleaner with linebreak
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
55a689a7c9 reformat code
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
872f36b9a0 remove time test
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
8d6dc25f86 check if upload already exists in db
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Alper Öztürk
fb3694fc04
Merge pull request #12310 from nextcloud/handle-audio-focus
handle audio focus and becoming noisy
2024-01-10 09:51:31 +01:00
Nextcloud bot
e625f45db3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 02:40:08 +00:00
Nextcloud bot
90bd32a7fc
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 02:39:41 +00:00
Tobias Kaminsky
e86bac18ca Merge remote-tracking branch 'origin/master' into dev 2024-01-10 03:35:06 +01:00
parneet-guraya
fb6faa2977
handle audio focus and becoming noisy
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-01-10 02:40:17 +05:30
Jonas Mayer
b6876b0607 Allow null for loadUrl
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-09 11:05:27 +01:00
Nextcloud bot
eccf6c5a7e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 02:40:59 +00:00
Nextcloud bot
cb984d3cea
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 02:40:32 +00:00
Tobias Kaminsky
c0aa6295bb Merge remote-tracking branch 'origin/master' into dev 2024-01-09 02:31:10 +01:00
Jonas Mayer
6c834f47fc reformat code
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
692f8407dc Add ForegroundServiceType if android version allows
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
2fd8bf3f0c Fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
33dd900882 Make getFileChecksum a lot faster
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
07ffe3f46d Add foreground feedback notification for sync process
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Nextcloud bot
82d3029b65
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 07:21:27 +00:00
tobiasKaminsky
62bfd58c04
Transifex fails on renaming strings
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-08 07:11:57 +01:00
Tobias Kaminsky
286bd37174 Merge remote-tracking branch 'origin/master' into dev 2023-12-30 02:31:11 +01:00
Alper Öztürk
76369d4880
Merge pull request #11936 from nextcloud/migrate-to-media3
Migrate to media3 and Immersive mode for video playback
2023-12-29 09:01:05 +01:00
Tobias Kaminsky
a0e5083d3b Merge remote-tracking branch 'origin/master' into dev 2023-12-29 02:31:19 +01:00
alperozturk
17dc3c82a9
Fix button alignment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 13:00:54 +01:00
alperozturk
8d845c8d0f
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 12:55:29 +01:00
alperozturk
1d92784f96
Use binding
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 11:46:53 +01:00
alperozturk
9a746c2521
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 11:38:45 +01:00
parneet-guraya
621f0fd0c6
refactoring
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-27 18:49:15 +05:30
parneet-guraya
1b797af6b3
use scoping function
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:56:04 +05:30
parneet-guraya
e73e3e4b8c
fix lint
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:01 +05:30
parneet-guraya
8177b3a143
remove next & previous buttons
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
80d52f5ef6
remove dependency on internal player layout
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
40bb49c69f
refactor media handling logic
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
8e843ed046
migrate to activity
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
903fc44edb
fix lint @OptIn lint error
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
7143104b6f
set black background for video playback
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
9bafd66f9b
add name to substantially changed files in license header
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:58 +05:30
parneet-guraya
c84a1da6fa
fix warning
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:58 +05:30
parneet-guraya
9f7138b150
remove deprecated fullscreen listener
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
f7b1e0f279
remove method which add margin to the touch area
which used to  make the user open drawer
from the left
(drawer is no longer available from the fragment so it's unusable).

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
d38d31e7b0
remove old code
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
01d5ff244a
add immersive mode/fullscreen functionality for video playback
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
89459865bc
set display cutout mode to never
so to never render content in cutout area,
it is considered best practice for immersive mode,
(used in PreviewMediaFragment for vidoe files).

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
b65ef92a19
set fitsSystemWindows attribute false.
It avoid making padding behind the system bars.

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
67465459c7
remove going fullscreen using dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:55 +05:30
parneet-guraya
33e3053edc
run migration script
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:55 +05:30
Tobias Kaminsky
f68ef163ad Merge remote-tracking branch 'origin/master' into dev 2023-12-23 03:36:32 +01:00
Nextcloud bot
a59463f820
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 02:41:42 +00:00
Tobias Kaminsky
05d37164ff Merge remote-tracking branch 'origin/master' into dev 2023-12-22 03:36:07 +01:00
Alper Öztürk
5fb9115997
Merge pull request #12303 from nextcloud/refactor/use-work-manager-for-upload
Use Only Work Manager For File Upload
2023-12-21 19:14:24 +01:00
Jonas Mayer
cd3bdde09b show info toast only when needed
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 17:13:58 +01:00
Jonas Mayer
8235153c34 remove unnecessary log message
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 17:13:58 +01:00
parneet-guraya
0001f492b5
handle restoring fab icon from drawer view
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-21 18:43:08 +05:30
alperozturk
f1bd5f1b90 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
1c569fbd73 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
c0e694537d Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
c43583d4d3 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
e7190b522e Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
535446192f Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
f6e1b57b2a Reduce spotbugs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
2ac0267bd9 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
1108df7104 Use only work manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
Jonas Mayer
e51cdf6658 fix spotless error
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Jonas Mayer
979a13cbb6 Fix failing tests, fix typo
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Jonas Mayer
bbecd6e2bc Fix unused resource
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Jonas Mayer
885aa703e8 Fix spotless issues
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Jonas Mayer
5cc6322725 Add logic for logging start and end of important workers
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Jonas Mayer
3f79f149c8 Add space for background worker execution info in ETM Activity
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 13:18:14 +01:00
Tobias Kaminsky
11fc9875d7 Merge remote-tracking branch 'origin/master' into dev 2023-12-21 02:31:07 +01:00
alperozturk
d3ab706086
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:39:48 +01:00
alperozturk
2b05662a89
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:37:57 +01:00
alperozturk
5028f91f4c
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:32:08 +01:00
alperozturk
28121d982a
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:01:23 +01:00
alperozturk
d0ff183f77
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:01:02 +01:00
alperozturk
6b9f637259
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 16:00:20 +01:00
alperozturk
c8b04e659f
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:59:12 +01:00
alperozturk
e0cd421734
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:46:00 +01:00
alperozturk
897d205c2d
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:44 +01:00
alperozturk
55f5d9e884
Add checkbox top left corner
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:39 +01:00
alperozturk
d2118a8e72
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:38 +01:00
alperozturk
cbd6fa0e43
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:17 +01:00
alperozturk
8f0bfdec5d
Add filename for media files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:12 +01:00
alperozturk
63ee2cc009
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:11 +01:00
alperozturk
d3de88addb
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:40:03 +01:00
alperozturk
6e3de92ab2
Fix FileFeaturesLayout visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:35:05 +01:00
alperozturk
7d0db80f4d
Fix FileFeaturesLayout visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:23:14 +01:00
alperozturk
c4aca7c7ce
fix import
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:34 +01:00
alperozturk
8a5ef54e79
Fix share icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:34 +01:00
alperozturk
aa7bab0fae
Sync with master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:34 +01:00
alperozturk
e176059406
Change selectedItemBackgroundColorId for dark mode
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
76bfefb491
Add checkbox top left corner
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
ee520598b5
Hide more button when multi select enabled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
27b0694671
Align grid item in center
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
118a62232d
Add filename for media files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
fa8a055152
Rename, use resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
a45268f398
Simplify code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:33 +01:00
alperozturk
836c0fd3b5
Add margin for grid layout
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:32 +01:00
alperozturk
1adc326d4b
Add corner radius to item layout
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:32 +01:00
alperozturk
6c1b29010e
Cleanup bind function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:32 +01:00
alperozturk
447349cb40
Rebase fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-20 15:11:32 +01:00
ZetaTom
e6a677eede
Fix suggestion
- see cb329b1e37
- suggestion missed one line

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-12-20 14:49:40 +01:00
Tobias Kaminsky
ea0557eda7 Merge remote-tracking branch 'origin/master' into dev 2023-12-20 03:36:28 +01:00
Nextcloud bot
54077fce38
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 02:34:23 +00:00
Nextcloud bot
15a721bfcb
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 02:33:56 +00:00
Tobias Kaminsky
f430bf18c5
Merge pull request #12287 from nextcloud/refactor/remove-deprecated-argument-passing
Replace Deprecated Argument Passing
2023-12-19 07:59:38 +01:00
Tobias Kaminsky
cad16bdf9a Merge remote-tracking branch 'origin/master' into dev 2023-12-19 03:36:12 +01:00
Nextcloud bot
b653711be2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 02:35:36 +00:00
Nextcloud bot
d6685468eb
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 02:35:10 +00:00
Alper Öztürk
224c2e64ea Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
I tested. Looks like not needed.

Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:13 +00:00
Alper Öztürk
8c43463df0 Update app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:13 +00:00
Alper Öztürk
9874673f74 Update app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:13 +00:00
Alper Öztürk
cb329b1e37 Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
Alper Öztürk
6718a36933 Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
Alper Öztürk
61251b650e Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
Alper Öztürk
5ff5d60db1 Update app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
Alper Öztürk
ea013b0cb3 Update app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
Alper Öztürk
b980f552c8 Update app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2023-12-18 14:47:12 +00:00
alperozturk
e8ff0380f0 Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
4483ca16db Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
fae5f69154 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
03114c1863 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
5aeac16efd Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
da6477fd4d Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
e9e425d879 Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
b37f00e24d Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
1973a20710 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
32fd626f77 Fix merge conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
1b399b2b9c Fix merge conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
10c564dc86 Reduce dodgy code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
ec3be74a37 Reduce dodgy codes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
d01991e95d Replace deprecated usages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
0ba2a6881a Replace deprecated usages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
868da5bf7c Replace deprecated usages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
Unpublished
8a87948cf7 Use try-with-resources for Cursor in getUploadByRemotePath
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>
2023-12-18 10:49:28 +01:00
Alper Öztürk
91a689aeb3
Merge pull request #12290 from nextcloud/bugfix/choose-remote-folder-in-auto-upload-has-wrong-buttons
Bugfix Choose Remote Folder In Auto Upload Has Wrong Buttons
2023-12-18 09:55:27 +01:00
Alper Öztürk
32bad4084b
Merge pull request #12298 from nextcloud/restore-fab
restore fab icon when going back
2023-12-18 09:07:41 +01:00
Nextcloud bot
b782d03fdd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 02:35:26 +00:00
Nextcloud bot
082b77f4bc
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 02:34:57 +00:00
Nextcloud bot
1ff04319f7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 02:35:00 +00:00
Nextcloud bot
8a50c0f074
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 02:34:33 +00:00
Nextcloud bot
0a111ad06c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 02:35:16 +00:00
Nextcloud bot
4091b7ac57
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 02:34:50 +00:00
Tobias Kaminsky
62841cf0d3 Merge remote-tracking branch 'origin/master' into dev 2023-12-16 02:31:08 +01:00
parneet-guraya
9f1c90cce0
restore fab icon when going back
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-15 21:32:42 +05:30
alperozturk
2ae17d1a6b
Reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-15 10:36:06 +01:00
alperozturk
0e956cc30b
Change acccess modifiers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-15 10:36:06 +01:00
alperozturk
af3e88fb01
Add screenshot tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-15 10:36:06 +01:00
alperozturk
d3ab31ab70
Fix Button Alignment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-15 10:36:06 +01:00
alperozturk
fd39d7c2d7
Add choose button for Folder Picker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-15 10:36:06 +01:00
Andy Scherzinger
ddb15ce594
Merge pull request #12286 from nextcloud/rakekniven-patch-1
fix(i18n): Fixed typo and changed grammar
2023-12-15 09:39:44 +01:00
Nextcloud bot
1125fae4d3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 02:34:41 +00:00