Igor Solomennikov
c0b01db156
Convert Environment from SignalMessaging to Swift as SMEnvironment.
2023-06-02 20:53:07 -07:00
Igor Solomennikov
0ed81d560a
Convert OWSPreferences in SignalMessaging to Swift as Preferences.
2023-06-01 11:29:08 -07:00
Igor Solomennikov
064346e45a
Convert OWSSounds to Swift.
2023-05-30 10:23:08 -07:00
Igor Solomennikov
ef5dc5c4fc
Convert ThreadUtil to Swift.
2023-05-30 09:45:08 -07:00
Igor Solomennikov
4bb09f8ed7
Convert DateUtil to Swift.
2023-05-30 09:37:36 -07:00
Igor Solomennikov
2d2449a4d8
Delete unused VersionMigrations from SignalMessaging.
2023-05-30 09:33:34 -07:00
Max Radermacher
4887120cb8
Move OWSOrphanDataCleaner out of SignalMessaging
2023-05-04 17:49:48 -07:00
Max Radermacher
e4eac76ffb
Clean up framework headers
2023-04-13 13:45:30 -07:00
Max Radermacher
22ef2d8e55
Swiftify AppSetup
2023-04-12 17:54:48 -07:00
Evan Hahn
41ff3c142b
Rewrite debug log scrubbing logic in Swift
...
Also introduces additional defense-in-depth improvements.
2023-02-28 15:55:00 -06:00
Evan Hahn
370ff654e7
Change license to AGPL
...
Change license to AGPL
This commit:
- Updates the `LICENSE` file
- Start every file with something like:
// Copyright YEAR_FIRST_PUBLISHED Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
---
First, I removed existing license headers with this Ruby 3.1.2 script:
require 'set'
EXTENSIONS_TO_CHECK = Set['.h', '.hpp', '.cpp', '.m', '.mm', '.pch', '.swift']
same = 0
different = 0
all_files = `git ls-files`.lines.map { |line| line.strip }
all_files.each do |relative_path|
if relative_path == 'Pods'
next
end
unless EXTENSIONS_TO_CHECK.include? File.extname(relative_path)
next
end
path = File.expand_path(relative_path)
contents = File.read(path)
new_contents = contents.sub(/\/\/\n\/\/ Copyright .*\n\/\/\n\n/, '')
if contents == new_contents
same += 1
else
different += 1
end
File.write(path, new_contents)
end
puts "updated #{different} file(s), left #{same} untouched"
I'm sure this script could be improved, but it worked well enough.
Then, I created `Scripts/lint/lint-license-headers` and ran it to auto-
fix a lot of files. This changed the mode of some files, but I think
that's actually desirable. For example,
`SignalServiceKit/src/Util/AppContext.m` previously had a mode of
`0755/-rwxr-xr-x`, and it's now `0644/-rw-r--r--`.
Then I fixed some stragglers and updated the precommit script.
See [a similar change in the Desktop app][0].
[0]: 8bfaf598af
2022-10-13 08:25:37 -05:00
Jordan Rose
38fbb3bbc2
Copy in AFNetworking's query string encoding implementation
...
Matthew previously stripped this down in our fork of AFNetworking; at
this point there's no benefit to it living in a separate repo and
separate target. With this we can remove the AFNetworking target
completely.
2021-12-17 14:52:59 -08:00
Matthew Chen
91ad7d1df7
Respond to CR.
2021-10-21 09:21:31 -03:00
Matthew Chen
5d780d1589
Apply script to normalize includes and imports.
2021-10-21 09:21:10 -03:00
Matthew Chen
4fd1dd8d8b
Add SignalUI framework target.
2021-10-19 09:39:54 -03:00
Matthew Chen
69d21a2121
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
57f8212495
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
93ba483ec5
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
b5ed609b42
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
b27457ecc6
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
a50b328efd
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
c416609108
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
1d5b2aa2f5
Rework avatar building and caching.
2021-06-18 14:01:32 -03:00
Matthew Chen
010b135ab0
Add CVBodyTextLabel.
2021-06-02 20:42:55 -04:00
Matthew Chen
8c0196077f
Replace ConversationColors with "avatar colors".
2021-05-25 16:22:30 -03:00
Matthew Chen
d64bd4f80c
Reuse contact cells.
2021-05-04 21:45:16 -03:00
Matthew Chen
0241fd25e8
Convert contact cells to Swift, clean up configuration, reduce transaction count.
2021-05-04 21:45:15 -03:00
Matthew Chen
2a4cdfe17c
Improve perf around bubble shape view.
2021-04-15 16:00:58 -03:00
Matthew Chen
235eb5d119
Payments changes in SignalMessaging.
2021-04-06 13:57:07 -03:00
Matthew Chen
86b8eb08b8
Remove YapDatabase.
...
Apply asset from design.
Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Nora Trapp
08baf57151
Allow sharing to multiple threads
2021-01-12 15:33:54 -08:00
Matthew Chen
151e1158a9
Rename CVItemViewModel, CVItemViewModelImpl.
2020-12-11 16:49:14 -03:00
Matthew Chen
b0a47572b8
Revert "Remove CVItemViewModelBridge protocol."
...
This reverts commit 81a012a02e1a210bfc0fbf165335aa047c622e96.
2020-12-11 16:49:14 -03:00
Matthew Chen
04cebf3ae3
Remove CVItemViewModelBridge protocol.
2020-12-11 16:49:14 -03:00
Matthew Chen
111338b59d
Rewrite conversation view.
2020-12-10 12:44:13 -03:00
Nora Trapp
f67bffd637
Add link preview support to share extension and forwarding
2020-09-08 19:58:29 -07:00
Matthew Chen
28b43544b3
Implement attachment upload v3.
2020-08-01 12:06:57 -03:00
Michael Kirk
884f09ea5a
Windowed conversation loading
2019-12-31 14:29:32 -08:00
Michael Kirk
f63a64243a
convert colors to Swift
2019-09-24 15:12:50 -07:00
Nora Trapp
07ed67f943
Cleanup some unused classes
2019-08-22 09:27:36 -07:00
Nora Trapp
285357ff84
Allow adding usernames to block list
2019-08-22 09:27:36 -07:00
Michael Kirk
980d7e905f
use "ask" helper when saving media
...
This required moving the ask helpers to SignalMessaging
2019-08-13 16:47:50 -06:00
Nora Trapp
3d1dd3dfe4
Remove rtlSafeAppend
2019-07-19 12:33:17 -07:00
Matthew Chen
a7a7499a8e
Migrate more key-value stores.
2019-06-19 11:21:12 -04:00
Matthew Chen
d418c5ac76
Migrate more key-value stores.
2019-06-19 11:02:32 -04:00
Matthew Chen
9beaa7e19b
Migrate all models.
2019-05-31 10:27:20 -04:00
Michael Kirk
691209e25e
Decrypt Messages with AnyTransaction
...
- Migrate protocol stores to KVStores
- Introduce AnyDatabaseQueue
- Move messaging pipeline to AnyTransactions
- Migrate specialized PushDecrypt job to generic JobQueue
2019-05-21 16:20:22 -04:00
Matthew Chen
ba509d65e7
Generate SDS extensions for all models in Signal, SignalMessaging, SAE, SSK.
2019-05-02 13:25:21 -04:00
Matthew Chen
384457fefc
Sketch out SDS extensions for interaction models.
2019-04-16 09:03:07 -04:00
Matthew Chen
9149282e94
Resize link preview images if necessary.
2019-01-24 13:28:54 -05:00