Skip to content

Commit

Permalink
Remove end year from licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebuilds-signal authored Jan 3, 2023
1 parent eafd02b commit 3705b95
Show file tree
Hide file tree
Showing 766 changed files with 900 additions and 883 deletions.
2 changes: 1 addition & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2021 Signal Messenger, LLC
// Copyright 2019 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

module.exports = {
Expand Down
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

// For reference: https://github.com/airbnb/javascript
Expand Down Expand Up @@ -191,13 +191,13 @@ const typescriptRules = {
'@typescript-eslint/no-misused-promises': [
'error',
{
checksVoidReturn: false
}
checksVoidReturn: false,
},
],

'@typescript-eslint/no-floating-promises': 'error',
// We allow "void promise", but new call-sites should use `drop(promise)`.
'no-void': ['error', { 'allowAsStatement': true }],
'no-void': ['error', { allowAsStatement: true }],

'no-shadow': 'off',
'no-useless-constructor': 'off',
Expand Down
3 changes: 1 addition & 2 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021-2022 Signal Messenger, LLC
# Copyright 2021 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

# Configuration for probot-stale - https://github.com/probot/stale
Expand Down Expand Up @@ -68,4 +68,3 @@ limitPerRun: 5
# issues:
# exemptLabels:
# - confirmed

2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021-2022 Signal Messenger, LLC
# Copyright 2021 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

name: Backport
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2022 Signal Messenger, LLC
# Copyright 2020 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

name: Benchmark
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2022 Signal Messenger, LLC
# Copyright 2020 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

name: CI
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- run: yarn generate
- run: yarn lint
- run: yarn lint-deps
# - run: yarn lint-license-comments
- run: yarn lint-license-comments
- run: git diff --exit-code

macos:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2022 Signal Messenger, LLC
# Copyright 2020 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

name: CI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021-2022 Signal Messenger, LLC
# Copyright 2021 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

name: Notes
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2019-2022 Signal Messenger, LLC -->
<!-- Copyright 2019 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<!-- prettier-ignore -->
Expand Down
7 changes: 2 additions & 5 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2022 Signal Messenger, LLC
// Copyright 2019 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import React from 'react';
Expand Down Expand Up @@ -75,10 +75,7 @@ const withI18n = (Story, context) => (
</I18n>
);

export const decorators = [
withModeAndThemeProvider,
withI18n,
];
export const decorators = [withModeAndThemeProvider, withI18n];

export const parameters = {
axe: {
Expand Down
2 changes: 1 addition & 1 deletion .storybook/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 Signal Messenger, LLC
// Copyright 2019 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

@import '../stylesheets/variables';
Expand Down
20 changes: 9 additions & 11 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2022 Signal Messenger, LLC
// Copyright 2019 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

const webpack = require('webpack');
Expand All @@ -9,16 +9,14 @@ module.exports = ({ config }) => {
'!!style-loader!css-loader!typeface-inter'
);

config.module.rules.unshift(
{
test: /\.scss$/,
loaders: [
'style-loader',
'css-loader?modules=true&localsConvention=camelCaseOnly',
'sass-loader',
],
}
);
config.module.rules.unshift({
test: /\.scss$/,
loaders: [
'style-loader',
'css-loader?modules=true&localsConvention=camelCaseOnly',
'sass-loader',
],
});

config.externals = {
net: 'net',
Expand Down
2 changes: 1 addition & 1 deletion ACKNOWLEDGMENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2020-2023 Signal Messenger, LLC -->
<!-- Copyright 2020 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

# Acknowledgments
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2015-2022 Signal Messenger, LLC -->
<!-- Copyright 2015 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

# Contributor Guidelines
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2014-2022 Signal Messenger, LLC -->
<!-- Copyright 2014 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

# Signal Desktop
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2017-2021 Signal Messenger, LLC -->
<!-- Copyright 2017 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<html>
Expand Down
2 changes: 1 addition & 1 deletion app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

// For reference: https://github.com/airbnb/javascript
Expand Down
2 changes: 1 addition & 1 deletion app/SystemTrayService.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2021 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/SystemTraySettingCache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2021 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import * as log from '../ts/logging/log';
Expand Down
2 changes: 1 addition & 1 deletion app/attachment_channel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { ipcMain } from 'electron';
Expand Down
2 changes: 1 addition & 1 deletion app/attachments.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join, relative, normalize } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/base_config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { readFileSync, writeFileSync, unlinkSync } from 'fs';
Expand Down
2 changes: 1 addition & 1 deletion app/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2020 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/ephemeral_config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/global_errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { app, dialog, clipboard } from 'electron';
Expand Down
2 changes: 1 addition & 1 deletion app/locale.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2022 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2022 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join, normalize } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/menu.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2022 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { isString } from 'lodash';
Expand Down
2 changes: 1 addition & 1 deletion app/permissions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

// The list of permissions is here:
Expand Down
2 changes: 1 addition & 1 deletion app/protocol_filter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import type {
Expand Down
2 changes: 1 addition & 1 deletion app/spell_check.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2022 Signal Messenger, LLC
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import type { BrowserWindow } from 'electron';
Expand Down
2 changes: 1 addition & 1 deletion app/sql_channel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { ipcMain } from 'electron';
Expand Down
2 changes: 1 addition & 1 deletion app/user_config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2022 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

import { join } from 'path';
Expand Down
2 changes: 1 addition & 1 deletion app/window_state.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2020 Signal Messenger, LLC
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

let shouldQuitFlag = false;
Expand Down
4 changes: 2 additions & 2 deletions aptly.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# Copyright 2017-2021 Signal Messenger, LLC
# Copyright 2017 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only

# First run on a machine - uncomment the two 'first run' sections below, comment out the 'later runs' section.
# First run on a machine - uncomment the two 'first run' sections below, comment out the 'later runs' section.
#
# Release:
# NAME=signal-desktop(-beta) VERSION=X.X.X ./aptly.sh
Expand Down
2 changes: 1 addition & 1 deletion background.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2014-2022 Signal Messenger, LLC -->
<!-- Copyright 2014 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<!DOCTYPE html>
Expand Down
3 changes: 1 addition & 2 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2019-2020 Signal Messenger, LLC -->
<!-- Copyright 2019 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -25,4 +25,3 @@
<true/>
</dict>
</plist>

2 changes: 1 addition & 1 deletion build/entitlements.mas.plist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2017-2020 Signal Messenger, LLC -->
<!-- Copyright 2017 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<?xml version="1.0" encoding="UTF-8"?>
Expand Down
2 changes: 1 addition & 1 deletion debug_log.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2018-2021 Signal Messenger, LLC -->
<!-- Copyright 2018 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<html>
Expand Down
4 changes: 2 additions & 2 deletions fixtures/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2018-2022 Signal Messenger, LLC -->
<!-- Copyright 2018 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

A collection of fixture files. These files were made available in the public domain.
A collection of fixture files. These files were made available in the public domain.
2 changes: 1 addition & 1 deletion loading.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2020-2021 Signal Messenger, LLC -->
<!-- Copyright 2020 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<!DOCTYPE html>
Expand Down
2 changes: 1 addition & 1 deletion permissions_popup.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright 2018-2021 Signal Messenger, LLC -->
<!-- Copyright 2018 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<html>
Expand Down
2 changes: 1 addition & 1 deletion protos/ContactDiscovery.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 Signal Messenger, LLC
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
2 changes: 1 addition & 1 deletion protos/CrashReports.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

// Copyright 2020-2021 Signal Messenger, LLC
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
2 changes: 1 addition & 1 deletion protos/DeviceMessages.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2021 Signal Messenger, LLC
// Copyright 2014 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
2 changes: 1 addition & 1 deletion protos/DeviceName.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 Signal Messenger, LLC
// Copyright 2018 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
2 changes: 1 addition & 1 deletion protos/Groups.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

// Copyright 2020-2021 Signal Messenger, LLC
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
4 changes: 2 additions & 2 deletions protos/LibSignal-Client.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";

//
// Copyright 2020-2021 Signal Messenger, LLC.
// Copyright 2020 Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//

Expand Down Expand Up @@ -104,4 +104,4 @@ message SenderKeyStateStructure {

message SenderKeyRecordStructure {
repeated SenderKeyStateStructure sender_key_states = 1;
}
}
2 changes: 1 addition & 1 deletion protos/SignalService.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2021 Signal Messenger, LLC
// Copyright 2014 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

// Source: https://github.com/signalapp/libsignal-service-java/blob/4684a49b2ed8f32be619e0d0eea423626b6cb2cb/protobuf/SignalService.proto
Expand Down
2 changes: 1 addition & 1 deletion protos/SignalStorage.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2022 Signal Messenger, LLC
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

package signalservice;
Expand Down
Loading

0 comments on commit 3705b95

Please sign in to comment.