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
Sasha Weiss
121161e212
Clear StoryMessage instances when clearing all chat history
2022-09-22 15:22:52 -07:00
Nora Trapp
9494498d70
Add support for sending group replies to stories
2022-03-31 00:34:32 -07:00
Matthew Chen
498ffd22f2
Add SignalUI framework target.
2021-10-19 09:39:53 -03:00
Matthew Chen
ae0b4d59a2
Modify forward flow multi-forward.
2021-08-19 16:57:01 -03:00
Nora Trapp
65ff51acb4
Send all messages via MessageSenderJobQueue
2021-08-16 13:27:43 -07:00
Matthew Chen
3dddd5276e
Fix crash in ThreadUtil.
2021-07-06 15:49:15 -03:00
Eugene Bistolas
ef9f506249
5.15.0 beta feedback: Messages delayed insert on send
2021-07-01 13:28:04 -10:00
Nora Trapp
6783db210e
Add default disappearing message timer
2021-04-29 15:46:43 -07:00
Matthew Chen
86b8eb08b8
Remove YapDatabase.
...
Apply asset from design.
Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Nora Trapp
dad7ab4ac6
Don't scroll to deleted quoted replies
2020-10-09 10:37:03 -07:00
Matthew Chen
686aee752c
Rename OWSMessageSender -> MessageSender.
2020-09-17 21:35:35 -03:00
Nora Trapp
f67bffd637
Add link preview support to share extension and forwarding
2020-09-08 19:58:29 -07:00
Matthew Chen
f80059f8e9
Add support for animated stickers.
2020-09-02 13:44:13 -03:00
Matthew Chen
3e1dd2d894
Respond to CR.
2020-08-05 14:28:15 -03:00
Matthew Chen
510200a880
Respond to CR.
2020-08-05 14:28:15 -03:00
Nora Trapp
4696a4d993
Mention sending
2020-08-04 14:08:30 -07:00
Matthew Chen
f9a38115ad
Send invalid group updates from the debug UI.
2020-05-15 18:21:16 -03:00
Matthew Chen
f8b9b209ff
Respond to CR.
2020-05-11 10:19:52 -03:00
Matthew Chen
dec0176eb3
Overhaul message request view.
...
* Fix input toolbar visibility after accepting group v2 invite.
2020-02-21 10:55:40 -03:00
Michael Kirk
f198d9037d
Merge tag '3.5.0.5'
2020-02-19 19:26:05 -07:00
Nora Trapp
e420b2194c
If there's a pending message request and we send a message to a thread, share our profile
2020-02-15 11:37:24 -07:00
Nora Trapp
f763b8624e
Handle showing message request for non-incoming message interactions.
2020-02-15 11:37:24 -07:00
Matthew Chen
647fb3a33f
Rework "leave group", consolidate group update logic. Add groups v2 indicator.
2020-02-06 11:11:22 -03:00
Michael Kirk
83d26fe62e
revamp group updates - show source, show changes, show icon
2020-01-30 20:10:55 -08:00
Michael Kirk
61ec8612ee
revamp group updates - show source, show changes, show icon
2020-01-23 11:55:48 -07:00
Michael Kirk
884f09ea5a
Windowed conversation loading
2019-12-31 14:29:32 -08:00
Matthew Chen
e39375c944
Add perf test around enumerating special messages.
2019-12-06 17:06:34 -03:00
Matthew Chen
4d1d99454d
Respond to CR.
2019-10-24 12:04:25 -03:00
Matthew Chen
cfd705c64e
Message forwarding.
2019-10-24 12:04:25 -03:00
Matthew Chen
26435359ba
Message forwarding.
2019-10-24 12:04:25 -03:00
Matthew Chen
412ae3bfc8
Message forwarding.
2019-10-24 12:04:25 -03:00
Matthew Chen
47b000ec09
Remove YDB usage.
2019-08-22 09:32:00 -03:00
Matthew Chen
85756b0fe9
Merge remote-tracking branch 'private/release/2.42.0'
2019-08-16 13:21:38 -03:00
Matthew Chen
d308c566af
Address deadlocks in profile manager.
2019-08-15 16:10:14 -03:00
Michael Kirk
34ba50bd02
broadcast media operation
...
Only upload once when sending to multiple via the camera first flow
2019-08-15 09:36:57 -06:00
Michael Kirk
f3793f0f2a
Consolidate OutgoingMessage preparation
2019-08-12 15:11:40 -06:00
Nora Trapp
6c64e94006
Only auto-share profile with empty threads.
2019-08-09 12:59:15 -07:00
Nora Trapp
cfb5468b2c
Don't force profiles for existing conversations until phone number privacy rolls out
2019-07-31 13:17:37 -07:00
Nora Trapp
2cfa9f68ca
Add the thread to the profile whitelist anytime we send a message.
2019-07-29 12:40:09 -07:00
Nora Trapp
aedde9fde8
Remove profile banners
2019-07-29 12:40:09 -07:00
Nora Trapp
ae17d61a05
Update quoted messages, per message expiration, and sync transcripts
2019-07-10 13:31:18 -07:00
Matthew Chen
c8359fc932
Convert message sending to use any transactions.
2019-06-25 16:00:58 -04:00
Michael Kirk
440f9458e2
Fix loss of precision compiler warnings
2019-06-19 10:13:22 -06:00
Matthew Chen
6e32c9a79f
Remove "ephemeral media" model changes.
2019-05-29 11:53:42 -04:00
Michael Kirk
a837c75764
Simple send sans Yap
2019-05-28 17:31:53 -04:00
Matthew Chen
a6629bfe63
Add EphemeralMedia model classes.
2019-05-20 17:05:49 -04:00
Michael Kirk
aa37cdbadd
GRDB: Avoid assert when missing dynamic interactions
...
Triggered whenever entering a conversation
2019-05-13 12:48:45 -04:00
Matthew Chen
246131ebbd
Fix "set unread" deadlock.
2019-05-09 13:39:23 -04:00
Matthew Chen
a766f1e944
Send stickers.
2019-04-26 12:34:56 -04:00