Compare commits
200 Commits
Author | SHA1 | Date |
---|---|---|
Alvaro Carrasco | 6700d2f196 | |
Alvaro Carrasco | 0dfadaf732 | |
Jim Gustafson | 9dae967b6e | |
Scott Nonnenberg | 5e63d8aadf | |
Josh Perez | b0203e8909 | |
Evan Hahn | 5219cdf2c9 | |
Fedor Indutny | e20ec013f5 | |
Fedor Indutny | ebafc933b9 | |
Alvaro | c52fe3f377 | |
Alvaro | 8fcd36e30a | |
Jamie Kyle | 3e73b30a9d | |
Fedor Indutny | 80f8f38e33 | |
Fedor Indutny | 8b705d3b55 | |
Josh Perez | 3e57cb8549 | |
Alvaro | 458eb2ea81 | |
Alvaro | 56f8842ed2 | |
Alvaro | 44db76531e | |
Fedor Indutny | b65890b07d | |
Josh Perez | 3cc122f756 | |
Jamie Kyle | 6d56f8b8aa | |
Alvaro Carrasco | b5c514e1d1 | |
Alvaro | f533517672 | |
Gillespie | 364ae85079 | |
Scott Nonnenberg | 2b2594c20a | |
Josh Perez | 67c706a7ef | |
Alvaro | 00a720faa9 | |
Fedor Indutny | f64426fbe0 | |
Fedor Indutny | b449450098 | |
Fedor Indutnyy | 2e35f56f2c | |
Fedor Indutnyy | 49c6cc00e7 | |
Fedor Indutnyy | 5cfaeeaae1 | |
Fedor Indutnyy | 8793e0e1f2 | |
Alvaro | ab153b30c8 | |
Alvaro | 0c120eaf3a | |
dependabot[bot] | a9af4ca3ee | |
Fedor Indutny | e79d8c1fd6 | |
Fedor Indutny | ffac571dd8 | |
Scott Nonnenberg | 5957c111cf | |
Fedor Indutny | 620067342a | |
Fedor Indutny | 0ab85a6094 | |
Fedor Indutny | 698c7a7739 | |
Fedor Indutny | c0082adc56 | |
Fedor Indutny | 124d671368 | |
Alvaro | 1d2cb877e4 | |
Fedor Indutny | 373f121887 | |
Alvaro | cfe66a2c0b | |
Alvaro | 5baf3a7feb | |
Jim Gustafson | b90aee22d1 | |
Alvaro | ec454a9419 | |
Scott Nonnenberg | 5ed5483dd7 | |
Alvaro | a921f267f5 | |
Fedor Indutny | 1aef9dadd7 | |
Alvaro | 22bf3ebcc0 | |
Josh Perez | 190cd9408b | |
Josh Perez | 649faf0092 | |
Alvaro | 0524a00471 | |
Scott Nonnenberg | a7253be213 | |
Alvaro | 77bf3a8669 | |
Alvaro | 004abd44b5 | |
Josh Perez | d911439f0f | |
Josh Perez | 94ef800e33 | |
Alvaro | 7edb9edfe1 | |
Scott Nonnenberg | 3e27bc091a | |
Josh Perez | 89b5768775 | |
Josh Perez | 0be580e8e5 | |
Alvaro | 4308739bc0 | |
Josh Perez | af5a496994 | |
Josh Perez | b04fbb6d8d | |
Fedor Indutnyy | d221895b3a | |
Fedor Indutny | 59da9c7ae5 | |
Josh Perez | b7526d4e26 | |
Scott Nonnenberg | 041957ca63 | |
Alvaro | fe455a482f | |
Fedor Indutny | 249f5c37fc | |
Fedor Indutny | e0ae5fc27c | |
Fedor Indutny | 53e17e8e08 | |
Alvaro | b4c9c3051b | |
Fedor Indutny | f9453c64dd | |
Scott Nonnenberg | 450051e541 | |
Scott Nonnenberg | 5e9f3d5171 | |
Fedor Indutny | 1c670977d3 | |
Josh Perez | e8d226766d | |
Fedor Indutny | 62647a357f | |
Scott Nonnenberg | 6936cc1e2e | |
Scott Nonnenberg | 46baf2a69b | |
Jamie Kyle | bbf4e74239 | |
Scott Nonnenberg | c6819a5438 | |
Jamie Kyle | b290b577d4 | |
Jamie Kyle | 01587b0f39 | |
Alvaro | 6cfe2a09df | |
Jamie Kyle | eb10aafd7c | |
Fedor Indutny | f627a05cf8 | |
dependabot[bot] | eb9716a0d5 | |
Fedor Indutny | a6a80cebe9 | |
Fedor Indutny | 635840cd99 | |
Scott Nonnenberg | b348bf9b70 | |
Scott Nonnenberg | 625ce00a32 | |
Fedor Indutny | e3f418105b | |
Fedor Indutny | e0852abcdc | |
Jamie Kyle | 0086216c9d | |
jamiebuilds-signal | 64a4d2e717 | |
Fedor Indutny | 1a54d438c2 | |
jamiebuilds-signal | 5a8f484a03 | |
jamiebuilds-signal | 73bdcdfd0a | |
Fedor Indutny | 3e6156ced7 | |
Fedor Indutny | a040330d89 | |
Scott Nonnenberg | 8899ca9724 | |
Fedor Indutny | 1465682555 | |
jamiebuilds-signal | 537955b009 | |
Fedor Indutny | 9bc4117259 | |
Scott Nonnenberg | 380833447f | |
Alvaro | 383a0fd17f | |
Alvaro | 134265496b | |
Fedor Indutny | 692c5679f8 | |
Fedor Indutny | 1e825fd1e8 | |
Alvaro Carrasco | 8d7cbeef64 | |
Scott Nonnenberg | 9d50679473 | |
Fedor Indutnyy | 34f2ce06c6 | |
Evan Hahn | ef6dbf9485 | |
Scott Nonnenberg | 928acbaf41 | |
Fedor Indutny | c76b6d66ca | |
Fedor Indutny | ae01ad4276 | |
Scott Nonnenberg | 03b750d072 | |
Fedor Indutnyy | 0bf77fadd3 | |
Scott Nonnenberg | 192c85bb0e | |
Fedor Indutny | 55a5c51236 | |
Jordan Rose | 618a7725fe | |
Scott Nonnenberg | 56ffd7bc3f | |
Scott Nonnenberg | 6a1b6f2e44 | |
Fedor Indutny | b54c6f257d | |
Evan Hahn | aa86d8bf82 | |
Scott Nonnenberg | 6b82d67de1 | |
Scott Nonnenberg | 6dd2b73855 | |
Fedor Indutny | 6c9848efcd | |
Scott Nonnenberg | 8bbd892693 | |
Fedor Indutny | a48ea4ab76 | |
Fedor Indutny | 0715cc6be3 | |
Scott Nonnenberg | 0ba23d4b62 | |
Fedor Indutnyy | db155b9752 | |
Fedor Indutnyy | 663949ad81 | |
Scott Nonnenberg | c819d27ce9 | |
Scott Nonnenberg | 1cb70547fb | |
Fedor Indutny | dda21701c5 | |
Alvaro | dd12c4cba3 | |
Fedor Indutny | 2b5f0ffc10 | |
Fedor Indutny | 206f65e67d | |
Jim Gustafson | 9e02a57d77 | |
Josh Perez | 39143015c5 | |
Fedor Indutny | 7632f31cf2 | |
Evan Hahn | 39354b11b7 | |
Josh Perez | 9d7eaa003f | |
Fedor Indutny | 0c13ee896a | |
Fedor Indutny | e5f6de946f | |
Fedor Indutny | b6f9ee94b5 | |
Fedor Indutny | c42df6312e | |
Alvaro | 299044f89f | |
Alvaro | 07ab071c3d | |
Alvaro | ca6300a86a | |
Josh Perez | eadef45290 | |
Josh Perez | afc14aedd1 | |
Fedor Indutny | 7ce4beb270 | |
Josh Perez | 76e73f63dc | |
Josh Perez | 984f26c98e | |
Josh Perez | 68398823e3 | |
Josh Perez | 1aa7d4cadb | |
Josh Perez | 981bbf1a3f | |
Josh Perez | 3eecd23c8d | |
Fedor Indutnyy | 3d7859c46b | |
Fedor Indutnyy | ca899d3ce1 | |
Fedor Indutny | 604e733dce | |
Fedor Indutnyy | 176c7886a4 | |
Josh Perez | cdb453c659 | |
Fedor Indutnyy | 7d36e4ce35 | |
Fedor Indutny | 2237f08507 | |
Fedor Indutny | 6e3ec163dc | |
Josh Perez | fef9e5b58e | |
Josh Perez | a4f727a5b2 | |
Josh Perez | 22b05b6d11 | |
Josh Perez | f611256afc | |
Fedor Indutny | c18fa35354 | |
Josh Perez | 413b6dbd5c | |
Jordan Rose | a52bb25731 | |
Josh Perez | e9f4e28b3d | |
Josh Perez | 6f7094bc19 | |
Josh Perez | 70bdbe33d5 | |
Josh Perez | f7f65de322 | |
Scott Nonnenberg | 6dd6a64d6c | |
Josh Perez | 0fb45f045d | |
Fedor Indutny | d036803df9 | |
Josh Perez | de84dc06c8 | |
Josh Perez | bdcdf424e6 | |
Fedor Indutny | 757af2cbbe | |
Alvaro | 13046dc020 | |
Alvaro | bb9a7113f1 | |
Josh Perez | 3436283165 | |
Jordan Rose | d15ae63396 | |
Frazer Smith | a1a4024079 | |
mooons | e22a08563e | |
Frazer Smith | e5e93c609c | |
Frazer Smith | a22d51b7c7 |
|
@ -1,4 +1,3 @@
|
||||||
build/**
|
|
||||||
components/**
|
components/**
|
||||||
coverage/**
|
coverage/**
|
||||||
dist/**
|
dist/**
|
||||||
|
@ -15,6 +14,7 @@ libtextsecure/components.js
|
||||||
libtextsecure/test/test.js
|
libtextsecure/test/test.js
|
||||||
test/test.js
|
test/test.js
|
||||||
sticker-creator/dist/**
|
sticker-creator/dist/**
|
||||||
|
ts/protobuf/compiled.d.ts
|
||||||
|
|
||||||
# Third-party files
|
# Third-party files
|
||||||
js/Mp3LameEncoder.min.js
|
js/Mp3LameEncoder.min.js
|
||||||
|
@ -25,7 +25,6 @@ app/**/*.js
|
||||||
ts/**/*.js
|
ts/**/*.js
|
||||||
sticker-creator/**/*.js
|
sticker-creator/**/*.js
|
||||||
|
|
||||||
**/*.d.ts
|
|
||||||
.eslintrc.js
|
.eslintrc.js
|
||||||
webpack.config.ts
|
webpack.config.ts
|
||||||
preload.bundle.*
|
preload.bundle.*
|
||||||
|
|
28
.eslintrc.js
28
.eslintrc.js
|
@ -15,6 +15,14 @@ const rules = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// No omitting braces, keep on the same line
|
||||||
|
'brace-style': ['error', '1tbs', { allowSingleLine: false }],
|
||||||
|
curly: ['error', 'all'],
|
||||||
|
|
||||||
|
// Always use === and !== except when directly comparing to null
|
||||||
|
// (which only will equal null or undefined)
|
||||||
|
eqeqeq: ['error', 'always', { null: 'never' }],
|
||||||
|
|
||||||
// prevents us from accidentally checking in exclusive tests (`.only`):
|
// prevents us from accidentally checking in exclusive tests (`.only`):
|
||||||
'mocha/no-exclusive-tests': 'error',
|
'mocha/no-exclusive-tests': 'error',
|
||||||
|
|
||||||
|
@ -28,6 +36,9 @@ const rules = {
|
||||||
// useful for unused or internal fields
|
// useful for unused or internal fields
|
||||||
'no-underscore-dangle': 'off',
|
'no-underscore-dangle': 'off',
|
||||||
|
|
||||||
|
// Temp: We have because TypeScript's `allowUnreachableCode` option is on.
|
||||||
|
'no-unreachable': 'error',
|
||||||
|
|
||||||
// though we have a logger, we still remap console to log to disk
|
// though we have a logger, we still remap console to log to disk
|
||||||
'no-console': 'error',
|
'no-console': 'error',
|
||||||
|
|
||||||
|
@ -109,12 +120,19 @@ const rules = {
|
||||||
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
|
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
curly: 'error',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const typescriptRules = {
|
const typescriptRules = {
|
||||||
...rules,
|
...rules,
|
||||||
|
|
||||||
|
// Override brace style to enable typescript-specific syntax
|
||||||
|
'brace-style': 'off',
|
||||||
|
'@typescript-eslint/brace-style': [
|
||||||
|
'error',
|
||||||
|
'1tbs',
|
||||||
|
{ allowSingleLine: false },
|
||||||
|
],
|
||||||
|
|
||||||
'@typescript-eslint/array-type': ['error', { default: 'generic' }],
|
'@typescript-eslint/array-type': ['error', { default: 'generic' }],
|
||||||
|
|
||||||
'no-restricted-imports': 'off',
|
'no-restricted-imports': 'off',
|
||||||
|
@ -173,6 +191,7 @@ module.exports = {
|
||||||
'app/**/*.ts',
|
'app/**/*.ts',
|
||||||
'sticker-creator/**/*.ts',
|
'sticker-creator/**/*.ts',
|
||||||
'sticker-creator/**/*.tsx',
|
'sticker-creator/**/*.tsx',
|
||||||
|
'build/intl-linter/**/*.ts',
|
||||||
],
|
],
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
@ -193,7 +212,12 @@ module.exports = {
|
||||||
rules: typescriptRules,
|
rules: typescriptRules,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['**/*.stories.tsx', 'ts/build/**', 'ts/test-*/**'],
|
files: [
|
||||||
|
'**/*.stories.tsx',
|
||||||
|
'ts/build/**',
|
||||||
|
'ts/test-*/**',
|
||||||
|
'build/intl-linter/**/*.ts',
|
||||||
|
],
|
||||||
rules: {
|
rules: {
|
||||||
...typescriptRules,
|
...typescriptRules,
|
||||||
'import/no-extraneous-dependencies': 'off',
|
'import/no-extraneous-dependencies': 'off',
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 2021 Signal Messenger, LLC
|
# Copyright 2021-2022 Signal Messenger, LLC
|
||||||
# SPDX-License-Identifier: AGPL-3.0-only
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
name: Backport
|
name: Backport
|
||||||
|
@ -15,7 +15,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
||||||
repository: signalapp/Signal-Backport-Action-Private
|
repository: signalapp/Signal-Backport-Action-Private
|
||||||
|
|
|
@ -23,12 +23,12 @@ jobs:
|
||||||
run: uname -a
|
run: uname -a
|
||||||
|
|
||||||
- name: Clone Desktop repo
|
- name: Clone Desktop repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- name: Install global dependencies
|
- name: Install global dependencies
|
||||||
run: npm install -g yarn@1.22.10
|
run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
@ -106,13 +106,13 @@ jobs:
|
||||||
|
|
||||||
- name: Upload benchmark logs on failure
|
- name: Upload benchmark logs on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: Clone benchmark repo
|
- name: Clone benchmark repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'signalapp/Signal-Desktop-Benchmarks-Private'
|
repository: 'signalapp/Signal-Desktop-Benchmarks-Private'
|
||||||
path: 'benchmark-results'
|
path: 'benchmark-results'
|
||||||
|
|
|
@ -18,15 +18,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: lsb_release -a
|
- run: lsb_release -a
|
||||||
- run: uname -a
|
- run: uname -a
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- run: npm install -g yarn@1.22.10
|
- run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
@ -42,21 +42,21 @@ jobs:
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
needs: lint
|
needs: lint
|
||||||
runs-on: macos-11.0
|
runs-on: macos-latest
|
||||||
if: github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: uname -a
|
- run: uname -a
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- run: npm install -g yarn@1.22.10
|
- run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
@ -66,14 +66,14 @@ jobs:
|
||||||
|
|
||||||
- run: yarn generate
|
- run: yarn generate
|
||||||
- run: yarn prepare-beta-build
|
- run: yarn prepare-beta-build
|
||||||
|
- run: yarn test-node
|
||||||
|
- run: yarn test-electron
|
||||||
|
timeout-minutes: 5
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
env:
|
env:
|
||||||
DISABLE_INSPECT_FUSE: on
|
DISABLE_INSPECT_FUSE: on
|
||||||
- name: Rebuild native modules for x64
|
- name: Rebuild native modules for x64
|
||||||
run: yarn electron:install-app-deps
|
run: yarn electron:install-app-deps
|
||||||
- run: yarn test-node
|
|
||||||
- run: yarn test-electron
|
|
||||||
timeout-minutes: 5
|
|
||||||
- run: yarn test-release
|
- run: yarn test-release
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
|
@ -86,16 +86,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: lsb_release -a
|
- run: lsb_release -a
|
||||||
- run: uname -a
|
- run: uname -a
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- run: sudo apt-get install xvfb
|
- run: sudo apt-get install xvfb
|
||||||
- run: npm install -g yarn@1.22.10
|
- run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
@ -127,15 +127,15 @@ jobs:
|
||||||
- run: systeminfo
|
- run: systeminfo
|
||||||
- run: git config --global core.autocrlf false
|
- run: git config --global core.autocrlf false
|
||||||
- run: git config --global core.eol lf
|
- run: git config --global core.eol lf
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- run: npm install -g yarn@1.22.10
|
- run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
@ -171,12 +171,12 @@ jobs:
|
||||||
run: uname -a
|
run: uname -a
|
||||||
|
|
||||||
- name: Clone Desktop repo
|
- name: Clone Desktop repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.2'
|
node-version: '16.15.0'
|
||||||
- name: Install global dependencies
|
- name: Install global dependencies
|
||||||
run: npm install -g yarn@1.22.10
|
run: npm install -g yarn@1.22.10
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Copyright 2020-2022 Signal Messenger, LLC
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
danger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # fetch all history
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16.15.0'
|
||||||
|
- run: npm install -g yarn@1.22.10
|
||||||
|
- name: Cache danger node_modules
|
||||||
|
id: cache-desktop-modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: danger/node_modules
|
||||||
|
key: danger-${{ runner.os }}-${{ hashFiles('danger/package.json', 'danger/yarn.lock') }}
|
||||||
|
- name: Install danger node_modules
|
||||||
|
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
|
||||||
|
run: cd danger && yarn install --frozen-lockfile
|
||||||
|
- name: Run DangerJS
|
||||||
|
run: yarn danger:ci
|
||||||
|
env:
|
||||||
|
DANGER_GITHUB_API_TOKEN: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
|
@ -1,4 +1,5 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
node_modules_bkp
|
||||||
.sass-cache
|
.sass-cache
|
||||||
coverage/*
|
coverage/*
|
||||||
build/curve25519_compiled.js
|
build/curve25519_compiled.js
|
||||||
|
@ -16,6 +17,7 @@ release/
|
||||||
/start.sh
|
/start.sh
|
||||||
.eslintcache
|
.eslintcache
|
||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
|
.smartling-source.sh
|
||||||
|
|
||||||
# generated files
|
# generated files
|
||||||
js/components.js
|
js/components.js
|
||||||
|
|
|
@ -35,12 +35,6 @@ js/WebAudioRecorderMp3.js
|
||||||
# Github workflows
|
# Github workflows
|
||||||
.github/**
|
.github/**
|
||||||
|
|
||||||
# Managed by Transifex:
|
|
||||||
# Note: the negate pattern only works because it's targeting the same depth as the
|
|
||||||
# glob on the previous line.
|
|
||||||
_locales/**/*.json
|
|
||||||
!_locales/en/messages.json
|
|
||||||
|
|
||||||
# Managed by package manager (`bower` and `yarn`/`npm`):
|
# Managed by package manager (`bower` and `yarn`/`npm`):
|
||||||
/bower.json
|
/bower.json
|
||||||
/package.json
|
/package.json
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Copyright 2022 Signal Messenger, LLC
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
|
# run this before yarn get-strings/push-strings:
|
||||||
|
# source .smartling-source.sh
|
||||||
|
|
||||||
|
export SMARTLING_USER="your token 'user identifier' here"
|
||||||
|
export SMARTLING_SECRET="your token secret here"
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Copyright 2022 Signal Messenger, LLC
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
|
# https://github.com/Smartling/smartling-cli/wiki/examples.md
|
||||||
|
|
||||||
|
account_id: '92ff14ad'
|
||||||
|
project_id: 'ef62d1ebb'
|
|
@ -70,7 +70,7 @@ const withModeAndThemeProvider = (Story, context) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const withI18n = (Story, context) => (
|
const withI18n = (Story, context) => (
|
||||||
<I18n messages={messages}>
|
<I18n messages={messages} locale="en">
|
||||||
<Story {...context} />
|
<Story {...context} />
|
||||||
</I18n>
|
</I18n>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[main]
|
|
||||||
host = https://www.transifex.com
|
|
||||||
|
|
||||||
[o:signalapp:p:signal-desktop:r:messagesjson-electron]
|
|
||||||
file_filter = _locales/<lang>/messages.json
|
|
||||||
source_file = _locales/en/messages.json
|
|
||||||
source_lang = en
|
|
||||||
type = CHROME
|
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
|
|
||||||
Signal Desktop makes use of the following open source projects.
|
Signal Desktop makes use of the following open source projects.
|
||||||
|
|
||||||
|
## @formatjs/fast-memoize
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
|
||||||
## @indutny/frameless-titlebar
|
## @indutny/frameless-titlebar
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
@ -2648,10 +2652,6 @@ Signal Desktop makes use of the following open source projects.
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
## pino-multi-stream
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
|
|
||||||
## protobufjs
|
## protobufjs
|
||||||
|
|
||||||
This license applies to all parts of protobuf.js except those files
|
This license applies to all parts of protobuf.js except those files
|
||||||
|
@ -2863,6 +2863,10 @@ Signal Desktop makes use of the following open source projects.
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
## react-intl
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
## react-measure
|
## react-measure
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
@ -3178,30 +3182,6 @@ Signal Desktop makes use of the following open source projects.
|
||||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
||||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
## rotating-file-stream
|
|
||||||
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2015-2020 Daniele Ricci
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
## sanitize.css
|
## sanitize.css
|
||||||
|
|
||||||
License: CC0-1.0
|
License: CC0-1.0
|
||||||
|
@ -3469,7 +3449,9 @@ Signal Desktop makes use of the following open source projects.
|
||||||
|
|
||||||
## typeface-inter
|
## typeface-inter
|
||||||
|
|
||||||
Copyright (c) 2016-2018 The Inter Project Authors (me@rsms.me)
|
Copyright (c) 2016-2020 The Inter Project Authors.
|
||||||
|
"Inter" is trademark of Rasmus Andersson.
|
||||||
|
https://github.com/rsms/inter
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
This license is copied below, and is also available with a FAQ at:
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
|
|
@ -272,15 +272,3 @@ yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, run the tests using `yarn test-release`.
|
Then, run the tests using `yarn test-release`.
|
||||||
|
|
||||||
## Translations
|
|
||||||
|
|
||||||
To pull the latest translations, follow these steps:
|
|
||||||
|
|
||||||
1. Download Transifex client:
|
|
||||||
https://docs.transifex.com/client/installing-the-client
|
|
||||||
2. Create Transifex account: https://transifex.com
|
|
||||||
3. Generate API token: https://www.transifex.com/user/settings/api/
|
|
||||||
4. Create `~/.transifexrc` configuration:
|
|
||||||
https://docs.transifex.com/client/client-configuration#-transifexrc
|
|
||||||
5. Run `yarn get-strings`.
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue