Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit f69ff39

Browse files
authored
Merge pull request #2148 from RocketChat/develop
[RELEASE] Merge DEVELOP into BETA
2 parents 332cadd + f40661e commit f69ff39

113 files changed

Lines changed: 4748 additions & 309 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Podfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ def ui_pods
1313
pod 'MBProgressHUD', '~> 1.1.0'
1414
end
1515

16+
def diff_pods
17+
pod 'DifferenceKit'
18+
end
19+
1620
def shared_pods
1721
# Analytics
1822
pod 'Firebase/Core'
@@ -28,6 +32,7 @@ def shared_pods
2832
pod 'SlackTextViewController', :git => 'https://github.com/rafaelks/SlackTextViewController.git'
2933
pod 'MobilePlayer', :git => 'https://github.com/RocketChat/RCiOSMobilePlayer'
3034
pod 'SimpleImageViewer', :git => 'https://github.com/cardoso/SimpleImageViewer.git'
35+
pod 'SwipeCellKit'
3136
ui_pods
3237

3338
# Text Processing
@@ -49,12 +54,16 @@ def shared_pods
4954
# Debugging
5055
pod 'SwiftLint', :configurations => ['Debug']
5156
pod 'FLEX', '~> 2.0', :configurations => ['Debug', 'Beta']
57+
58+
# Diffing
59+
diff_pods
5260
end
5361

5462
target 'Rocket.Chat.ShareExtension' do
5563
pod 'Nuke-FLAnimatedImage-Plugin'
5664
database_pods
5765
ui_pods
66+
diff_pods
5867
end
5968

6069
target 'Rocket.Chat' do
@@ -68,7 +77,7 @@ target 'Rocket.ChatTests' do
6877
end
6978

7079
post_install do |installer|
71-
swift4Targets = ['OAuthSwift', 'TagListView', 'SearchTextField', 'Nuke', 'Nuke-FLAnimatedImage-Plugin']
80+
swift4Targets = ['OAuthSwift', 'TagListView', 'SearchTextField', 'Nuke', 'Nuke-FLAnimatedImage-Plugin', 'DifferenceKit', 'SwipeCellKit']
7281
installer.pods_project.targets.each do |target|
7382
target.build_configurations.each do |config|
7483
config.build_settings['SWIFT_VERSION'] = '3.1'

Podfile.lock

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,24 @@ PODS:
22
- 1PasswordExtension (1.8.5)
33
- Crashlytics (3.10.5):
44
- Fabric (~> 1.7.9)
5+
- DifferenceKit (0.5.2):
6+
- DifferenceKit/Core (= 0.5.2)
7+
- DifferenceKit/UIExtensions (= 0.5.2)
8+
- DifferenceKit/Core (0.5.2)
9+
- DifferenceKit/UIExtensions (0.5.2):
10+
- DifferenceKit/Core
511
- Fabric (1.7.9)
6-
- Firebase/Core (5.4.0):
12+
- Firebase/Core (5.4.1):
713
- Firebase/CoreOnly
814
- FirebaseAnalytics (= 5.0.1)
9-
- Firebase/CoreOnly (5.4.0):
10-
- FirebaseCore (= 5.0.5)
15+
- Firebase/CoreOnly (5.4.1):
16+
- FirebaseCore (= 5.0.6)
1117
- FirebaseAnalytics (5.0.1):
1218
- FirebaseCore (~> 5.0)
1319
- FirebaseInstanceID (~> 3.0)
1420
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
1521
- nanopb (~> 0.3)
16-
- FirebaseCore (5.0.5):
22+
- FirebaseCore (5.0.6):
1723
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
1824
- FirebaseInstanceID (3.1.1):
1925
- FirebaseCore (~> 5.0)
@@ -29,29 +35,31 @@ PODS:
2935
- nanopb/encode (= 0.3.8)
3036
- nanopb/decode (0.3.8)
3137
- nanopb/encode (0.3.8)
32-
- Nuke (7.3)
38+
- Nuke (7.3.2)
3339
- Nuke-FLAnimatedImage-Plugin (5.0):
3440
- FLAnimatedImage (~> 1.0)
3541
- Nuke (~> 7.0)
3642
- OAuthSwift (1.2.2)
3743
- RCMarkdownParser (3.0.6)
3844
- ReachabilitySwift (4.1.0)
39-
- Realm (3.7.4):
40-
- Realm/Headers (= 3.7.4)
41-
- Realm/Headers (3.7.4)
42-
- RealmSwift (3.7.4):
43-
- Realm (= 3.7.4)
45+
- Realm (3.7.5):
46+
- Realm/Headers (= 3.7.5)
47+
- Realm/Headers (3.7.5)
48+
- RealmSwift (3.7.5):
49+
- Realm (= 3.7.5)
4450
- semver (1.1.0)
4551
- SimpleImageViewer (1.2.0):
4652
- FLAnimatedImage
4753
- SlackTextViewController (1.9.6)
4854
- Starscream (2.1.1)
4955
- SwiftLint (0.26.0)
5056
- SwiftyJSON (4.1.0)
57+
- SwipeCellKit (2.4.3)
5158

5259
DEPENDENCIES:
5360
- 1PasswordExtension
5461
- Crashlytics
62+
- DifferenceKit
5563
- Fabric
5664
- Firebase/Core
5765
- FLEX (~> 2.0)
@@ -69,11 +77,13 @@ DEPENDENCIES:
6977
- Starscream (~> 2)
7078
- SwiftLint
7179
- SwiftyJSON
80+
- SwipeCellKit
7281

7382
SPEC REPOS:
7483
https://github.com/cocoapods/specs.git:
7584
- 1PasswordExtension
7685
- Crashlytics
86+
- DifferenceKit
7787
- Fabric
7888
- Firebase
7989
- FirebaseAnalytics
@@ -94,6 +104,7 @@ SPEC REPOS:
94104
- Starscream
95105
- SwiftLint
96106
- SwiftyJSON
107+
- SwipeCellKit
97108

98109
EXTERNAL SOURCES:
99110
MobilePlayer:
@@ -110,7 +121,7 @@ CHECKOUT OPTIONS:
110121
:commit: c7160990d7b50d34a45514df4535011e64541340
111122
:git: https://github.com/RocketChat/RCiOSMobilePlayer
112123
RCMarkdownParser:
113-
:commit: 43d99beabd1c39f8988d2e6631a46623b0116906
124+
:commit: c34d9ccef689c55b9eae69f3c65283da8d8b0c6c
114125
:git: https://github.com/RocketChat/RCMarkdownParser.git
115126
SimpleImageViewer:
116127
:commit: 8222c338de0f285ca0c2d556c5d8dedd4a365b52
@@ -122,31 +133,33 @@ CHECKOUT OPTIONS:
122133
SPEC CHECKSUMS:
123134
1PasswordExtension: 0e95bdea64ec8ff2f4f693be5467a09fac42a83d
124135
Crashlytics: 7f2e38d302d9da96475b3d64d86fb29e31a542b7
136+
DifferenceKit: 3999ddee5146dbd12d7418e2b907c6f5e2673805
125137
Fabric: a2917d3895e4c1569b9c3170de7320ea1b1e6661
126-
Firebase: d66f4f29c23f22d96808d9abc174d81d8eee968f
138+
Firebase: 355bd535bfdacaa82a7fe8d9784115edefd6fc03
127139
FirebaseAnalytics: b3628aea54c50464c32c393fb2ea032566e7ecc2
128-
FirebaseCore: 42b3267233bd21a5abd54117ccc38ca3dd0f8e83
140+
FirebaseCore: 4c28e3b9708ba48a765e76515f913a71596eb5dd
129141
FirebaseInstanceID: f3f0657372592ecdfdfe2cac604a5a75758376a6
130142
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
131143
FLEX: bd1a39e55b56bb413b6f1b34b3c10a0dc44ef079
132144
GoogleToolboxForMac: 91c824d21e85b31c2aae9bb011c5027c9b4e738f
133145
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
134146
MobilePlayer: 069b13482499f14c25b6ce53f63a91e17975b073
135147
nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3
136-
Nuke: 3680b7186b18f84a5e9e283bfce4357bfd70fdf9
148+
Nuke: a9a31bbd6c6723753ab024ef22057dcaaf046c1b
137149
Nuke-FLAnimatedImage-Plugin: 6dfb9335ce298eaff9fdfed8d20d1bbfb2a6c326
138150
OAuthSwift: 27b34fe80b76b67cd8f45571e0be2432bc9f6de1
139151
RCMarkdownParser: 518b616a4f48bb02247243544d4fd55c048288a4
140152
ReachabilitySwift: 6849231cd4e06559f3b9ef4a97a0a0f96d41e09f
141-
Realm: a469bb59e33f9926102ccaea4349822c53b9117e
142-
RealmSwift: a45861b21c180f5cf0f122144b9759fa8dde3e9e
153+
Realm: c286caf4dbf346ce24aad49ca76c7ce622d4a082
154+
RealmSwift: 2a9281e37d6de55f66f76254d49d28aeb1b729e4
143155
semver: 11ae3bc4a6036efbc86b5863ef5fa32c065c8bbd
144156
SimpleImageViewer: 6ed0d2acf7c166a5b4e795bccc7b9ea1b225ff9b
145157
SlackTextViewController: b854e62c1c156336bc4fd409c6ca79b5773e8f9d
146158
Starscream: 142bd8ef24592d985daee9fa48c936070b85b15f
147159
SwiftLint: f6b83e8d95ee1e91e11932d843af4fdcbf3fc764
148160
SwiftyJSON: c29297daf073d2aa016295d5809cdd68045c39b3
161+
SwipeCellKit: cee9906e6d3a36e22ad1a852fba7f8fa0839d113
149162

150-
PODFILE CHECKSUM: e30b11fd34e7043eec6c9d2d0550e6e147670e19
163+
PODFILE CHECKSUM: 6702db159e15966472657eea05905247ba9622d9
151164

152165
COCOAPODS: 1.5.3

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
![Rocket.Chat logo](https://raw.githubusercontent.com/RocketChat/Rocket.Chat.Artwork/master/Logos/logo-dark.svg?sanitize=true)
1+
![](https://user-images.githubusercontent.com/551004/43643393-884b00a4-9701-11e8-94d8-14c46d1f3660.png)
22

3+
<p align="center" style="color: gray;">
4+
Take your conversations with you and never miss the action with our <br />iOS mobile app, with features including brand new UI with 3 themes, new ways to sort<br />and group conversations, and new onboarding experience
5+
</p>
36

4-
![Screenshot](https://user-images.githubusercontent.com/7317008/43209700-eb3ded88-904a-11e8-8ec4-9ac10a39f344.png)
7+
<br />
58

6-
<p align="center">
9+
![Screenshot](https://user-images.githubusercontent.com/551004/43643732-af17fab0-9702-11e8-819f-405afa7c6b64.png)
10+
11+
<p align="center">
712
<a href=https://geo.itunes.apple.com/us/app/rocket-chat/id1148741252?mt=8>
813
<img alt="Download on the app store" src="https://user-images.githubusercontent.com/7317008/43209852-4ca39622-904b-11e8-8ce1-cdc3aee76ae9.png" width=160>
914
</a>
10-
</p>
15+
</p>
1116

1217
# Rocket.Chat iOS native application
1318

@@ -40,6 +45,18 @@ Make sure your server supports WebSocket as well as SSL. Apache supports WebSock
4045

4146
Are you an iOS developer and would like to help? Found a bug that you would like to report or a missing feature that you would like to request? Great! We have written down a [Contribution guide](https://github.com/RocketChat/Rocket.Chat.iOS/blob/develop/CONTRIBUTING.md) so you can start easily.
4247

48+
# Themes ☀️🌙
49+
50+
Choose from 3 new themes to take you from day to night.
51+
52+
![Themes](https://user-images.githubusercontent.com/551004/43647513-35fea6d6-970e-11e8-9712-56e4b24e7a1b.png)
53+
54+
# iPad
55+
56+
We have developed an exclusive experience for iPad users: you can now multitask by using Rocket.Chat at the same time as other apps.
57+
58+
![iPad](https://user-images.githubusercontent.com/551004/43647100-043903d6-970d-11e8-89c5-d7d677e26278.png)
59+
4360
# Donate
4461

4562
[![PayPal](https://camo.githubusercontent.com/f896f7d176663a1559376bb56aac4bdbbbe85ed1/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZL94ZE6LGVUSN)

Rocket.Chat.ShareExtension/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>XPC!</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>3.0.3</string>
20+
<string>3.1.0</string>
2121
<key>CFBundleVersion</key>
22-
<string>203</string>
22+
<string>207</string>
2323
<key>ITSEncryptionExportComplianceCode</key>
2424
<string></string>
2525
<key>NSExtension</key>

Rocket.Chat.ShareExtension/State/SEState.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ struct SEState {
4242
let displayedRooms: [Subscription]
4343
switch searchRooms {
4444
case .none:
45-
displayedRooms = rooms
45+
displayedRooms = rooms.filter { $0.open }
4646
case .searching(let search):
4747
let search = search.lowercased()
4848
displayedRooms = rooms.filter {
4949
$0.fname.lowercased().contains(search) || $0.name.lowercased().contains(search)
5050
}
5151
case .started:
52-
displayedRooms = rooms
52+
displayedRooms = rooms.filter { $0.open }
5353
}
5454
return displayedRooms.sorted(by: { $0.name < $1.name })
5555
}

0 commit comments

Comments
 (0)