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

Tt/feature/attachments preview #412

Open
wants to merge 1,235 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1235 commits
Select commit Hold shift + click to select a range
5a5af08
Missing translations on Sphinx top menu
tomastiminskas Feb 27, 2024
2bb2bd8
Merge pull request #315 from stakwork/tt/fix/delete-cache
tomastiminskas Feb 27, 2024
013b28d
Merge pull request #316 from stakwork/tt/feature/chinese-japanese-tra…
tomastiminskas Feb 27, 2024
8c2021f
Merge pull request #317 from stakwork/tt/feature/jitsi-universal-links
tomastiminskas Feb 27, 2024
3df4eb3
Merge pull request #309 from stakwork/tt/fix/thread-click-handling
tomastiminskas Feb 27, 2024
a2d02cb
Merge branch 'test-flight' into tt/feature/profile-tests
tomastiminskas Feb 27, 2024
3a31992
Merge pull request #310 from stakwork/tt/feature/profile-tests
tomastiminskas Feb 27, 2024
041ed02
New build number 338
tomastiminskas Feb 27, 2024
384523d
- Fixes for fonts changed to system on merge
tomastiminskas Feb 28, 2024
6ab5f2e
Merge pull request #319 from stakwork/tt/fix/general-fixes
tomastiminskas Feb 28, 2024
eed709f
New build number 339
tomastiminskas Feb 28, 2024
a12fc37
Temp updates to Team, etc.
rodhan Mar 1, 2024
033d53d
Make ChatMentionAutocompleteDataSource.delegate weak
rodhan Mar 1, 2024
4854323
Fix retain cycle in cell provider closures
rodhan Mar 1, 2024
8c01628
Make chat search bar delegate weak to fix memory leak
rodhan Mar 1, 2024
56b6ede
Revert "Temp updates to Team, etc."
rodhan Mar 1, 2024
e75fedb
- Profile tests file renamed
tomastiminskas Mar 1, 2024
38d7273
Merge pull request #320 from rodhan/rodhan/perf-improvements
tomastiminskas Mar 1, 2024
374ed3d
Merge pull request #321 from stakwork/tt/fix/tests-co-located
tomastiminskas Mar 1, 2024
f938fac
New build number 340
tomastiminskas Mar 1, 2024
0ff5fbf
Prevent allocations with weak self references on makeCellProviders
tomastiminskas Mar 4, 2024
51b6645
- UI fixes
tomastiminskas Mar 5, 2024
1c8ce44
Merge pull request #322 from stakwork/tt/fix/performance-improvements
tomastiminskas Mar 5, 2024
cfff3ed
Merge pull request #323 from stakwork/tt/fix/ui-reference-fixes
tomastiminskas Mar 5, 2024
5983669
New build number 341
tomastiminskas Mar 5, 2024
80d22b9
UI adjustments on notification level and thread header view
tomastiminskas Mar 6, 2024
4e9d974
Merge pull request #326 from stakwork/tt/fix/ui-adjustments
tomastiminskas Mar 6, 2024
4281fe5
New build number 342
tomastiminskas Mar 6, 2024
6e7b2ec
Merge pull request #1 from stakwork/test-flight
Korede612 Mar 6, 2024
9a529dc
Merge remote-tracking branch 'refs/remotes/origin/test-flight'
Korede612 Mar 6, 2024
f0a8aa4
fix: text in thread header view
Korede612 Mar 7, 2024
d405cc0
fix: remove dashboardUItest file
Korede612 Mar 7, 2024
6b55b0e
Merge pull request #328 from Korede612/tt/fix/thread-header-text-view
tomastiminskas Mar 7, 2024
1023f5b
Small adjustments on thread header view with large text
tomastiminskas Mar 7, 2024
bf25f9a
Reference to unexisting file removed
tomastiminskas Mar 7, 2024
3d29333
Merge pull request #329 from stakwork/tt/fix/thread-header-large-text
tomastiminskas Mar 7, 2024
fd0a35d
New build number 343
tomastiminskas Mar 7, 2024
4388f94
Ability to collapse/expand chats list column implemented
tomastiminskas Mar 8, 2024
99ba551
Ability to highlight text implemented
tomastiminskas Mar 8, 2024
8492fea
Fixes on highlighted text
tomastiminskas Mar 8, 2024
559874f
Fixes and improvements on highlighted text
tomastiminskas Mar 11, 2024
6729755
Supporting multiline highlighted text
tomastiminskas Mar 11, 2024
4adb27f
Some variables renamed and comments added for clarification
tomastiminskas Mar 11, 2024
6eb60d5
Merge pull request #331 from stakwork/tt/feature/highlighted-text
tomastiminskas Mar 11, 2024
a1f9be8
Merge pull request #330 from stakwork/tt/feature/expand-collapse-chat…
tomastiminskas Mar 11, 2024
1ce9993
New build number 344
tomastiminskas Mar 11, 2024
be2edfd
Crash fix
tomastiminskas Mar 12, 2024
a30ae3f
Merge branch 'tt/feature/highlighted-text' into test-flight
tomastiminskas Mar 12, 2024
226f126
New build number 345
tomastiminskas Mar 12, 2024
e9890fd
Fix for crash when joining jitsi call from universal link
tomastiminskas Mar 12, 2024
b910bff
New build number 346
tomastiminskas Mar 12, 2024
01fc06c
Fixes for conflicts between highlighted text, links and search term f…
tomastiminskas Mar 13, 2024
1033970
Merge pull request #332 from stakwork/tt/feature/highlighted-text
tomastiminskas Mar 13, 2024
cca6b7b
New build number 347
tomastiminskas Mar 13, 2024
63ccc05
- Showing error alert when boost can't be delivered
tomastiminskas Mar 20, 2024
4d81541
Merge pull request #335 from stakwork/tt/fix/boost-error
tomastiminskas Mar 21, 2024
358e4c5
New build number 348
tomastiminskas Mar 21, 2024
73d61de
Privacy file added
tomastiminskas Mar 29, 2024
dabab9a
Fix for thread last reply text cut off when it contains highlighted text
tomastiminskas Apr 2, 2024
5ed0e15
Merge pull request #337 from stakwork/tt/feature/privacy-file
tomastiminskas Apr 2, 2024
df5b146
Merge pull request #339 from stakwork/tt/fix/cut-thread-highlighted-text
tomastiminskas Apr 2, 2024
b5dcd4f
New build number 349
tomastiminskas Apr 2, 2024
5668ca3
Correct privacy manifest path to be relative
rodhan Apr 4, 2024
30636a1
Merge pull request #2 from stakwork/test-flight
Korede612 Apr 4, 2024
77fc797
update: Tribe setting Second Brain Url
Korede612 Apr 4, 2024
d385aff
feat: Display new SecondBrain Icon if SecondBrain URL is set
Korede612 Apr 5, 2024
7b4ba5c
feat: SecondBrain Icon Added
Korede612 Apr 5, 2024
643d892
Label changed to Second Brain Url
tomastiminskas Apr 5, 2024
a896009
Translations added
tomastiminskas Apr 9, 2024
38a624a
Scrolling to pinned message
tomastiminskas Apr 10, 2024
95ba4e5
Fix added to last commit
tomastiminskas Apr 10, 2024
cb11814
Merge pull request #340 from rodhan/rodhan/fix-privacy-manifest-path
tomastiminskas Apr 10, 2024
f7313ea
Merge pull request #357 from stakwork/tt/feature/second-brain-url
tomastiminskas Apr 10, 2024
87f3908
Merge pull request #358 from stakwork/tt/feature/scroll-to-pinned-mes…
tomastiminskas Apr 10, 2024
9263896
New build number 350
tomastiminskas Apr 10, 2024
e9cefd5
Merge pull request #3 from stakwork/test-flight
Korede612 Apr 11, 2024
c2515a1
feat: Main views navigation changes / over dashboard (setup)
Korede612 Apr 11, 2024
ea94be7
feat: Main views navigation changes / over dashboard (complete)
Korede612 Apr 12, 2024
11c3bd2
feat: Remove unwanted methods
Korede612 Apr 12, 2024
6281b7a
fix: UI and Navigation fix
Korede612 Apr 16, 2024
247dc45
update: SendPaymentForInvoiceVC presenting view height adjusted
Korede612 Apr 16, 2024
9c315e6
Merge pull request #360 from Korede612/test-flight-main-views-navigat…
tomastiminskas Apr 16, 2024
7a03c01
- Fixes and adjustments on navigation changes
tomastiminskas Apr 16, 2024
e67620f
More fixes on main navigation changes
tomastiminskas Apr 16, 2024
664aeb0
Fix added
tomastiminskas Apr 16, 2024
9d2fb9b
Fixes for presenter container view conflicting with chat message field
tomastiminskas Apr 16, 2024
d35bd87
Localization added
tomastiminskas Apr 16, 2024
f267f6b
Improvements to animate dashboard popup height changes and navigation
tomastiminskas Apr 16, 2024
f711432
Last fixes on dashboard navigation
tomastiminskas Apr 16, 2024
8725a07
Merge pull request #361 from stakwork/tt/feature/main-navigation-views
tomastiminskas Apr 16, 2024
2ba797e
New build number 351
tomastiminskas Apr 16, 2024
967345e
- Escape monitor added to dismiss popup
tomastiminskas Apr 17, 2024
91efaa2
Fix for copying highlighted link
tomastiminskas Apr 17, 2024
ff7d3e2
Merge pull request #362 from stakwork/tt/feature/main-navigation-views
tomastiminskas Apr 17, 2024
f2f2311
New build number 352
tomastiminskas Apr 17, 2024
89ce2af
Merge pull request #4 from stakwork/test-flight
Korede612 Apr 17, 2024
8ebaa45
feat: right panel navigation setup
Korede612 Apr 18, 2024
7cd4890
- Fixes related with people auth modal
tomastiminskas Apr 18, 2024
30ef47d
Merge branch 'tt/feature/main-navigation-views' into test-flight
tomastiminskas Apr 18, 2024
082cda3
New build number 353
tomastiminskas Apr 18, 2024
29913b2
feat: right panel navigation vc setup
Korede612 Apr 19, 2024
b8006bb
feat: Tribe and Contact Navigation Change
Korede612 Apr 19, 2024
1535ca8
feat: ThreadView Navigation Change Implementation
Korede612 Apr 19, 2024
68a75cf
fix: Removed Unused methods and comments
Korede612 Apr 19, 2024
a576bc8
feat: Thread List navigation change (and some fixes)
Korede612 Apr 19, 2024
73a0b97
update: back arrow icon weight adjusted
Korede612 Apr 20, 2024
fa74f25
Merge pull request #364 from Korede612/test-flight-main-views-navigat…
tomastiminskas Apr 22, 2024
856b02d
Fixes and adjustments on right panel navigation
tomastiminskas Apr 22, 2024
ce8c124
New build number 354
tomastiminskas Apr 22, 2024
e0dfb34
Merge pull request #5 from stakwork/test-flight
Korede612 Apr 23, 2024
dd89a04
Fixes on dismiss with escape key and dashboard modal height
tomastiminskas Apr 23, 2024
fc395ad
More fixes on right panel width
tomastiminskas Apr 23, 2024
663598f
Merge branch 'tt/feature/right-panel-navigation' into test-flight
tomastiminskas Apr 23, 2024
016d534
New build number 355
tomastiminskas Apr 23, 2024
d6b795e
feat: Chats list header and new dropdown Menu setup
Korede612 Apr 23, 2024
e090c34
Fixes on light mode colors
tomastiminskas Apr 23, 2024
91ee102
New build number 356
tomastiminskas Apr 23, 2024
3bae6fe
feat: Chats list header
Korede612 Apr 23, 2024
62c5750
feat: clean up
Korede612 Apr 23, 2024
bad1cad
feat: New dropdown menu list view setup
Korede612 Apr 24, 2024
085df80
feat: Menu List BG view
Korede612 Apr 24, 2024
b905a16
feat: new dropdown Menu Collection View setup
Korede612 Apr 24, 2024
bd3b295
feat: new dropdown Menu Icons
Korede612 Apr 24, 2024
4017bb5
feat: Chats list header and new dropdown Menu Completed
Korede612 Apr 24, 2024
e8ffda3
fix: MenuList View and Header View UI fixes
Korede612 Apr 25, 2024
dbb783f
fix: List items actions linked
Korede612 Apr 25, 2024
3154078
fix: Privacy feature for balance
Korede612 Apr 25, 2024
9421c27
Merge pull request #366 from Korede612/test-flight-main-views-navigat…
tomastiminskas Apr 26, 2024
cd8f12d
Fixes and improvements on chats list header and dropdown menu
tomastiminskas Apr 26, 2024
9eb318c
New build number 357
tomastiminskas Apr 26, 2024
33d946d
User name not capitalized
tomastiminskas Apr 29, 2024
56a3350
- Avoid click events on chats list while menu is visible
tomastiminskas Apr 29, 2024
efb6247
Avoid scrolling on dashboard menu items
tomastiminskas Apr 29, 2024
5c95108
Merge pull request #6 from stakwork/test-flight
Korede612 Apr 29, 2024
78ea0fd
feat: Tribe Member section setup
Korede612 Apr 29, 2024
68c7f4b
feat: Tribe Members View Controller added
Korede612 Apr 29, 2024
0f3e14a
Keep track of ongoing message by thread to avoid populating on main c…
tomastiminskas Apr 29, 2024
ca5332b
Size default set to medium for new users
tomastiminskas Apr 29, 2024
a64d377
Merge pull request #369 from stakwork/tt/fix/general-ui-adjustments
tomastiminskas Apr 29, 2024
cb482b5
Merge pull request #370 from stakwork/tt/fix/thread-ongoing-message
tomastiminskas Apr 29, 2024
8c47f1c
New build number 358
tomastiminskas Apr 29, 2024
976ea25
feat: Tribe Member section in progress
Korede612 May 1, 2024
588f007
feat: Tribe Member section datasource and cellItem
Korede612 May 1, 2024
9ff3b2a
feat: Tribe Member section 95% completed
Korede612 May 1, 2024
19ef973
feat: Tribe Member section 100% completed
Korede612 May 1, 2024
da085c5
fix: Remove print statement
Korede612 May 1, 2024
833d561
feat: enable fullscreen on webview
tobi-bams May 1, 2024
1efd3a1
Merge pull request #372 from stakwork/tb/feat/enable-fullscreen
tomastiminskas May 2, 2024
dc2effb
Fix on shimmering view for threads
tomastiminskas May 2, 2024
dd1b7d2
Typography adjustments
tomastiminskas May 2, 2024
c524e4b
Merge pull request #373 from stakwork/tt/fix/shimmering-view
tomastiminskas May 2, 2024
e0ba030
Merge pull request #374 from stakwork/tt/fix/typography-adjustments
tomastiminskas May 2, 2024
01b42bd
New build number 359
tomastiminskas May 2, 2024
3c36f2d
Typography adjustments
tomastiminskas May 2, 2024
b7280c1
Merge branch 'tt/fix/typography-adjustments' into test-flight
tomastiminskas May 2, 2024
c70eee2
New build number 360
tomastiminskas May 2, 2024
1a1eff1
fix: UI fixes and deleting of contact from tribe
Korede612 May 2, 2024
b791e4b
Merge pull request #371 from Korede612/test-flight-tribe-members-section
tomastiminskas May 2, 2024
01b0f77
Fixes and improvements on Tribe Members new section
tomastiminskas May 2, 2024
fc72879
Merge pull request #375 from stakwork/tt/feature/tribe-members
tomastiminskas May 2, 2024
f201a6e
New build number 361
tomastiminskas May 2, 2024
be698cc
Tribe Member kick - confirm alert text replaced
tomastiminskas May 3, 2024
a5f88d5
Roboto font replaced
tomastiminskas May 3, 2024
7956196
Merge branch 'test-flight' into tt/fix/typography-adjustments
tomastiminskas May 3, 2024
3d66a36
Fixes and code clean up on navigation changes
tomastiminskas May 3, 2024
2ea3e32
Fix for threads and thread panel width
tomastiminskas May 3, 2024
67654c1
Tribe members endpoints moved to Groups extension
tomastiminskas May 3, 2024
91346d9
Merge pull request #376 from stakwork/tt/feature/tribe-members
tomastiminskas May 3, 2024
974eeaf
Merge pull request #377 from stakwork/tt/fix/typography-adjustments
tomastiminskas May 3, 2024
cb83c41
Merge pull request #378 from stakwork/tt/fix/navigation-changes
tomastiminskas May 3, 2024
271fc98
New build number 362
tomastiminskas May 3, 2024
7c1e39a
- IU fixes
tomastiminskas May 7, 2024
2908146
New build number 363
tomastiminskas May 7, 2024
4b89f59
UI adjustments on light mode
tomastiminskas May 9, 2024
cbdd13b
Merge pull request #379 from stakwork/tt/fix/light-mode-ui-adjustments
tomastiminskas May 9, 2024
d19cfa9
New build number 364
tomastiminskas May 9, 2024
ed32359
Color adjustments
tomastiminskas May 10, 2024
6e94fa1
Fix for crash on mention after emoji
tomastiminskas May 14, 2024
fe486a0
Merge pull request #380 from stakwork/tt/fix/color-adjustments
tomastiminskas May 14, 2024
ad87fb1
Merge pull request #383 from stakwork/tt/fix/mention-crash
tomastiminskas May 14, 2024
5975fa8
New build number 365
tomastiminskas May 14, 2024
d49f8d3
General fixes
tomastiminskas May 14, 2024
03bf167
Merge pull request #384 from stakwork/tt/fix/general-fixes
tomastiminskas May 14, 2024
faef509
New build number 366
tomastiminskas May 14, 2024
513b55e
Merge pull request #7 from stakwork/test-flight
Korede612 May 17, 2024
fb11fd2
feat: bottom bar redesign implementation
Korede612 May 19, 2024
5046449
feat: icons added
Korede612 May 19, 2024
18b3c66
feat: icons and logics
Korede612 May 19, 2024
9679e77
feat: bottom bar background colour
Korede612 May 19, 2024
4370c2c
feat: Updated mic button
Korede612 May 19, 2024
63ac7a2
feat: Update UI after sending a message
Korede612 May 20, 2024
ddb482f
feat: Update the tag button
Korede612 May 20, 2024
94470bf
final update
Korede612 May 20, 2024
a01112e
fix: PR Feedback fixes
Korede612 May 21, 2024
a18edbd
Fixes on bottom bar redesign
tomastiminskas May 21, 2024
5d78e1e
Last fixes/improvements on bottom bar redesign
tomastiminskas May 22, 2024
d77f1d5
Merge pull request #395 from stakwork/tt/feature/bottom-bar-redesign
tomastiminskas May 22, 2024
eb170ec
New build number 367
tomastiminskas May 22, 2024
b71f920
Fix for chats list header not updating owner info automatically on ow…
tomastiminskas May 24, 2024
b03e1a2
New build 368
tomastiminskas May 24, 2024
e34326c
Merge pull request #8 from stakwork/test-flight
Korede612 May 24, 2024
bb4815c
update: Added new color (SelectedMenu)
Korede612 May 26, 2024
2eb2a65
update: ChatMentionAutocompleteCell both .swift and .xib
Korede612 May 26, 2024
1afa731
update: ChatBottomView .swift and .xib
Korede612 May 26, 2024
88beef9
update: ChatMessageFieldView
Korede612 May 26, 2024
672c3cd
update: Major UI changes
Korede612 May 26, 2024
5b7b8e0
Update: Ensure the maximum number of item is 3 at a time
Korede612 May 26, 2024
579032a
update: NewChatViewController
Korede612 May 26, 2024
5a115a6
update: Multi-line mention update
Korede612 May 27, 2024
eeb81d8
Fixes and improvements on mentions view redesign
tomastiminskas May 28, 2024
3c12d10
Fix added to last commit
tomastiminskas May 28, 2024
186e565
Merge pull request #401 from stakwork/tt/feature/mentions-view-redesign
tomastiminskas May 30, 2024
92b5537
New build 369
tomastiminskas May 30, 2024
2c35ca4
Fixes for mentions redesign
tomastiminskas May 30, 2024
921ea14
New build 370
tomastiminskas May 30, 2024
909ff8b
Merge pull request #9 from stakwork/test-flight
Korede612 Jun 3, 2024
035b51f
Update: Reply bar redesign
Korede612 Jun 4, 2024
aa87386
Update: Feedback Update
Korede612 Jun 5, 2024
286f97d
Update: Previous Changes Reverted and Top Border Added
Korede612 Jun 5, 2024
43d3000
Fixes and improvements on bottom bar reply
tomastiminskas Jun 6, 2024
67212e6
Merge pull request #410 from stakwork/test-flight-reply-bar-redesign
tomastiminskas Jun 6, 2024
02eb336
New build 371
tomastiminskas Jun 6, 2024
34c25c8
Merge pull request #11 from stakwork/test-flight
Korede612 Jun 10, 2024
b4fbaf4
Create: Files (Icon assets, swift file and xibs) Added
Korede612 Jun 14, 2024
6fbbd49
Modified: Localizable strings
Korede612 Jun 14, 2024
142a3f1
Update: Dragging Destination View
Korede612 Jun 14, 2024
e6d22cd
Update: NewChatViewController
Korede612 Jun 14, 2024
577f7e4
Update: ChatBottomView, Dashboard amd NewMenuListItem
Korede612 Jun 14, 2024
08f5310
Update: Cosmetics Updates
Korede612 Jun 14, 2024
6c66eff
Update: Font, and Constraints adjusted
Korede612 Jun 14, 2024
7f52168
Create: Rounded bottom view
Korede612 Jun 14, 2024
e12bfac
update: DragView image Icon
Korede612 Jun 18, 2024
f7670d5
Update: Background color removed
Korede612 Jun 19, 2024
768576a
Update: Addbutton constraints adjusted
Korede612 Jun 19, 2024
6b63ecf
Update: Addbutton constraints adjusted 2
Korede612 Jun 19, 2024
9ab338c
Update: AddButton constraint with and without text
Korede612 Jun 19, 2024
4e29973
Update: Add Button functionality pending
Korede612 Jun 19, 2024
6ed4eed
Update: Add attachment Button Update
Korede612 Jun 20, 2024
9004623
Update: draggingView constraints adjusted
Korede612 Jun 20, 2024
251a172
Update: Collection View Top and Bottom Padding
Korede612 Jun 20, 2024
4371313
Merge pull request #411 from Korede612/test-flight-new-designs-for-at…
tomastiminskas Jun 21, 2024
6c1218b
feat: Allow drag and drop of multiple files
Korede612 Jun 28, 2024
df3c7cd
feat: Limiting number of files to be attached to 10
Korede612 Jun 28, 2024
1295f98
feat: Reducing the number of file attached when removed
Korede612 Jun 28, 2024
5c9b7a0
Merge pull request #415 from Korede612/test-flight-new-designs-for-at…
tomastiminskas Jun 29, 2024
3e906ed
feat: Upload and Send Multiple Attachments
Korede612 Jul 16, 2024
ee40892
update: Fixed texting without attachments
Korede612 Jul 21, 2024
ee9fcf8
update: Sending attachments improvement
Korede612 Jul 28, 2024
ef9c32b
update: Send text without attachments
Korede612 Jul 29, 2024
a11982c
Merge pull request #419 from Korede612/test-flight-new-designs-for-at…
tomastiminskas Jul 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ DerivedData/
xcuserdata/

Pods/
sphinx.xcodeproj/project.pbxproj
21 changes: 18 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@ platform :osx, '10.14'
use_frameworks!
inhibit_all_warnings!

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13'
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end

target 'Sphinx' do
pod 'Alamofire', '~> 5.0.0-rc.3'
pod 'Alamofire', '~> 5.6.4'
pod 'ReachabilitySwift'
pod 'SwiftyJSON'
pod 'SDWebImage', '~> 5.0'
pod 'SDWebImage'
pod 'RNCryptor', '~> 5.0'
pod 'SwiftLinkPreview', '~> 3.1.0'
pod 'KeychainAccess'
pod 'Starscream', '~> 3.1'
pod 'Tor', podspec: 'https://raw.githubusercontent.com/iCepa/Tor.framework/v405.8.1/Tor.podspec'
pod 'ObjectMapper'
pod 'HDWalletKit'
pod 'CocoaMQTT'
pod 'MessagePack.swift', '~> 4.0'
end
54 changes: 40 additions & 14 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,53 +1,79 @@
PODS:
- Alamofire (5.0.5)
- Alamofire (5.6.4)
- CocoaMQTT (2.1.6):
- CocoaMQTT/Core (= 2.1.6)
- CocoaMQTT/Core (2.1.6):
- MqttCocoaAsyncSocket (~> 1.0.8)
- CryptoSwift (1.0.0)
- HDWalletKit (0.3.6):
- CryptoSwift (~> 1.0.0)
- secp256k1.swift (~> 0.1.4)
- KeychainAccess (4.2.2)
- MessagePack.swift (4.0.0)
- MqttCocoaAsyncSocket (1.0.8)
- ObjectMapper (4.2.0)
- ReachabilitySwift (5.0.0)
- RNCryptor (5.1.0)
- SDWebImage (5.11.1):
- SDWebImage/Core (= 5.11.1)
- SDWebImage/Core (5.11.1)
- SDWebImage (5.18.2):
- SDWebImage/Core (= 5.18.2)
- SDWebImage/Core (5.18.2)
- secp256k1.swift (0.1.4)
- Starscream (3.1.1)
- SwiftLinkPreview (3.1.0)
- SwiftyJSON (5.0.1)
- Tor (405.8.1)

DEPENDENCIES:
- Alamofire (~> 5.0.0-rc.3)
- Alamofire (~> 5.6.4)
- CocoaMQTT
- HDWalletKit
- KeychainAccess
- MessagePack.swift (~> 4.0)
- ObjectMapper
- ReachabilitySwift
- RNCryptor (~> 5.0)
- SDWebImage (~> 5.0)
- SDWebImage
- Starscream (~> 3.1)
- SwiftLinkPreview (~> 3.1.0)
- SwiftyJSON
- Tor (from `https://raw.githubusercontent.com/iCepa/Tor.framework/v405.8.1/Tor.podspec`)

SPEC REPOS:
trunk:
- Alamofire
- CocoaMQTT
- CryptoSwift
- HDWalletKit
- KeychainAccess
- MessagePack.swift
- MqttCocoaAsyncSocket
- ObjectMapper
- ReachabilitySwift
- RNCryptor
- SDWebImage
- secp256k1.swift
- Starscream
- SwiftLinkPreview
- SwiftyJSON

EXTERNAL SOURCES:
Tor:
:podspec: https://raw.githubusercontent.com/iCepa/Tor.framework/v405.8.1/Tor.podspec

SPEC CHECKSUMS:
Alamofire: df2f8f826963b08b9a870791ad48e07a10090b2e
Alamofire: 4e95d97098eacb88856099c4fc79b526a299e48c
CocoaMQTT: 1f206228b29318eabdacad0c2e4e88575922c27a
CryptoSwift: d81eeaa59dc5a8d03720fe919a6fd07b51f7439f
HDWalletKit: 6d97a15404b2edfe3418e3dc064faa967e51dac4
KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
MessagePack.swift: 417f6b6e27a86ad4f19a0ee47093b3985cd77323
MqttCocoaAsyncSocket: 77d3b74f76228dd5a05d1f9526eab101d415b30c
ObjectMapper: 1eb41f610210777375fa806bf161dc39fb832b81
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
RNCryptor: a369134686cd2ad391323cc856b62e591193ba79
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImage: c0de394d7cf7f9838aed1fd6bb6037654a4572e4
secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634
Starscream: 4bb2f9942274833f7b4d296a55504dcfc7edb7b0
SwiftLinkPreview: 3d924eeaae8d17410a827a4b37675713af1a0a8a
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
Tor: fad2cec0e7ef5f889fecdaf69e5edd6df0438326

PODFILE CHECKSUM: d1414800df3de699934e720cc72a7f4595ca79f8
PODFILE CHECKSUM: 1a3801a2d15ecfb72701b97f4ed6f663c5fff6a4

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ pod install
```

- Set a valid API KEY for Giphy library on info.plist file

## Branch

This repository uses ```test-flight``` branch as base branch for development. Master is not up to date.

33 changes: 33 additions & 0 deletions SphinxUITests/SphinxUITestsLaunchTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// SphinxUITestsLaunchTests.swift
// SphinxUITests
//
// Created by Oko-osi Korede on 16/02/2024.
// Copyright © 2024 Tomas Timinskas. All rights reserved.
//

import XCTest

final class SphinxUITestsLaunchTests: XCTestCase {

override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}

override func setUpWithError() throws {
continueAfterFailure = false
}

func testLaunch() throws {
let app = XCUIApplication()
app.launch()

// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app

let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}
Binary file added com.stakwork.sphinx.desktop/.DS_Store
Binary file not shown.
53 changes: 53 additions & 0 deletions com.stakwork.sphinx.desktop/API/API+ActionsExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// API+ActionsExtension.swift
// sphinx
//
// Created by Tomas Timinskas on 01/11/2022.
// Copyright © 2022 sphinx. All rights reserved.
//

import Foundation
import SwiftyJSON

extension API {

func syncActions(
actions: [ActionTrack],
callback: @escaping SyncActionsCallback
) {

var actionsJson: [[String: Any]] = []

for action in actions {
let params = action.getParamsDictionary()
actionsJson.append(params)
}

guard actionsJson.count > 0 else {
return
}

let params: [String: AnyObject] = ["data": actionsJson as AnyObject]

guard let request = getURLRequest(route: "/action_history_bulk", params: params as NSDictionary?, method: "POST") else {
callback(false)
return
}

sphinxRequest(request) { response in
switch response.result {
case .success(let data):
if let json = data as? NSDictionary {
if let success = json["success"] as? Bool, success {
callback(true)
return
}
}
callback(false)
case .failure(_):
callback(false)
}
}
}

}
63 changes: 63 additions & 0 deletions com.stakwork.sphinx.desktop/API/API+AuthenticationExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,67 @@ extension API {
}
}
}

public func addHMACKey(
params: [String: AnyObject],
callback: @escaping SuccessCallback,
errorCallback: @escaping EmptyCallback
) {
guard let request = getURLRequest(
route: "/hmac_key",
params: params as NSDictionary?,
method: "POST"
) else {
errorCallback()
return
}

sphinxRequest(request) { response in
switch response.result {
case .success(let data):
if let json = data as? NSDictionary {
if let success = json["success"] as? Bool,
let _ = json["response"] as? NSDictionary, success {
callback(true)
return
}
errorCallback()
}
case .failure(_):
errorCallback()
}
}
}

public func getHMACKey(
callback: @escaping HMACKeyCallback,
errorCallback: @escaping EmptyCallback
) {
guard let request = getURLRequest(
route: "/hmac_key",
params: nil,
method: "GET"
) else {
errorCallback()
return
}

sphinxRequest(request) { response in
switch response.result {
case .success(let data):
if let json = data as? NSDictionary {
if let success = json["success"] as? Bool,
let response = json["response"] as? NSDictionary, success {
if let transportKey = response["encrypted_key"] as? String {
callback(transportKey)
return
}
}
errorCallback()
}
case .failure(_):
errorCallback()
}
}
}
}
15 changes: 12 additions & 3 deletions com.stakwork.sphinx.desktop/API/API+ChatsExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ import Foundation
import SwiftyJSON
import Alamofire

extension API {
extension API {
public func toggleChatSound(chatId: Int, muted: Bool, callback: @escaping MuteChatCallback, errorCallback: @escaping EmptyCallback) {
let route = muted ? "mute" : "unmute"
guard let request = getURLRequest(route: "/chats/\(chatId)/\(route)", method: "POST") else {
let level = muted ? Chat.NotificationLevel.MuteChat.rawValue : Chat.NotificationLevel.SeeAll.rawValue

setNotificationLevel(chatId: chatId, level: level) { json in
callback(json)
} errorCallback: {
errorCallback()
}
}

public func setNotificationLevel(chatId: Int, level: Int, callback: @escaping NotificationLevelCallback, errorCallback: @escaping EmptyCallback) {
guard let request = getURLRequest(route: "/notify/\(chatId)/\(level)", method: "PUT") else {
errorCallback()
return
}
Expand Down
Loading