Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 6.1.7 #3221

Merged
merged 1,563 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1563 commits
Select commit Hold shift + click to select a range
d5d51b5
Fix(l10n): Update translations from Transifex
nextcloud-bot Sep 29, 2024
377bad4
improvements (#3080)
marinofaggiana Sep 29, 2024
266bed8
fix
marinofaggiana Sep 29, 2024
f01cefc
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Sep 29, 2024
b3a3431
fix
marinofaggiana Sep 29, 2024
7911e06
Fix(l10n): Update translations from Transifex
nextcloud-bot Sep 30, 2024
5798532
layout fix
marinofaggiana Sep 30, 2024
dce3a39
Layout (#3083)
marinofaggiana Sep 30, 2024
4409ad3
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 1, 2024
9ea9f05
Improvements (#3084)
marinofaggiana Oct 1, 2024
548a44d
build 22
marinofaggiana Oct 1, 2024
e560329
fix
marinofaggiana Oct 1, 2024
d17cc73
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 2, 2024
eaff576
revert
marinofaggiana Oct 2, 2024
a379b99
added getCacheMetadata
marinofaggiana Oct 2, 2024
eddb038
code improvements
marinofaggiana Oct 2, 2024
0f044a2
build 23
marinofaggiana Oct 2, 2024
6b97d2c
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 3, 2024
bcdb595
Offline rename (#3086)
marinofaggiana Oct 3, 2024
5af7ca7
UI improvements (#3088)
marinofaggiana Oct 3, 2024
9dcfcca
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 4, 2024
f3e89cc
cleaning old code
marinofaggiana Oct 4, 2024
9cdebc7
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 5, 2024
04d0836
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 6, 2024
eeca88b
Layout (#3090)
marinofaggiana Oct 6, 2024
b492e06
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 7, 2024
3c1b092
Improvements reload (#3092)
marinofaggiana Oct 7, 2024
1c28efe
Add option to keep screen on while transferring files (#3062)
mpivchev Oct 7, 2024
c095c37
WIP (#3093)
mpivchev Oct 7, 2024
dea7328
Build 24
marinofaggiana Oct 7, 2024
228fa35
fix theming color
marinofaggiana Oct 7, 2024
f972587
Varie bug fix (#3095)
marinofaggiana Oct 7, 2024
9f6ad72
name changed
marinofaggiana Oct 7, 2024
346cc44
cahnge name func
marinofaggiana Oct 7, 2024
d093ebf
cleaning
marinofaggiana Oct 7, 2024
9f623c8
fix delete
marinofaggiana Oct 7, 2024
8375286
WIO (#3096)
mpivchev Oct 7, 2024
426e5ae
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 8, 2024
8f1dd81
background
marinofaggiana Oct 8, 2024
cfab5ae
URLCache.shared.removeAllCachedResponses
marinofaggiana Oct 8, 2024
5ce51f5
build 25
marinofaggiana Oct 8, 2024
fd23471
removeAllCachedResponses
marinofaggiana Oct 8, 2024
0ed7ccd
Add optional checks for space/periods when renaming, depending on ser…
mpivchev Oct 8, 2024
ee3e51c
3094 offline crud copy move favorite (#3098)
marinofaggiana Oct 8, 2024
6fd30b5
cleaning code
marinofaggiana Oct 8, 2024
51db0dc
fix
marinofaggiana Oct 8, 2024
f996fde
build 26
marinofaggiana Oct 8, 2024
b5ed5fc
lint
marinofaggiana Oct 8, 2024
3dee62e
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 9, 2024
d387483
Bugfix (#3100)
marinofaggiana Oct 9, 2024
917b332
improvements
marinofaggiana Oct 9, 2024
2a8be10
fix
marinofaggiana Oct 9, 2024
7a23bd1
add ctrl
marinofaggiana Oct 9, 2024
839ca5e
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 10, 2024
95e5ae1
3094 offline crud copy move (#3104)
marinofaggiana Oct 10, 2024
3e006df
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 11, 2024
1a16e3f
notificationCenterReloadDataSource added clearDataSource
marinofaggiana Oct 11, 2024
9bfc733
cleaning
marinofaggiana Oct 11, 2024
d8fb1d8
new build
marinofaggiana Oct 11, 2024
5ce5310
fix 28
marinofaggiana Oct 11, 2024
b6abdee
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 12, 2024
4dbf955
fix(l18n): Fixed typo (#3106)
rakekniven Oct 12, 2024
13e261c
cleaning
marinofaggiana Oct 12, 2024
4affd4e
new build
marinofaggiana Oct 12, 2024
434ef4d
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 13, 2024
4ca2b74
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 14, 2024
64b22e8
Response (#3108)
marinofaggiana Oct 14, 2024
b675aee
Response data changed (#3109)
marinofaggiana Oct 14, 2024
af5480a
Build 30
marinofaggiana Oct 14, 2024
0947e90
fix
marinofaggiana Oct 14, 2024
ad13da9
fix
marinofaggiana Oct 14, 2024
53fa4f8
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 15, 2024
456f8fc
fix favorite
marinofaggiana Oct 15, 2024
49d0e7a
fix crashlog.crash
marinofaggiana Oct 15, 2024
69d203d
set LSMinimumSystemVersion
marinofaggiana Oct 15, 2024
462c40e
Updated sessionDate
marinofaggiana Oct 15, 2024
6014658
Improved code
marinofaggiana Oct 15, 2024
8cff7ca
Build 31
marinofaggiana Oct 15, 2024
cf34dea
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 16, 2024
6af8708
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 17, 2024
5f66d98
test
marinofaggiana Oct 17, 2024
bf1af8a
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Oct 17, 2024
8fac8ab
build 32
marinofaggiana Oct 17, 2024
792af36
Build 33
marinofaggiana Oct 17, 2024
17adff6
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 18, 2024
debff6e
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 19, 2024
af086ad
clean
marinofaggiana Oct 19, 2024
9db3cb5
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Oct 19, 2024
e63858a
disable keep screen awake (conflict with VLC)
marinofaggiana Oct 19, 2024
beb339c
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 20, 2024
e48d7b5
build 34
marinofaggiana Oct 20, 2024
25e6621
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Oct 20, 2024
26a44cf
update nextcloudKit
marinofaggiana Oct 20, 2024
a047a13
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 21, 2024
bd94633
Nextcloud x e2 ee signature (#3116)
marinofaggiana Oct 21, 2024
07a937e
NCScan added check array
marinofaggiana Oct 21, 2024
a4a8404
build 35
marinofaggiana Oct 21, 2024
b6f6126
fixed showSourceCode for Brand
marinofaggiana Oct 21, 2024
dc721df
Added internal option disable_source_code_in_settings
marinofaggiana Oct 21, 2024
b6f6c0c
RESPONSE ERROR - CENTRALIZED
marinofaggiana Oct 21, 2024
4e32cc1
comment
marinofaggiana Oct 21, 2024
e84cae9
fix
marinofaggiana Oct 21, 2024
b0fce75
Fix scrolling bug (#3117)
mpivchev Oct 21, 2024
dbe8e8e
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 22, 2024
1a5a281
Update localization
marinofaggiana Oct 22, 2024
d99c1e7
Nextcloudkit 5.0
marinofaggiana Oct 22, 2024
a7532a2
Fix polling timer not stopping
mpivchev Oct 22, 2024
900b187
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 23, 2024
c277bef
Test: In background max 2 upload otherwise iOS Termination Reason: RU…
marinofaggiana Oct 23, 2024
4e55fd3
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 24, 2024
2f93550
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Oct 24, 2024
4adbbbc
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 25, 2024
116f5e3
Quey metadata status hide in view (#3126)
marinofaggiana Oct 25, 2024
48e4e89
V 6.0.1
marinofaggiana Oct 25, 2024
959e715
added timing
marinofaggiana Oct 25, 2024
6d2ef8b
DB normalized
marinofaggiana Oct 25, 2024
901296f
cleaning code
marinofaggiana Oct 25, 2024
61a6ebe
Improvements (#3127)
marinofaggiana Oct 25, 2024
853171c
Ignore screen awake when media playing (#3128)
mpivchev Oct 25, 2024
a2a8e86
V 6.1.0
marinofaggiana Oct 25, 2024
0f626fa
add option to sync favorites only (#3105)
sp00ktober Oct 25, 2024
d2d084d
lint
marinofaggiana Oct 25, 2024
e20b799
code improved
marinofaggiana Oct 25, 2024
ff5ef12
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 26, 2024
1fd097b
3097 make copy with copy button within same folder (#3130)
marinofaggiana Oct 26, 2024
a0c85a0
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 27, 2024
14c8391
https://github.com/nextcloud/ios/issues/3131
marinofaggiana Oct 27, 2024
11a47e4
https://github.com/nextcloud/ios/issues/3129
marinofaggiana Oct 27, 2024
c5dd9e8
fix reload data source
marinofaggiana Oct 27, 2024
61e821b
build 1
marinofaggiana Oct 27, 2024
5627e3c
Select create folder (#3133)
marinofaggiana Oct 28, 2024
9127141
build 2
marinofaggiana Oct 28, 2024
0bc3d3f
Autoupload favorite (#3135)
marinofaggiana Oct 28, 2024
e395dfb
3134 bug unable to share a document in offline mode (#3136)
marinofaggiana Oct 28, 2024
7d96c24
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 29, 2024
b81a386
build 4 - closed
marinofaggiana Oct 29, 2024
dbb7772
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Oct 29, 2024
d227898
fix (#3141)
marinofaggiana Oct 29, 2024
e283fe2
Version 6.1.1
marinofaggiana Oct 29, 2024
97e3003
fix (#3142)
marinofaggiana Oct 29, 2024
1060f80
fix e2ee share ext
marinofaggiana Oct 29, 2024
2cf5bf1
fix E2EE create preview (#3143)
marinofaggiana Oct 29, 2024
ea4affc
GUI fix - left menu (refresh)
marinofaggiana Oct 29, 2024
f0e8a9b
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 30, 2024
a32f2ef
fix search
marinofaggiana Oct 30, 2024
93f292f
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Oct 30, 2024
3c7db5c
Fix(l10n): Update translations from Transifex
nextcloud-bot Oct 31, 2024
7b869f0
build 1
marinofaggiana Oct 31, 2024
f7a2338
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Oct 31, 2024
bb45ba6
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 1, 2024
32609a7
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 2, 2024
a59c94a
fix (#3152)
marinofaggiana Nov 2, 2024
3a94b4d
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Nov 2, 2024
0fe8774
fix copy
marinofaggiana Nov 2, 2024
4d46188
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Nov 2, 2024
b791cd9
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 3, 2024
4077aa6
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 4, 2024
7432108
https://github.com/nextcloud/ios/issues/3147 (#3158)
marinofaggiana Nov 4, 2024
f51d7f1
File provider extension offline (#3159)
marinofaggiana Nov 4, 2024
5ca90c7
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Nov 4, 2024
6e67bbd
Auto rename (#3118)
mpivchev Nov 4, 2024
8e86f12
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 5, 2024
f7e5bec
prj
marinofaggiana Nov 5, 2024
22a30cd
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Nov 5, 2024
d71fd32
fix select all (#3165)
marinofaggiana Nov 5, 2024
0e5c477
Warn when changing file extension / add "." in front (hidden file) (#…
mpivchev Nov 5, 2024
439b461
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 6, 2024
f3e01b7
new build
marinofaggiana Nov 6, 2024
b23dd86
Tests (#3119)
marinofaggiana Nov 6, 2024
4cf2e4f
Update README.md (#3171)
mpivchev Nov 6, 2024
542f6c3
fix (#3173)
marinofaggiana Nov 6, 2024
aeb97b0
Fix assistant not showing (#3172)
mpivchev Nov 6, 2024
296d2ec
new version (#3174)
marinofaggiana Nov 6, 2024
d81ba4a
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 7, 2024
dce8a8c
rollback (#3176)
marinofaggiana Nov 7, 2024
d641dd5
auth (#3177)
marinofaggiana Nov 7, 2024
4b2f5be
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 8, 2024
4213183
Gui fix improvements (#3178)
marinofaggiana Nov 8, 2024
23c5cd3
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 9, 2024
e79bc6f
close build 1
marinofaggiana Nov 9, 2024
bbe745e
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Nov 9, 2024
0246a24
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 11, 2024
9b5a523
fix - rollback (#3181)
marinofaggiana Nov 11, 2024
39d94d4
Fix black screen (#3182)
marinofaggiana Nov 11, 2024
b8983f3
Build 1 - close
marinofaggiana Nov 11, 2024
4ca62ad
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Nov 11, 2024
6bfd6f0
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 12, 2024
d75422f
Fix upload conflict
mpivchev Nov 12, 2024
2ecd27a
Rollback string
mpivchev Nov 12, 2024
796de4b
localizable (#3188)
marinofaggiana Nov 13, 2024
fb88fff
fix (#3190)
marinofaggiana Nov 13, 2024
de9338d
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 14, 2024
982a54e
partial apply for closure #1 in NCManageDatabase.addMetadata(_:) (#3193)
marinofaggiana Nov 14, 2024
37d28f2
v 6.1.7 (#3194)
marinofaggiana Nov 14, 2024
1c8c76f
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 15, 2024
3654023
Db improvements (#3195)
marinofaggiana Nov 15, 2024
83377ad
icon fix
marinofaggiana Nov 15, 2024
23d2327
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 16, 2024
5c61597
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 17, 2024
c151500
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 18, 2024
e53c645
https://github.com/nextcloud/ios/issues/3197
marinofaggiana Nov 18, 2024
f02efb0
https://github.com/nextcloud/ios/issues/3198
marinofaggiana Nov 18, 2024
2465879
fix
marinofaggiana Nov 18, 2024
003e7aa
https://github.com/nextcloud/ios/issues/3191
marinofaggiana Nov 18, 2024
567888d
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 19, 2024
584d154
fix (#3199)
marinofaggiana Nov 19, 2024
2e798a0
build 2
marinofaggiana Nov 19, 2024
a12b490
Remove timer
mpivchev Nov 19, 2024
1961250
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
mpivchev Nov 19, 2024
fd6dd98
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 20, 2024
0b7e015
Photo view enhanced (#3202)
marinofaggiana Nov 20, 2024
516ce5f
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 21, 2024
6c816ae
build 3
marinofaggiana Nov 21, 2024
2b87a21
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 22, 2024
067693e
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 23, 2024
8e0c11c
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 24, 2024
8c90376
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 25, 2024
cbc416c
2x download (#3205)
marinofaggiana Nov 25, 2024
42d5adc
Push Notification (#3207)
marinofaggiana Nov 25, 2024
22f2d61
Build 4 for TestFlight
marinofaggiana Nov 25, 2024
1604c98
UI display issue on account info (#3209)
marinofaggiana Nov 26, 2024
c65f610
Improved cache image (#3210)
marinofaggiana Nov 26, 2024
858f3db
#2845: Web Fallback for Unified Search Results. (#3183)
i2h3 Nov 27, 2024
0c0caea
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 28, 2024
44c9413
build 6
marinofaggiana Nov 28, 2024
57a65b5
Resolved some compiler warnings to reduce clutter in issue navigator.
i2h3 Nov 29, 2024
1a2dd16
Improved right-to-left support in files list layout.
i2h3 Nov 29, 2024
4d72cbd
Improved right-to-left support in files grid layout.
i2h3 Nov 29, 2024
0c15599
Enforce lock option for MDM (#3196)
mpivchev Nov 29, 2024
6e2b567
Fix(l10n): Update translations from Transifex
nextcloud-bot Nov 30, 2024
4cd927a
Merge pull request #3215 from nextcloud/rtl-improvements
i2h3 Nov 30, 2024
c572835
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 1, 2024
995914d
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 2, 2024
b5ed1dc
Fix crash ? (#3217)
marinofaggiana Dec 2, 2024
729c962
Revert strings
mpivchev Dec 2, 2024
fd91ece
Build 8
marinofaggiana Dec 2, 2024
a0e54a8
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 2, 2024
389e004
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 2, 2024
3ccf96d
added ctrl
marinofaggiana Dec 2, 2024
61ecbe9
Merge branch 'develop' of https://github.com/nextcloud/ios into develop
marinofaggiana Dec 2, 2024
3ee0cd6
Reinstated Slovenian localization.
i2h3 Dec 2, 2024
8a8cd70
Reinstated Croatian localization.
i2h3 Dec 2, 2024
2ef7074
Reinstated Lao localization.
i2h3 Dec 2, 2024
c81e9da
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 3, 2024
a2486d1
Merge pull request #3218 from nextcloud/additional-translations
i2h3 Dec 3, 2024
dd6aed9
Improved searchMediaUI (#3219)
marinofaggiana Dec 3, 2024
1e86ec8
Improv tamp (#3220)
marinofaggiana Dec 3, 2024
2f22637
Fix(l10n): Update translations from Transifex
nextcloud-bot Dec 4, 2024
10161bb
close min version.
marinofaggiana Dec 4, 2024
1917136
Merge remote-tracking branch 'origin/master' into develop
marinofaggiana Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Brand/Database.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ import Foundation
// Database Realm
//
let databaseName = "nextcloud.realm"
let databaseSchemaVersion: UInt64 = 366
let databaseSchemaVersion: UInt64 = 367
5 changes: 0 additions & 5 deletions Brand/Intro/NCIntroCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,4 @@ class NCIntroCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var imageView: UIImageView!

var indexPath = IndexPath()

override func awakeFromNib() {
super.awakeFromNib()
}

}
7 changes: 5 additions & 2 deletions Brand/NCBrand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ let userAgent: String = {
var disable_show_more_nextcloud_apps_in_settings: Bool = false
var doNotAskPasscodeAtStartup: Bool = false
var disable_source_code_in_settings: Bool = false
var enforce_passcode_lock = false

// (name: "Name 1", url: "https://cloud.nextcloud.com"),(name: "Name 2", url: "https://cloud.nextcloud.com")
var enforce_servers: [(name: String, url: String)] = []

// Internal option behaviour
var cleanUpDay: Int = 0 // Set default "Delete, in the cache, all files older than" possible days value are: 0, 1, 7, 30, 90, 180, 365
var cleanUpDay: Int = 0 // Set default "Delete all cached files older than" possible days value are: 0, 1, 7, 30, 90, 180, 365

// Max download/upload concurrent
let maxConcurrentOperationDownload: Int = 5
Expand All @@ -95,7 +96,6 @@ let userAgent: String = {
override init() {
// wrapper AppConfig
if let configurationManaged = UserDefaults.standard.dictionary(forKey: "com.apple.configuration.managed"), use_AppConfig {

if let str = configurationManaged[NCGlobal.shared.configuration_brand] as? String {
brand = str
}
Expand All @@ -117,6 +117,9 @@ let userAgent: String = {
if let str = configurationManaged[NCGlobal.shared.configuration_disable_openin_file] as? String {
disable_openin_file = (str as NSString).boolValue
}
if let str = configurationManaged[NCGlobal.shared.configuration_enforce_passcode_lock] as? String {
enforce_passcode_lock = (str as NSString).boolValue
}
}
}

Expand Down
53 changes: 33 additions & 20 deletions Nextcloud.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions Notification Service Extension/NotificationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ import UIKit
import UserNotifications

class NotificationService: UNNotificationServiceExtension {

var contentHandler: ((UNNotificationContent) -> Void)?
var bestAttemptContent: UNMutableNotificationContent?
var request: UNNotificationRequest?

override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
self.contentHandler = contentHandler
self.request = request
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)

if let bestAttemptContent = bestAttemptContent {
Expand All @@ -37,11 +38,19 @@ class NotificationService: UNNotificationServiceExtension {
do {
if let message = bestAttemptContent.userInfo["subject"] as? String {
for tableAccount in NCManageDatabase.shared.getAllTableAccount() {
guard let privateKey = NCKeychain().getPushNotificationPrivateKey(account: tableAccount.account),
let decryptedMessage = NCPushNotificationEncryption.shared().decryptPushNotification(message, withDevicePrivateKey: privateKey),
let data = decryptedMessage.data(using: .utf8) else {
guard let privateKey = NCKeychain().getPushNotificationPrivateKey(account: tableAccount.account) else {
bestAttemptContent.body = "Error retrieving private key for \(tableAccount.account)"
continue
}
guard let decryptedMessage = NCPushNotificationEncryption.shared().decryptPushNotification(message, withDevicePrivateKey: privateKey) else {
bestAttemptContent.body = "Error decryption for \(tableAccount.account)"
continue
}
guard let data = decryptedMessage.data(using: .utf8) else {
bestAttemptContent.body = "Error decryption data utf8 for \(tableAccount.account)"
continue
}

if var json = try JSONSerialization.jsonObject(with: data) as? [String: AnyObject],
let subject = json["subject"] as? String {
bestAttemptContent.body = subject
Expand All @@ -50,7 +59,10 @@ class NotificationService: UNNotificationServiceExtension {
pref.set(json, forKey: "NOTIFICATION_DATA")
pref.synchronize()
}
} else {
bestAttemptContent.body = "Error JSON Serialization for \(tableAccount.account)"
}
break
}
}
} catch let error as NSError {
Expand All @@ -66,9 +78,8 @@ class NotificationService: UNNotificationServiceExtension {
// Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
if let contentHandler = contentHandler, let bestAttemptContent = bestAttemptContent {
bestAttemptContent.title = ""
bestAttemptContent.body = "Nextcloud notification"
bestAttemptContent.body = "Nextcloud Notification Time Will Expire"
contentHandler(bestAttemptContent)
}
}

}
1 change: 1 addition & 0 deletions Share/NCShareExtension+NCAccountRequestDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ extension NCShareExtension: NCCreateFormUploadConflictDelegate {
}

self.uploadMetadata.append(contentsOf: metadatas)
uploadStarted = true
self.upload()
}
}
Expand Down
2 changes: 1 addition & 1 deletion Share/NCShareExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ extension NCShareExtension {
metadataForUpload.size = utilityFileSystem.getFileSize(filePath: toPath)
metadataForUpload.status = NCGlobal.shared.metadataStatusWaitUpload
metadataForUpload.sessionDate = Date()
if self.database.getMetadataConflict(account: session.account, serverUrl: serverUrl, fileNameView: fileName) != nil {
if self.database.getMetadataConflict(account: session.account, serverUrl: serverUrl, fileNameView: fileName, nativeFormat: metadataForUpload.nativeFormat) != nil {
conflicts.append(metadataForUpload)
} else {
uploadMetadata.append(metadataForUpload)
Expand Down
2 changes: 1 addition & 1 deletion Widget/Dashboard/DashboardData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func getDashboardDataEntry(configuration: DashboardIntent?, isPreview: Bool, dis
if FileManager().fileExists(atPath: fileNamePath), let image = UIImage(contentsOfFile: fileNamePath) {
icon = image
} else {
let (_, data, error) = await NCNetworking.shared.downloadPreview(url: url, account: activeTableAccount.account)
let (_, _, error) = await NCNetworking.shared.downloadPreview(url: url, account: activeTableAccount.account)
if error == .success,
let data = responseData?.data,
let image = convertDataToImage(data: data, size: NCGlobal.shared.size256, fileNameToWrite: fileName) {
Expand Down
18 changes: 18 additions & 0 deletions Widget/Intent/hr.lproj/Intent.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"13zjVT" = "Account";

"CAIVXf" = "Applications";

"DN8Bxl" = "Account";

"LIw8E9" = "Widget";

"NO1rJU" = "Dashboard";

"V3exc2" = "Account";

"VfbA9C" = "Account";

"ZgvlYN" = "Dashboard Widget";

"tAlZ1R" = "Accounts";

18 changes: 18 additions & 0 deletions Widget/Intent/lo.lproj/Intent.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"13zjVT" = "Account";

"CAIVXf" = "Applications";

"DN8Bxl" = "Account";

"LIw8E9" = "Widget";

"NO1rJU" = "Dashboard";

"V3exc2" = "Account";

"VfbA9C" = "Account";

"ZgvlYN" = "Dashboard Widget";

"tAlZ1R" = "Accounts";

18 changes: 18 additions & 0 deletions Widget/Intent/sl.lproj/Intent.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"13zjVT" = "Account";

"CAIVXf" = "Applications";

"DN8Bxl" = "Account";

"LIw8E9" = "Widget";

"NO1rJU" = "Dashboard";

"V3exc2" = "Account";

"VfbA9C" = "Account";

"ZgvlYN" = "Dashboard Widget";

"tAlZ1R" = "Accounts";

50 changes: 23 additions & 27 deletions iOSClient/Account Settings/NCAccountSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,31 +47,28 @@ struct NCAccountSettingsView: View {
///
/// User
VStack {
ZStack {
Image(uiImage: avatar)
.resizable()
.scaledToFit()
.frame(width: UIScreen.main.bounds.width, height: 75)
if let statusImage = status.statusImage {
ZStack {
Circle()
.fill(.white)
.frame(width: 30, height: 30)
Image(uiImage: statusImage)
.resizable()
.scaledToFit()
.frame(width: 30, height: 30)
}
.offset(x: 30, y: 30)
Image(uiImage: avatar)
.resizable()
.scaledToFit()
.frame(width: UIScreen.main.bounds.width, height: 75)
if let statusImage = status.statusImage {
ZStack {
Circle()
.fill(.white)
.frame(width: 30, height: 30)
Image(uiImage: statusImage)
.resizable()
.scaledToFit()
.frame(width: 30, height: 30)
}
.offset(x: 30, y: -30)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
Text(model.getUserName())
.font(.system(size: 16))
.font(.subheadline)
Spacer()
.frame(height: 10)
Text(status.statusMessage)
.font(.system(size: 10))
.font(.caption)
Spacer()
.frame(height: 20)
///
Expand Down Expand Up @@ -124,7 +121,7 @@ struct NCAccountSettingsView: View {
}
}
}
.font(.system(size: 14))
.font(.subheadline)
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
.frame(height: model.getTableViewHeight())
.animation(.easeIn(duration: 0.3), value: animation)
Expand All @@ -137,19 +134,18 @@ struct NCAccountSettingsView: View {
VStack {
HStack {
Text(NSLocalizedString("_alias_", comment: "") + ":")
.font(.system(size: 17))
.fontWeight(.medium)
Spacer()
TextField(NSLocalizedString("_alias_placeholder_", comment: ""), text: $model.alias)
.font(.system(size: 16))
.font(.callout)
.multilineTextAlignment(.trailing)
.onChange(of: model.alias) { newValue in
model.setAlias(newValue)
}
}
Text(NSLocalizedString("_alias_footer_", comment: ""))
.frame(maxWidth: .infinity, alignment: .leading)
.font(.system(size: 12))
.font(.caption)
.lineLimit(2)
.foregroundStyle(Color(UIColor.lightGray))
}
Expand All @@ -172,7 +168,7 @@ struct NCAccountSettingsView: View {
.foregroundStyle(Color(NCBrandColor.shared.textColor))
.padding(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 20))
}
.font(.system(size: 14))
.font(.subheadline)
})
.sheet(isPresented: $showUserStatus) {
if let account = model.tblAccount?.account {
Expand Down Expand Up @@ -200,7 +196,7 @@ struct NCAccountSettingsView: View {
.foregroundStyle(Color(NCBrandColor.shared.textColor))
.padding(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 20))
}
.font(.system(size: 14))
.font(.subheadline)
})
.sheet(isPresented: $showServerCertificate) {
if let url = URL(string: model.tblAccount?.urlBase), let host = url.host {
Expand All @@ -225,7 +221,7 @@ struct NCAccountSettingsView: View {
.foregroundStyle(Color(NCBrandColor.shared.textColor))
.padding(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 20))
}
.font(.system(size: 14))
.font(.subheadline)
})
.sheet(isPresented: $showPushCertificate) {
if let url = URL(string: NCBrandOptions.shared.pushNotificationServerProxy), let host = url.host {
Expand Down Expand Up @@ -253,7 +249,7 @@ struct NCAccountSettingsView: View {
.foregroundStyle(.red)
.padding(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 20))
}
.font(.system(size: 14))
.font(.callout)
})
.alert(NSLocalizedString("_want_delete_account_", comment: ""), isPresented: $showDeleteAccountAlert) {
Button(NSLocalizedString("_remove_local_account_", comment: ""), role: .destructive) {
Expand Down
4 changes: 0 additions & 4 deletions iOSClient/Activity/NCActivityTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ class NCActivityCollectionViewCell: UICollectionViewCell {

var fileId = ""
var indexPath = IndexPath()

override func awakeFromNib() {
super.awakeFromNib()
}
}

class NCActivityTableViewCell: UITableViewCell, NCCellProtocol {
Expand Down
49 changes: 27 additions & 22 deletions iOSClient/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
self.handleProcessingTask(task)
}

if NCBrandOptions.shared.enforce_passcode_lock {
NCKeychain().requestPasscodeAtStart = true
}

/// Activation singleton
_ = NCActionCenter.shared
_ = NCNetworkingProcess.shared
Expand Down Expand Up @@ -275,35 +279,36 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
}

func nextcloudPushNotificationAction(data: [String: AnyObject]) {
guard let data = NCApplicationHandle().nextcloudPushNotificationAction(data: data) else { return }
var findAccount: String?

if let accountPush = data["account"] as? String {
for tableAccount in NCManageDatabase.shared.getAllTableAccount() {
if tableAccount.account == accountPush {
for controller in SceneManager.shared.getControllers() {
if controller.account == accountPush {
NCAccount().changeAccount(tableAccount.account, userProfile: nil, controller: controller) {
findAccount = tableAccount.account
}
}
}
}
}
if let account = findAccount, let viewController = UIStoryboard(name: "NCNotification", bundle: nil).instantiateInitialViewController() as? NCNotification {
guard let data = NCApplicationHandle().nextcloudPushNotificationAction(data: data),
let account = data["account"] as? String
else {
return
}

func openNotification(controller: NCMainTabBarController) {
if let viewController = UIStoryboard(name: "NCNotification", bundle: nil).instantiateInitialViewController() as? NCNotification {
viewController.session = NCSession.shared.getSession(account: account)
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
let navigationController = UINavigationController(rootViewController: viewController)
navigationController.modalPresentationStyle = .fullScreen
UIApplication.shared.firstWindow?.rootViewController?.present(navigationController, animated: true)
controller.present(navigationController, animated: true)
}
} else {
let message = NSLocalizedString("_the_account_", comment: "") + " " + accountPush + " " + NSLocalizedString("_does_not_exist_", comment: "")
let alertController = UIAlertController(title: NSLocalizedString("_info_", comment: ""), message: message, preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: NSLocalizedString("_ok_", comment: ""), style: .default, handler: { _ in }))
UIApplication.shared.firstWindow?.rootViewController?.present(alertController, animated: true, completion: { })
}
}

if let controller = SceneManager.shared.getControllers().first(where: { $0.account == account }) {
openNotification(controller: controller)
} else if let tableAccount = NCManageDatabase.shared.getAllTableAccount().first(where: { $0.account == account }),
let controller = UIApplication.shared.firstWindow?.rootViewController as? NCMainTabBarController {
NCAccount().changeAccount(tableAccount.account, userProfile: nil, controller: controller) {
openNotification(controller: controller)
}
} else {
let message = NSLocalizedString("_the_account_", comment: "") + " " + account + " " + NSLocalizedString("_does_not_exist_", comment: "")
let alertController = UIAlertController(title: NSLocalizedString("_info_", comment: ""), message: message, preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: NSLocalizedString("_ok_", comment: ""), style: .default, handler: { _ in }))
UIApplication.shared.firstWindow?.rootViewController?.present(alertController, animated: true, completion: { })
}
}

// MARK: - Login
Expand Down
Loading
Loading