Commit Graph

2884 Commits

Author SHA1 Message Date
Nora Trapp
7aa3bcca67 "Bump build to 6.1.0.4." (nightly-10-29-2022) 2022-10-29 04:01:18 -07:00
Harry
5865a0a478
Translate OWSViewController to swift 2022-10-28 10:24:55 -07:00
Nora Trapp
8dbb6dc4ab "Bump build to 6.1.0.3." (nightly-10-28-2022) 2022-10-28 04:00:14 -07:00
Max Radermacher
0b906a45aa "Bump build to 6.1.0.2." (Internal) 2022-10-27 20:52:35 -07:00
Nora Trapp
9fc9accb59 "Bump build to 6.1.0.1." (nightly-10-27-2022) 2022-10-27 04:00:12 -07:00
Max Radermacher
5eb5f0b610 "Bump build to 6.1.0.0." (Internal) 2022-10-26 14:24:05 -07:00
Max Radermacher
b7a8f2a49a "Bump build to 6.0.0.0." (Internal) 2022-10-26 14:18:12 -07:00
Nora Trapp
8c72372681 "Bump build to 5.60.0.4." (nightly-10-26-2022) 2022-10-26 04:01:08 -07:00
Nora Trapp
bd7d76f3b7 "Bump build to 5.60.0.3." (nightly-10-25-2022) 2022-10-25 04:01:07 -07:00
Nora Trapp
8bf13d0e8c "Bump build to 5.60.0.2." (nightly-10-22-2022) 2022-10-22 04:00:55 -07:00
Nora Trapp
77fbf610bc "Bump build to 5.60.0.1." (nightly-10-21-2022) 2022-10-21 04:00:53 -07:00
Harry Sanabria
eae042e8c9 "Bump build to 5.60.0.0." (nightly-10-19-2022) 2022-10-19 16:39:04 -07:00
Nora Trapp
ee6501115b "Bump build to 5.59.0.4." (nightly-10-19-2022) 2022-10-19 04:00:46 -07:00
Nora Trapp
72d9653c44 "Bump build to 5.59.0.3." (nightly-10-18-2022) 2022-10-18 04:01:07 -07:00
Nora Trapp
9f5b1667b6 "Bump build to 5.59.0.2." (nightly-10-15-2022) 2022-10-15 04:00:32 -07:00
Nora Trapp
6f4eaca204 "Bump build to 5.59.0.1." (nightly-10-14-2022) 2022-10-14 04:00:31 -07:00
sashaweiss-signal
b021881ce8 "Bump build to 5.59.0.0." (nightly-10-13-2022) 2022-10-13 12:33:03 -07: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
Nora Trapp
e12f696bea "Bump build to 5.58.0.6." (nightly-10-13-2022) 2022-10-13 04:00:29 -07:00
Nora Trapp
1189b563ca "Bump build to 5.58.0.5." (nightly-10-12-2022) 2022-10-12 04:00:22 -07:00
Harry
3f0fe34089
Disable view once media in stories send flow
* Disable view once media in stories send flow

* Remove stories from picker if sending a view once media

* dont show view once button if sending to stories from sharesheet
2022-10-11 13:11:48 -07:00
Nora Trapp
6bbd6b5240 "Bump build to 5.58.0.4." (nightly-10-08-2022) 2022-10-08 04:00:11 -07:00
Max Radermacher
974b643234
Reduce likelihood of flaky test failures 2022-10-07 09:36:04 -07:00
Nora Trapp
93295d467e "Bump build to 5.58.0.3." (nightly-10-07-2022) 2022-10-07 04:01:28 -07:00
Evan Hahn
836a891204
Use #unavailable where possible, fixing SwiftLint violation
This fixes violations of [SwiftLint's `unavailable_condition` rule][0].
We can now do this because we're on Xcode 14.

[0]: https://realm.github.io/SwiftLint/unavailable_condition.html

Co-Authored-By: Sasha Weiss <sasha@signal.org>
2022-10-06 17:14:49 -05:00
Nora Trapp
3735ec1b68 "Bump build to 5.58.0.2." (Internal) 2022-10-06 11:20:26 -07:00
Nora Trapp
0d5a13da3c "Bump build to 5.58.0.1." (nightly-10-06-2022) 2022-10-06 04:01:05 -07:00
Evan Hahn
a6e85f2a06 "Bump build to 5.58.0.0." (nightly-10-05-2022) 2022-10-05 15:55:58 -05:00
Nora Trapp
8c08e74ef5 "Bump build to 5.57.0.4." (nightly-10-05-2022) 2022-10-05 04:00:59 -07:00
Nora Trapp
a15cb0b063 "Bump build to 5.57.0.3." (nightly-10-04-2022) 2022-10-04 04:00:57 -07:00
Nora Trapp
49ed068fcd Allow sharing text to stories 2022-10-03 21:35:32 -07:00
Nora Trapp
00d83257e9 "Bump build to 5.57.0.2." (nightly-10-01-2022) 2022-10-01 04:00:47 -07:00
Nora Trapp
ba91920040 "Bump build to 5.57.0.1." (nightly-09-30-2022) 2022-09-30 04:00:45 -07:00
sashaweiss-signal
487405ef08 "Bump build to 5.57.0.0." (nightly-09-29-2022) 2022-09-29 16:28:51 -07:00
Nora Trapp
9c1632ce7d "Bump build to 5.56.0.13." (nightly-09-29-2022) 2022-09-29 04:00:40 -07:00
Nora Trapp
627b9bb568 "Bump build to 5.56.0.12." (nightly-09-28-2022) 2022-09-28 04:00:38 -07:00
Nora Trapp
7e55c6fba3 "Bump build to 5.56.0.11." (Internal) 2022-09-27 17:56:41 -07:00
Nora Trapp
c9889e6b6b "Bump build to 5.56.0.10." (nightly-09-27-2022) 2022-09-27 04:00:35 -07:00
Nora Trapp
7eaeab8b3b "Bump build to 5.56.0.9." (Internal) 2022-09-26 13:56:39 -07:00
Nora Trapp
befeef88ae "Bump build to 5.56.0.8." (nightly-09-26-2022) 2022-09-26 08:44:02 -07:00
Nora Trapp
16c49c696e "Bump build to 5.56.0.7." (nightly-09-26-2022) 2022-09-26 04:00:31 -07:00
Nora Trapp
3fc4031010 "Bump build to 5.56.0.6." (nightly-09-25-2022) 2022-09-25 23:20:49 -07:00
Nora Trapp
ae1cf9e097 "Bump build to 5.56.0.5." (Internal) 2022-09-25 23:20:43 -07:00
Nora Trapp
498fa60442 "Bump build to 5.56.0.4." (Internal) 2022-09-25 22:11:28 -07:00
Nora Trapp
b295dd43ea "Bump build to 5.56.0.3." (nightly-09-24-2022) 2022-09-24 04:00:35 -07:00
Nora Trapp
ca441ce9ff "Bump build to 5.56.0.2." (nightly-09-23-2022) 2022-09-23 04:00:21 -07:00
Nora Trapp
6795fe6020 "Bump build to 5.56.0.1." (nightly-09-22-2022) 2022-09-22 04:00:19 -07:00
Max Radermacher
29098ff03e "Bump build to 5.56.0.0." (nightly-09-21-2022) 2022-09-21 15:58:06 -07:00
Michelle Linington
4ada6b3a3f Derive bundle ID from an Xcode build setting
See [#5423][5423].

[5423]: https://github.com/signalapp/Signal-iOS/pull/5423
2022-09-21 18:10:42 +00:00
Nora Trapp
f3862b92fa "Bump build to 5.55.0.7." (nightly-09-21-2022) 2022-09-21 04:00:15 -07:00