diff --git a/.eslintignore b/.eslintignore index b6cf47a16..8f2e164c9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,19 +4,7 @@ dist/** mnemonic_languages/** # Generated files -js/curve/* -js/components.js -js/libtextsecure.js js/util_worker.js -libtextsecure/components.js -test/test.js - - -# Third-party files -js/Mp3LameEncoder.min.js -js/WebAudioRecorderMp3.js -libtextsecure/test/blanket_mocha.js -test/blanket_mocha.js # TypeScript generated files ts/**/*.js diff --git a/.gitignore b/.gitignore index 80cc79bfd..c07b5c293 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ node_modules .sass-cache .eslintcache -build/curve25519_compiled.js stylesheets/*.css.map /dist .DS_Store @@ -14,12 +13,8 @@ release/ sql/ # generated files -js/components.js js/util_worker.js -js/libtextsecure.js -libtextsecure/components.js stylesheets/*.css -test/test.js # React / TypeScript ts/**/*.js diff --git a/.prettierignore b/.prettierignore index 20eb2bd97..72c5b7191 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,12 +5,8 @@ config/local-*.json config/local.json dist/** -js/components.js js/util_worker.js -js/libtextsecure.js -libtextsecure/components.js stylesheets/*.css -test/test.js test/ts/**/*.js ts/**/*.js @@ -22,20 +18,12 @@ ts/test/automation/notes # Third-party files node_modules/** -components/** -js/curve/** -js/Mp3LameEncoder.min.js -js/WebAudioRecorderMp3.js js/util_worker.js -libtextsecure/test/blanket_mocha.js mnemonic_languages/** playwright.config.js # Managed by package manager (`yarn`/`npm`): /package.json -# Symlink into third-party `components`: -stylesheets/_intlTelInput.scss - # Coverage release/** diff --git a/Gruntfile.js b/Gruntfile.js index e592c6a25..ecf2da664 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,32 +3,11 @@ const sass = require('node-sass'); /* eslint-disable more/no-then, no-console */ -const toConcatForApp = [ - 'node_modules/jquery/dist/jquery.js', - 'node_modules/bytebuffer/dist/bytebuffer.min.js', - 'node_modules/long/dist/long.js', - 'node_modules/mustache/mustache.js', - 'node_modules/underscore/underscore-min.js', - 'node_modules/backbone/backbone.js', -]; - module.exports = grunt => { - const components = []; - // eslint-disable-next-line guard-for-in, no-restricted-syntax - for (const i in toConcatForApp) { - components.push(toConcatForApp[i]); - } - grunt.loadNpmTasks('grunt-sass'); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), - concat: { - components: { - src: components, - dest: 'js/components.js', - }, - }, sass: { options: { implementation: sass, @@ -42,10 +21,6 @@ module.exports = grunt => { }, }, watch: { - libtextsecure: { - files: ['./libtextsecure/*.js', './libtextsecure/storage/*.js'], - tasks: ['concat:libtextsecure'], - }, protobuf: { files: ['./protos/SignalService.proto'], tasks: ['exec:build-protobuf'], diff --git a/background.html b/background.html index 5e70bbd4d..2ee89ec0d 100644 --- a/background.html +++ b/background.html @@ -29,9 +29,6 @@ - - -
diff --git a/password.html b/password.html index c25c2a502..c41dedf31 100644 --- a/password.html +++ b/password.html @@ -15,9 +15,6 @@ style-src 'self' 'unsafe-inline';" /> - - -