From 5e6eeecede40a362693ee9a00abed445928dc47b Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Mon, 2 Jan 2023 16:34:41 -0500 Subject: [PATCH] Removes Backbone.View and jQuery --- ACKNOWLEDGMENTS.md | 37 - background.html | 35 - package.json | 3 - patches/backbone+1.4.0.patch | 736 +- sticker-creator/index.html | 4 - test/index.html | 39 - ts/backbone/backboneJquery.ts | 6 - ts/backbone/reliable_trigger.ts | 1 - ts/background.ts | 5 +- ts/components/App.tsx | 41 +- ts/components/BackboneHost.tsx | 38 - ts/components/Inbox.tsx | 99 +- ts/models/conversations.ts | 14 +- ts/scripts/copy-and-concat.ts | 3 - ts/state/ducks/composer.ts | 16 +- ts/state/ducks/conversations.ts | 236 +- ts/state/roots/createConversationView.tsx | 30 - ts/state/smart/App.tsx | 17 +- ts/state/smart/ConversationView.tsx | 17 +- ts/state/smart/Inbox.tsx | 70 + ts/test-mock/benchmarks/group_send_bench.ts | 5 +- ts/test-mock/benchmarks/send_bench.ts | 5 +- ts/test-mock/pnp/learn_test.ts | 3 +- ts/test-mock/pnp/pni_change_test.ts | 18 +- ts/test-mock/pnp/pni_signature_test.ts | 6 +- ts/test-mock/storage/message_request_test.ts | 3 +- ts/test-mock/storage/sticker_test.ts | 2 +- ts/util/lint/exceptions.json | 6899 ------------------ ts/util/lint/rules.json | 95 - ts/views/conversation_view.tsx | 244 - ts/window.d.ts | 10 - ts/windows/main/phase3-post-signal.ts | 1 - yarn.lock | 12 +- 33 files changed, 1113 insertions(+), 7637 deletions(-) delete mode 100644 ts/backbone/backboneJquery.ts delete mode 100644 ts/components/BackboneHost.tsx delete mode 100644 ts/state/roots/createConversationView.tsx create mode 100644 ts/state/smart/Inbox.tsx delete mode 100644 ts/views/conversation_view.tsx diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index fd498dcd3c37..3613b31ed113 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -1349,29 +1349,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 SOFTWARE. -## jquery - - Copyright JS Foundation and other contributors, https://js.foundation/ - - 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. - ## js-yaml (The MIT License) @@ -1767,20 +1744,6 @@ Signal Desktop makes use of the following open source projects. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -## mustache - - The MIT License - - Copyright (c) 2009 Chris Wanstrath (Ruby) - Copyright (c) 2010-2014 Jan Lehnardt (JavaScript) - Copyright (c) 2010-2015 The mustache.js community - - 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. - ## node-fetch License: MIT diff --git a/background.html b/background.html index ce19d485fc72..c7f1fb7409c0 100644 --- a/background.html +++ b/background.html @@ -94,40 +94,6 @@ type="text/css" /> - - - - - - - - - -