diff --git a/Cargo.lock b/Cargo.lock index ee1637e..a41ac8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,28 +235,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "axum-extra" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be44683b41ccb9ab2d23a5230015c9c3c55be97a25e4428366de8873103f7970" -dependencies = [ - "axum", - "axum-core", - "bytes", - "cookie", - "futures-core", - "futures-util", - "http", - "http-body", - "http-body-util", - "mime", - "pin-project-lite", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "base16ct" version = "0.2.0" @@ -417,7 +395,6 @@ dependencies = [ "js-sys", "num-traits", "pure-rust-locales", - "serde", "wasm-bindgen", "windows-link", ] @@ -527,17 +504,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" -[[package]] -name = "cookie" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87" -dependencies = [ - "percent-encoding", - "time", - "version_check", -] - [[package]] name = "core-foundation" version = "0.9.4" @@ -751,12 +717,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "deranged" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" - [[package]] name = "digest" version = "0.10.7" @@ -1947,7 +1907,6 @@ checksum = "86886cf6dbf4e614b19c9a1eec9775f021869d7eadde0fc73921a81b90c9b4c9" dependencies = [ "memo-map", "serde", - "serde_json", ] [[package]] @@ -2032,13 +1991,11 @@ dependencies = [ "aes-gcm 0.11.1", "anyhow", "axum", - "axum-extra", "base64 0.23.1", "base64ct", "chrono", "chrono-tz", "futures", - "futures-util", "hex", "html-escape", "image", @@ -2131,12 +2088,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "num-conv" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" - [[package]] name = "num-integer" version = "0.1.47" @@ -2377,12 +2328,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "powerfmt" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" - [[package]] name = "ppv-lite86" version = "0.2.21" @@ -2649,7 +2594,6 @@ dependencies = [ "base64 0.23.1", "bytes", "futures-core", - "futures-util", "http", "http-body", "http-body-util", @@ -2664,19 +2608,15 @@ dependencies = [ "rustls", "rustls-pki-types", "rustls-platform-verifier", - "serde", - "serde_json", "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util", "tower", "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", "web-sys", ] @@ -3542,36 +3482,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "time" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" -dependencies = [ - "deranged", - "num-conv", - "powerfmt", - "serde_core", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" - -[[package]] -name = "time-macros" -version = "0.2.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" -dependencies = [ - "num-conv", - "time-core", -] - [[package]] name = "tinystr" version = "0.8.5" @@ -4053,19 +3963,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "wasm-streams" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "web-push-native" version = "0.5.0" diff --git a/Cargo.toml b/Cargo.toml index ba0d83d..06ece3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,24 +7,22 @@ edition = "2024" aes-gcm = "0.11.1" anyhow = "1.0.104" axum = { version = "0.8", features = ["multipart", "ws"] } -axum-extra = { version = "0.12.6", features = ["cookie"] } base64 = "0.23.1" base64ct = "1.8.3" -chrono = { version = "0.4.45", features = ["serde", "unstable-locales"] } +chrono = { version = "0.4.45", features = ["unstable-locales"] } chrono-tz = "0.10.4" futures = "0.3.34" -futures-util = "0.3.34" hex = "0.4.3" html-escape = "0.3.0" image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] } indexmap = "2.14.2" minidom = "0.19" -minijinja = { version = "2", features = ["loader", "json"] } +minijinja = { version = "2", features = ["loader"] } percent-encoding = "2.3.2" unicode-normalization = "0.1.26" rand = "0.9" regex = "1.13.1" -reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "stream", "json"] } +reqwest = { version = "0.13.5", default-features = false, features = ["rustls"] } sasl = "0.5" serde = { version = "1.0.229", features = ["derive"] } serde_json = { version = "1.0.154", features = ["preserve_order"] } diff --git a/README.md b/README.md index 2e2cb7a..8cedacb 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,11 @@ Prosody; see `tests/e2e/README.md`. - `scripts/movim_jingles.js`: the signaling of each call session runs through a promise queue (a content-add could arrive before the remote description was applied, early ICE candidates were dropped). +- `widgets/Config/config.js`, `widgets/Account/account.js`: removed the blog + configuration and gateways calls (not implemented here). +- Widgets of the social features, the admin pages, AdHoc, SendTo, RoomsExplore + and the sticker packs are not shipped. Their strings still in use moved to + `locales/extra.ini`. ## Not implemented Movim social features (blogs, communities, stories), SFU conference calls diff --git a/frontend/locales/extra.ini b/frontend/locales/extra.ini index af904ee..1b5c090 100644 --- a/frontend/locales/extra.ini +++ b/frontend/locales/extra.ini @@ -53,3 +53,48 @@ files_recordings = Recordings files_files = Files files_message = Show the message files_empty = Nothing shared yet + +; Upstream strings still in use, their widgets are not part of this edition + +[apps] +install = Movim App +install_text = Install Movim on your device + +[clients] +title_full = Clients information + +[communitydata] +sub = %s subscribers + +[delete] +text = You are going to remove one of your contacts, please confirm your action +title = Are you sure? + +[edit] +alias = Alias +group = Group + +[emojisconfig] +title = Emojis + +[general] +about = About Me +email = Email +name = Name +nickname = Nickname +website = Website + +[information] +description = Description + +[last] +title = Last seen + +[publish] +preview = Preview + +[subscription] +nil = You are not subscribed to anyone + +[contactrequests] +title = Contact requests diff --git a/frontend/locales/extra/vi.po b/frontend/locales/extra/vi.po index ccb848d..7fd24d6 100644 --- a/frontend/locales/extra/vi.po +++ b/frontend/locales/extra/vi.po @@ -6,6 +6,9 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" # --- extra.ini +msgid "Contact requests" +msgstr "Lời mời kết nối" + msgid "Kick from the room" msgstr "Đuổi khỏi phòng" diff --git a/frontend/stickers/meme/037edb73175c5f04eaca5732f542119f3f945117.png b/frontend/stickers/meme/037edb73175c5f04eaca5732f542119f3f945117.png deleted file mode 100644 index c04fcf6..0000000 Binary files a/frontend/stickers/meme/037edb73175c5f04eaca5732f542119f3f945117.png and /dev/null differ diff --git a/frontend/stickers/meme/05caae67d947ab974958a81980499fa9f7333587.png b/frontend/stickers/meme/05caae67d947ab974958a81980499fa9f7333587.png deleted file mode 100644 index 8fe57c7..0000000 Binary files a/frontend/stickers/meme/05caae67d947ab974958a81980499fa9f7333587.png and /dev/null differ diff --git a/frontend/stickers/meme/09a50ee45f8250aeefdba2213390754eb3118761.png b/frontend/stickers/meme/09a50ee45f8250aeefdba2213390754eb3118761.png deleted file mode 100644 index efc5cbf..0000000 Binary files a/frontend/stickers/meme/09a50ee45f8250aeefdba2213390754eb3118761.png and /dev/null differ diff --git a/frontend/stickers/meme/0b4ffbd316ea17f16690a248c47da0c9b8290a6a.png b/frontend/stickers/meme/0b4ffbd316ea17f16690a248c47da0c9b8290a6a.png deleted file mode 100644 index 3024ccd..0000000 Binary files a/frontend/stickers/meme/0b4ffbd316ea17f16690a248c47da0c9b8290a6a.png and /dev/null differ diff --git a/frontend/stickers/meme/12528eeeb211f5ea234d1e6d2e778393b6dfba3c.png b/frontend/stickers/meme/12528eeeb211f5ea234d1e6d2e778393b6dfba3c.png deleted file mode 100644 index 26aaa05..0000000 Binary files a/frontend/stickers/meme/12528eeeb211f5ea234d1e6d2e778393b6dfba3c.png and /dev/null differ diff --git a/frontend/stickers/meme/125f7c9a2ce910e1ed271774c6d1bde7e12d2e75.png b/frontend/stickers/meme/125f7c9a2ce910e1ed271774c6d1bde7e12d2e75.png deleted file mode 100644 index cfcb609..0000000 Binary files a/frontend/stickers/meme/125f7c9a2ce910e1ed271774c6d1bde7e12d2e75.png and /dev/null differ diff --git a/frontend/stickers/meme/17f9b681b65399195d24acc4b901f007d24e0154.png b/frontend/stickers/meme/17f9b681b65399195d24acc4b901f007d24e0154.png deleted file mode 100644 index ddf9549..0000000 Binary files a/frontend/stickers/meme/17f9b681b65399195d24acc4b901f007d24e0154.png and /dev/null differ diff --git a/frontend/stickers/meme/1ea38708c9bc6bef691c7c80ee188a173465a4bd.png b/frontend/stickers/meme/1ea38708c9bc6bef691c7c80ee188a173465a4bd.png deleted file mode 100644 index 63e4c4d..0000000 Binary files a/frontend/stickers/meme/1ea38708c9bc6bef691c7c80ee188a173465a4bd.png and /dev/null differ diff --git a/frontend/stickers/meme/1fa7b57d9065e4d422311fcbd78cac7a02ed9313.png b/frontend/stickers/meme/1fa7b57d9065e4d422311fcbd78cac7a02ed9313.png deleted file mode 100644 index dda9c61..0000000 Binary files a/frontend/stickers/meme/1fa7b57d9065e4d422311fcbd78cac7a02ed9313.png and /dev/null differ diff --git a/frontend/stickers/meme/24d8f0e08f9ab29ec07e4d909d2b120bb93d7744.png b/frontend/stickers/meme/24d8f0e08f9ab29ec07e4d909d2b120bb93d7744.png deleted file mode 100644 index 9120778..0000000 Binary files a/frontend/stickers/meme/24d8f0e08f9ab29ec07e4d909d2b120bb93d7744.png and /dev/null differ diff --git a/frontend/stickers/meme/30e42ed65ebd51a5bf7faba17291fe0c83c4c954.png b/frontend/stickers/meme/30e42ed65ebd51a5bf7faba17291fe0c83c4c954.png deleted file mode 100644 index 5510188..0000000 Binary files a/frontend/stickers/meme/30e42ed65ebd51a5bf7faba17291fe0c83c4c954.png and /dev/null differ diff --git a/frontend/stickers/meme/38cb89fb203f71899e3751362e175b2fbd975db2.png b/frontend/stickers/meme/38cb89fb203f71899e3751362e175b2fbd975db2.png deleted file mode 100644 index b9e9d44..0000000 Binary files a/frontend/stickers/meme/38cb89fb203f71899e3751362e175b2fbd975db2.png and /dev/null differ diff --git a/frontend/stickers/meme/401c6e363511624f480594c6ec9734dc6af79501.png b/frontend/stickers/meme/401c6e363511624f480594c6ec9734dc6af79501.png deleted file mode 100644 index 5389038..0000000 Binary files a/frontend/stickers/meme/401c6e363511624f480594c6ec9734dc6af79501.png and /dev/null differ diff --git a/frontend/stickers/meme/40d044a7e898486f7c3fbceba1a3c86eb78bbe53.png b/frontend/stickers/meme/40d044a7e898486f7c3fbceba1a3c86eb78bbe53.png deleted file mode 100644 index 4d0514b..0000000 Binary files a/frontend/stickers/meme/40d044a7e898486f7c3fbceba1a3c86eb78bbe53.png and /dev/null differ diff --git a/frontend/stickers/meme/436bbc3df30357dd064ab85506a68e84fb3f3215.png b/frontend/stickers/meme/436bbc3df30357dd064ab85506a68e84fb3f3215.png deleted file mode 100644 index fcea9dc..0000000 Binary files a/frontend/stickers/meme/436bbc3df30357dd064ab85506a68e84fb3f3215.png and /dev/null differ diff --git a/frontend/stickers/meme/47c5db95aa0ef907d8fa4416e5de043a7f53814c.png b/frontend/stickers/meme/47c5db95aa0ef907d8fa4416e5de043a7f53814c.png deleted file mode 100644 index e1f1e6f..0000000 Binary files a/frontend/stickers/meme/47c5db95aa0ef907d8fa4416e5de043a7f53814c.png and /dev/null differ diff --git a/frontend/stickers/meme/4ec2a828f232ae32dacddffa9a91cbedd393a008.png b/frontend/stickers/meme/4ec2a828f232ae32dacddffa9a91cbedd393a008.png deleted file mode 100644 index f09f9c0..0000000 Binary files a/frontend/stickers/meme/4ec2a828f232ae32dacddffa9a91cbedd393a008.png and /dev/null differ diff --git a/frontend/stickers/meme/50b10670289f615f9983519d998e1d31bb05abe7.png b/frontend/stickers/meme/50b10670289f615f9983519d998e1d31bb05abe7.png deleted file mode 100644 index 376265b..0000000 Binary files a/frontend/stickers/meme/50b10670289f615f9983519d998e1d31bb05abe7.png and /dev/null differ diff --git a/frontend/stickers/meme/54dac672a728e6a548946c31e9e3296460ae5a4a.png b/frontend/stickers/meme/54dac672a728e6a548946c31e9e3296460ae5a4a.png deleted file mode 100644 index e39254e..0000000 Binary files a/frontend/stickers/meme/54dac672a728e6a548946c31e9e3296460ae5a4a.png and /dev/null differ diff --git a/frontend/stickers/meme/5936dd2556870c4f82cf3b6c3e5e24592560a5e6.png b/frontend/stickers/meme/5936dd2556870c4f82cf3b6c3e5e24592560a5e6.png deleted file mode 100644 index bd6be00..0000000 Binary files a/frontend/stickers/meme/5936dd2556870c4f82cf3b6c3e5e24592560a5e6.png and /dev/null differ diff --git a/frontend/stickers/meme/5995cd4f9350e19965e3184de709097d26f6763c.png b/frontend/stickers/meme/5995cd4f9350e19965e3184de709097d26f6763c.png deleted file mode 100644 index bbd828b..0000000 Binary files a/frontend/stickers/meme/5995cd4f9350e19965e3184de709097d26f6763c.png and /dev/null differ diff --git a/frontend/stickers/meme/5bb4bce81cdcb403ffcc92f9e71b1cdcb7442bfa.png b/frontend/stickers/meme/5bb4bce81cdcb403ffcc92f9e71b1cdcb7442bfa.png deleted file mode 100644 index 0205b22..0000000 Binary files a/frontend/stickers/meme/5bb4bce81cdcb403ffcc92f9e71b1cdcb7442bfa.png and /dev/null differ diff --git a/frontend/stickers/meme/5bed574796c2bb1c68f21a3b9dba18d150813fa5.png b/frontend/stickers/meme/5bed574796c2bb1c68f21a3b9dba18d150813fa5.png deleted file mode 100644 index 67a29dc..0000000 Binary files a/frontend/stickers/meme/5bed574796c2bb1c68f21a3b9dba18d150813fa5.png and /dev/null differ diff --git a/frontend/stickers/meme/5c0c2ab28e2b691bc99d523f8f458e2e2da4ee32.png b/frontend/stickers/meme/5c0c2ab28e2b691bc99d523f8f458e2e2da4ee32.png deleted file mode 100644 index 5ba723c..0000000 Binary files a/frontend/stickers/meme/5c0c2ab28e2b691bc99d523f8f458e2e2da4ee32.png and /dev/null differ diff --git a/frontend/stickers/meme/5d08b5a46eca2444b76947c50a6f287533b403ad.png b/frontend/stickers/meme/5d08b5a46eca2444b76947c50a6f287533b403ad.png deleted file mode 100644 index ffa50f3..0000000 Binary files a/frontend/stickers/meme/5d08b5a46eca2444b76947c50a6f287533b403ad.png and /dev/null differ diff --git a/frontend/stickers/meme/5f4b680fc20044850e7983fcd3d279a51c1b044e.png b/frontend/stickers/meme/5f4b680fc20044850e7983fcd3d279a51c1b044e.png deleted file mode 100644 index 12e5a4f..0000000 Binary files a/frontend/stickers/meme/5f4b680fc20044850e7983fcd3d279a51c1b044e.png and /dev/null differ diff --git a/frontend/stickers/meme/61fb135c460f6080b9d11ef0c078df90e8eda67c.png b/frontend/stickers/meme/61fb135c460f6080b9d11ef0c078df90e8eda67c.png deleted file mode 100644 index d01bdf5..0000000 Binary files a/frontend/stickers/meme/61fb135c460f6080b9d11ef0c078df90e8eda67c.png and /dev/null differ diff --git a/frontend/stickers/meme/638a4fe9d8eb5eca1292eb560e6ccb7a67086779.png b/frontend/stickers/meme/638a4fe9d8eb5eca1292eb560e6ccb7a67086779.png deleted file mode 100644 index 007fef7..0000000 Binary files a/frontend/stickers/meme/638a4fe9d8eb5eca1292eb560e6ccb7a67086779.png and /dev/null differ diff --git a/frontend/stickers/meme/6587cc65908c1bca0be89ec6a8b2d4936c1a76c5.png b/frontend/stickers/meme/6587cc65908c1bca0be89ec6a8b2d4936c1a76c5.png deleted file mode 100644 index 4394972..0000000 Binary files a/frontend/stickers/meme/6587cc65908c1bca0be89ec6a8b2d4936c1a76c5.png and /dev/null differ diff --git a/frontend/stickers/meme/69e3ac83624e0fce10070e1c0f93cfc91eb74fd2.png b/frontend/stickers/meme/69e3ac83624e0fce10070e1c0f93cfc91eb74fd2.png deleted file mode 100644 index 5188ab5..0000000 Binary files a/frontend/stickers/meme/69e3ac83624e0fce10070e1c0f93cfc91eb74fd2.png and /dev/null differ diff --git a/frontend/stickers/meme/6c2105e8793c2588be9c61fee467ec79c7ea026d.png b/frontend/stickers/meme/6c2105e8793c2588be9c61fee467ec79c7ea026d.png deleted file mode 100644 index ff9d653..0000000 Binary files a/frontend/stickers/meme/6c2105e8793c2588be9c61fee467ec79c7ea026d.png and /dev/null differ diff --git a/frontend/stickers/meme/6f6a362ee5c7fd7b8e0b5aaa049d4de1063762a9.png b/frontend/stickers/meme/6f6a362ee5c7fd7b8e0b5aaa049d4de1063762a9.png deleted file mode 100644 index 486f640..0000000 Binary files a/frontend/stickers/meme/6f6a362ee5c7fd7b8e0b5aaa049d4de1063762a9.png and /dev/null differ diff --git a/frontend/stickers/meme/7251f3fad76e198b337942a42a3767a6a6fc2ca1.png b/frontend/stickers/meme/7251f3fad76e198b337942a42a3767a6a6fc2ca1.png deleted file mode 100644 index e0f2bcc..0000000 Binary files a/frontend/stickers/meme/7251f3fad76e198b337942a42a3767a6a6fc2ca1.png and /dev/null differ diff --git a/frontend/stickers/meme/72d83ea55c430b7bcc557a5b698038c807ce7f4f.png b/frontend/stickers/meme/72d83ea55c430b7bcc557a5b698038c807ce7f4f.png deleted file mode 100644 index df095e1..0000000 Binary files a/frontend/stickers/meme/72d83ea55c430b7bcc557a5b698038c807ce7f4f.png and /dev/null differ diff --git a/frontend/stickers/meme/754872684dcbbfb52380b6658583626558f0f732.png b/frontend/stickers/meme/754872684dcbbfb52380b6658583626558f0f732.png deleted file mode 100644 index 4d42de7..0000000 Binary files a/frontend/stickers/meme/754872684dcbbfb52380b6658583626558f0f732.png and /dev/null differ diff --git a/frontend/stickers/meme/7bf172f6cb53cc7e6389899aa8129566cb1d7292.png b/frontend/stickers/meme/7bf172f6cb53cc7e6389899aa8129566cb1d7292.png deleted file mode 100644 index 779a7eb..0000000 Binary files a/frontend/stickers/meme/7bf172f6cb53cc7e6389899aa8129566cb1d7292.png and /dev/null differ diff --git a/frontend/stickers/meme/875028404de878151a44e7d4fa1bfe8a31f84e9b.png b/frontend/stickers/meme/875028404de878151a44e7d4fa1bfe8a31f84e9b.png deleted file mode 100644 index 48b86f3..0000000 Binary files a/frontend/stickers/meme/875028404de878151a44e7d4fa1bfe8a31f84e9b.png and /dev/null differ diff --git a/frontend/stickers/meme/8bbd816dac729ab3e16eb0a0463721113c4b5514.png b/frontend/stickers/meme/8bbd816dac729ab3e16eb0a0463721113c4b5514.png deleted file mode 100644 index c26e818..0000000 Binary files a/frontend/stickers/meme/8bbd816dac729ab3e16eb0a0463721113c4b5514.png and /dev/null differ diff --git a/frontend/stickers/meme/8c06dfb3770d63b87c7a2e7e6ecdb32477d70180.png b/frontend/stickers/meme/8c06dfb3770d63b87c7a2e7e6ecdb32477d70180.png deleted file mode 100644 index 692cfbc..0000000 Binary files a/frontend/stickers/meme/8c06dfb3770d63b87c7a2e7e6ecdb32477d70180.png and /dev/null differ diff --git a/frontend/stickers/meme/8cfded99ab1993a328984f3751059ba9e11b3acc.png b/frontend/stickers/meme/8cfded99ab1993a328984f3751059ba9e11b3acc.png deleted file mode 100644 index 765f18f..0000000 Binary files a/frontend/stickers/meme/8cfded99ab1993a328984f3751059ba9e11b3acc.png and /dev/null differ diff --git a/frontend/stickers/meme/96fef27b74041d98e8785188490f1ecce2a4d3f1.png b/frontend/stickers/meme/96fef27b74041d98e8785188490f1ecce2a4d3f1.png deleted file mode 100644 index 4e7d0bc..0000000 Binary files a/frontend/stickers/meme/96fef27b74041d98e8785188490f1ecce2a4d3f1.png and /dev/null differ diff --git a/frontend/stickers/meme/97ca3d828ea2c7b59b71f60892ce943b515c71cd.png b/frontend/stickers/meme/97ca3d828ea2c7b59b71f60892ce943b515c71cd.png deleted file mode 100644 index 0d63119..0000000 Binary files a/frontend/stickers/meme/97ca3d828ea2c7b59b71f60892ce943b515c71cd.png and /dev/null differ diff --git a/frontend/stickers/meme/980c11ed09188fe30801170d3729474c8339cf95.png b/frontend/stickers/meme/980c11ed09188fe30801170d3729474c8339cf95.png deleted file mode 100644 index 702348d..0000000 Binary files a/frontend/stickers/meme/980c11ed09188fe30801170d3729474c8339cf95.png and /dev/null differ diff --git a/frontend/stickers/meme/99b921560dbd2f3804f027a2d1577db41c5435e5.png b/frontend/stickers/meme/99b921560dbd2f3804f027a2d1577db41c5435e5.png deleted file mode 100644 index 4be1d86..0000000 Binary files a/frontend/stickers/meme/99b921560dbd2f3804f027a2d1577db41c5435e5.png and /dev/null differ diff --git a/frontend/stickers/meme/9eac783c31ded435142d54632e0625311a5d3ca5.png b/frontend/stickers/meme/9eac783c31ded435142d54632e0625311a5d3ca5.png deleted file mode 100644 index 7ade755..0000000 Binary files a/frontend/stickers/meme/9eac783c31ded435142d54632e0625311a5d3ca5.png and /dev/null differ diff --git a/frontend/stickers/meme/9fccc1ef8bf51dda05eede40710272940faa2eb4.png b/frontend/stickers/meme/9fccc1ef8bf51dda05eede40710272940faa2eb4.png deleted file mode 100644 index 79167cb..0000000 Binary files a/frontend/stickers/meme/9fccc1ef8bf51dda05eede40710272940faa2eb4.png and /dev/null differ diff --git a/frontend/stickers/meme/a4dae5405f1ab959c43d0c0b3c98df4de72d7e96.png b/frontend/stickers/meme/a4dae5405f1ab959c43d0c0b3c98df4de72d7e96.png deleted file mode 100644 index 34b3f2d..0000000 Binary files a/frontend/stickers/meme/a4dae5405f1ab959c43d0c0b3c98df4de72d7e96.png and /dev/null differ diff --git a/frontend/stickers/meme/b4424b167d94d0df3a5ee6d79753225341683f47.png b/frontend/stickers/meme/b4424b167d94d0df3a5ee6d79753225341683f47.png deleted file mode 100644 index e7e628e..0000000 Binary files a/frontend/stickers/meme/b4424b167d94d0df3a5ee6d79753225341683f47.png and /dev/null differ diff --git a/frontend/stickers/meme/b8a008e3a17ca18346a5b5542c4105dac48ad427.png b/frontend/stickers/meme/b8a008e3a17ca18346a5b5542c4105dac48ad427.png deleted file mode 100644 index ade4a44..0000000 Binary files a/frontend/stickers/meme/b8a008e3a17ca18346a5b5542c4105dac48ad427.png and /dev/null differ diff --git a/frontend/stickers/meme/bca6ec3d24635373767b403aa3f2f5527e08dfd6.png b/frontend/stickers/meme/bca6ec3d24635373767b403aa3f2f5527e08dfd6.png deleted file mode 100644 index fb74caa..0000000 Binary files a/frontend/stickers/meme/bca6ec3d24635373767b403aa3f2f5527e08dfd6.png and /dev/null differ diff --git a/frontend/stickers/meme/bf8bc087ff6caed401a453f44891a6eb5787d34b.png b/frontend/stickers/meme/bf8bc087ff6caed401a453f44891a6eb5787d34b.png deleted file mode 100644 index 959f713..0000000 Binary files a/frontend/stickers/meme/bf8bc087ff6caed401a453f44891a6eb5787d34b.png and /dev/null differ diff --git a/frontend/stickers/meme/c4166e04762b2f253765fc71732da2cea4803a03.png b/frontend/stickers/meme/c4166e04762b2f253765fc71732da2cea4803a03.png deleted file mode 100644 index 02486f2..0000000 Binary files a/frontend/stickers/meme/c4166e04762b2f253765fc71732da2cea4803a03.png and /dev/null differ diff --git a/frontend/stickers/meme/c669877d68060c183bcbd66847a36e879847701d.png b/frontend/stickers/meme/c669877d68060c183bcbd66847a36e879847701d.png deleted file mode 100644 index 26bc944..0000000 Binary files a/frontend/stickers/meme/c669877d68060c183bcbd66847a36e879847701d.png and /dev/null differ diff --git a/frontend/stickers/meme/cb43e45e950fe8fd527e0d9dae45efb7de04869e.png b/frontend/stickers/meme/cb43e45e950fe8fd527e0d9dae45efb7de04869e.png deleted file mode 100644 index 83c8029..0000000 Binary files a/frontend/stickers/meme/cb43e45e950fe8fd527e0d9dae45efb7de04869e.png and /dev/null differ diff --git a/frontend/stickers/meme/cf97f4b564fa7c2a8282825f5ad317cd8cb35fb9.png b/frontend/stickers/meme/cf97f4b564fa7c2a8282825f5ad317cd8cb35fb9.png deleted file mode 100644 index 8538261..0000000 Binary files a/frontend/stickers/meme/cf97f4b564fa7c2a8282825f5ad317cd8cb35fb9.png and /dev/null differ diff --git a/frontend/stickers/meme/d40dabc49dd4af3e9ec02d8f3f19c91fb2096f23.png b/frontend/stickers/meme/d40dabc49dd4af3e9ec02d8f3f19c91fb2096f23.png deleted file mode 100644 index c8be535..0000000 Binary files a/frontend/stickers/meme/d40dabc49dd4af3e9ec02d8f3f19c91fb2096f23.png and /dev/null differ diff --git a/frontend/stickers/meme/d46640d991d3dc88a582b91b50ae2a6e56a49c6c.png b/frontend/stickers/meme/d46640d991d3dc88a582b91b50ae2a6e56a49c6c.png deleted file mode 100644 index 4bb5b18..0000000 Binary files a/frontend/stickers/meme/d46640d991d3dc88a582b91b50ae2a6e56a49c6c.png and /dev/null differ diff --git a/frontend/stickers/meme/db30343b65209e7562a4eafb76da0a7eb10bd3e0.png b/frontend/stickers/meme/db30343b65209e7562a4eafb76da0a7eb10bd3e0.png deleted file mode 100644 index b82ac79..0000000 Binary files a/frontend/stickers/meme/db30343b65209e7562a4eafb76da0a7eb10bd3e0.png and /dev/null differ diff --git a/frontend/stickers/meme/de52ce763360fcba0c5bd607ae661f2b83074d8c.png b/frontend/stickers/meme/de52ce763360fcba0c5bd607ae661f2b83074d8c.png deleted file mode 100644 index 244e12a..0000000 Binary files a/frontend/stickers/meme/de52ce763360fcba0c5bd607ae661f2b83074d8c.png and /dev/null differ diff --git a/frontend/stickers/meme/e172c8f1d668fa2d2111c2c4659abafc95d1be61.png b/frontend/stickers/meme/e172c8f1d668fa2d2111c2c4659abafc95d1be61.png deleted file mode 100644 index ee62a45..0000000 Binary files a/frontend/stickers/meme/e172c8f1d668fa2d2111c2c4659abafc95d1be61.png and /dev/null differ diff --git a/frontend/stickers/meme/e7d93a7969d33ce1f0fecb851a41cdc6ee38abd5.png b/frontend/stickers/meme/e7d93a7969d33ce1f0fecb851a41cdc6ee38abd5.png deleted file mode 100644 index 8f28150..0000000 Binary files a/frontend/stickers/meme/e7d93a7969d33ce1f0fecb851a41cdc6ee38abd5.png and /dev/null differ diff --git a/frontend/stickers/meme/eb5fc148a6c15d5fe9cc533ca7ffe47fa49f918d.png b/frontend/stickers/meme/eb5fc148a6c15d5fe9cc533ca7ffe47fa49f918d.png deleted file mode 100644 index 5bff697..0000000 Binary files a/frontend/stickers/meme/eb5fc148a6c15d5fe9cc533ca7ffe47fa49f918d.png and /dev/null differ diff --git a/frontend/stickers/meme/ec1ee179f4ed071909ed13529e22ce9e5b3b14fc.png b/frontend/stickers/meme/ec1ee179f4ed071909ed13529e22ce9e5b3b14fc.png deleted file mode 100644 index 628a2a9..0000000 Binary files a/frontend/stickers/meme/ec1ee179f4ed071909ed13529e22ce9e5b3b14fc.png and /dev/null differ diff --git a/frontend/stickers/meme/ed41387d695d019762571c2a13a81ce03f7459a3.png b/frontend/stickers/meme/ed41387d695d019762571c2a13a81ce03f7459a3.png deleted file mode 100644 index ca52c39..0000000 Binary files a/frontend/stickers/meme/ed41387d695d019762571c2a13a81ce03f7459a3.png and /dev/null differ diff --git a/frontend/stickers/meme/efb8206b2a4f4f4057e2a66cc48ded56ca3481b2.png b/frontend/stickers/meme/efb8206b2a4f4f4057e2a66cc48ded56ca3481b2.png deleted file mode 100644 index 4191df9..0000000 Binary files a/frontend/stickers/meme/efb8206b2a4f4f4057e2a66cc48ded56ca3481b2.png and /dev/null differ diff --git a/frontend/stickers/meme/efc5dbaf7365b606c0a54d86e4ca360870ff07bd.png b/frontend/stickers/meme/efc5dbaf7365b606c0a54d86e4ca360870ff07bd.png deleted file mode 100644 index 51f6900..0000000 Binary files a/frontend/stickers/meme/efc5dbaf7365b606c0a54d86e4ca360870ff07bd.png and /dev/null differ diff --git a/frontend/stickers/meme/f1e961f742f145d745cbe842696a07e7811104ac.png b/frontend/stickers/meme/f1e961f742f145d745cbe842696a07e7811104ac.png deleted file mode 100644 index c563063..0000000 Binary files a/frontend/stickers/meme/f1e961f742f145d745cbe842696a07e7811104ac.png and /dev/null differ diff --git a/frontend/stickers/meme/f7b79e66bb14d1bd123f169e1946c2107b9d87f0.png b/frontend/stickers/meme/f7b79e66bb14d1bd123f169e1946c2107b9d87f0.png deleted file mode 100644 index 012469a..0000000 Binary files a/frontend/stickers/meme/f7b79e66bb14d1bd123f169e1946c2107b9d87f0.png and /dev/null differ diff --git a/frontend/stickers/meme/icon.png b/frontend/stickers/meme/icon.png deleted file mode 100644 index 90117e9..0000000 Binary files a/frontend/stickers/meme/icon.png and /dev/null differ diff --git a/frontend/stickers/meme/info.ini b/frontend/stickers/meme/info.ini deleted file mode 100644 index d4ea486..0000000 --- a/frontend/stickers/meme/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Movim Team -license = "No License" -url = https://movim.eu/ diff --git a/frontend/stickers/miho/04214b0b967163915432d5406adec8c4017e093b.png b/frontend/stickers/miho/04214b0b967163915432d5406adec8c4017e093b.png deleted file mode 100644 index c8de03e..0000000 Binary files a/frontend/stickers/miho/04214b0b967163915432d5406adec8c4017e093b.png and /dev/null differ diff --git a/frontend/stickers/miho/100bdb0e14c557b87ad4d253018b71eb65b80725.png b/frontend/stickers/miho/100bdb0e14c557b87ad4d253018b71eb65b80725.png deleted file mode 100644 index e227c44..0000000 Binary files a/frontend/stickers/miho/100bdb0e14c557b87ad4d253018b71eb65b80725.png and /dev/null differ diff --git a/frontend/stickers/miho/3142d1222d82d9f2dbe48d284c8f189660f418c3.png b/frontend/stickers/miho/3142d1222d82d9f2dbe48d284c8f189660f418c3.png deleted file mode 100644 index 760ab6d..0000000 Binary files a/frontend/stickers/miho/3142d1222d82d9f2dbe48d284c8f189660f418c3.png and /dev/null differ diff --git a/frontend/stickers/miho/34a406c2212522d7e6b60e888665267b16fc37ba.png b/frontend/stickers/miho/34a406c2212522d7e6b60e888665267b16fc37ba.png deleted file mode 100644 index 19fd815..0000000 Binary files a/frontend/stickers/miho/34a406c2212522d7e6b60e888665267b16fc37ba.png and /dev/null differ diff --git a/frontend/stickers/miho/580999b6110e859e336229913a73ec0ae640ef06.png b/frontend/stickers/miho/580999b6110e859e336229913a73ec0ae640ef06.png deleted file mode 100644 index 7f52500..0000000 Binary files a/frontend/stickers/miho/580999b6110e859e336229913a73ec0ae640ef06.png and /dev/null differ diff --git a/frontend/stickers/miho/6bbee3f5bcaeecbaa9fac68ba1aa4656e10a158d.png b/frontend/stickers/miho/6bbee3f5bcaeecbaa9fac68ba1aa4656e10a158d.png deleted file mode 100644 index cd4426f..0000000 Binary files a/frontend/stickers/miho/6bbee3f5bcaeecbaa9fac68ba1aa4656e10a158d.png and /dev/null differ diff --git a/frontend/stickers/miho/777e80a69ccc9c9938457844f9723f4debac0653.png b/frontend/stickers/miho/777e80a69ccc9c9938457844f9723f4debac0653.png deleted file mode 100644 index 894944f..0000000 Binary files a/frontend/stickers/miho/777e80a69ccc9c9938457844f9723f4debac0653.png and /dev/null differ diff --git a/frontend/stickers/miho/a3366676e1aea97dd9425fe7cc45a6ed86288f2e.png b/frontend/stickers/miho/a3366676e1aea97dd9425fe7cc45a6ed86288f2e.png deleted file mode 100644 index 72a3b42..0000000 Binary files a/frontend/stickers/miho/a3366676e1aea97dd9425fe7cc45a6ed86288f2e.png and /dev/null differ diff --git a/frontend/stickers/miho/ae0ba6cdae25fbe512dc53c7e0413d706a9410f8.png b/frontend/stickers/miho/ae0ba6cdae25fbe512dc53c7e0413d706a9410f8.png deleted file mode 100644 index d8e87d0..0000000 Binary files a/frontend/stickers/miho/ae0ba6cdae25fbe512dc53c7e0413d706a9410f8.png and /dev/null differ diff --git a/frontend/stickers/miho/c069c6deff735fab3e4416ca354594a64a79ae40.png b/frontend/stickers/miho/c069c6deff735fab3e4416ca354594a64a79ae40.png deleted file mode 100644 index b8ebb05..0000000 Binary files a/frontend/stickers/miho/c069c6deff735fab3e4416ca354594a64a79ae40.png and /dev/null differ diff --git a/frontend/stickers/miho/c42fc57e5234c4d19a2455178eff2b30bced20ef.png b/frontend/stickers/miho/c42fc57e5234c4d19a2455178eff2b30bced20ef.png deleted file mode 100644 index fa009a9..0000000 Binary files a/frontend/stickers/miho/c42fc57e5234c4d19a2455178eff2b30bced20ef.png and /dev/null differ diff --git a/frontend/stickers/miho/e599dca3de182a821ef2e92234fb2bfca04a325e.png b/frontend/stickers/miho/e599dca3de182a821ef2e92234fb2bfca04a325e.png deleted file mode 100644 index 6c1615d..0000000 Binary files a/frontend/stickers/miho/e599dca3de182a821ef2e92234fb2bfca04a325e.png and /dev/null differ diff --git a/frontend/stickers/miho/eb7d0dd12b283017edee25243c3edacd62033ed0.png b/frontend/stickers/miho/eb7d0dd12b283017edee25243c3edacd62033ed0.png deleted file mode 100644 index 7f80915..0000000 Binary files a/frontend/stickers/miho/eb7d0dd12b283017edee25243c3edacd62033ed0.png and /dev/null differ diff --git a/frontend/stickers/miho/f038ef01f098cae73a727618c0fbf9adf3e96ef6.png b/frontend/stickers/miho/f038ef01f098cae73a727618c0fbf9adf3e96ef6.png deleted file mode 100644 index 395888e..0000000 Binary files a/frontend/stickers/miho/f038ef01f098cae73a727618c0fbf9adf3e96ef6.png and /dev/null differ diff --git a/frontend/stickers/miho/fc0f48df75138fa0f3aec605629226b8ac57c639.png b/frontend/stickers/miho/fc0f48df75138fa0f3aec605629226b8ac57c639.png deleted file mode 100644 index 8e17e91..0000000 Binary files a/frontend/stickers/miho/fc0f48df75138fa0f3aec605629226b8ac57c639.png and /dev/null differ diff --git a/frontend/stickers/miho/fd759226e3ec153956f3e941b81ed820614792a6.png b/frontend/stickers/miho/fd759226e3ec153956f3e941b81ed820614792a6.png deleted file mode 100644 index a5679d3..0000000 Binary files a/frontend/stickers/miho/fd759226e3ec153956f3e941b81ed820614792a6.png and /dev/null differ diff --git a/frontend/stickers/miho/icon.png b/frontend/stickers/miho/icon.png deleted file mode 100644 index 9919554..0000000 Binary files a/frontend/stickers/miho/icon.png and /dev/null differ diff --git a/frontend/stickers/miho/info.ini b/frontend/stickers/miho/info.ini deleted file mode 100644 index 22d0c4f..0000000 --- a/frontend/stickers/miho/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Hey-Xander -license = CreativeCommon BY SA -url = http://hey-xander.deviantart.com/ diff --git a/frontend/stickers/mochi/29f4cfaca739286f6f19477a629b89818b3cf6c9.png b/frontend/stickers/mochi/29f4cfaca739286f6f19477a629b89818b3cf6c9.png deleted file mode 100644 index 1e0838d..0000000 Binary files a/frontend/stickers/mochi/29f4cfaca739286f6f19477a629b89818b3cf6c9.png and /dev/null differ diff --git a/frontend/stickers/mochi/3e80ebb78199b9b8b979884087e4cfd9af12aafd.png b/frontend/stickers/mochi/3e80ebb78199b9b8b979884087e4cfd9af12aafd.png deleted file mode 100644 index d9f1c8f..0000000 Binary files a/frontend/stickers/mochi/3e80ebb78199b9b8b979884087e4cfd9af12aafd.png and /dev/null differ diff --git a/frontend/stickers/mochi/751c9c8e314735b5c0b0b64148ae08a5983c96c8.png b/frontend/stickers/mochi/751c9c8e314735b5c0b0b64148ae08a5983c96c8.png deleted file mode 100644 index a242bcc..0000000 Binary files a/frontend/stickers/mochi/751c9c8e314735b5c0b0b64148ae08a5983c96c8.png and /dev/null differ diff --git a/frontend/stickers/mochi/9919c834182a683c6dc28ba3059f19376ff152ee.png b/frontend/stickers/mochi/9919c834182a683c6dc28ba3059f19376ff152ee.png deleted file mode 100644 index d9b5350..0000000 Binary files a/frontend/stickers/mochi/9919c834182a683c6dc28ba3059f19376ff152ee.png and /dev/null differ diff --git a/frontend/stickers/mochi/a37967e78e43acdad23d41394a2dd6a345740672.png b/frontend/stickers/mochi/a37967e78e43acdad23d41394a2dd6a345740672.png deleted file mode 100644 index 496d199..0000000 Binary files a/frontend/stickers/mochi/a37967e78e43acdad23d41394a2dd6a345740672.png and /dev/null differ diff --git a/frontend/stickers/mochi/b93fca2188d23dd40247b83dcff7dea4fa1ba981.png b/frontend/stickers/mochi/b93fca2188d23dd40247b83dcff7dea4fa1ba981.png deleted file mode 100644 index 28d257c..0000000 Binary files a/frontend/stickers/mochi/b93fca2188d23dd40247b83dcff7dea4fa1ba981.png and /dev/null differ diff --git a/frontend/stickers/mochi/d670caaa0e7c6104e7eddf53861593e300dd1512.png b/frontend/stickers/mochi/d670caaa0e7c6104e7eddf53861593e300dd1512.png deleted file mode 100644 index 779859b..0000000 Binary files a/frontend/stickers/mochi/d670caaa0e7c6104e7eddf53861593e300dd1512.png and /dev/null differ diff --git a/frontend/stickers/mochi/icon.png b/frontend/stickers/mochi/icon.png deleted file mode 100644 index cd54491..0000000 Binary files a/frontend/stickers/mochi/icon.png and /dev/null differ diff --git a/frontend/stickers/mochi/info.ini b/frontend/stickers/mochi/info.ini deleted file mode 100644 index 3e06898..0000000 --- a/frontend/stickers/mochi/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Timothée Jaussoin -license = CreativeCommon BY SA -url = https://edhelas.movim.eu/ diff --git a/frontend/stickers/movim/05c18ab6cc80ddc889621d1e8fd6e92c55c35c0e.png b/frontend/stickers/movim/05c18ab6cc80ddc889621d1e8fd6e92c55c35c0e.png deleted file mode 100644 index dfd1afa..0000000 Binary files a/frontend/stickers/movim/05c18ab6cc80ddc889621d1e8fd6e92c55c35c0e.png and /dev/null differ diff --git a/frontend/stickers/movim/1ee8b0a00a05f88fc5709bb4d2e5499f3de16d55.png b/frontend/stickers/movim/1ee8b0a00a05f88fc5709bb4d2e5499f3de16d55.png deleted file mode 100644 index d8067c2..0000000 Binary files a/frontend/stickers/movim/1ee8b0a00a05f88fc5709bb4d2e5499f3de16d55.png and /dev/null differ diff --git a/frontend/stickers/movim/39991cebf3bdb822071a9a0a08cbbc2dbdef9d91.png b/frontend/stickers/movim/39991cebf3bdb822071a9a0a08cbbc2dbdef9d91.png deleted file mode 100644 index c92f02e..0000000 Binary files a/frontend/stickers/movim/39991cebf3bdb822071a9a0a08cbbc2dbdef9d91.png and /dev/null differ diff --git a/frontend/stickers/movim/44e645dfafa0705c73667c595f985fb230d9ac1a.png b/frontend/stickers/movim/44e645dfafa0705c73667c595f985fb230d9ac1a.png deleted file mode 100644 index 3e35755..0000000 Binary files a/frontend/stickers/movim/44e645dfafa0705c73667c595f985fb230d9ac1a.png and /dev/null differ diff --git a/frontend/stickers/movim/5772a1d9196c35a704d6e157764c74b37b4c52fa.png b/frontend/stickers/movim/5772a1d9196c35a704d6e157764c74b37b4c52fa.png deleted file mode 100644 index 91c6f4a..0000000 Binary files a/frontend/stickers/movim/5772a1d9196c35a704d6e157764c74b37b4c52fa.png and /dev/null differ diff --git a/frontend/stickers/movim/6060dd38097516a77a036a982ff19239b02ed7ff.png b/frontend/stickers/movim/6060dd38097516a77a036a982ff19239b02ed7ff.png deleted file mode 100644 index 28c40e2..0000000 Binary files a/frontend/stickers/movim/6060dd38097516a77a036a982ff19239b02ed7ff.png and /dev/null differ diff --git a/frontend/stickers/movim/63f2e7f6b9948c09720ca271a24d1da4956e44ae.png b/frontend/stickers/movim/63f2e7f6b9948c09720ca271a24d1da4956e44ae.png deleted file mode 100644 index df18de1..0000000 Binary files a/frontend/stickers/movim/63f2e7f6b9948c09720ca271a24d1da4956e44ae.png and /dev/null differ diff --git a/frontend/stickers/movim/7d2bbac1f073c1d888d41d7a0b1c34a0de6f82a9.png b/frontend/stickers/movim/7d2bbac1f073c1d888d41d7a0b1c34a0de6f82a9.png deleted file mode 100644 index 4d11c07..0000000 Binary files a/frontend/stickers/movim/7d2bbac1f073c1d888d41d7a0b1c34a0de6f82a9.png and /dev/null differ diff --git a/frontend/stickers/movim/82ca1d038ed421e6f6afd8eff3ca5f7d89c481bb.png b/frontend/stickers/movim/82ca1d038ed421e6f6afd8eff3ca5f7d89c481bb.png deleted file mode 100644 index 6e35cfb..0000000 Binary files a/frontend/stickers/movim/82ca1d038ed421e6f6afd8eff3ca5f7d89c481bb.png and /dev/null differ diff --git a/frontend/stickers/movim/8d9e77d002270b565a55616ec73dd831904fa754.png b/frontend/stickers/movim/8d9e77d002270b565a55616ec73dd831904fa754.png deleted file mode 100644 index 04135e8..0000000 Binary files a/frontend/stickers/movim/8d9e77d002270b565a55616ec73dd831904fa754.png and /dev/null differ diff --git a/frontend/stickers/movim/9a64ff1a9e581eadf312c64f0c549833f67eccaf.png b/frontend/stickers/movim/9a64ff1a9e581eadf312c64f0c549833f67eccaf.png deleted file mode 100644 index deeb9cc..0000000 Binary files a/frontend/stickers/movim/9a64ff1a9e581eadf312c64f0c549833f67eccaf.png and /dev/null differ diff --git a/frontend/stickers/movim/b1f9d2f5bc3c58bf7308c09103bb60087284c0ab.png b/frontend/stickers/movim/b1f9d2f5bc3c58bf7308c09103bb60087284c0ab.png deleted file mode 100644 index 5ad928a..0000000 Binary files a/frontend/stickers/movim/b1f9d2f5bc3c58bf7308c09103bb60087284c0ab.png and /dev/null differ diff --git a/frontend/stickers/movim/d104163b335d9743f6e701d2f66c4e220e625cfe.png b/frontend/stickers/movim/d104163b335d9743f6e701d2f66c4e220e625cfe.png deleted file mode 100644 index 8ac77fd..0000000 Binary files a/frontend/stickers/movim/d104163b335d9743f6e701d2f66c4e220e625cfe.png and /dev/null differ diff --git a/frontend/stickers/movim/d4e9adaf33fdce6948a075db3fa957bd4bfa38e1.png b/frontend/stickers/movim/d4e9adaf33fdce6948a075db3fa957bd4bfa38e1.png deleted file mode 100644 index 25034c0..0000000 Binary files a/frontend/stickers/movim/d4e9adaf33fdce6948a075db3fa957bd4bfa38e1.png and /dev/null differ diff --git a/frontend/stickers/movim/de482e47cd1f0b668844940735e489ea6fa69d85.png b/frontend/stickers/movim/de482e47cd1f0b668844940735e489ea6fa69d85.png deleted file mode 100644 index 3cff4d5..0000000 Binary files a/frontend/stickers/movim/de482e47cd1f0b668844940735e489ea6fa69d85.png and /dev/null differ diff --git a/frontend/stickers/movim/fc81dad244f0666cbfe3a37adee15b6f05016219.png b/frontend/stickers/movim/fc81dad244f0666cbfe3a37adee15b6f05016219.png deleted file mode 100644 index 1252831..0000000 Binary files a/frontend/stickers/movim/fc81dad244f0666cbfe3a37adee15b6f05016219.png and /dev/null differ diff --git a/frontend/stickers/movim/info.ini b/frontend/stickers/movim/info.ini deleted file mode 100644 index d7f2a92..0000000 --- a/frontend/stickers/movim/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Rimou -license = CC BY-NC 4.0 -url = https://lematougraphe.fr/ \ No newline at end of file diff --git a/frontend/stickers/noblerimou/06447ce1991f6786a17c816a43dbe978340a6704.png b/frontend/stickers/noblerimou/06447ce1991f6786a17c816a43dbe978340a6704.png deleted file mode 100644 index c1614dc..0000000 Binary files a/frontend/stickers/noblerimou/06447ce1991f6786a17c816a43dbe978340a6704.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/0c4e4ee3ce29dc019b63969c7fcd158385ff7430.png b/frontend/stickers/noblerimou/0c4e4ee3ce29dc019b63969c7fcd158385ff7430.png deleted file mode 100644 index ecaaa88..0000000 Binary files a/frontend/stickers/noblerimou/0c4e4ee3ce29dc019b63969c7fcd158385ff7430.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/0eed4eae79d4302a42e198ef7f63ea354b053d7d.png b/frontend/stickers/noblerimou/0eed4eae79d4302a42e198ef7f63ea354b053d7d.png deleted file mode 100644 index 953b422..0000000 Binary files a/frontend/stickers/noblerimou/0eed4eae79d4302a42e198ef7f63ea354b053d7d.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/1061d16ff34a1508f995a61bca5792d97cfc12a8.png b/frontend/stickers/noblerimou/1061d16ff34a1508f995a61bca5792d97cfc12a8.png deleted file mode 100644 index 9c985db..0000000 Binary files a/frontend/stickers/noblerimou/1061d16ff34a1508f995a61bca5792d97cfc12a8.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/157146789023488d0870ac9bedadba298482b582.png b/frontend/stickers/noblerimou/157146789023488d0870ac9bedadba298482b582.png deleted file mode 100644 index ee8f34b..0000000 Binary files a/frontend/stickers/noblerimou/157146789023488d0870ac9bedadba298482b582.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/159ee9700f7eb38d2649d4ad568a71a99b4c14c5.png b/frontend/stickers/noblerimou/159ee9700f7eb38d2649d4ad568a71a99b4c14c5.png deleted file mode 100644 index fe4da47..0000000 Binary files a/frontend/stickers/noblerimou/159ee9700f7eb38d2649d4ad568a71a99b4c14c5.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/29443afca2ba27a54f7961a397cd62add17ff8f8.png b/frontend/stickers/noblerimou/29443afca2ba27a54f7961a397cd62add17ff8f8.png deleted file mode 100644 index aa7b21c..0000000 Binary files a/frontend/stickers/noblerimou/29443afca2ba27a54f7961a397cd62add17ff8f8.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/29e189ca823d6cb138840cb1dd9d5e8953cdb2e7.png b/frontend/stickers/noblerimou/29e189ca823d6cb138840cb1dd9d5e8953cdb2e7.png deleted file mode 100644 index 2f98f2a..0000000 Binary files a/frontend/stickers/noblerimou/29e189ca823d6cb138840cb1dd9d5e8953cdb2e7.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/3b1b22454f797aa81672aafae13ed319f38026f5.png b/frontend/stickers/noblerimou/3b1b22454f797aa81672aafae13ed319f38026f5.png deleted file mode 100644 index 844268c..0000000 Binary files a/frontend/stickers/noblerimou/3b1b22454f797aa81672aafae13ed319f38026f5.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/4195b36b79fbd8722a29a40b979ce3eb1271dbfd.png b/frontend/stickers/noblerimou/4195b36b79fbd8722a29a40b979ce3eb1271dbfd.png deleted file mode 100644 index 8af32b5..0000000 Binary files a/frontend/stickers/noblerimou/4195b36b79fbd8722a29a40b979ce3eb1271dbfd.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/42c71571d9fa8a9bb14054473185d25de8e4b1b8.png b/frontend/stickers/noblerimou/42c71571d9fa8a9bb14054473185d25de8e4b1b8.png deleted file mode 100644 index 672b65b..0000000 Binary files a/frontend/stickers/noblerimou/42c71571d9fa8a9bb14054473185d25de8e4b1b8.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/553508fb609c48ea4d90d7f4de702db2309856ab.png b/frontend/stickers/noblerimou/553508fb609c48ea4d90d7f4de702db2309856ab.png deleted file mode 100644 index a1828b3..0000000 Binary files a/frontend/stickers/noblerimou/553508fb609c48ea4d90d7f4de702db2309856ab.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/592e2002174c196ed621d2516525240913954b9a.png b/frontend/stickers/noblerimou/592e2002174c196ed621d2516525240913954b9a.png deleted file mode 100644 index 11b07aa..0000000 Binary files a/frontend/stickers/noblerimou/592e2002174c196ed621d2516525240913954b9a.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/59ba45e1812597f439a664f3bdfe1821326679fd.png b/frontend/stickers/noblerimou/59ba45e1812597f439a664f3bdfe1821326679fd.png deleted file mode 100644 index 2c9c727..0000000 Binary files a/frontend/stickers/noblerimou/59ba45e1812597f439a664f3bdfe1821326679fd.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/5c3a1ce7bfbae4bbb11f6cafe799a97580000cf6.png b/frontend/stickers/noblerimou/5c3a1ce7bfbae4bbb11f6cafe799a97580000cf6.png deleted file mode 100644 index 5f8d431..0000000 Binary files a/frontend/stickers/noblerimou/5c3a1ce7bfbae4bbb11f6cafe799a97580000cf6.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/77d22b3550f3a9623c0bca853293b042cc97b2a5.png b/frontend/stickers/noblerimou/77d22b3550f3a9623c0bca853293b042cc97b2a5.png deleted file mode 100644 index eb2356f..0000000 Binary files a/frontend/stickers/noblerimou/77d22b3550f3a9623c0bca853293b042cc97b2a5.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/867a31f82ad366c3ac8f30372ccc5be743aa50c1.png b/frontend/stickers/noblerimou/867a31f82ad366c3ac8f30372ccc5be743aa50c1.png deleted file mode 100644 index 9afd97f..0000000 Binary files a/frontend/stickers/noblerimou/867a31f82ad366c3ac8f30372ccc5be743aa50c1.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/90e743635af2fc33b4c17245bfc72721fc1c6936.png b/frontend/stickers/noblerimou/90e743635af2fc33b4c17245bfc72721fc1c6936.png deleted file mode 100644 index 5703a15..0000000 Binary files a/frontend/stickers/noblerimou/90e743635af2fc33b4c17245bfc72721fc1c6936.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/a48404478afa5f6f903a0f63a252521638fc6d0b.png b/frontend/stickers/noblerimou/a48404478afa5f6f903a0f63a252521638fc6d0b.png deleted file mode 100644 index 505fe23..0000000 Binary files a/frontend/stickers/noblerimou/a48404478afa5f6f903a0f63a252521638fc6d0b.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/ad1e93f47034320fd0990f93dd3cc33ea464c7be.png b/frontend/stickers/noblerimou/ad1e93f47034320fd0990f93dd3cc33ea464c7be.png deleted file mode 100644 index 15cdc26..0000000 Binary files a/frontend/stickers/noblerimou/ad1e93f47034320fd0990f93dd3cc33ea464c7be.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/aed01985512e98d7566a3ec162c6ca6716a35bda.png b/frontend/stickers/noblerimou/aed01985512e98d7566a3ec162c6ca6716a35bda.png deleted file mode 100644 index ffcbd8b..0000000 Binary files a/frontend/stickers/noblerimou/aed01985512e98d7566a3ec162c6ca6716a35bda.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/b98b50de84ed85d72e1ade77656e0896dcfd9670.png b/frontend/stickers/noblerimou/b98b50de84ed85d72e1ade77656e0896dcfd9670.png deleted file mode 100644 index b0cc5dd..0000000 Binary files a/frontend/stickers/noblerimou/b98b50de84ed85d72e1ade77656e0896dcfd9670.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/beef0774a7fb8d2588fdeacdce95dc3bef0d2503.png b/frontend/stickers/noblerimou/beef0774a7fb8d2588fdeacdce95dc3bef0d2503.png deleted file mode 100644 index dcd9b5a..0000000 Binary files a/frontend/stickers/noblerimou/beef0774a7fb8d2588fdeacdce95dc3bef0d2503.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/c0a6be29e1e710482ea10fbb27529a3b105df2a9.png b/frontend/stickers/noblerimou/c0a6be29e1e710482ea10fbb27529a3b105df2a9.png deleted file mode 100644 index 22e07e4..0000000 Binary files a/frontend/stickers/noblerimou/c0a6be29e1e710482ea10fbb27529a3b105df2a9.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/c36c9e44a38f92a17eba1efe15b89cdc90c8fa34.png b/frontend/stickers/noblerimou/c36c9e44a38f92a17eba1efe15b89cdc90c8fa34.png deleted file mode 100644 index a5b9a90..0000000 Binary files a/frontend/stickers/noblerimou/c36c9e44a38f92a17eba1efe15b89cdc90c8fa34.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/c4fba069251970722f9f3f1b1b8b4816ac30f31a.png b/frontend/stickers/noblerimou/c4fba069251970722f9f3f1b1b8b4816ac30f31a.png deleted file mode 100644 index f1c9883..0000000 Binary files a/frontend/stickers/noblerimou/c4fba069251970722f9f3f1b1b8b4816ac30f31a.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/c83df126bb3d73505daf74bdb6cdf2d702770774.png b/frontend/stickers/noblerimou/c83df126bb3d73505daf74bdb6cdf2d702770774.png deleted file mode 100644 index 2a2afd3..0000000 Binary files a/frontend/stickers/noblerimou/c83df126bb3d73505daf74bdb6cdf2d702770774.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/e472e6bd0d22bba297badab5567192d3e270a1fe.png b/frontend/stickers/noblerimou/e472e6bd0d22bba297badab5567192d3e270a1fe.png deleted file mode 100644 index f097c60..0000000 Binary files a/frontend/stickers/noblerimou/e472e6bd0d22bba297badab5567192d3e270a1fe.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/e7fb4b18ca2ab4792812f673ce3c5da1f1271866.png b/frontend/stickers/noblerimou/e7fb4b18ca2ab4792812f673ce3c5da1f1271866.png deleted file mode 100644 index 2f146ac..0000000 Binary files a/frontend/stickers/noblerimou/e7fb4b18ca2ab4792812f673ce3c5da1f1271866.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/e8c24db5014a12be558ac47db87967f1cb5ad1c4.png b/frontend/stickers/noblerimou/e8c24db5014a12be558ac47db87967f1cb5ad1c4.png deleted file mode 100644 index 37897fe..0000000 Binary files a/frontend/stickers/noblerimou/e8c24db5014a12be558ac47db87967f1cb5ad1c4.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/ee2494bffdfc6d34f111886b4a73178abaad0a30.png b/frontend/stickers/noblerimou/ee2494bffdfc6d34f111886b4a73178abaad0a30.png deleted file mode 100644 index 07dfce7..0000000 Binary files a/frontend/stickers/noblerimou/ee2494bffdfc6d34f111886b4a73178abaad0a30.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/f0314e301c65a83c90c844126af808e03e7178b1.png b/frontend/stickers/noblerimou/f0314e301c65a83c90c844126af808e03e7178b1.png deleted file mode 100644 index b5542f7..0000000 Binary files a/frontend/stickers/noblerimou/f0314e301c65a83c90c844126af808e03e7178b1.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/icon.png b/frontend/stickers/noblerimou/icon.png deleted file mode 100644 index 672b65b..0000000 Binary files a/frontend/stickers/noblerimou/icon.png and /dev/null differ diff --git a/frontend/stickers/noblerimou/info.ini b/frontend/stickers/noblerimou/info.ini deleted file mode 100644 index d7f2a92..0000000 --- a/frontend/stickers/noblerimou/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Rimou -license = CC BY-NC 4.0 -url = https://lematougraphe.fr/ \ No newline at end of file diff --git a/frontend/stickers/racoon/066b6f96ac3b9c847bac3a73ef2bb353e245b398.png b/frontend/stickers/racoon/066b6f96ac3b9c847bac3a73ef2bb353e245b398.png deleted file mode 100644 index b24ca9f..0000000 Binary files a/frontend/stickers/racoon/066b6f96ac3b9c847bac3a73ef2bb353e245b398.png and /dev/null differ diff --git a/frontend/stickers/racoon/131d0c376dc98b545d82a5f70b7df95ad079ffc7.png b/frontend/stickers/racoon/131d0c376dc98b545d82a5f70b7df95ad079ffc7.png deleted file mode 100644 index ef4a8b8..0000000 Binary files a/frontend/stickers/racoon/131d0c376dc98b545d82a5f70b7df95ad079ffc7.png and /dev/null differ diff --git a/frontend/stickers/racoon/1f1b758ca110b016c962f260d2315fd3f7e81727.png b/frontend/stickers/racoon/1f1b758ca110b016c962f260d2315fd3f7e81727.png deleted file mode 100644 index ef5e112..0000000 Binary files a/frontend/stickers/racoon/1f1b758ca110b016c962f260d2315fd3f7e81727.png and /dev/null differ diff --git a/frontend/stickers/racoon/25360adec7e13fe321fae5fecf307fafdccb1cc7.png b/frontend/stickers/racoon/25360adec7e13fe321fae5fecf307fafdccb1cc7.png deleted file mode 100644 index ac12b12..0000000 Binary files a/frontend/stickers/racoon/25360adec7e13fe321fae5fecf307fafdccb1cc7.png and /dev/null differ diff --git a/frontend/stickers/racoon/350d3713bf286f13c1ff247cd0322b3760e4f707.png b/frontend/stickers/racoon/350d3713bf286f13c1ff247cd0322b3760e4f707.png deleted file mode 100644 index d09b54f..0000000 Binary files a/frontend/stickers/racoon/350d3713bf286f13c1ff247cd0322b3760e4f707.png and /dev/null differ diff --git a/frontend/stickers/racoon/3cd2c71f542ea65b7394c32211981c4f1b36d4d5.png b/frontend/stickers/racoon/3cd2c71f542ea65b7394c32211981c4f1b36d4d5.png deleted file mode 100644 index 9cd1593..0000000 Binary files a/frontend/stickers/racoon/3cd2c71f542ea65b7394c32211981c4f1b36d4d5.png and /dev/null differ diff --git a/frontend/stickers/racoon/3f287132e542e55492e5a909b2eedf83b3e6c475.png b/frontend/stickers/racoon/3f287132e542e55492e5a909b2eedf83b3e6c475.png deleted file mode 100644 index 5168d1f..0000000 Binary files a/frontend/stickers/racoon/3f287132e542e55492e5a909b2eedf83b3e6c475.png and /dev/null differ diff --git a/frontend/stickers/racoon/40ac00d6d3b3ad3c8711d9ad3d4913cda90a1e17.png b/frontend/stickers/racoon/40ac00d6d3b3ad3c8711d9ad3d4913cda90a1e17.png deleted file mode 100644 index aeb1c05..0000000 Binary files a/frontend/stickers/racoon/40ac00d6d3b3ad3c8711d9ad3d4913cda90a1e17.png and /dev/null differ diff --git a/frontend/stickers/racoon/42abeda5e5586d099c5e259887c0324c88cfe9f0.png b/frontend/stickers/racoon/42abeda5e5586d099c5e259887c0324c88cfe9f0.png deleted file mode 100644 index 72bd55c..0000000 Binary files a/frontend/stickers/racoon/42abeda5e5586d099c5e259887c0324c88cfe9f0.png and /dev/null differ diff --git a/frontend/stickers/racoon/5cef0fdb9de8c7b4f4d4a61a836704b8ce8b91b8.png b/frontend/stickers/racoon/5cef0fdb9de8c7b4f4d4a61a836704b8ce8b91b8.png deleted file mode 100644 index 1a7e143..0000000 Binary files a/frontend/stickers/racoon/5cef0fdb9de8c7b4f4d4a61a836704b8ce8b91b8.png and /dev/null differ diff --git a/frontend/stickers/racoon/5d570350f5ff8f7e5f4c45b952895bdc65e490ed.png b/frontend/stickers/racoon/5d570350f5ff8f7e5f4c45b952895bdc65e490ed.png deleted file mode 100644 index db5837b..0000000 Binary files a/frontend/stickers/racoon/5d570350f5ff8f7e5f4c45b952895bdc65e490ed.png and /dev/null differ diff --git a/frontend/stickers/racoon/75bae75930e4d18004c3ae52dfbd126f8ffaf757.png b/frontend/stickers/racoon/75bae75930e4d18004c3ae52dfbd126f8ffaf757.png deleted file mode 100644 index fd951e6..0000000 Binary files a/frontend/stickers/racoon/75bae75930e4d18004c3ae52dfbd126f8ffaf757.png and /dev/null differ diff --git a/frontend/stickers/racoon/898ece6768016790bdad3f5a81c96d24c5a4dad5.png b/frontend/stickers/racoon/898ece6768016790bdad3f5a81c96d24c5a4dad5.png deleted file mode 100644 index 5a7a273..0000000 Binary files a/frontend/stickers/racoon/898ece6768016790bdad3f5a81c96d24c5a4dad5.png and /dev/null differ diff --git a/frontend/stickers/racoon/c6f5b7e8e40cff8ede87a23d9d52c6cf05fc259d.png b/frontend/stickers/racoon/c6f5b7e8e40cff8ede87a23d9d52c6cf05fc259d.png deleted file mode 100644 index 9dbf5bf..0000000 Binary files a/frontend/stickers/racoon/c6f5b7e8e40cff8ede87a23d9d52c6cf05fc259d.png and /dev/null differ diff --git a/frontend/stickers/racoon/de2fabc34217d03ad8efa50afeedb22d3d3e9c40.png b/frontend/stickers/racoon/de2fabc34217d03ad8efa50afeedb22d3d3e9c40.png deleted file mode 100644 index 92fb968..0000000 Binary files a/frontend/stickers/racoon/de2fabc34217d03ad8efa50afeedb22d3d3e9c40.png and /dev/null differ diff --git a/frontend/stickers/racoon/f7aa4efde0d916b2f18393cb60dc86f3c4e2e4bd.png b/frontend/stickers/racoon/f7aa4efde0d916b2f18393cb60dc86f3c4e2e4bd.png deleted file mode 100644 index 5dafdd8..0000000 Binary files a/frontend/stickers/racoon/f7aa4efde0d916b2f18393cb60dc86f3c4e2e4bd.png and /dev/null differ diff --git a/frontend/stickers/racoon/icon.png b/frontend/stickers/racoon/icon.png deleted file mode 100644 index 001ad74..0000000 Binary files a/frontend/stickers/racoon/icon.png and /dev/null differ diff --git a/frontend/stickers/racoon/info.ini b/frontend/stickers/racoon/info.ini deleted file mode 100644 index 2ade7ea..0000000 --- a/frontend/stickers/racoon/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Corine Tea -license = CreativeCommon BY SA -url = https://lechocobo.wordpress.com/ diff --git a/frontend/stickers/rage/0216db9a7d56a278fbd97e22e986d39d3e296876.png b/frontend/stickers/rage/0216db9a7d56a278fbd97e22e986d39d3e296876.png deleted file mode 100644 index 507c761..0000000 Binary files a/frontend/stickers/rage/0216db9a7d56a278fbd97e22e986d39d3e296876.png and /dev/null differ diff --git a/frontend/stickers/rage/053aabb9fd583b97ac7684885b9af35d2e173226.png b/frontend/stickers/rage/053aabb9fd583b97ac7684885b9af35d2e173226.png deleted file mode 100644 index 3177597..0000000 Binary files a/frontend/stickers/rage/053aabb9fd583b97ac7684885b9af35d2e173226.png and /dev/null differ diff --git a/frontend/stickers/rage/122f7f5d40598fa788228f4c5bde5b2c9db23bf2.png b/frontend/stickers/rage/122f7f5d40598fa788228f4c5bde5b2c9db23bf2.png deleted file mode 100644 index 5d54be6..0000000 Binary files a/frontend/stickers/rage/122f7f5d40598fa788228f4c5bde5b2c9db23bf2.png and /dev/null differ diff --git a/frontend/stickers/rage/1cb7f2213333e453ebe39f41f9b3a0e151647294.png b/frontend/stickers/rage/1cb7f2213333e453ebe39f41f9b3a0e151647294.png deleted file mode 100644 index 412477b..0000000 Binary files a/frontend/stickers/rage/1cb7f2213333e453ebe39f41f9b3a0e151647294.png and /dev/null differ diff --git a/frontend/stickers/rage/1d2ec943ef9804603d16b87c196a720ed37539f0.png b/frontend/stickers/rage/1d2ec943ef9804603d16b87c196a720ed37539f0.png deleted file mode 100644 index 5b66d9b..0000000 Binary files a/frontend/stickers/rage/1d2ec943ef9804603d16b87c196a720ed37539f0.png and /dev/null differ diff --git a/frontend/stickers/rage/238ee276e7e6f9c005ca87cb863cc183562efb15.png b/frontend/stickers/rage/238ee276e7e6f9c005ca87cb863cc183562efb15.png deleted file mode 100644 index 2cf8f19..0000000 Binary files a/frontend/stickers/rage/238ee276e7e6f9c005ca87cb863cc183562efb15.png and /dev/null differ diff --git a/frontend/stickers/rage/26486829c7bec4bcb20e7465ea5e94c4f728c9d4.png b/frontend/stickers/rage/26486829c7bec4bcb20e7465ea5e94c4f728c9d4.png deleted file mode 100644 index 42a9e65..0000000 Binary files a/frontend/stickers/rage/26486829c7bec4bcb20e7465ea5e94c4f728c9d4.png and /dev/null differ diff --git a/frontend/stickers/rage/2d018b8d0ad118cf033cddd11bbe53072caaaae8.png b/frontend/stickers/rage/2d018b8d0ad118cf033cddd11bbe53072caaaae8.png deleted file mode 100644 index d402687..0000000 Binary files a/frontend/stickers/rage/2d018b8d0ad118cf033cddd11bbe53072caaaae8.png and /dev/null differ diff --git a/frontend/stickers/rage/2e0e74082cc1adb717b34d65a5c814e93ff416c8.png b/frontend/stickers/rage/2e0e74082cc1adb717b34d65a5c814e93ff416c8.png deleted file mode 100644 index 45c3eb7..0000000 Binary files a/frontend/stickers/rage/2e0e74082cc1adb717b34d65a5c814e93ff416c8.png and /dev/null differ diff --git a/frontend/stickers/rage/30b8ea7b9303e0b28e556f0f6b46633ce7c9d667.png b/frontend/stickers/rage/30b8ea7b9303e0b28e556f0f6b46633ce7c9d667.png deleted file mode 100644 index d5404ef..0000000 Binary files a/frontend/stickers/rage/30b8ea7b9303e0b28e556f0f6b46633ce7c9d667.png and /dev/null differ diff --git a/frontend/stickers/rage/3389d7fea5cad6d876736cf60d08086917ecaf01.png b/frontend/stickers/rage/3389d7fea5cad6d876736cf60d08086917ecaf01.png deleted file mode 100644 index 3bf0364..0000000 Binary files a/frontend/stickers/rage/3389d7fea5cad6d876736cf60d08086917ecaf01.png and /dev/null differ diff --git a/frontend/stickers/rage/33efc21c804cc5f143fa47735f96b46aed783036.png b/frontend/stickers/rage/33efc21c804cc5f143fa47735f96b46aed783036.png deleted file mode 100644 index f6f858a..0000000 Binary files a/frontend/stickers/rage/33efc21c804cc5f143fa47735f96b46aed783036.png and /dev/null differ diff --git a/frontend/stickers/rage/376d2f934db04bb11adc6d3e0b2de68dce68a084.png b/frontend/stickers/rage/376d2f934db04bb11adc6d3e0b2de68dce68a084.png deleted file mode 100644 index 6d2b713..0000000 Binary files a/frontend/stickers/rage/376d2f934db04bb11adc6d3e0b2de68dce68a084.png and /dev/null differ diff --git a/frontend/stickers/rage/3d882177b1f24336e355ed07c8ca0e02f2b6041c.png b/frontend/stickers/rage/3d882177b1f24336e355ed07c8ca0e02f2b6041c.png deleted file mode 100644 index eff8b83..0000000 Binary files a/frontend/stickers/rage/3d882177b1f24336e355ed07c8ca0e02f2b6041c.png and /dev/null differ diff --git a/frontend/stickers/rage/3f99febe9f6d90e85e59656ad01846e3fc455661.png b/frontend/stickers/rage/3f99febe9f6d90e85e59656ad01846e3fc455661.png deleted file mode 100644 index ab6f321..0000000 Binary files a/frontend/stickers/rage/3f99febe9f6d90e85e59656ad01846e3fc455661.png and /dev/null differ diff --git a/frontend/stickers/rage/4031ddc134d13355234b59f326c000e478854c25.png b/frontend/stickers/rage/4031ddc134d13355234b59f326c000e478854c25.png deleted file mode 100644 index cfcae9a..0000000 Binary files a/frontend/stickers/rage/4031ddc134d13355234b59f326c000e478854c25.png and /dev/null differ diff --git a/frontend/stickers/rage/405ac1a6a8edf8d5562530d7913c1f2e8f55bbbd.png b/frontend/stickers/rage/405ac1a6a8edf8d5562530d7913c1f2e8f55bbbd.png deleted file mode 100644 index 7a19a09..0000000 Binary files a/frontend/stickers/rage/405ac1a6a8edf8d5562530d7913c1f2e8f55bbbd.png and /dev/null differ diff --git a/frontend/stickers/rage/4806f52d8e004aa7a681a9d7d0d11d3c362de520.png b/frontend/stickers/rage/4806f52d8e004aa7a681a9d7d0d11d3c362de520.png deleted file mode 100644 index dc17c98..0000000 Binary files a/frontend/stickers/rage/4806f52d8e004aa7a681a9d7d0d11d3c362de520.png and /dev/null differ diff --git a/frontend/stickers/rage/4872558c0a61f9e332867f11990ed29b399ee40c.png b/frontend/stickers/rage/4872558c0a61f9e332867f11990ed29b399ee40c.png deleted file mode 100644 index 65cedb1..0000000 Binary files a/frontend/stickers/rage/4872558c0a61f9e332867f11990ed29b399ee40c.png and /dev/null differ diff --git a/frontend/stickers/rage/496cc7efa3586e43ec8d8c4335b3b558aaaa9b7c.png b/frontend/stickers/rage/496cc7efa3586e43ec8d8c4335b3b558aaaa9b7c.png deleted file mode 100644 index 1b3d045..0000000 Binary files a/frontend/stickers/rage/496cc7efa3586e43ec8d8c4335b3b558aaaa9b7c.png and /dev/null differ diff --git a/frontend/stickers/rage/4babd7e641bd35d2f09f3fcb765d339934b63078.png b/frontend/stickers/rage/4babd7e641bd35d2f09f3fcb765d339934b63078.png deleted file mode 100644 index 3161d21..0000000 Binary files a/frontend/stickers/rage/4babd7e641bd35d2f09f3fcb765d339934b63078.png and /dev/null differ diff --git a/frontend/stickers/rage/4cd3e4baae8dc58e828d62300cb1f636567d2f6d.png b/frontend/stickers/rage/4cd3e4baae8dc58e828d62300cb1f636567d2f6d.png deleted file mode 100644 index 6a90c36..0000000 Binary files a/frontend/stickers/rage/4cd3e4baae8dc58e828d62300cb1f636567d2f6d.png and /dev/null differ diff --git a/frontend/stickers/rage/5069a171bae952f9912603576fdfa81eda0cdd43.png b/frontend/stickers/rage/5069a171bae952f9912603576fdfa81eda0cdd43.png deleted file mode 100644 index b744ea8..0000000 Binary files a/frontend/stickers/rage/5069a171bae952f9912603576fdfa81eda0cdd43.png and /dev/null differ diff --git a/frontend/stickers/rage/51325a535986af9d521013b59be9b57ae01a0145.png b/frontend/stickers/rage/51325a535986af9d521013b59be9b57ae01a0145.png deleted file mode 100644 index 1a6e3a9..0000000 Binary files a/frontend/stickers/rage/51325a535986af9d521013b59be9b57ae01a0145.png and /dev/null differ diff --git a/frontend/stickers/rage/513c724ee95f6ea807dea7aaf242be6ecda6e872.png b/frontend/stickers/rage/513c724ee95f6ea807dea7aaf242be6ecda6e872.png deleted file mode 100644 index a16f99d..0000000 Binary files a/frontend/stickers/rage/513c724ee95f6ea807dea7aaf242be6ecda6e872.png and /dev/null differ diff --git a/frontend/stickers/rage/60e2dd38c2318a8e02b053418af1761409fe9d38.png b/frontend/stickers/rage/60e2dd38c2318a8e02b053418af1761409fe9d38.png deleted file mode 100644 index 5a26119..0000000 Binary files a/frontend/stickers/rage/60e2dd38c2318a8e02b053418af1761409fe9d38.png and /dev/null differ diff --git a/frontend/stickers/rage/673e7d47826dea8699b0f104f986a3de94a7f3e5.png b/frontend/stickers/rage/673e7d47826dea8699b0f104f986a3de94a7f3e5.png deleted file mode 100644 index fba5f07..0000000 Binary files a/frontend/stickers/rage/673e7d47826dea8699b0f104f986a3de94a7f3e5.png and /dev/null differ diff --git a/frontend/stickers/rage/67f7d87cb1ee0c92db9b2dc0f0ad7ae2439fb5f6.png b/frontend/stickers/rage/67f7d87cb1ee0c92db9b2dc0f0ad7ae2439fb5f6.png deleted file mode 100644 index b50e825..0000000 Binary files a/frontend/stickers/rage/67f7d87cb1ee0c92db9b2dc0f0ad7ae2439fb5f6.png and /dev/null differ diff --git a/frontend/stickers/rage/689f723eb4e00d07eb995f95c3b32ba52bee6513.png b/frontend/stickers/rage/689f723eb4e00d07eb995f95c3b32ba52bee6513.png deleted file mode 100644 index dcf2464..0000000 Binary files a/frontend/stickers/rage/689f723eb4e00d07eb995f95c3b32ba52bee6513.png and /dev/null differ diff --git a/frontend/stickers/rage/6a86e85bf513b6d6c765dfcd5dc3d9c561dbe9d7.png b/frontend/stickers/rage/6a86e85bf513b6d6c765dfcd5dc3d9c561dbe9d7.png deleted file mode 100644 index d1978ce..0000000 Binary files a/frontend/stickers/rage/6a86e85bf513b6d6c765dfcd5dc3d9c561dbe9d7.png and /dev/null differ diff --git a/frontend/stickers/rage/70ab0e65fe1b4c7964b1f923ec7039990d891dd9.png b/frontend/stickers/rage/70ab0e65fe1b4c7964b1f923ec7039990d891dd9.png deleted file mode 100644 index 94c2c4a..0000000 Binary files a/frontend/stickers/rage/70ab0e65fe1b4c7964b1f923ec7039990d891dd9.png and /dev/null differ diff --git a/frontend/stickers/rage/7252d55ffc7b6ae7c10b02865b08cbd88c92e9dd.png b/frontend/stickers/rage/7252d55ffc7b6ae7c10b02865b08cbd88c92e9dd.png deleted file mode 100644 index 3d73265..0000000 Binary files a/frontend/stickers/rage/7252d55ffc7b6ae7c10b02865b08cbd88c92e9dd.png and /dev/null differ diff --git a/frontend/stickers/rage/732560dc665ae419f41b7337ce36310a5577a374.png b/frontend/stickers/rage/732560dc665ae419f41b7337ce36310a5577a374.png deleted file mode 100644 index c0f295b..0000000 Binary files a/frontend/stickers/rage/732560dc665ae419f41b7337ce36310a5577a374.png and /dev/null differ diff --git a/frontend/stickers/rage/77acb7d16246e712aed1b3be173e563dc4b7b1ea.png b/frontend/stickers/rage/77acb7d16246e712aed1b3be173e563dc4b7b1ea.png deleted file mode 100644 index f226366..0000000 Binary files a/frontend/stickers/rage/77acb7d16246e712aed1b3be173e563dc4b7b1ea.png and /dev/null differ diff --git a/frontend/stickers/rage/804b6ad6492e2ea1f6eab3daf82ddee4ff64dfd2.png b/frontend/stickers/rage/804b6ad6492e2ea1f6eab3daf82ddee4ff64dfd2.png deleted file mode 100644 index acdc85d..0000000 Binary files a/frontend/stickers/rage/804b6ad6492e2ea1f6eab3daf82ddee4ff64dfd2.png and /dev/null differ diff --git a/frontend/stickers/rage/851adfebcb0593811c671c3e772fc344e522af00.png b/frontend/stickers/rage/851adfebcb0593811c671c3e772fc344e522af00.png deleted file mode 100644 index a5db2ff..0000000 Binary files a/frontend/stickers/rage/851adfebcb0593811c671c3e772fc344e522af00.png and /dev/null differ diff --git a/frontend/stickers/rage/853ee692827150abb7429778b13b4c7e4c82dd31.png b/frontend/stickers/rage/853ee692827150abb7429778b13b4c7e4c82dd31.png deleted file mode 100644 index adea63e..0000000 Binary files a/frontend/stickers/rage/853ee692827150abb7429778b13b4c7e4c82dd31.png and /dev/null differ diff --git a/frontend/stickers/rage/8a1d4a2cc7260d75783fda4949186cb22b90719d.png b/frontend/stickers/rage/8a1d4a2cc7260d75783fda4949186cb22b90719d.png deleted file mode 100644 index 5a8f7cd..0000000 Binary files a/frontend/stickers/rage/8a1d4a2cc7260d75783fda4949186cb22b90719d.png and /dev/null differ diff --git a/frontend/stickers/rage/8c4f4b8af2be839e6260b9248e4b8b720b7cd5d3.png b/frontend/stickers/rage/8c4f4b8af2be839e6260b9248e4b8b720b7cd5d3.png deleted file mode 100644 index 9b0d318..0000000 Binary files a/frontend/stickers/rage/8c4f4b8af2be839e6260b9248e4b8b720b7cd5d3.png and /dev/null differ diff --git a/frontend/stickers/rage/8d4db935c6aa8c9cc03e8a4e8415ba343af60fd5.png b/frontend/stickers/rage/8d4db935c6aa8c9cc03e8a4e8415ba343af60fd5.png deleted file mode 100644 index 39654d9..0000000 Binary files a/frontend/stickers/rage/8d4db935c6aa8c9cc03e8a4e8415ba343af60fd5.png and /dev/null differ diff --git a/frontend/stickers/rage/8dff0cedb4cb6171635c2795d22f314c6542a143.png b/frontend/stickers/rage/8dff0cedb4cb6171635c2795d22f314c6542a143.png deleted file mode 100644 index 7105afd..0000000 Binary files a/frontend/stickers/rage/8dff0cedb4cb6171635c2795d22f314c6542a143.png and /dev/null differ diff --git a/frontend/stickers/rage/9313fa3b7b87ec3241937e9b37c2e4ae451a79af.png b/frontend/stickers/rage/9313fa3b7b87ec3241937e9b37c2e4ae451a79af.png deleted file mode 100644 index 718f0af..0000000 Binary files a/frontend/stickers/rage/9313fa3b7b87ec3241937e9b37c2e4ae451a79af.png and /dev/null differ diff --git a/frontend/stickers/rage/93d9d4a3e8661d0d2f8e84b8b74a2af1174bf474.png b/frontend/stickers/rage/93d9d4a3e8661d0d2f8e84b8b74a2af1174bf474.png deleted file mode 100644 index 28ffed7..0000000 Binary files a/frontend/stickers/rage/93d9d4a3e8661d0d2f8e84b8b74a2af1174bf474.png and /dev/null differ diff --git a/frontend/stickers/rage/9499b5d7837c29adc93f99c552c726230654d7f6.png b/frontend/stickers/rage/9499b5d7837c29adc93f99c552c726230654d7f6.png deleted file mode 100644 index e2c62c5..0000000 Binary files a/frontend/stickers/rage/9499b5d7837c29adc93f99c552c726230654d7f6.png and /dev/null differ diff --git a/frontend/stickers/rage/94a7bda648dea8bd1fa8eae09dba0895439759e1.png b/frontend/stickers/rage/94a7bda648dea8bd1fa8eae09dba0895439759e1.png deleted file mode 100644 index f4d3879..0000000 Binary files a/frontend/stickers/rage/94a7bda648dea8bd1fa8eae09dba0895439759e1.png and /dev/null differ diff --git a/frontend/stickers/rage/977bfae5a1dc07bf7594329ef60b3ad66dbb6202.png b/frontend/stickers/rage/977bfae5a1dc07bf7594329ef60b3ad66dbb6202.png deleted file mode 100644 index 6e05311..0000000 Binary files a/frontend/stickers/rage/977bfae5a1dc07bf7594329ef60b3ad66dbb6202.png and /dev/null differ diff --git a/frontend/stickers/rage/99bf56657be9f5ad571104db5362d56564c0bf40.png b/frontend/stickers/rage/99bf56657be9f5ad571104db5362d56564c0bf40.png deleted file mode 100644 index fb54678..0000000 Binary files a/frontend/stickers/rage/99bf56657be9f5ad571104db5362d56564c0bf40.png and /dev/null differ diff --git a/frontend/stickers/rage/9c1fa084e5bfd1edd6ce98b83443fb9fddd9e83c.png b/frontend/stickers/rage/9c1fa084e5bfd1edd6ce98b83443fb9fddd9e83c.png deleted file mode 100644 index bacc7f4..0000000 Binary files a/frontend/stickers/rage/9c1fa084e5bfd1edd6ce98b83443fb9fddd9e83c.png and /dev/null differ diff --git a/frontend/stickers/rage/9f4c6db875092dd491484c307acc9085b0b9e5a3.png b/frontend/stickers/rage/9f4c6db875092dd491484c307acc9085b0b9e5a3.png deleted file mode 100644 index de17d3e..0000000 Binary files a/frontend/stickers/rage/9f4c6db875092dd491484c307acc9085b0b9e5a3.png and /dev/null differ diff --git a/frontend/stickers/rage/a4230e4f27f32358c8774a00ad9443fb61d7afb0.png b/frontend/stickers/rage/a4230e4f27f32358c8774a00ad9443fb61d7afb0.png deleted file mode 100644 index 299c5d3..0000000 Binary files a/frontend/stickers/rage/a4230e4f27f32358c8774a00ad9443fb61d7afb0.png and /dev/null differ diff --git a/frontend/stickers/rage/a96f7c9727c305fbd193985c69aa07cfb821916a.png b/frontend/stickers/rage/a96f7c9727c305fbd193985c69aa07cfb821916a.png deleted file mode 100644 index 3f5906c..0000000 Binary files a/frontend/stickers/rage/a96f7c9727c305fbd193985c69aa07cfb821916a.png and /dev/null differ diff --git a/frontend/stickers/rage/ab241b1322e09c5cb262a3fcd9fc0f0a6d29edcc.png b/frontend/stickers/rage/ab241b1322e09c5cb262a3fcd9fc0f0a6d29edcc.png deleted file mode 100644 index 4b18e36..0000000 Binary files a/frontend/stickers/rage/ab241b1322e09c5cb262a3fcd9fc0f0a6d29edcc.png and /dev/null differ diff --git a/frontend/stickers/rage/abbd2e570915d3496062e219b9c095d775c84610.png b/frontend/stickers/rage/abbd2e570915d3496062e219b9c095d775c84610.png deleted file mode 100644 index 49dc925..0000000 Binary files a/frontend/stickers/rage/abbd2e570915d3496062e219b9c095d775c84610.png and /dev/null differ diff --git a/frontend/stickers/rage/ac8bbde82dc3025274bb47be9038c96c3a127c20.png b/frontend/stickers/rage/ac8bbde82dc3025274bb47be9038c96c3a127c20.png deleted file mode 100644 index 85422a0..0000000 Binary files a/frontend/stickers/rage/ac8bbde82dc3025274bb47be9038c96c3a127c20.png and /dev/null differ diff --git a/frontend/stickers/rage/acec64671a529e0da4b15c05db5d38bf4b5ff8c4.png b/frontend/stickers/rage/acec64671a529e0da4b15c05db5d38bf4b5ff8c4.png deleted file mode 100644 index d8d2c72..0000000 Binary files a/frontend/stickers/rage/acec64671a529e0da4b15c05db5d38bf4b5ff8c4.png and /dev/null differ diff --git a/frontend/stickers/rage/ae3f8e0410a36dace0f642ba4f4c3a6e332493fd.png b/frontend/stickers/rage/ae3f8e0410a36dace0f642ba4f4c3a6e332493fd.png deleted file mode 100644 index 3bcda8b..0000000 Binary files a/frontend/stickers/rage/ae3f8e0410a36dace0f642ba4f4c3a6e332493fd.png and /dev/null differ diff --git a/frontend/stickers/rage/aeeb4f06a4ba46ddc95fa757b7cfa7cc644fe584.png b/frontend/stickers/rage/aeeb4f06a4ba46ddc95fa757b7cfa7cc644fe584.png deleted file mode 100644 index f6622ea..0000000 Binary files a/frontend/stickers/rage/aeeb4f06a4ba46ddc95fa757b7cfa7cc644fe584.png and /dev/null differ diff --git a/frontend/stickers/rage/afc7c2aa7030fcee9188ae8acc66b3c7e4d2e225.png b/frontend/stickers/rage/afc7c2aa7030fcee9188ae8acc66b3c7e4d2e225.png deleted file mode 100644 index 766c844..0000000 Binary files a/frontend/stickers/rage/afc7c2aa7030fcee9188ae8acc66b3c7e4d2e225.png and /dev/null differ diff --git a/frontend/stickers/rage/b4a80eff83bf0fef0116bb71ca7cea3a349b37ae.png b/frontend/stickers/rage/b4a80eff83bf0fef0116bb71ca7cea3a349b37ae.png deleted file mode 100644 index f7995b5..0000000 Binary files a/frontend/stickers/rage/b4a80eff83bf0fef0116bb71ca7cea3a349b37ae.png and /dev/null differ diff --git a/frontend/stickers/rage/b55953ecb81f96450859115029db2789284ac4ad.png b/frontend/stickers/rage/b55953ecb81f96450859115029db2789284ac4ad.png deleted file mode 100644 index 5936490..0000000 Binary files a/frontend/stickers/rage/b55953ecb81f96450859115029db2789284ac4ad.png and /dev/null differ diff --git a/frontend/stickers/rage/ba51f567695fe53c74821778d1a8606e8aa92248.png b/frontend/stickers/rage/ba51f567695fe53c74821778d1a8606e8aa92248.png deleted file mode 100644 index b98fee9..0000000 Binary files a/frontend/stickers/rage/ba51f567695fe53c74821778d1a8606e8aa92248.png and /dev/null differ diff --git a/frontend/stickers/rage/bf210093dd2c45a21ac5bdcb123877368a74d780.png b/frontend/stickers/rage/bf210093dd2c45a21ac5bdcb123877368a74d780.png deleted file mode 100644 index ef8c9b9..0000000 Binary files a/frontend/stickers/rage/bf210093dd2c45a21ac5bdcb123877368a74d780.png and /dev/null differ diff --git a/frontend/stickers/rage/c5c9ab88b86446e77be4b60439b42f28af06d977.png b/frontend/stickers/rage/c5c9ab88b86446e77be4b60439b42f28af06d977.png deleted file mode 100644 index a0e9377..0000000 Binary files a/frontend/stickers/rage/c5c9ab88b86446e77be4b60439b42f28af06d977.png and /dev/null differ diff --git a/frontend/stickers/rage/c9de4342c742e75a6827b003c15313846cee263f.png b/frontend/stickers/rage/c9de4342c742e75a6827b003c15313846cee263f.png deleted file mode 100644 index 72f5abf..0000000 Binary files a/frontend/stickers/rage/c9de4342c742e75a6827b003c15313846cee263f.png and /dev/null differ diff --git a/frontend/stickers/rage/cc557d068ff9b36e1deb0a38145f2ae5a295840f.png b/frontend/stickers/rage/cc557d068ff9b36e1deb0a38145f2ae5a295840f.png deleted file mode 100644 index 1bd2696..0000000 Binary files a/frontend/stickers/rage/cc557d068ff9b36e1deb0a38145f2ae5a295840f.png and /dev/null differ diff --git a/frontend/stickers/rage/ce70aee6fb2da31e700c93b876a91caa8e9b7135.png b/frontend/stickers/rage/ce70aee6fb2da31e700c93b876a91caa8e9b7135.png deleted file mode 100644 index 0813a55..0000000 Binary files a/frontend/stickers/rage/ce70aee6fb2da31e700c93b876a91caa8e9b7135.png and /dev/null differ diff --git a/frontend/stickers/rage/cf9c2833593c64883b2656dc6f9d1e8f39043a18.png b/frontend/stickers/rage/cf9c2833593c64883b2656dc6f9d1e8f39043a18.png deleted file mode 100644 index a062985..0000000 Binary files a/frontend/stickers/rage/cf9c2833593c64883b2656dc6f9d1e8f39043a18.png and /dev/null differ diff --git a/frontend/stickers/rage/d90ba2ec8d0a8e35dde4823c4a2204e7bbf37030.png b/frontend/stickers/rage/d90ba2ec8d0a8e35dde4823c4a2204e7bbf37030.png deleted file mode 100644 index 10319f5..0000000 Binary files a/frontend/stickers/rage/d90ba2ec8d0a8e35dde4823c4a2204e7bbf37030.png and /dev/null differ diff --git a/frontend/stickers/rage/dc084b9de991d042070f7e414003cd14e51ed8cb.png b/frontend/stickers/rage/dc084b9de991d042070f7e414003cd14e51ed8cb.png deleted file mode 100644 index ab906ed..0000000 Binary files a/frontend/stickers/rage/dc084b9de991d042070f7e414003cd14e51ed8cb.png and /dev/null differ diff --git a/frontend/stickers/rage/dc9c3e66cbe7db9c90c27fead4dd9ac43c0768ab.png b/frontend/stickers/rage/dc9c3e66cbe7db9c90c27fead4dd9ac43c0768ab.png deleted file mode 100644 index 19877c9..0000000 Binary files a/frontend/stickers/rage/dc9c3e66cbe7db9c90c27fead4dd9ac43c0768ab.png and /dev/null differ diff --git a/frontend/stickers/rage/e07e1c0bae88870d298ac9ddb7a3a793b433b940.png b/frontend/stickers/rage/e07e1c0bae88870d298ac9ddb7a3a793b433b940.png deleted file mode 100644 index 296eb86..0000000 Binary files a/frontend/stickers/rage/e07e1c0bae88870d298ac9ddb7a3a793b433b940.png and /dev/null differ diff --git a/frontend/stickers/rage/e27bbb4ca81d9becb62559b906917759c4d792a5.png b/frontend/stickers/rage/e27bbb4ca81d9becb62559b906917759c4d792a5.png deleted file mode 100644 index 57fad15..0000000 Binary files a/frontend/stickers/rage/e27bbb4ca81d9becb62559b906917759c4d792a5.png and /dev/null differ diff --git a/frontend/stickers/rage/ef29b8c266f48e5d4357b64bb47f3be93b3a18e5.png b/frontend/stickers/rage/ef29b8c266f48e5d4357b64bb47f3be93b3a18e5.png deleted file mode 100644 index 8d6bb93..0000000 Binary files a/frontend/stickers/rage/ef29b8c266f48e5d4357b64bb47f3be93b3a18e5.png and /dev/null differ diff --git a/frontend/stickers/rage/fd4f0a71b3ca1f1ae41de83316ff4fc02a967d92.png b/frontend/stickers/rage/fd4f0a71b3ca1f1ae41de83316ff4fc02a967d92.png deleted file mode 100644 index c5e86db..0000000 Binary files a/frontend/stickers/rage/fd4f0a71b3ca1f1ae41de83316ff4fc02a967d92.png and /dev/null differ diff --git a/frontend/stickers/rage/icon.png b/frontend/stickers/rage/icon.png deleted file mode 100644 index badbe07..0000000 Binary files a/frontend/stickers/rage/icon.png and /dev/null differ diff --git a/frontend/stickers/rage/info.ini b/frontend/stickers/rage/info.ini deleted file mode 100644 index c5b39ba..0000000 --- a/frontend/stickers/rage/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Movim Team -license = CreativeCommon BY SA -url = https://edhelas.movim.eu/ diff --git a/frontend/stickers/zemarmot/0e5559b02badb81113b49e73541476bf0ac85c99.png b/frontend/stickers/zemarmot/0e5559b02badb81113b49e73541476bf0ac85c99.png deleted file mode 100644 index f16f831..0000000 Binary files a/frontend/stickers/zemarmot/0e5559b02badb81113b49e73541476bf0ac85c99.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/17dc10c2e8aab65b9379ea8052166e23c7c839d3.png b/frontend/stickers/zemarmot/17dc10c2e8aab65b9379ea8052166e23c7c839d3.png deleted file mode 100644 index 5725927..0000000 Binary files a/frontend/stickers/zemarmot/17dc10c2e8aab65b9379ea8052166e23c7c839d3.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/1ad6126ad0d904ff7948bb07cda2d10f286de904.png b/frontend/stickers/zemarmot/1ad6126ad0d904ff7948bb07cda2d10f286de904.png deleted file mode 100644 index cca4c9f..0000000 Binary files a/frontend/stickers/zemarmot/1ad6126ad0d904ff7948bb07cda2d10f286de904.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/5634554edf68a6806a7e5cd87aca8554e77ca4e2.png b/frontend/stickers/zemarmot/5634554edf68a6806a7e5cd87aca8554e77ca4e2.png deleted file mode 100644 index da22b13..0000000 Binary files a/frontend/stickers/zemarmot/5634554edf68a6806a7e5cd87aca8554e77ca4e2.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/a0e791a78ce2275a368db103c7f9c335219902f4.png b/frontend/stickers/zemarmot/a0e791a78ce2275a368db103c7f9c335219902f4.png deleted file mode 100644 index a8abf68..0000000 Binary files a/frontend/stickers/zemarmot/a0e791a78ce2275a368db103c7f9c335219902f4.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/a1fe6c2544314eac8ab3d7660897cd98019a0f9b.png b/frontend/stickers/zemarmot/a1fe6c2544314eac8ab3d7660897cd98019a0f9b.png deleted file mode 100644 index 5cf1b29..0000000 Binary files a/frontend/stickers/zemarmot/a1fe6c2544314eac8ab3d7660897cd98019a0f9b.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/b29fcbd8cb0c175f59854b227b9a581204e834a7.png b/frontend/stickers/zemarmot/b29fcbd8cb0c175f59854b227b9a581204e834a7.png deleted file mode 100644 index a5cc4d0..0000000 Binary files a/frontend/stickers/zemarmot/b29fcbd8cb0c175f59854b227b9a581204e834a7.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/b9ff7bdb71a2fedad72c7c76bd536d331c7b5975.png b/frontend/stickers/zemarmot/b9ff7bdb71a2fedad72c7c76bd536d331c7b5975.png deleted file mode 100644 index 4e84e63..0000000 Binary files a/frontend/stickers/zemarmot/b9ff7bdb71a2fedad72c7c76bd536d331c7b5975.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/c28a2a3dd5190501b33e95568ca569ce7745922c.png b/frontend/stickers/zemarmot/c28a2a3dd5190501b33e95568ca569ce7745922c.png deleted file mode 100644 index 0ba9d8b..0000000 Binary files a/frontend/stickers/zemarmot/c28a2a3dd5190501b33e95568ca569ce7745922c.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/da6862408e387c164f0606769f909d253a3c20e3.png b/frontend/stickers/zemarmot/da6862408e387c164f0606769f909d253a3c20e3.png deleted file mode 100644 index 5e3de41..0000000 Binary files a/frontend/stickers/zemarmot/da6862408e387c164f0606769f909d253a3c20e3.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/icon.png b/frontend/stickers/zemarmot/icon.png deleted file mode 100644 index 0acfe63..0000000 Binary files a/frontend/stickers/zemarmot/icon.png and /dev/null differ diff --git a/frontend/stickers/zemarmot/info.ini b/frontend/stickers/zemarmot/info.ini deleted file mode 100644 index a244039..0000000 --- a/frontend/stickers/zemarmot/info.ini +++ /dev/null @@ -1,3 +0,0 @@ -author = Aryeom Han -license = CreativeCommon BY SA -url = http://film.zemarmot.net/ diff --git a/frontend/theme/favicon.xcf b/frontend/theme/favicon.xcf deleted file mode 100644 index 6c4c477..0000000 Binary files a/frontend/theme/favicon.xcf and /dev/null differ diff --git a/frontend/theme/img/app/1024_square.png b/frontend/theme/img/app/1024_square.png deleted file mode 100644 index 9f2df4b..0000000 Binary files a/frontend/theme/img/app/1024_square.png and /dev/null differ diff --git a/frontend/theme/img/app/512_square.png b/frontend/theme/img/app/512_square.png deleted file mode 100644 index 758d462..0000000 Binary files a/frontend/theme/img/app/512_square.png and /dev/null differ diff --git a/frontend/theme/img/app/vectorial.svg b/frontend/theme/img/app/vectorial.svg deleted file mode 100644 index 95cc830..0000000 --- a/frontend/theme/img/app/vectorial.svg +++ /dev/null @@ -1,1196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/theme/img/app/vectorial_square.svg b/frontend/theme/img/app/vectorial_square.svg deleted file mode 100644 index 2b26d65..0000000 --- a/frontend/theme/img/app/vectorial_square.svg +++ /dev/null @@ -1,1196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/theme/img/yuno.png b/frontend/theme/img/yuno.png deleted file mode 100644 index ff04b18..0000000 Binary files a/frontend/theme/img/yuno.png and /dev/null differ diff --git a/frontend/widgets/About/locales.ini b/frontend/widgets/About/locales.ini deleted file mode 100644 index 599ac4f..0000000 --- a/frontend/widgets/About/locales.ini +++ /dev/null @@ -1,11 +0,0 @@ -[about] -thanks = Thanks -developers = Developers -translators = Translators -translators_text = "Thanks to all the translators" -software = Software -resources = Resources -api = API -info = Movim is an XMPP-based communication platform. All the project, except the following software and resources, is under -sourcecode_title = Sourcecode -sourcecode_text = Check out the sourcecode on the Github repository \ No newline at end of file diff --git a/frontend/widgets/Account/account.js b/frontend/widgets/Account/account.js index 8108453..7051d17 100644 --- a/frontend/widgets/Account/account.js +++ b/frontend/widgets/Account/account.js @@ -188,5 +188,4 @@ var Account = { MovimWebsocket.attach(function () { if (OMEMO_ENABLED) Account.refreshFingerprints(); Account_ajaxHttpGetPresences(); - Account_ajaxGetGateways(); }); diff --git a/frontend/widgets/AdHoc/adhoc.js b/frontend/widgets/AdHoc/adhoc.js deleted file mode 100644 index aff7522..0000000 --- a/frontend/widgets/AdHoc/adhoc.js +++ /dev/null @@ -1,54 +0,0 @@ -var AdHoc = { - refresh: function () { - var items = document.querySelectorAll('.adhoc_widget .actions li:not(.subheader)'); - var i = 0; - - while (i < items.length) { - items[i].onclick = function () { - Drawer.clear(); - AdHoc_ajaxCommand(this.dataset.jid, this.dataset.node); - }; - - i++; - } - }, - initForm: function () { - var form = document.querySelector('#dialog form[name=command]'); - - if (form) { - form.addEventListener('input', e => AdHoc.checkFormValidity()); - } - - AdHoc.checkFormValidity(); - }, - submit: function (jid, action) { - var form = document.querySelector('#dialog form[name=command]'); - AdHoc_ajaxSubmit( - jid, - form.dataset.node, - MovimUtils.formToJson('command'), - form.dataset.sessionid, - action - ); - }, - checkFormValidity: function () { - var form = document.querySelector('#dialog form[name=command]'); - var action = document.querySelector('#dialog #adhoc_action'); - - if (form && action) { - if (form.checkValidity()) { - action.classList.remove('disabled'); - } else { - action.classList.add('disabled'); - } - } - } -} - -MovimWebsocket.attach(function () { - var parts = MovimUtils.urlParts(); - - if (parts.page === "configuration") { - AdHoc_ajaxGet(); - } -}); diff --git a/frontend/widgets/AdHoc/locales.ini b/frontend/widgets/AdHoc/locales.ini deleted file mode 100644 index 8b7397c..0000000 --- a/frontend/widgets/AdHoc/locales.ini +++ /dev/null @@ -1,10 +0,0 @@ -[adhoc] -title = Actions -completed = Action completed - -[tools] -title = Developer Tools -sdp_to_jingle = Convert SDP to Jingle -sdp_title = SDP -jingle_to_sdp = Convert Jingle to SDP -jingle_title = Jingle stanza \ No newline at end of file diff --git a/frontend/widgets/AdminMain/locales.ini b/frontend/widgets/AdminMain/locales.ini deleted file mode 100644 index 00be035..0000000 --- a/frontend/widgets/AdminMain/locales.ini +++ /dev/null @@ -1,72 +0,0 @@ -[admin] -general = General Settings - -[general] -theme = Theme -language = Default language -log_verbosity = Log verbosity -join_title = Your instance is public? -join_text = Register your instance on join.movim.eu and join the Movim federation! - -[restrictsuggestions] -title = Restrict suggestions -text = "Only suggest chatrooms, Communities, and other contents that are available on the user's XMPP server and related services" - -[chatonly] -title = Chat only -text = Disable all the social feature (Communities, Blog…) and keep only the chat ones - -[credentials] -title = Administration Credential -username = Username -password = Password -re_password = Retype password - -[disableregistration] -title = Disable the XMPP registration feature -text = Remove the XMPP registration flow and buttons from the interface - -[whitelist] -title = Allowed XMPP Servers -info1 = If you want to specify a list of authorized XMPP servers on your Movim pod and forbid the connection on all the others please put their domain name(s) here, with comma (ex: movim.eu,jabber.fr) -info2 = Leave this field blank if you allow the access to all the XMPP accounts. -label = List of allowed XMPP servers - -[ssrfwhitelist] -title = Whitelisted Domains for SSRF Protection -info1 = Movim is protecting you against SSRF vulnerabilities. This means that Movim blocks all URLs (shared links, avatars, and pictures) that point to your local network IPs. -info2 = See the related SSRF documentation on developer.mozilla.org. -info3 = Add all domains hosted locally here (for example, if you host a blog, an XMPP file upload service, or other web services). -info4 = This setting will be applied after a daemon restart. -label = List of Locally Authorized Domains - -[information] -description = Description -description_placeholder = General description of the instance -banner = Main banner -banner_info = Ensure that the picture is not too large and can be reached from any webpages -info1 = This message will be displayed on the login page. It can be used to link the Terms and Conditions of your Movim instance for example. -info2 = Leave this field blank if you don’t want to show any message. -label = Information Message - -[xmpp] -title = Default XMPP server -domain = Main XMPP server domain -description = Main XMPP server description -country = Main XMPP server country -country_pick= Pick a country in the list - -[tenor] -title = Tenor integration -label = Your Tenor API Key -info1 = Movim integrates the Tenor API to allow GIF search and publication in Chat -info2 = Access Tenor and get your API key - -[log] -empty = Empty -syslog = Syslog -syslog_files = Syslog and files - -[maxsessions] -title = Maximum of connected sessions -info = Movim will forbid new users to connect when the limit is reached, set it to 0 to disable \ No newline at end of file diff --git a/frontend/widgets/AdminReported/adminreported.css b/frontend/widgets/AdminReported/adminreported.css deleted file mode 100644 index 86e222f..0000000 --- a/frontend/widgets/AdminReported/adminreported.css +++ /dev/null @@ -1,3 +0,0 @@ -#blocked_widget_list:not(:empty) ~ .placeholder { - display: none; -} diff --git a/frontend/widgets/AdminReported/adminreported.js b/frontend/widgets/AdminReported/adminreported.js deleted file mode 100644 index 42ed891..0000000 --- a/frontend/widgets/AdminReported/adminreported.js +++ /dev/null @@ -1,3 +0,0 @@ -MovimWebsocket.attach(function() { - AdminReported_ajaxHttpGet(); -}); diff --git a/frontend/widgets/AdminReported/locales.ini b/frontend/widgets/AdminReported/locales.ini deleted file mode 100644 index 3882dde..0000000 --- a/frontend/widgets/AdminReported/locales.ini +++ /dev/null @@ -1,4 +0,0 @@ -[adminreported] -reported_by = "Reported by %s users" -info = Those accounts were reported by some Movim users -info2 = You can choose to block them for all the other users diff --git a/frontend/widgets/AdminSessions/locales.ini b/frontend/widgets/AdminSessions/locales.ini deleted file mode 100644 index bd2dd72..0000000 --- a/frontend/widgets/AdminSessions/locales.ini +++ /dev/null @@ -1,3 +0,0 @@ -[adminsessions] -title = Sessions -text = Currently connected users on the pod diff --git a/frontend/widgets/Blog/locales.ini b/frontend/widgets/Blog/locales.ini deleted file mode 100644 index 5c3bc19..0000000 --- a/frontend/widgets/Blog/locales.ini +++ /dev/null @@ -1,3 +0,0 @@ -[blog] -title = "%s’s blog" -private = This content is private, please login to see it diff --git a/frontend/widgets/Communities/communities.js b/frontend/widgets/Communities/communities.js deleted file mode 100644 index 1749c6a..0000000 --- a/frontend/widgets/Communities/communities.js +++ /dev/null @@ -1,30 +0,0 @@ -var Communities = { - init: function() { - let parts = MovimUtils.urlParts(); - let page = parts.params[0] !== undefined ? parseInt(parts.params[0]) : 0; - - if (parts.hash != '') { - switch (parts.hash) { - case 'communities': - Communities_ajaxHttpGetCommunities(page); - break; - case 'contacts': - Communities_ajaxHttpGetContacts(page); - break; - } - } else { - Communities_ajaxHttpGetAll(page); - } - }, - - morePosts: function(button, page, type) { - button.remove(); - Communities_ajaxHttpGetPosts(page, type); - } -} - -MovimWebsocket.attach(function() { - Notif.current('community'); -}); - -MovimWebsocket.initiate(() => Communities.init()); diff --git a/frontend/widgets/Communities/locales.ini b/frontend/widgets/Communities/locales.ini deleted file mode 100644 index 901d404..0000000 --- a/frontend/widgets/Communities/locales.ini +++ /dev/null @@ -1,8 +0,0 @@ -[communities] -empty_text = Discover, follow and share -counter = "%s communities" -search_server = Search for a new server -servers = Communities servers -servers_text = Discover the Communities by servers -disco = Communities server discovered -disco_error = "This server doesn’t exists" diff --git a/frontend/widgets/CommunitiesInteresting/locales.ini b/frontend/widgets/CommunitiesInteresting/locales.ini deleted file mode 100644 index 23e5127..0000000 --- a/frontend/widgets/CommunitiesInteresting/locales.ini +++ /dev/null @@ -1,2 +0,0 @@ -[communitiesinteresting] -about = Communities you might like diff --git a/frontend/widgets/CommunitiesServer/communitiesserver.js b/frontend/widgets/CommunitiesServer/communitiesserver.js deleted file mode 100644 index 54f4a95..0000000 --- a/frontend/widgets/CommunitiesServer/communitiesserver.js +++ /dev/null @@ -1,7 +0,0 @@ -MovimWebsocket.attach(function() { - Notif.current('community'); - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - CommunitiesServer_ajaxDisco(parts.params[0]); - } -}); diff --git a/frontend/widgets/CommunitiesServer/locales.ini b/frontend/widgets/CommunitiesServer/locales.ini deleted file mode 100644 index 8e96e01..0000000 --- a/frontend/widgets/CommunitiesServer/locales.ini +++ /dev/null @@ -1,10 +0,0 @@ -[communitiesserver] -created = Community created successfully -empty_server = "There is no Communities yet on this server." -add = Create a new community on %s -name = Community name -name_example = My Little Pony - Fan Club -name_error = Please provide a valid community name (4 characters minimum) -no_creation = You cannot create a new community on this server -disco_error = Issue when trying to discover the items -remoteservernotfound = "The server %s cannot be reached" \ No newline at end of file diff --git a/frontend/widgets/CommunitiesServers/communitiesservers.js b/frontend/widgets/CommunitiesServers/communitiesservers.js deleted file mode 100644 index 55d7959..0000000 --- a/frontend/widgets/CommunitiesServers/communitiesservers.js +++ /dev/null @@ -1,5 +0,0 @@ -MovimWebsocket.initiate(() => CommunitiesServers_ajaxHttpGet()); - -MovimWebsocket.attach(function () { - Notif.current('explore'); -}); \ No newline at end of file diff --git a/frontend/widgets/CommunitiesServers/locales.ini b/frontend/widgets/CommunitiesServers/locales.ini deleted file mode 100644 index c64de0c..0000000 --- a/frontend/widgets/CommunitiesServers/locales.ini +++ /dev/null @@ -1,3 +0,0 @@ -[communitiesservers] -empty_title = No Communities Servers yet… -empty_text = "It seems that we can't find any communities for the moment" diff --git a/frontend/widgets/CommunityAffiliations/communityaffiliations.js b/frontend/widgets/CommunityAffiliations/communityaffiliations.js deleted file mode 100644 index 738c5e6..0000000 --- a/frontend/widgets/CommunityAffiliations/communityaffiliations.js +++ /dev/null @@ -1,20 +0,0 @@ -var CommunityAffiliations = { - update : function(jid) { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - CommunityAffiliations_ajaxChangeAffiliation( - parts.params[0], - parts.params[1], - MovimUtils.formToJson(jid) - ); - } - } -} - -MovimWebsocket.attach(function() { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - CommunityAffiliations_ajaxGetSubscriptions(parts.params[0], parts.params[1]); - CommunityAffiliations_ajaxGetAffiliations(parts.params[0], parts.params[1]); - } -}); diff --git a/frontend/widgets/CommunityAffiliations/locales.ini b/frontend/widgets/CommunityAffiliations/locales.ini deleted file mode 100644 index fcaa3d7..0000000 --- a/frontend/widgets/CommunityAffiliations/locales.ini +++ /dev/null @@ -1,16 +0,0 @@ -[communityaffiliation] -configuration = Configuration -subscriptions = Subscriptions -public_subscriptions= Public subscriptions -subscriptions_text = My Communities subscriptions -deleted = Community deleted successfully -delete_title = Delete the community -delete_text = You are going to delete the following community. Please confirm your action. -delete_clean_text = "It seems that this community doesn’t exists anymore. Do you want to remove it from your subscriptions?" -delete_error = Error during the node deletion -config_saved = Configuration saved -config_error = Error during the application of the node configuration -owners = Owners -publishers = Publishers -roles = Roles -role_set = Role correctly set diff --git a/frontend/widgets/CommunityConfig/locales.ini b/frontend/widgets/CommunityConfig/locales.ini deleted file mode 100644 index a68da10..0000000 --- a/frontend/widgets/CommunityConfig/locales.ini +++ /dev/null @@ -1,14 +0,0 @@ -[communityconfig] -description = Description -publication = Publication -publish_model_open_title = Public -publish_model_open_text = Everyone can publish -publish_model_publishers_title = Publishers -publish_model_publishers_text = The publishers can publish -publish_model_subscribers_title = Subscribers -publish_model_subscribers_text = The subscribers can publish -type = Community type -type_articles_title = Articles -type_articles_text = Publish and read articles -type_gallery_title = Gallery -type_gallery_text = Publish and browse pictures diff --git a/frontend/widgets/CommunityData/communitydata.css b/frontend/widgets/CommunityData/communitydata.css deleted file mode 100644 index 469dad0..0000000 --- a/frontend/widgets/CommunityData/communitydata.css +++ /dev/null @@ -1,4 +0,0 @@ -#community_data li:first-child img.avatar, -#community_data li:first-child span.avatar { - display: inline-block; -} diff --git a/frontend/widgets/CommunityData/communitydata.js b/frontend/widgets/CommunityData/communitydata.js deleted file mode 100644 index 39140a5..0000000 --- a/frontend/widgets/CommunityData/communitydata.js +++ /dev/null @@ -1,8 +0,0 @@ -MovimWebsocket.attach(function() { - if (!MovimUtils.isMobile()) { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - CommunityData_ajaxGetAvatar(parts.params[0], parts.params[1]); - } - } -}); diff --git a/frontend/widgets/CommunityData/locales.ini b/frontend/widgets/CommunityData/locales.ini deleted file mode 100644 index 2f1c092..0000000 --- a/frontend/widgets/CommunityData/locales.ini +++ /dev/null @@ -1,6 +0,0 @@ -[communitydata] -sub = %s subscribers -num = %s posts -public = Public page -publishmodel_publishers = Only publishers can publish -publishmodel_subscribers = Only subscribers can publish diff --git a/frontend/widgets/CommunityHeader/communityheader.js b/frontend/widgets/CommunityHeader/communityheader.js deleted file mode 100644 index 4f03c01..0000000 --- a/frontend/widgets/CommunityHeader/communityheader.js +++ /dev/null @@ -1,13 +0,0 @@ -var CommunityHeader = { - getMetadata: function () { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - CommunityHeader_ajaxGetMetadata(parts.params[0], parts.params[1]); - } - } -} - -MovimWebsocket.attach(function () { - Notif.current('community'); - CommunityHeader.getMetadata(); -}); diff --git a/frontend/widgets/CommunityHeader/locales.ini b/frontend/widgets/CommunityHeader/locales.ini deleted file mode 100644 index 7ed32c7..0000000 --- a/frontend/widgets/CommunityHeader/locales.ini +++ /dev/null @@ -1,12 +0,0 @@ -[communityheader] -follow = Follow -unfollow = Unfollow -followed = Followed -unfollowed = Unfollowed -subscription_unsupported = The subscriptions are disabled for this community -label_label = Give a label for this community -label_placeholder = My Community Name -share_follow = Share this follow to everyone -share_follow_text = It will appear on your profile -unfollow_text = You are going to unfollow this community -sure = Are you sure? diff --git a/frontend/widgets/CommunityPosts/communityposts.js b/frontend/widgets/CommunityPosts/communityposts.js deleted file mode 100644 index a782512..0000000 --- a/frontend/widgets/CommunityPosts/communityposts.js +++ /dev/null @@ -1,16 +0,0 @@ -var CommunityPosts = { - getItems: function () { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - var node = (parts.params[1] == undefined || parts.params[1] == '') - ? 'urn:xmpp:microblog:0' - : parts.params[1]; - - CommunityPosts_ajaxGetItems(parts.params[0], node, parts.params[2]); - } - } -} - -MovimWebsocket.attach(function () { - CommunityPosts.getItems(); -}); diff --git a/frontend/widgets/CommunityPosts/locales.ini b/frontend/widgets/CommunityPosts/locales.ini deleted file mode 100644 index 30c8d88..0000000 --- a/frontend/widgets/CommunityPosts/locales.ini +++ /dev/null @@ -1,7 +0,0 @@ -[communityposts] -empty_me_text = No publication yet? Write your first post to make people discover your profile -empty_me_button = Publish my first post -presencerequired = Private account -presencerequired_text = Ask %s to be in your contacts to see the publications -subscribe_presencerequired = Send an invitation request before following the contact -subscribe_unsupported = "You can't follow the contact at the moment" \ No newline at end of file diff --git a/frontend/widgets/CommunitySubscriptions/communitysubscriptions.css b/frontend/widgets/CommunitySubscriptions/communitysubscriptions.css deleted file mode 100644 index c347bdc..0000000 --- a/frontend/widgets/CommunitySubscriptions/communitysubscriptions.css +++ /dev/null @@ -1,5 +0,0 @@ -@media screen and (max-width: 1024px) { - #subscriptions { - padding: 0 0.75rem; - } -} \ No newline at end of file diff --git a/frontend/widgets/CommunitySubscriptions/communitysubscriptions.js b/frontend/widgets/CommunitySubscriptions/communitysubscriptions.js deleted file mode 100644 index 229b96c..0000000 --- a/frontend/widgets/CommunitySubscriptions/communitysubscriptions.js +++ /dev/null @@ -1 +0,0 @@ -MovimWebsocket.attach(() => CommunitySubscriptions_ajaxHttpGet()); diff --git a/frontend/widgets/CommunitySubscriptions/locales.ini b/frontend/widgets/CommunitySubscriptions/locales.ini deleted file mode 100644 index 1f676cc..0000000 --- a/frontend/widgets/CommunitySubscriptions/locales.ini +++ /dev/null @@ -1,5 +0,0 @@ -[communitysubscriptions] -subscriptions = Subscribed Communities -empty_title = Hello -empty_text1 = Here you will be able to manage all your subscriptions. -empty_text2 = You don’t have any community subscriptions yet. diff --git a/frontend/widgets/Config/config.js b/frontend/widgets/Config/config.js index 68084cc..2a5a691 100644 --- a/frontend/widgets/Config/config.js +++ b/frontend/widgets/Config/config.js @@ -16,5 +16,4 @@ MovimWebsocket.attach(function () { Notif.current('configuration'); Config_ajaxMAMGetConfig(); - Config_ajaxBlogGetConfig(); }); diff --git a/frontend/widgets/ContactBlogConfig/contactblogconfig.js b/frontend/widgets/ContactBlogConfig/contactblogconfig.js deleted file mode 100644 index c0252f7..0000000 --- a/frontend/widgets/ContactBlogConfig/contactblogconfig.js +++ /dev/null @@ -1,3 +0,0 @@ -MovimWebsocket.attach(() => { - ContactBlogConfig_ajaxCheckAccessModel(MovimUtils.urlParts().params[0]); -}); diff --git a/frontend/widgets/ContactData/contactdata.js b/frontend/widgets/ContactData/contactdata.js deleted file mode 100644 index 6aee158..0000000 --- a/frontend/widgets/ContactData/contactdata.js +++ /dev/null @@ -1,13 +0,0 @@ -MovimWebsocket.attach(function() { - Notif.current('contact'); - - if (!MovimUtils.isMobile()) { - var parts = MovimUtils.urlParts(); - - ContactData_ajaxGet(parts.params[0]); - - if (parts.params.length > 0) { - ContactData_ajaxRefresh(parts.params[0]); - } - } -}); diff --git a/frontend/widgets/ContactData/locales.ini b/frontend/widgets/ContactData/locales.ini deleted file mode 100644 index 6f795c7..0000000 --- a/frontend/widgets/ContactData/locales.ini +++ /dev/null @@ -1,65 +0,0 @@ -[general] -legend = General Information -name = Name -pronouns = Pronouns -pronouns_example = "he/she/they/…" -nickname = Nickname -date_of_birth = Date of Birth -gender = Gender -marital = Marital Status -email = Email -website = Website -about = About Me -accounts = Other Accounts -tune = Is Listening -pictures = Pictures -links = Links - -private_account_title = Your account is private -private_account_text = Go to the Settings page to create a public blog and allow the other users to find you - -[position] -legend = Geographic Position -locality = Locality -country = Country - -[listen] -title = Listening - -[last] -title = Last seen - -[clients] -title = Clients -title_full = Clients information - -[explore] -last_registered = Last registered -explore = Find some new contacts - -[edit] -title = Edit -alias = Alias -group = Group - -[delete] -title = Are you sure? -text = You are going to remove one of your contacts, please confirm your action - -[age] -years = %s years - -[blog] -last = Last public post -visit = Visit the public blog - -[subscription] -to = You can see this contact status -to_button = Share my status -to_text = But this contact cannot see yours -from = You are not subscribed to this contact -from_button = Ask to subscribe -from_text = But this contact can still see if you are online -nil = You are not subscribed to anyone -nil_button = Invite -nil_text = This contact is in your contact list but you are not subscribed to each other diff --git a/frontend/widgets/ContactHeader/contactheader.js b/frontend/widgets/ContactHeader/contactheader.js deleted file mode 100644 index 5772266..0000000 --- a/frontend/widgets/ContactHeader/contactheader.js +++ /dev/null @@ -1,6 +0,0 @@ -var ContactHeader = { - submit: function (button) { - button.innerHTML = 'progress_activity'; - button.classList.add('inactive'); - } -} \ No newline at end of file diff --git a/frontend/widgets/ContactSubscriptions/contactsubscriptions.js b/frontend/widgets/ContactSubscriptions/contactsubscriptions.js deleted file mode 100644 index 205dc98..0000000 --- a/frontend/widgets/ContactSubscriptions/contactsubscriptions.js +++ /dev/null @@ -1,8 +0,0 @@ -MovimWebsocket.attach(function() { - if (!MovimUtils.isMobile()) { - var parts = MovimUtils.urlParts(); - if (parts.params.length > 0) { - ContactSubscriptions_ajaxRefresh(parts.params[0]); - } - } -}); diff --git a/frontend/widgets/ContactsSuggestions/contactssuggestions.js b/frontend/widgets/ContactsSuggestions/contactssuggestions.js deleted file mode 100644 index 34d7efe..0000000 --- a/frontend/widgets/ContactsSuggestions/contactssuggestions.js +++ /dev/null @@ -1,10 +0,0 @@ -var ContactsSuggestions = { - submit: function (button) { - button.innerHTML = 'progress_activity'; - button.classList.add('inactive'); - } -}; - -if (!MovimUtils.isMobile()) { - ContactsSuggestions_ajaxHttpGet(); -} \ No newline at end of file diff --git a/frontend/widgets/ContactsSuggestions/locales.ini b/frontend/widgets/ContactsSuggestions/locales.ini deleted file mode 100644 index 49a7ebd..0000000 --- a/frontend/widgets/ContactsSuggestions/locales.ini +++ /dev/null @@ -1,2 +0,0 @@ -[contactssuggestions] -for_you = Suggestions for you \ No newline at end of file diff --git a/frontend/widgets/EmojisConfig/emojisconfig.css b/frontend/widgets/EmojisConfig/emojisconfig.css deleted file mode 100644 index bd2f08c..0000000 --- a/frontend/widgets/EmojisConfig/emojisconfig.css +++ /dev/null @@ -1,26 +0,0 @@ -#emojisconfig_widget .pack { - padding-bottom: 1rem; -} - -#emojisconfig_widget .pack:not(:last-child) { - border-bottom: 1px solid rgba(var(--movim-font), 0.12); -} - -#emojisconfig_widget .pack .emojis { - text-align: center; -} - -#emojisconfig_widget .pack .emojis img { - padding: 0.5rem; -} - -#emojisconfig_widget .pack .emojis img:hover { - cursor: pointer; - background-color: rgba(var(--movim-font), 0.05); - border-radius: 0.5rem; -} - -#emojisconfig_widget .pack .emojis img.favorite { - opacity: 0.05; - pointer-events: none; -} diff --git a/frontend/widgets/EmojisConfig/emojisconfig.js b/frontend/widgets/EmojisConfig/emojisconfig.js deleted file mode 100644 index d1e6e9e..0000000 --- a/frontend/widgets/EmojisConfig/emojisconfig.js +++ /dev/null @@ -1,3 +0,0 @@ -MovimWebsocket.attach(function () { - EmojisConfig_ajaxHttpGet(); -}); diff --git a/frontend/widgets/EmojisConfig/locales.ini b/frontend/widgets/EmojisConfig/locales.ini deleted file mode 100644 index 8774380..0000000 --- a/frontend/widgets/EmojisConfig/locales.ini +++ /dev/null @@ -1,9 +0,0 @@ -[emojisconfig] -title = Emojis -favorites_title = My favorite emojis -favorites_text = Pick emojis from the packs bellow that you want to add to your favorites ones -dialog_title = Manage a favorite emoji -alias_error = The shortcut should only contains lowercase letters, numbers and dashes -new_added = New favorite emoji added -alias_conflict = The shortcut is already used on another emoji -no_emojis_yet = No favorites yet, check the settings page to add some diff --git a/frontend/widgets/Help/locales.ini b/frontend/widgets/Help/locales.ini deleted file mode 100644 index 53021db..0000000 --- a/frontend/widgets/Help/locales.ini +++ /dev/null @@ -1,22 +0,0 @@ -[faq] -title = Frequently Asked Questions -permission_title = What does the permission setting do? -permission_text = By default the content is only available to your contacts. You can make your profile and publications public by enabling the related setting. -permission_community_title = How does it apply to Communities posts? -permission_community_text = Similary to your blog publications except that, by default, the posts are only available to the members or subscribers of the Community (except if you explicitly open all the Community content) -chatrooms_title = Where can I find a list of group chats? -find_contacts_title = Where can I find my contacts? -find_contacts_text = By opening the search panel. - -[apps] -title = Applications -install = Movim App -install_text = Install Movim on your device -recommend = We also recommend - -[contact] -title = Administrators & Contact - -[chatroom] -question = Chat with the Movim team? -button = Add the chatroom diff --git a/frontend/widgets/Menu/locales.ini b/frontend/widgets/Menu/locales.ini deleted file mode 100644 index b5b7029..0000000 --- a/frontend/widgets/Menu/locales.ini +++ /dev/null @@ -1,8 +0,0 @@ -[menu] -empty_title = No news yet… -empty = Welcome to your news feed, here you will see all the posts published by your contacts and in the communities you have subscribed. - -all = All -mine = My publications -contacts = Contacts -add_post = Write a new post… diff --git a/frontend/widgets/Menu/menu.css b/frontend/widgets/Menu/menu.css deleted file mode 100644 index 9b85112..0000000 --- a/frontend/widgets/Menu/menu.css +++ /dev/null @@ -1,23 +0,0 @@ -#menu_widget { - margin-top: 0.5rem; -} - -#menu_refresh { - margin: 0.5rem 0; -} - -@media screen and (max-width: 1024px) { - #menu_widget > div { - padding: 0 0.75rem; - } -} - -#menu_refresh li.refreshing { - background: linear-gradient(to right, rgb(var(--movim-background-main)) 8%, rgba(var(--movim-background), 0.5) 18%, rgb(var(--movim-background-main)) 33%); - animation: 1.5s shine linear infinite; - background-size: 200% 100%; -} - -#menu_refresh li.refreshing span.primary i { - animation: spin 2s linear infinite; -} \ No newline at end of file diff --git a/frontend/widgets/Menu/menu.js b/frontend/widgets/Menu/menu.js deleted file mode 100644 index f2911b2..0000000 --- a/frontend/widgets/Menu/menu.js +++ /dev/null @@ -1,34 +0,0 @@ -var Menu = { - init: function() { - let parts = MovimUtils.urlParts(); - let page = parts.params[0] !== undefined ? parseInt(parts.params[0]) : 0; - - if (parts.hash != '') { - switch (parts.hash) { - case 'communities': - Menu_ajaxHttpGetCommunities(page); - break; - case 'contacts': - Menu_ajaxHttpGetContacts(page); - break; - } - } else { - Menu_ajaxHttpGetAll(page); - } - }, - - refresh: function() { - document.querySelector('#menu_refresh li').classList.add('refreshing'); - Menu_ajaxHttpGetAll(); - }, - - setLoad: function(tab) { - tab.innerHTML = 'autorenew'; - } -}; - -MovimWebsocket.attach(function() { - Menu.init(); - Notif_ajaxClear('news'); - Notif.current('news'); -}); diff --git a/frontend/widgets/NewsNav/newsnav.js b/frontend/widgets/NewsNav/newsnav.js deleted file mode 100644 index d58384b..0000000 --- a/frontend/widgets/NewsNav/newsnav.js +++ /dev/null @@ -1,8 +0,0 @@ -MovimWebsocket.initiate(() => { - if (!MovimUtils.isMobile()) { - NewsNav_ajaxHttpGet( - MovimUtils.urlParts().page, - MovimUtils.urlParts().params[0] - ) - } -}); diff --git a/frontend/widgets/Onboarding/locales.ini b/frontend/widgets/Onboarding/locales.ini deleted file mode 100644 index b41afb9..0000000 --- a/frontend/widgets/Onboarding/locales.ini +++ /dev/null @@ -1,7 +0,0 @@ -[onboarding] -notifications_title = Notifications -notifications_text = Movim can notify you when a new post is published or if you receive messages -notifications_text_second = You can always disable them afterwards -public_title = Public profile -public_text = Make your profile public and allow other users to find you and make new contacts more easily -public_text_second = You can always disable this in the configuration afterwards \ No newline at end of file diff --git a/frontend/widgets/Onboarding/onboarding.css b/frontend/widgets/Onboarding/onboarding.css deleted file mode 100644 index e69de29..0000000 diff --git a/frontend/widgets/Onboarding/onboarding.js b/frontend/widgets/Onboarding/onboarding.js deleted file mode 100644 index 09bf95a..0000000 --- a/frontend/widgets/Onboarding/onboarding.js +++ /dev/null @@ -1,15 +0,0 @@ -var Onboarding = { - check: function() { - if (localStorage.getItem('onboardingPublic') === null) { - Onboarding_ajaxAskPublic(); - } - }, - - setPublic: function() { - localStorage.setItem('onboardingPublic', true); - } -} - -MovimWebsocket.attach(function() { - Onboarding.check(); -}); diff --git a/frontend/widgets/Post/locales.ini b/frontend/widgets/Post/locales.ini deleted file mode 100644 index 9fc36f4..0000000 --- a/frontend/widgets/Post/locales.ini +++ /dev/null @@ -1,56 +0,0 @@ -[post] -publish_something = Publish something -news_feed = News Feed -placeholder = Discover and register to the groups you are interested in -content = Content -published = Post published -deleted = Post deleted -hot_text = Posts recently published in communities that you are not subscribed (yet) -new_blog = New blog post -repost = This is a re-post from %s -see_profile = See %s profile - -unknown_contact= Unknown contact - -read_time_singular = %s minute -read_time_plural = %s minutes - -public_preview = Preview URL: %s -public_yes = This post is public -public_no = This post is private -public_url = Public URL of this post - -comments_disabled_title = Disable the comments -comments_disabled_text = Nobody will be able to like or comment -comments_disabled_yes = Comments disabled for this post -comments_disabled_no = Comments enabled for this post - -delete_title = Delete this post -delete_text = You are going to delete this post, please confirm your action -delete_comment = Are you sure that you want to delete this comment? - -discover = Discover more posts on the communities page - -more = Read more - -comments_disabled = Comments disabled -comment_published = Comment published -comment_like_published = Liked -comment_publish_error = The comment cannot be published -comment_deleted = Comment deleted -liked = Liked your publication -commented = Commented - -subscription_required = You must be subscribed to %s to see this publication - -[hello] -contact_post = Contact post -share_title = Universal share button -share_text = Bookmark or drag and drop the following button in your toolbar and use it on all the pages you want to share on Movim -share_button = Share on Movim -enter_title = Oh! Hello! -enter_paragraph = It seems that you are new here! Welcome to Movim! -menu_title = Check the Menu -menu_paragraph = All the main Movim features are accessible there. Don’t hesitate to navigate through the pages to discover more! -profile_title = Looks like you didn’t complete your profile yet -profile_paragraph = You can go in the Configuration page to describe yourself and put a nice picture diff --git a/frontend/widgets/Post/post.css b/frontend/widgets/Post/post.css deleted file mode 100644 index eb63087..0000000 --- a/frontend/widgets/Post/post.css +++ /dev/null @@ -1,7 +0,0 @@ -#comments { - margin-top: 2rem; -} - -#comments li.mine ~ li button#like { - display: none; -} diff --git a/frontend/widgets/Post/post.js b/frontend/widgets/Post/post.js deleted file mode 100644 index 0c753c2..0000000 --- a/frontend/widgets/Post/post.js +++ /dev/null @@ -1,39 +0,0 @@ -var Post = { - comment: function() { - document.querySelector('#comment_add').classList.remove('hide'); - document.querySelector('#comment_add textarea').focus(); - document.querySelector('#comment_add').scrollIntoView(); - }, - share : function() { - var parts = MovimUtils.urlParts(); - - if (parts.params.length) { - Post_ajaxShare(parts.params[0], parts.params[1], parts.params[2]); - } - }, - refreshComments : function() { - var parts = MovimUtils.urlParts(); - - if (parts.params.length) { - Post_ajaxGetPostComments(parts.params[0], parts.params[1], parts.params[2]); - } - }, - checkCommentAction: function() { - var parts = MovimUtils.urlParts(); - if (parts.hash == 'comment') { - Post.comment(); - } - } -}; - -MovimWebsocket.attach(function() { - Notif.current('post'); - - var parts = MovimUtils.urlParts(); - - if (parts.params.length == 3) { - Post_ajaxGetPost(parts.params[0], parts.params[1], parts.params[2]); - } else { - Post_ajaxGetNotFound(); - } -}); diff --git a/frontend/widgets/PostActions/postactions.js b/frontend/widgets/PostActions/postactions.js deleted file mode 100644 index a6cd8d9..0000000 --- a/frontend/widgets/PostActions/postactions.js +++ /dev/null @@ -1,8 +0,0 @@ -var PostActions = { - handleDelete : function(url) { - var page = MovimUtils.urlParts().page; - if (page == 'post') { - MovimUtils.redirect(url); - } - } -} diff --git a/frontend/widgets/PublicNavigation/publicnavigation.css b/frontend/widgets/PublicNavigation/publicnavigation.css deleted file mode 100644 index a04aaf8..0000000 --- a/frontend/widgets/PublicNavigation/publicnavigation.css +++ /dev/null @@ -1,3 +0,0 @@ -#publicnavigation a.button { - margin: 0; -} \ No newline at end of file diff --git a/frontend/widgets/Publish/locales.ini b/frontend/widgets/Publish/locales.ini deleted file mode 100644 index a3ef746..0000000 --- a/frontend/widgets/Publish/locales.ini +++ /dev/null @@ -1,30 +0,0 @@ -[publish] -placeholder = "What’s new?" -brief_title = Brief -post_title = Post -post = Write a post -add_link = Add a link -add_snap = Take a picture -no_title = Please provide a title -no_picture = At least one picture is required -preview = Preview -attach = Add a file or a picture -no_publication = You cannot publish a post here -#no_content_preview = No content to preview -new = New post -title = Post title -content = Markdown content -valid_url = Please enter a valid URL -content_text= You can format your content using Markdown -draft_saved = Draft saved -rich_editor = Rich text editor -help_hashtag = "Add #hashtags in your title or content to allow your post to be discovered" -publish_error_forbidden = You are not authorized to publish there -publish_error_payload_to_big = Your post is too big to be published -too_long = Your text is too long, %s characters max - -blog_presence = "Your blog is only accessible to your subscribers. You can make it accessible to anyone in the settings page." -embedded_link = The media will be embedded - -web_title = Create a public HTTP URL from this publication -web_text = This will allow anyone outside Movim to have access to your publication \ No newline at end of file diff --git a/frontend/widgets/Publish/publish.css b/frontend/widgets/Publish/publish.css deleted file mode 100644 index 045cbb3..0000000 --- a/frontend/widgets/Publish/publish.css +++ /dev/null @@ -1,89 +0,0 @@ -#publishembeds li { - border: 1px solid rgba(var(--movim-font), 0.12); - border-radius: 0.5rem; -} - -#publishembeds li { - padding-right: 0; -} - -#publishpreview h3:first-child { - margin: 1rem 2rem 0; -} - -#publish label span.save { - display: none; -} - -#publish>div.block { - margin: 0 0.75rem; - padding-bottom: 1rem; -} - -#publish label span.save.saved { - display: initial; -} - -#publish textarea[name=content] { - min-height: 25rem; -} - -#publish span.privacy form>div .checkbox>input[type="checkbox"]+label, -#publish span.comments_disabled form>div .checkbox>input[type="checkbox"]+label { - top: 0.5rem; - left: 0.5rem; - height: 3rem; - width: 3rem; -} - -section#sidebar:has(+#publish) { - opacity: 0; - transition: opacity 0.3s ease-in-out; -} - -section#sidebar:has(+#publish div[data-type="article"] textarea[name="content"]:focus), -section#sidebar:has(+#publish div[data-type="article"]):hover { - opacity: 1; -} - -#publish span.privacy form>div .checkbox>input[type="checkbox"]:checked+label, -#publish span.comments_disabled form>div .checkbox>input[type="checkbox"]:checked+label { - left: 2.5rem; -} - -#publish span.privacy form>div .checkbox>input[type="checkbox"]+label i:before { - content: 'lock'; -} - -#publish span.privacy form>div .checkbox>input[type="checkbox"]:checked+label i:before { - content: 'wifi_tethering'; -} - -#publish span.comments_disabled form>div .checkbox>input[type="checkbox"]+label i:before { - content: 'insert_comment'; -} - -#publish span.comments_disabled form>div .checkbox>input[type="checkbox"]:checked+label i:before { - content: 'comments_disabled'; -} - -#publishreply { - margin-bottom: -1rem; -} - -#publish form[data-type="brief"] div#title textarea { - min-height: 10rem; - padding-top: 1rem; - margin-bottom: 2rem; -} - -#publish form[data-type="brief"] div#title label { - top: initial; - bottom: -3rem; - right: 0; -} - -#publish #publish_open_link_preview:empty, -#publish form[data-type="brief"] div#content { - display: none; -} \ No newline at end of file diff --git a/frontend/widgets/Publish/publish.js b/frontend/widgets/Publish/publish.js deleted file mode 100644 index 96e2b9a..0000000 --- a/frontend/widgets/Publish/publish.js +++ /dev/null @@ -1,118 +0,0 @@ -var Publish = { - titleTimeout: null, - contentTimeout: null, - - get: function(type) { - let parts = MovimUtils.urlParts(); - - Publish_ajaxHttpGet( - type ?? null, - parts.params[0], - parts.params[1], - parts.params[2], - parts.params[3], - parts.params[4], - parts.params[5], - ) - }, - - init: function () { - let id = document.querySelector('#publish input[name=id]').value; - - Publish_ajaxTryResolveShareUrl(id); - - document.querySelector('#publish textarea[name=title]').addEventListener('keyup', function (event) { - if (Publish.titleTimeout) clearTimeout(Publish.titleTimeout); - document.querySelector('#publish textarea[name=title] + label span.save').classList.remove('saved'); - - Publish.titleTimeout = setTimeout(function () { - Publish.saveTitle(); - Publish_ajaxOpenlinkPreview(id); - }, 1000); - }); - - document.querySelector('#publish textarea[name=content]').addEventListener('keyup', function (event) { - if (Publish.contentTimeout) clearTimeout(Publish.contentTimeout); - document.querySelector('#publish textarea[name=content] + label span.save').classList.remove('saved'); - - Publish.contentTimeout = setTimeout(function () { - Publish.saveContent(); - }, 1000); - }); - - Publish_ajaxOpenlinkPreview(id); - Publish_ajaxCheckPrivacy(id); - }, - - saveTitle: function () { - let id = document.querySelector('#publish input[name=id]').value; - return Publish_ajaxHttpSaveTitle(id, document.querySelector('#publish textarea[name=title]').value); - }, - - saveContent: function () { - let id = document.querySelector('#publish input[name=id]').value; - return Publish_ajaxHttpSaveContent(id, document.querySelector('#publish textarea[name=content]').value); - }, - - enableSend: function () { - document.querySelector('.button.send').classList.remove('disabled'); - document.querySelector('.button.send i').classList.remove('spin'); - document.querySelector('.button.send i').innerText = 'send'; - }, - - disableSend: function () { - document.querySelector('.button.send').classList.add('disabled'); - document.querySelector('.button.send i').classList.add('spin'); - document.querySelector('.button.send i').innerText = 'autorenew'; - }, - - preview: function () { - Publish.saveTitle().then(e => { - Publish.saveContent().then(e => { - let id = document.querySelector('#publish input[name=id]').value; - Publish_ajaxPreview(id); - }); - }); - }, - - publish: function () { - Publish.saveTitle().then(e => { - Publish.saveContent().then(e => { - let id = document.querySelector('#publish input[name=id]').value; - Publish_ajaxPublish(id); - }); - }); - }, - - clearReply: function () { - let id = document.querySelector('#publish input[name=id]').value; - Publish_ajaxClearReply(id); - }, - - addUrl: function () { - let id = document.querySelector('#publish input[name=id]').value; - var url = document.querySelector('#url').value; - - Publish_ajaxAddUrl(id, url); - } -} - -MovimWebsocket.attach(() => { - Publish.get('brief'); -}); - -MovimEvents.registerWindow('loaded', 'publish', () => { - if (typeof Upload != 'undefined') { - Upload.attach((file) => { - if (MovimUtils.urlParts().page == 'publish') { - Publish_ajaxAddUpload(document.querySelector('#publish input[name=id]').value, file.id); - } - }); - - Upload.initiate((file) => { - if (MovimUtils.urlParts().page == 'publish') { - Upload.prependName = 'post'; - } - }); - } -}); diff --git a/frontend/widgets/PublishHelp/locales.ini b/frontend/widgets/PublishHelp/locales.ini deleted file mode 100644 index 7db4981..0000000 --- a/frontend/widgets/PublishHelp/locales.ini +++ /dev/null @@ -1,4 +0,0 @@ -[publishhelp] -title = Help -more = More help -manual = Markdown syntax manual diff --git a/frontend/widgets/PublishStories/locales.ini b/frontend/widgets/PublishStories/locales.ini deleted file mode 100644 index 4037136..0000000 --- a/frontend/widgets/PublishStories/locales.ini +++ /dev/null @@ -1,9 +0,0 @@ -[story] -new = New story -new_edit = Edit your story -new_publish = Publish your story -to_roster = Publish to my contacts -uploading = Uploading the story -publishing = Publishing the story -publishing_text = Almost there… -published = Story published \ No newline at end of file diff --git a/frontend/widgets/PublishStories/publishstories.css b/frontend/widgets/PublishStories/publishstories.css deleted file mode 100644 index 17bb9e4..0000000 --- a/frontend/widgets/PublishStories/publishstories.css +++ /dev/null @@ -1,180 +0,0 @@ -#publishstories { - top: 0; - left: 0; - background-color: rgb(var(--movim-background-main)); - width: 100%; - height: 100%; - z-index: 2; - position: absolute; - transform: translateX(-100%); -} - -#publishstories #publishstoriesswitch, -#publishstories #publishstoriesgallery { - width: 5.5rem; - height: 5.5rem; - line-height: 5.5rem; - margin-top: 0.75rem; - font-size: 2.5rem; -} - -#publishstories.show, -#publishstories.shoot, -#publishstories.edit { - transform: translateX(0); - transition: transform 0.4s var(--decelerate-easing); -} - -#publishstories #publishstoriesbackedit, -#publishstories #publishstoriesback { - margin-left: 0; - padding: 1rem 0; -} - -#publishstories #publishstoriesshoot, -#publishstories #publishstoriesgallery, -#publishstories #publishstoriesswitch, -#publishstories #publishstoriessource, -#publishstories #publishstoriesnext, -#publishstories #publishactions, -#publishstories #publishstoriesbackedit, -#publishstories #publishstoriespreview, -#publishstories.edit.publish #publishstoriesback, -#publishstories.edit.publish #publishstoriesnext, -#publishstories.shoot #publishstoriesheadedit, -#publishstories.edit #publishstorieshead, -#publishstories.edit.publish #publishstorieshead, -#publishstories.edit.publish #publishstoriesheadedit, -#publishstories.shoot.error video, -#publishstories form { - display: none; -} - -#publishstories.shoot.error:before { - font-family: 'Material Symbols'; - content: '\e04c'; - color: var(--movim-font); - font-size: 7rem; - opacity: 0.5; - display: block; - position: absolute; - left: calc(50% - 3.5rem); - top: calc(50% - 3.5rem); -} - -#publishstories.shoot:not(.error) #publishstoriesshoot, -#publishstories.shoot #publishstoriesgallery, -#publishstories.shoot:not(.error) #publishstoriesswitch.enabled, -#publishstories.edit form, -#publishstories.edit #publishstoriesnext, -#publishstories.edit.publish #publishactions, -#publishstories.edit.publish #publishstoriespreview, -#publishstories.edit.publish #publishstoriesbackedit { - display: initial; -} - -#publishstories input[type=file] { - display: none; -} - -#publishstories #publishactions, -#publishstories form { - position: absolute; - width: 100%; - bottom: 3rem; - left: 50%; - translate: -50%; - max-width: calc(56.25vh - 8.25rem); - /* 16:9 */ -} - -#publishstories form { - background-image: linear-gradient(to bottom, transparent, rgba(var(--movim-background-main), 1) 100%); - padding: 1.5rem 2rem; - box-sizing: border-box; - bottom: 7.25rem; - border-radius: 2rem; - animation: fadeIn 0.5s; - transition: bottom 0.3s, max-width 0.3s; -} - -#publishstories canvas, -#publishstories video { - aspect-ratio: 9 / 16; - height: 100%; - position: absolute; - left: 50%; - top: 50%; - translate: -50% -50%; - animation: zoom 0.3s; - transition: top 0.3s, height 0.3s; -} - -#publishstories .bottom_center { - width: 100%; - position: absolute; - bottom: 2rem; - display: flex; - justify-content: center; -} - -#publishstories .bottom_center>button { - position: relative; - margin-left: 1rem; - margin-right: 1rem; - right: 0; -} - -#publishstories video { - background-image: url(../theme/img/cloud_spinner.svg); - background-repeat: no-repeat; - background-position: center center; - background-size: 9rem; - object-fit: cover; -} - -#publishstories.shoot canvas, -#publishstories.edit video { - display: none; -} - -#publishstories.edit canvas { - animation: zoomOut 0.3s; - border-radius: 2rem; - height: calc(100% - 15rem); - box-shadow: var(--elevation-5); -} - -#publishstories #publishactions { - animation: fadeIn 0.5s; - max-height: 7rem; - overflow: hidden; -} - -#publishstories #publishactions ul { - transition: transform 0.3s; -} - -#publishstories #publishactions.uploading ul { - transform: translateY(-7rem); -} - -#publishstories #publishactions.publishing ul { - transform: translateY(-14rem); -} - -#publishstories.edit.publish canvas { - top: calc(50% - 2rem); - height: calc(100% - 21rem); - pointer-events: none; -} - -#publishstories.edit.publish form { - bottom: 12.5rem; - max-width: calc(56.25vh - 11.5rem); -} - -#publishstories.edit.publish form textarea { - pointer-events: none; - box-shadow: none; -} \ No newline at end of file diff --git a/frontend/widgets/PublishStories/publishstories.js b/frontend/widgets/PublishStories/publishstories.js deleted file mode 100644 index f558ca9..0000000 --- a/frontend/widgets/PublishStories/publishstories.js +++ /dev/null @@ -1,401 +0,0 @@ -MAX_ZOOM = 5; -MIN_ZOOM = 0.1; -SCROLL_SENSITIVITY = 0.0005; - -var PublishStories = { - main: undefined, - back: undefined, - video: undefined, - videoSelect: undefined, - canvas: undefined, - imageCanvas: undefined, - - canvasMinWidth: 1080, - canvasMinHeight: 1920, - - cameraOffset: { x: 0, y: 0 }, - cameraZoom: 1, - isDragging: false, - dragStart: { x: 0, y: 0 }, - initialPinchDistance: null, - lastZoom: 1, - - init: function () { - PublishStories_ajaxGetContactsCount(); - - MovimTpl.loadingPage(); - - MovimTpl.pushAnchorState('story', function () { - document.querySelector('#publishstories').classList = ''; - PublishStories.close(); - }); - - PublishStories.main = document.querySelector('#publishstories'); - PublishStories.back = document.querySelector("#publishstories #publishstoriesback"); - PublishStories.video = document.querySelector("#publishstories video"); - PublishStories.videoSelect = document.querySelector("#publishstories select#publishstoriessource"); - PublishStories.canvas = document.querySelector('#publishstories canvas'); - - PublishStories.main.addEventListener('mousemove', PublishStories.onMainPointerMove); - - PublishStories.canvas.addEventListener('mousedown', PublishStories.onPointerDown); - PublishStories.canvas.addEventListener('touchstart', (e) => PublishStories.handleTouch(e, PublishStories.onPointerDown)); - PublishStories.canvas.addEventListener('mouseup', PublishStories.onPointerUp); - PublishStories.canvas.addEventListener('touchend', (e) => PublishStories.handleTouch(e, PublishStories.onPointerUp)); - PublishStories.canvas.addEventListener('mousemove', PublishStories.onPointerMove); - PublishStories.canvas.addEventListener('touchmove', (e) => PublishStories.handleTouch(e, PublishStories.onPointerMove)); - PublishStories.canvas.addEventListener('wheel', (e) => PublishStories.adjustZoom(e.deltaY * SCROLL_SENSITIVITY)); - - PublishStories.main.querySelector('#publishstoriesswitch').onclick = () => { - PublishStories.videoSelect.selectedIndex++; - if (PublishStories.videoSelect.selectedIndex == -1) { - PublishStories.videoSelect.selectedIndex = 0; - } - - Toast.send(PublishStories.videoSelect.options[PublishStories.videoSelect.selectedIndex].label); - PublishStories.getStream(); - }; - - PublishStories.main.classList = 'show'; - PublishStories.back.onclick = () => { history.back(); }; - - PublishStories.close(); - PublishStories.getStream(true); - }, - - draw: function () { - if (PublishStories.imageCanvas == undefined) return; - - PublishStories.canvas.width = PublishStories.canvasMinWidth; - PublishStories.canvas.height = PublishStories.canvasMinHeight; - - let context = PublishStories.canvas.getContext('2d'); - ctx.clearRect(0, 0, PublishStories.canvas.width, PublishStories.canvas.height) - context.fillStyle = MovimUtils.imageToHex(PublishStories.imageCanvas); - context.fillRect(0, 0, PublishStories.canvas.width, PublishStories.canvas.height); - - // Let's move! - context.translate(PublishStories.canvas.width / 2, PublishStories.canvas.height / 2); - context.scale(PublishStories.cameraZoom, PublishStories.cameraZoom); - context.translate( - -PublishStories.canvas.width / 2 + PublishStories.cameraOffset.x, - -PublishStories.canvas.height / 2 + PublishStories.cameraOffset.y - ); - - let adjustedHeight = PublishStories.canvas.height > PublishStories.imageCanvas.height - ? PublishStories.imageCanvas.height - : PublishStories.canvas.height; - - let ratio = adjustedHeight / PublishStories.imageCanvas.height; - - context.drawImage( - PublishStories.imageCanvas, - PublishStories.canvas.width / 2 - PublishStories.imageCanvas.width * ratio / 2, - PublishStories.canvas.height / 2 - adjustedHeight / 2, - PublishStories.imageCanvas.width * ratio, - adjustedHeight - ); - - requestAnimationFrame(PublishStories.draw); - }, - - goToPublish: function () { - let title = PublishStories.main.querySelector('form textarea[name=title]'); - - if (title.value == '') { - PublishStories_ajaxNoTitle(); - return; - } - - PublishStories.main.classList.add('publish'); - }, - - goToEdit: function () { - PublishStories.main.classList.remove('publish'); - }, - - publish: function () { - PublishStories.main.querySelector('#publishactions').classList.add('uploading'); - - PublishStories.canvas.toBlob( - function (blob) { - Upload.prepare(blob); - Upload.name = 'story.jpg'; - Upload.init(true); - }, - 'image/jpeg', - 0.85 - ); - }, - - close: function () { - if (!PublishStories.video) return; - - let stream = PublishStories.video.srcObject; - - if (stream) { - stream.getTracks().forEach(track => track.stop()); - } - - PublishStories.video.srcObject = null; - PublishStories.imageCanvas = undefined; - PublishStories.main.querySelector('form').reset(); - PublishStories.main.querySelector('#publishactions').classList = ''; - - PublishStories.reset(); - PublishStories.main.classList = ''; - PublishStories.main == undefined; - }, - - openImage: function () { - PublishStories.main.querySelector('input[type=file]').click(); - }, - - applyImage: function () { - file = PublishStories.main.querySelector('input[type=file]').files[0]; - - if (!file.type.match(/image.*/)) { - console.log("Not a picture !"); - PublishStories.reset(); - } else { - var reader = new FileReader(); - reader.readAsDataURL(file); - reader.addEventListener('load', function (ev) { - var image = new Image(); - image.src = reader.result; - image.onload = function () { - PublishStories.drawMediaToImageCanvas(image, image.width, image.height, 1); - PublishStories.draw(); - PublishStories.main.classList = 'edit'; - } - }); - }; - }, - - shoot: function () { - if (PublishStories.imageCapture) { - PublishStories.imageCapture.grabFrame() - .then(image => { - PublishStories.drawMediaToImageCanvas( - image, - image.width, - image.height, - PublishStories.getRatioFromHeight(image.height) - ); - - PublishStories.draw(); - }) - .catch(error => console.log(error)); - - } else { - PublishStories.drawMediaToImageCanvas( - PublishStories.video, - PublishStories.video.videoWidth, - PublishStories.video.videoHeight, - PublishStories.getRatioFromHeight(PublishStories.video.videoHeight) - ); - - PublishStories.video.pause(); - PublishStories.draw(); - } - - PublishStories.main.classList = 'edit'; - }, - - getRatioFromHeight: function (height) { - let ratio = PublishStories.canvasMinHeight / height; - if (ratio < 1) ratio = 1; - - return ratio; - }, - - drawMediaToImageCanvas: function (media, width, height, ratio) { - PublishStories.imageCanvas = document.createElement('canvas'); - PublishStories.imageCanvas.width = width * ratio; - PublishStories.imageCanvas.height = height * ratio; - - var context = PublishStories.imageCanvas.getContext('2d'); - context.drawImage(media, 0, 0, PublishStories.imageCanvas.width, PublishStories.imageCanvas.height); - }, - - reset: function () { - if (PublishStories.videoSelect.options.length > 0) { - PublishStories.main.classList = 'shoot'; - PublishStories.video.play(); - } else { - PublishStories.main.classList = 'shoot error'; - } - - PublishStories.cameraOffset = { x: 0, y: 0 }; - PublishStories.cameraZoom = PublishStories.lastZoom = 1; - }, - - getStream: function (init) { - PublishStories.main.classList = 'wait'; - - if (PublishStories.video.srcObject) { - PublishStories.video.srcObject.getTracks().forEach(track => track.stop()); - } - - const videoSource = PublishStories.videoSelect.value; - const constraints = { - video: { - deviceId: videoSource ? { exact: videoSource } : undefined, - width: { ideal: 1920 }, - height: { ideal: 1920 } - } - }; - - navigator.mediaDevices.getUserMedia(constraints) - .then(stream => { - MovimTpl.finishedPage(); - PublishStories.gotStream(stream); - - if (init) { - navigator.mediaDevices.enumerateDevices().then(PublishStories.gotDevices); - } - }) - .catch(e => { - MovimTpl.finishedPage(); - PublishStories.noStream() - }); - }, - - noStream: function (stream) { - PublishStories.main.classList = 'shoot error'; - }, - - gotStream: function (stream) { - PublishStories.main.classList = 'shoot'; - - PublishStories.videoSelect.selectedIndex = [...PublishStories.videoSelect.options]. - findIndex(option => option.text === stream.getVideoTracks()[0].label); - PublishStories.video.srcObject = stream; - PublishStories.video.play(); - - // We try to use ImageCapture - if (typeof (ImageCapture) != 'undefined') { - const track = stream.getVideoTracks()[0]; - PublishStories.imageCapture = new ImageCapture(track); - } - - // If we cancel after the authorization was given - if (PublishStories.main.classList == '') { - PublishStories.close(); - }; - }, - - gotDevices: function (devicesInfo) { - PublishStories.videoSelect.innerHTML = ''; - - for (const deviceInfo of devicesInfo) { - if (deviceInfo.kind === 'videoinput') { - const option = document.createElement('option'); - option.value = deviceInfo.deviceId; - option.text = deviceInfo.label || `Camera ${PublishStories.videoSelect.length + 1}`; - - if (!PublishStories.videoSelect.querySelector('option[value="' + deviceInfo.deviceId + '"]')) { - PublishStories.videoSelect.appendChild(option); - } - } - } - - if (PublishStories.videoSelect.options.length >= 2) { - document.querySelector("#publishstories #publishstoriesswitch").classList.add('enabled'); - } - }, - - onPointerDown: function (e) { - PublishStories.isDragging = true - PublishStories.dragStart.x = MovimUtils.getEventLocation(e).x / PublishStories.cameraZoom - PublishStories.cameraOffset.x - PublishStories.dragStart.y = MovimUtils.getEventLocation(e).y / PublishStories.cameraZoom - PublishStories.cameraOffset.y - }, - - onPointerUp: function (e) { - PublishStories.isDragging = false - PublishStories.initialPinchDistance = null - PublishStories.lastZoom = PublishStories.cameraZoom - }, - - onMainPointerMove: function (e) { - if (!PublishStories.main.classList.contains('edit') || !MovimUtils.getEventLocation(e)) return; - - let borders = PublishStories.canvas.getBoundingClientRect(); - - if (MovimUtils.getEventLocation(e).x < borders.left - || MovimUtils.getEventLocation(e).x > borders.right - || MovimUtils.getEventLocation(e).y < borders.top - || MovimUtils.getEventLocation(e).y > borders.bottom) { - PublishStories.onPointerUp(e); - } - }, - - onPointerMove: function (e) { - if (PublishStories.isDragging) { - PublishStories.cameraOffset.x = MovimUtils.getEventLocation(e).x / PublishStories.cameraZoom - PublishStories.dragStart.x - PublishStories.cameraOffset.y = MovimUtils.getEventLocation(e).y / PublishStories.cameraZoom - PublishStories.dragStart.y - } - }, - - handleTouch: function (e, singleTouchHandler) { - if (e.touches.length == 1) { - singleTouchHandler(e) - } - else if (e.type == "touchmove" && e.touches.length == 2) { - PublishStories.isDragging = false - PublishStories.handlePinch(e) - } - }, - - handlePinch: function (e) { - e.preventDefault() - - let touch1 = { x: e.touches[0].clientX, y: e.touches[0].clientY } - let touch2 = { x: e.touches[1].clientX, y: e.touches[1].clientY } - - // This is distance squared, but no need for an expensive sqrt as it's only used in ratio - let currentDistance = (touch1.x - touch2.x) ** 2 + (touch1.y - touch2.y) ** 2 - - if (PublishStories.initialPinchDistance == null) { - PublishStories.initialPinchDistance = currentDistance - } - else { - PublishStories.adjustZoom(null, currentDistance / PublishStories.initialPinchDistance) - } - }, - - adjustZoom: function (zoomAmount, zoomFactor) { - if (!PublishStories.isDragging) { - if (zoomAmount) { - PublishStories.cameraZoom += zoomAmount - } - else if (zoomFactor) { - PublishStories.cameraZoom = zoomFactor * PublishStories.lastZoom - } - - PublishStories.cameraZoom = Math.min(PublishStories.cameraZoom, MAX_ZOOM) - PublishStories.cameraZoom = Math.max(PublishStories.cameraZoom, MIN_ZOOM) - } - } -} - -MovimEvents.registerWindow('loaded', 'publishstories', () => { - Upload.attach((file) => { - if (PublishStories.main && PublishStories.main.classList.contains('publish')) { - PublishStories.main.querySelector('#publishactions').classList.remove('uploading'); - PublishStories.main.querySelector('#publishactions').classList.add('publishing'); - PublishStories_ajaxPublish(MovimUtils.formToJson('metadata'), file.id); - } - }); - - Upload.fail(() => { - PublishStories.main.querySelector('#publishactions').classList.remove('uploading'); - }); - - Upload.progress((percent) => { - if (PublishStories.main != undefined && PublishStories.main.classList.contains('publish')) { - PublishStories.main.querySelector('#publishactionsprogress').innerHTML = - percent + '%'; - } - }); -}); \ No newline at end of file diff --git a/frontend/widgets/RoomsExplore/locales.ini b/frontend/widgets/RoomsExplore/locales.ini deleted file mode 100644 index b5260bf..0000000 --- a/frontend/widgets/RoomsExplore/locales.ini +++ /dev/null @@ -1,6 +0,0 @@ -[roomsexplore] -no_local = No chatrooms found locally -global_title = Channels -no_global = No chatrooms found globally -find_more = Find more channels -find_more_text = "%s in total" diff --git a/frontend/widgets/RoomsExplore/roomsexplore.js b/frontend/widgets/RoomsExplore/roomsexplore.js deleted file mode 100644 index 58bed1d..0000000 --- a/frontend/widgets/RoomsExplore/roomsexplore.js +++ /dev/null @@ -1,29 +0,0 @@ -var RoomsExplore = { - timer: null, - - init: function () { - if (window.matchMedia("(min-width: 1025px)").matches) { - document.querySelector('#roomsexplore_bar input[name=keyword]').focus(); - } - }, - - setKeyword: function (keyword) { - document.querySelector('#roomsexplore_bar input[name=keyword]').value = keyword; - }, - - searchSomething: function (value) { - clearTimeout(RoomsExplore.timer); - - if (value !== '') { - document.querySelector('#roomsexplore_bar li.search').classList.add('searching'); - } - - RoomsExplore.timer = setTimeout(() => { - RoomsExplore_ajaxSearchRooms(value); - }, 700); - }, - - searchClear: function () { - document.querySelector('#roomsexplore_bar li.search').classList.remove('searching'); - } -} diff --git a/frontend/widgets/SendTo/locales.ini b/frontend/widgets/SendTo/locales.ini deleted file mode 100644 index 75a0e83..0000000 --- a/frontend/widgets/SendTo/locales.ini +++ /dev/null @@ -1,11 +0,0 @@ -[sendto] -attach = Attach to a blog publication -share = Share in a new publication -selected = contacts selected -pick = Pick the contacts you want to share this content with -shared_with = Post shared -shared_contacts = Post shared with %s contacts -more_contacts = More contacts -os_share = Share outside Movim -sharing_post = Post shared using Movim -sharing_story = Story shared using Movim \ No newline at end of file diff --git a/frontend/widgets/SendTo/sendto.css b/frontend/widgets/SendTo/sendto.css deleted file mode 100644 index 3b6f76f..0000000 --- a/frontend/widgets/SendTo/sendto.css +++ /dev/null @@ -1,19 +0,0 @@ -#sendto ul.list:first-child li.block:not(.story) { - margin: 0 1rem; -} - -#sendto ul.list.flex.fourth.gallery:first-child { - grid-template-columns: 1fr auto; -} - -#sendto ul.list.flex.fourth.gallery:first-child li:not(.subheader):not(.story) { - padding: 0; -} - -#sendto ul.list span.share i::before { - content: 'add'; -} - -#sendto ul.list span.share.sharing i::before { - content: 'remove'; -} \ No newline at end of file diff --git a/frontend/widgets/SendTo/sendto.js b/frontend/widgets/SendTo/sendto.js deleted file mode 100644 index f039a7f..0000000 --- a/frontend/widgets/SendTo/sendto.js +++ /dev/null @@ -1,46 +0,0 @@ -var SendTo = { - contacts: {}, - init: function () { - SendTo.contacts = {}; - - document.querySelectorAll('#sendto_share_contacts > li[data-jid]').forEach(li => { - var store = new ChatOmemoStorage(); - - store.getContactState(li.dataset.jid).then(enabled => { - if (enabled) li.classList.add('disabled'); - }); - }); - }, - - shareArticle: function (link) { - SendTo_ajaxShareArticle(link, typeof navigator.share == 'function'); - }, - - toggleSend: function (contact) { - if (contact.classList.contains('sharing')) { - contact.classList.remove('sharing'); - delete SendTo.contacts[contact.dataset.jid]; - } else { - contact.classList.add('sharing'); - SendTo.contacts[contact.dataset.jid] = Boolean(contact.dataset.muc); - } - - var button = document.getElementById('sendto_button'); - var contactsCount = Object.keys(SendTo.contacts).length; - - document.getElementById('sendto_counter').innerText = contactsCount; - button.classList.remove('disabled'); - if (contactsCount == 0) { - button.classList.add('disabled'); - } - }, - - sendToContacts: function(uri) { - SendTo_ajaxSend(SendTo.contacts, uri); - SendTo.contacts = {}; - }, - - shareOs(object) { - navigator.share(object); - }, -} diff --git a/frontend/widgets/Share/share.js b/frontend/widgets/Share/share.js deleted file mode 100644 index 9ec3607..0000000 --- a/frontend/widgets/Share/share.js +++ /dev/null @@ -1,22 +0,0 @@ -var Share = { - get: function () { - var parts = MovimUtils.urlParts(); - - if (parts.params[0]) { - uri = parts.params[0].substr(0, 5) == 'xmpp:' - ? parts.params[0] - : atob(parts.params[0]); - - Share.openUri(uri); - } - }, - - openUri: function (uri) { - document.querySelector('h4').innerHTML = uri; - Share_ajaxGet(uri); - } -}; - -MovimWebsocket.attach(function () { - Share.get(); -}); diff --git a/frontend/widgets/SpaceInfo/locales.ini b/frontend/widgets/SpaceInfo/locales.ini deleted file mode 100644 index c22b615..0000000 --- a/frontend/widgets/SpaceInfo/locales.ini +++ /dev/null @@ -1,25 +0,0 @@ -[spaceinfo] -config_title = Space configuration -config_saved = Space configuration saved -config_error = Space configuration error -admin_title = Space administration -destroy_title = Destroy the space -destroy_text = You are going to destroy the following Space, all the chatrooms within it will also be destroyed -invite_title = Invite new contacts -invite_text = A moderator will have to approve the join request -invite_uri_title = Send an invitation key to your contacts -leave_title = Leave the space -add_room_title = Add a room -add_directory_title = Add a directory -edit_directory_title = Edit a directory -remove_directory_title = Remove a directory -remove_directory_confirm = Do you really want to remove this directory? -remove_directory_text = The %s rooms will be preserved -edited_directories = Edited directories -edited_room = Edited room -pending_approvals = %s subscriptions requests are waiting for your approval -pending_request = %s is waiting for your approval to join the space -pending_action = Manage the request -pinned = Pin this space in the bar -owner_cannot_leave = An owner cannot leave his own Space -affiliation_none = Remove from the space \ No newline at end of file diff --git a/frontend/widgets/SpaceInfo/spaceinfo.css b/frontend/widgets/SpaceInfo/spaceinfo.css deleted file mode 100644 index 897e2fa..0000000 --- a/frontend/widgets/SpaceInfo/spaceinfo.css +++ /dev/null @@ -1,16 +0,0 @@ -#spaceinfo_affiliations ul.list.flex { - grid-template-columns: 50% 50%; -} - -#spaceinfo_affiliations ul.list.flex form > div { - min-height: 0; -} - -#spaceinfo_affiliations ul.list.flex form > div .select, -#spaceinfo_affiliations ul.list.flex form > div input { - margin-bottom: 0; -} - -#spaceinfo_widget li.subheader span.second.notify { - font-weight: normal; -} \ No newline at end of file diff --git a/frontend/widgets/SpaceInfo/spaceinfo.js b/frontend/widgets/SpaceInfo/spaceinfo.js deleted file mode 100644 index 6f4c1cc..0000000 --- a/frontend/widgets/SpaceInfo/spaceinfo.js +++ /dev/null @@ -1,8 +0,0 @@ -MovimWebsocket.attach(function () { - if (MovimUtils.urlParts().page == 'space') { - SpaceInfo_ajaxHttpGet( - MovimUtils.urlParts().params[0], - MovimUtils.urlParts().params[1] - ); - } -}); diff --git a/frontend/widgets/SpaceRooms/spacerooms.css b/frontend/widgets/SpaceRooms/spacerooms.css deleted file mode 100644 index a6f77df..0000000 --- a/frontend/widgets/SpaceRooms/spacerooms.css +++ /dev/null @@ -1,70 +0,0 @@ -ul#spacerooms_widget { - overflow: hidden; -} - -ul#spacerooms_widget>li { - user-select: none; -} - -ul#spacerooms_widget li div.controls { - position: absolute; - right: 0; - top: 0; - transform: translateX(100%); - background-color: rgb(var(--movim-background)); - transition: transform 0.2s var(--accelerate-easing); - box-shadow: var(--elevation-1); - height: 5.25rem; -} - -ul#spacerooms_widget li div.controls span { - padding: 0 1rem; - line-height: 5.25rem; - height: 5.25rem; - display: inline-block; -} - -ul#spacerooms_widget li div.controls span:hover { - cursor: pointer; - user-select: none; - background-color: rgba(var(--movim-element-action), 0.1); - font-variation-settings: 'FILL' 1; -} - -ul#spacerooms_widget li:hover div.controls { - transform: translateX(0); - transition: transform 0.2s var(--decelerate-easing) 0.75s; -} - -ul#spacerooms_widget li.dragging:active { - cursor: grabbing; -} - -ul#spacerooms_widget:has(li.subheader.dragging) li:not(.dragging):not(.subheader) div { - opacity: 0.15; -} - -ul#spacerooms_widget li.dragging { - opacity: 0.5; -} - -ul#spacerooms_widget li { - transition: padding-bottom 0.1s ease; -} - -ul#spacerooms_widget li.dropping { - padding-bottom: 2rem; -} - -ul#spacerooms_widget li.dropping:before { - animation: fadeIn 0.3s; - content: ''; - display: block; - width: calc(100% - 3rem); - height: 0.5rem; - background-color: var(--movim-accent); - border-radius: 1rem; - position: absolute; - top: 6rem; - left: 1.5rem; -} \ No newline at end of file diff --git a/frontend/widgets/SpaceRooms/spacerooms.js b/frontend/widgets/SpaceRooms/spacerooms.js deleted file mode 100644 index 06073b5..0000000 --- a/frontend/widgets/SpaceRooms/spacerooms.js +++ /dev/null @@ -1,126 +0,0 @@ -var SpaceRooms = { - draggingDirectory: false, - - init: function () { - document.querySelectorAll('ul#spacerooms_widget > li > ul.list > li:not(.subheader)[data-jid]').forEach(li => { - const jid = li.dataset.jid; - - li.onclick = () => Chat.getRoom(jid); - - if (MovimUtils.isMobile()) { - let touchTimer; - let isMoving = false; - - li.ontouchstart = () => { - isMoving = false; - touchTimer = setTimeout(() => { - if (!isMoving) SpaceRooms_ajaxAskEdit(jid); - }, 500); - }; - - li.ontouchmove = () => { isMoving = true; }; - li.ontouchend = () => clearTimeout(touchTimer); - } - }); - }, - editable: function () { - var items = document.querySelectorAll('ul#spacerooms_widget > li'); - - items.forEach(item => { - item.addEventListener('dragstart', () => item.classList.add('dragging')); - item.addEventListener("dragend", () => { - let dropped = document.querySelector('li.dropping'); - - item.classList.remove("dragging"); - items.forEach(subheader => subheader.classList.remove('dropping')); - - if (dropped) { - dropped.after(item); - - const [server, node] = MovimUtils.urlParts().params; - - if (SpaceRooms.draggingDirectory == true) { - if (dropped.classList.contains('subheader')) { - SpaceRooms_ajaxSortDirectories( - server, - node, - Array.from( - document.querySelectorAll('ul#spacerooms_widget > li.subheader'), - node => node.dataset.id - ) - ); - } - } else { - let firstItem = item; - let directoryId = null; - - // Find the first item and see if its a directory - - while (firstItem.previousElementSibling && !firstItem.previousElementSibling.classList.contains('subheader')) { - firstItem = firstItem.previousElementSibling; - } - - if (firstItem.previousElementSibling?.classList.contains('subheader')) { - directoryId = firstItem.previousElementSibling.dataset.id; - } - - // Then we iterate on the items of the directory - if (firstItem) { - let currentItem = firstItem; - let weight = 0; - - // Extract URL parameters once to avoid repeating the function calls inside a loop - while (currentItem && !currentItem.classList.contains('subheader')) { - SpaceRooms_ajaxSetHierarchy( - server, - node, - currentItem.dataset.jid, - weight++, - directoryId - ); - - currentItem = currentItem.nextElementSibling; - } - } - } - } - - SpaceRooms.draggingDirectory = false; - }); - item.addEventListener('dragover', (event) => { - event.preventDefault(); - let elements = document.querySelectorAll('ul#spacerooms_widget > li:not(.dragging)'); - - let siblings = [...elements]; - - let nextSibling = siblings.reduce((closest, child) => { - const box = child.getBoundingClientRect(); - const offset = event.clientY - box.top - box.height / 2; - if (offset < 0 && offset > closest.offset) { - return { offset: offset, element: child }; - } else { - return closest; - } - }, { offset: Number.NEGATIVE_INFINITY }).element; - elements.forEach(subheader => { - if (!subheader.isSameNode(nextSibling)) { - subheader.classList.remove('dropping') - } - }); - - if (nextSibling) { - if ((SpaceRooms.draggingDirectory && nextSibling.classList.contains('subheader')) - || (SpaceRooms.draggingDirectory == false)) { - nextSibling.classList.add('dropping'); - } - } - }) - }); - - var directories = document.querySelectorAll('ul#spacerooms_widget > li.subheader'); - - directories.forEach(directory => { - directory.addEventListener('dragstart', () => SpaceRooms.draggingDirectory = true); - }); - } -} \ No newline at end of file diff --git a/frontend/widgets/SpacesMenu/locales.ini b/frontend/widgets/SpacesMenu/locales.ini deleted file mode 100644 index b87f71f..0000000 --- a/frontend/widgets/SpacesMenu/locales.ini +++ /dev/null @@ -1,23 +0,0 @@ -[spacesmenu] -create_space_title = Create a space -add_space_title = Add a new space -join_space_title = Join a space -invite_space_title = You got an invite? -space_title = Space title -space_title_empty = Your Space title is empty -space_created = Space created -loading_space_info = Loading the space -subscribed = Subscribed to the space -invitation_key = Use an invitation key -key_required = A valid key is required -locked_title = Locked space -locked_text = You are not authorized to join the space at the moment -locked_try_again = Try again -leave_title = Leave the space -leave_text = Are you sure that you want to leave the space? -pending_subscription_title = A request has been send to a moderator. -pending_subscription_text = You will be able to join the space once its accepted. -pending_subscription_add_title = Add %s to the space -pending_subscription_refuse_title = Deny the access -contact_added = Contact added in the space -contact_denied = Contact denied in the space \ No newline at end of file diff --git a/frontend/widgets/SpacesMenu/spacesmenu.css b/frontend/widgets/SpacesMenu/spacesmenu.css deleted file mode 100644 index 2a3680f..0000000 --- a/frontend/widgets/SpacesMenu/spacesmenu.css +++ /dev/null @@ -1,67 +0,0 @@ -ul#spacesmenu_widget { - overflow: auto; - min-height: 18rem; - flex-shrink: initial; - padding-bottom: 1rem; -} - -ul#spacesmenu_widget li span.primary.space_add:before { - content: ''; - display: block; - width: 5.5rem; - height: 5.5rem; - background-color: rgba(var(--movim-font), 0.04); - position: absolute; - top: -0.25rem; - left: -0.25rem; - border-radius: 2rem; -} - -ul#spacesmenu_widget li.enabled span.primary img { - outline: 2px solid rgba(var(--movim-font), 0.3); - outline-offset: 2px; - box-shadow: var(--elevation-3); -} - -ul#spacesmenu_widget li.pinned span:not(.locked).primary::before { - display: inline-block; - position: absolute; - bottom: 0; - left: -0.5rem; - font-family: 'Material Symbols'; - color: rgb(var(--movim-font)); - font-variation-settings: 'FILL' 1; - content: '\e6aa'; - font-size: 1.25rem; - border-radius: 1rem; - line-height: 2rem; - width: 2rem; - height: auto; - background-color: rgb(var(--movim-background-main), 0.7); - backdrop-filter: blur(1rem); - box-shadow: var(--elevation-1); -} - -ul#spacesmenu_widget li span.primary[data-counter]:after { - content: '\e0ca'; -} - -/* If we have messages _and_ quote notifications, we prioritize the second one */ -ul#spacesmenu_widget li span.primary[data-counter]:has(span.counter:not(:empty)):after { - display: none; -} - -ul#spacesmenu_widget li span.primary.locked::before { - display: inline-block; - position: absolute; - width: 5rem; - height: 5rem; - font-family: 'Material Symbols'; - color: rgb(var(--movim-font)); - font-variation-settings: 'FILL' 1; - content: '\e897'; - background-color: rgb(var(--movim-background-main), 0.2); - backdrop-filter: blur(0.2rem) brightness(80%); - border-radius: 2rem; - left: 0; -} \ No newline at end of file diff --git a/frontend/widgets/SpacesMenu/spacesmenu.js b/frontend/widgets/SpacesMenu/spacesmenu.js deleted file mode 100644 index e6a7192..0000000 --- a/frontend/widgets/SpacesMenu/spacesmenu.js +++ /dev/null @@ -1,21 +0,0 @@ -var SpacesMenu = { - get: function (server, node, route) { - if (MovimUtils.urlParts().page == 'space') { - SpacesMenu_ajaxHttpGet(server, node, null, MovimUtils.isMobile()); - } else { - MovimUtils.reload(route); - } - } -} - -MovimWebsocket.attach(() => { - if (MovimUtils.urlParts().page == 'space') { - SpacesMenu_ajaxHttpGet( - MovimUtils.urlParts().params[0], - MovimUtils.urlParts().params[1], - MovimUtils.urlParts().params[2], - MovimUtils.isMobile()); - }; - - Notif.current('space'); -}); \ No newline at end of file diff --git a/frontend/widgets/Stories/locales.ini b/frontend/widgets/Stories/locales.ini deleted file mode 100644 index bcf766b..0000000 --- a/frontend/widgets/Stories/locales.ini +++ /dev/null @@ -1,11 +0,0 @@ -[stories] -publish = New Story -title = Stories -new_story = New Story from %s -forbidden = "You don't have access to this story, send an invitation to the author to access it" -share_title = Some of your contacts might not have access to this story -share_text = They might have to subscribe to the publisher account -comment = Send a comment to %s -delete_title= Story deletion -delete_text = Are you sure that you want to delete this story? -deleted = Story deleted \ No newline at end of file diff --git a/frontend/widgets/Stories/stories.css b/frontend/widgets/Stories/stories.css deleted file mode 100644 index 964c87d..0000000 --- a/frontend/widgets/Stories/stories.css +++ /dev/null @@ -1,61 +0,0 @@ -#stories { - min-height: 17.5rem; -} - -#stories div.lists { - display: flex; - max-width: 100%; - overflow-x: auto; -} - -#stories div.lists ul.list { - grid-template-columns: repeat(1, 1fr); - padding-bottom: 0.5rem; - height: 14.5rem; -} - -#stories div.lists ul.list:first-child { - padding-inline-end: 0; -} - -#stories ul.list.flex li.block { - grid-row: 1; - grid-column: auto; - order: 0; - margin-bottom: 0.25rem; - animation: none; -} - -#stories ul.list.flex li.block.add { - display: flex; - align-items: center; - flex-direction: row; - background-color: rgba(var(--movim-element-action), 0.2); - width: 7rem; - transition: transform .3s; -} - -#stories ul.list.flex li.block.add i { - font-size: 2.5rem; -} - -#stories ul.list.flex li.block.add:hover { - background-color: rgba(var(--movim-element-action), 0.1); - transform: scale(0.975); -} - -#stories ul.list.flex li.block.add:active { - background-color: rgba(var(--movim-element-action), 0.2); - transform: scale(0.95); -} - -#stories ul.list.flex li.block.add>div { - margin-top: 0; - display: block; - text-align: center; -} - -#stories ul.list.flex li.block.seen { - order: 1; - filter: grayscale(0.5); -} \ No newline at end of file diff --git a/frontend/widgets/Stories/stories.js b/frontend/widgets/Stories/stories.js deleted file mode 100644 index ed940b5..0000000 --- a/frontend/widgets/Stories/stories.js +++ /dev/null @@ -1,3 +0,0 @@ -MovimWebsocket.attach(() => { - Stories_ajaxHttpGet(); -}); \ No newline at end of file diff --git a/frontend/widgets/StoriesViewer/storiesviewer.css b/frontend/widgets/StoriesViewer/storiesviewer.css deleted file mode 100644 index a1c63af..0000000 --- a/frontend/widgets/StoriesViewer/storiesviewer.css +++ /dev/null @@ -1,174 +0,0 @@ -#storiesviewer { - position: fixed; - width: 100%; - justify-content: center; - display: flex; - opacity: 0; - pointer-events: none; - z-index: 3; - backdrop-filter: blur(1rem); - color: white; -} - -#dialog:not(:empty) ~ #storiesviewer { - filter: blur(1rem); -} - -#storiesviewer a:link, -#storiesviewer a:visited { - color: #EEE; -} - -#storiesviewer p { - text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1), 0 0 2rem rgba(0, 0, 0, 0.3); -} - -#storiesviewer p.title { - font-size: 2.5rem; - line-height: 3.5rem; -} - -#storiesviewer:empty { - display: none; -} - -#storiesviewer ul.list.controls { - z-index: 2; -} - -#storiesviewer ul.list li > div > p:not(:first-of-type):not(.main) { - color: white; -} - -#storiesviewer ul.list.controls li span.primary { - margin-left: 0; -} - -#storiesviewer:before { - content: ''; - display: block; - width: 100%; - height: 100%; - position: fixed; - top: 0; - left: 0; - opacity: 0; - background-color: #111; -} - -#storiesviewer:not(:empty) { - opacity: 1; - pointer-events: initial; -} - -#storiesviewer article.story { - height: calc(100% - 14rem); - margin: 1rem; - margin-top: 7rem; - margin-bottom: 0; - border-radius: 2rem; - box-shadow: var(--elevation-4); - background-color: rgb(var(--movim-gray)); - position: relative; -} - -#storiesviewer article.story:before, -#storiesviewer article.story:after { - content: ''; - display: block; - width: calc(100% - 3rem); - height: 0.4rem; - background-color: white; - position: absolute; - top: 2rem; - left: 1.5rem; - z-index: 1; - opacity: 0.25; - border-radius: 1rem; -} - -#storiesviewer article.story:after { - opacity: 1; - animation: widthProgress linear 6s; -} - -#storiesviewer article.story.paused:after { - animation-play-state: paused; -} - -#storiesviewer article.story div.next { - position: absolute; - top: 10rem; - right: 0; - height: calc(100% - 20rem); - width: 7rem; - font-size: 5rem; - display: flex; - align-items: center; -} - -#storiesviewer article.story div.next:hover { - cursor: pointer; -} - -#storiesviewer article.story div.next i { - text-align: center; - width: 100%; -} - -#storiesviewer article.story > img { - height: 100%; - mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), black 12rem, black calc(100% - 20rem), rgba(0, 0, 0, 0.25)); - user-select: none; - object-fit: cover; -} - -#storiesviewer article.story ul.list { - position: absolute; - bottom: 0.5rem; - width: 100%; -} - -#storiesviewer article.story ul.list.head { - bottom: unset; - top: 3rem; - width: calc(100% - 1rem) -} - -#storiesviewer article.story ul.list.head li span.icon.small { - margin-right: 0.5rem; -} - -#storiesviewer article.story ul.list.head li { - padding: 0 0.5rem; -} - -#storiesviewer article.story.paused ul.list.head li span.control:hover { - cursor: pointer; -} - -#storiesviewer article.story:not(.paused) ul.list.head li span.control.pause, -#storiesviewer article.story.paused ul.list.head li span.control.play { - display: none; -} - -@keyframes widthProgress { - from { - width: 0; - } - - to { - width: calc(100% - 3rem); - } -} - -#storiesviewer form[name=storycomment] input { - margin-bottom: 0; - color: white; - z-index: 1; - position: relative; -} - -#storiesviewer form[name=storycomment] div:after { - backdrop-filter: blur(0.5rem); -} diff --git a/frontend/widgets/StoriesViewer/storiesviewer.js b/frontend/widgets/StoriesViewer/storiesviewer.js deleted file mode 100644 index f983899..0000000 --- a/frontend/widgets/StoriesViewer/storiesviewer.js +++ /dev/null @@ -1,84 +0,0 @@ -var StoriesViewer = { - story: undefined, - timer: undefined, - - timeout: 6000, - startDate: undefined, - consumed: 0, - - before: undefined, - - launch: function (before) { - MovimTpl.pushAnchorState('stories', function () { - StoriesViewer.close(); - }); - - StoriesViewer.story = document.querySelector('article.story'); - StoriesViewer.before = before; - - let image = StoriesViewer.story.querySelector('img'); - image.addEventListener('mousedown', e => { e.preventDefault(); StoriesViewer.pause() }); - image.addEventListener('touchstart', e => { e.preventDefault(); StoriesViewer.pause() }); - image.addEventListener('mouseup', e => { e.preventDefault(), StoriesViewer.start() }); - image.addEventListener('touchend', e => { e.preventDefault(), StoriesViewer.start() }); - - let next = StoriesViewer.story.querySelector('div.next'); - next.addEventListener('click', e => StoriesViewer_ajaxHttpGetNext(StoriesViewer.before)); - - StoriesViewer.reset(); - StoriesViewer.start(); - }, - - reset: function () { - clearTimeout(StoriesViewer.timer); - StoriesViewer.consumed = 0; - }, - - close: function () { - StoriesViewer.reset(); - StoriesViewer_ajaxClose(); - Stories_ajaxHttpGet(); - }, - - start: function () { - if (!StoriesViewer.story) return; - - StoriesViewer.story.classList.remove('paused'); - StoriesViewer.startDate = new Date(); - - StoriesViewer.timer = setTimeout(function () { - StoriesViewer_ajaxHttpGetNext(StoriesViewer.before); - }, StoriesViewer.timeout - StoriesViewer.consumed); - }, - - pause: function () { - if (!StoriesViewer.story) return; - - StoriesViewer.story.classList.add('paused'); - StoriesViewer.consumed += new Date() - StoriesViewer.startDate; - - clearTimeout(StoriesViewer.timer); - }, - - sendComment: function (storyId) { - StoriesViewer_ajaxSendComment(storyId, document.querySelector('form[name=storycomment] input[name=comment]').value); - document.querySelector('form[name=storycomment]').reset(); - } -} - -MovimEvents.registerBody('click', 'storiesviewer', (e) => { - if (document.querySelector('#storiesviewer') == null - || document.querySelector('#storiesviewer').innerHTML == '') return; - - if (!document.querySelector('#storiesviewer article').contains(e.target)) { - history.back() - } -}); - -MovimEvents.registerBody('keydown', 'storiesviewer', (e) => { - if (document.querySelector('#storiesviewer') - && document.querySelector('#storiesviewer').innerHTML != '' - && e.key == 'Escape') { - history.back() - } -}); \ No newline at end of file diff --git a/frontend/widgets/Syndication/locales.ini b/frontend/widgets/Syndication/locales.ini deleted file mode 100644 index eea13c9..0000000 --- a/frontend/widgets/Syndication/locales.ini +++ /dev/null @@ -1,4 +0,0 @@ -[feed] -title = "%s’s feed" -nope = No public feed for this contact -nope_contact = No contact specified diff --git a/src/handler.rs b/src/handler.rs index d463c79..7a92da4 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -913,7 +913,3 @@ pub fn muc_presence_from(el: &Element, x: &Element, nick: &str, type_: &str) -> } } -#[allow(dead_code)] -pub fn debug_rpc(ctx: &Ctx, text: &str) { - rpc!(ctx, "console.log", text); -} diff --git a/src/page.rs b/src/page.rs index 8d41820..f90a65c 100644 --- a/src/page.rs +++ b/src/page.rs @@ -20,9 +20,7 @@ const CHAT_WIDGETS: &[&str] = &[ "Search", "Stickers", "Notifications", - "SendTo", "ContactActions", - "AdHoc", "ChatOmemo", "Presence", "Shortcuts", @@ -38,7 +36,6 @@ const CHAT_WIDGETS: &[&str] = &[ "Snap", "Draw", "Tabs", - "RoomsExplore", ]; pub const PAGES: &[PageDef] = &[ diff --git a/src/web.rs b/src/web.rs index 53f87bd..095e8f3 100644 --- a/src/web.rs +++ b/src/web.rs @@ -1,7 +1,7 @@ //! HTTP routes: pages, static assets, websocket and the `/ajax` RPC endpoints. use axum::{ - body::{Body, Bytes}, + body::Bytes, extract::{ ws::{CloseFrame, Message as WsMessage, WebSocket, WebSocketUpgrade}, Path, Query, State, @@ -46,7 +46,6 @@ pub fn router(app: Arc) -> Router { .route("/{page}/{*rest}", get(page_handler_rest)) .nest_service("/theme", ServeDir::new(front.join("theme"))) .nest_service("/scripts", ServeDir::new(front.join("scripts"))) - .nest_service("/stickers", ServeDir::new(front.join("stickers"))) .route_service("/sw.js", tower_http::services::ServeFile::new(front.join("sw.js"))) .route_service("/movim-sw.js", tower_http::services::ServeFile::new(front.join("movim-sw.js"))) .with_state(app) @@ -627,7 +626,3 @@ async fn handle_socket(app: Arc, socket: WebSocket, sid: String, lang: Stri } } -#[allow(dead_code)] -fn body_from(s: String) -> Body { - Body::from(s) -} diff --git a/src/widgets/account.rs b/src/widgets/account.rs index 72b73d7..aae3af1 100644 --- a/src/widgets/account.rs +++ b/src/widgets/account.rs @@ -148,10 +148,6 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { ("Config", _) => {} // ------------------------------------------------ Vcard4 - ("Vcard4", "ajaxGetVcard") => { - crate::pep::refresh_profile(ctx, &me).await; - rpc!(ctx, "MovimTpl.fill", "#vcard_form", vcard_form(ctx).await); - } ("Vcard4", "ajaxVcardSubmit") => save_vcard(ctx, p).await, // ------------------------------------------------ Avatar diff --git a/src/widgets/chat.rs b/src/widgets/chat.rs index 97df6d6..632b67a 100644 --- a/src/widgets/chat.rs +++ b/src/widgets/chat.rs @@ -116,7 +116,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { get_messages(ctx, &jid, p.b(1), false).await; rpc!(ctx, "MovimUtils.removeClass", "#chat_widget .contained", "history"); } - "ajaxHttpGetExplore" => {} _ => return false, } true @@ -228,6 +227,16 @@ async fn prepare_empty(ctx: &Ctx) -> String { ctx.render("Chat/_chat_empty.html", json!({ "top": top })) } +/// The bubble models of a discussion. To send before the discussion itself: live messages are +/// displayed as soon as it is on the page, and they do not wait for the history to load. +async fn send_bubbles(ctx: &Ctx, jid: &str, muc: bool) { + let contact = contact_view(ctx, jid).await; + let left = ctx.render("Chat/_chat_bubble.html", json!({ "contact": contact, "mine": false, "muc": muc })); + let me_view = contact_view(ctx, &ctx.jid()).await; + let right = ctx.render("Chat/_chat_bubble.html", json!({ "contact": me_view, "mine": true, "muc": muc })); + rpc!(ctx, "Chat.setSpecificElements", left, right); +} + /// Open a 1:1 discussion (or the empty view) pub async fn get(ctx: &Ctx, jid: Option<&str>, light: bool) { match jid.filter(|j| !j.is_empty()) { @@ -246,6 +255,7 @@ pub async fn get(ctx: &Ctx, jid: Option<&str>, light: bool) { } if !light { rpc!(ctx, "MovimUtils.pushSoftState", ctx.route("chat", &[jid])); + send_bubbles(ctx, jid, false).await; rpc!(ctx, "MovimTpl.fill", "#chat_widget", prepare_chat(ctx, jid, false).await); on_chat_state_inner(ctx, jid, false).await; rpc!(ctx, "MovimTpl.showPanel"); @@ -287,6 +297,7 @@ pub async fn get_room(ctx: &Ctx, room: &str, no_connect: bool) { rpc!(ctx, "Notif.setTitle", format!("{} • {}", ctx.t("page.chats", &[]), conference.title())); rpc!(ctx, "MovimUtils.pushSoftState", ctx.route("chat", &[room, "room"])); + send_bubbles(ctx, room, true).await; rpc!(ctx, "MovimTpl.fill", "#chat_widget", prepare_chat(ctx, room, true).await); rpc!(ctx, "Chat.getPresences", room); on_chat_state_inner(ctx, room, false).await; @@ -329,13 +340,6 @@ pub async fn get_messages(ctx: &Ctx, jid: &str, muc: bool, seen_only: bool) { let mut ordered = messages.clone(); ordered.reverse(); let wrapper = prepare_messages(ctx, &ordered).await; - - let contact = contact_view(ctx, jid).await; - let left = ctx.render("Chat/_chat_bubble.html", json!({ "contact": contact, "mine": false, "muc": muc })); - let me_view = contact_view(ctx, &me).await; - let right = ctx.render("Chat/_chat_bubble.html", json!({ "contact": me_view, "mine": true, "muc": muc })); - - rpc!(ctx, "Chat.setSpecificElements", left, right); rpc!(ctx, "Chat.appendMessagesWrapper", Value::Object(wrapper), false); } @@ -992,7 +996,6 @@ pub async fn send_message( }); ctx.st(|st| st.own_composing.remove(to)); - x.send(stanza); if omemo_el.is_some() { rpc!(ctx, "Chat.sentId", id); @@ -1000,6 +1003,7 @@ pub async fn send_message( // MUC messages are stored when the room reflects them if muc { + x.send(stanza); return; } @@ -1032,7 +1036,10 @@ pub async fn send_message( m.bundleid = o.get("sid").and_then(|s| s.as_i64()); } - let Ok(mid) = db::message_save(ctx.db(), &m).await else { return }; + let Ok(mid) = db::message_save(ctx.db(), &m).await else { + x.send(stanza); + return; + }; if let Some(f) = &out_file { let _ = db::message_file_save( ctx.db(), @@ -1052,6 +1059,9 @@ pub async fn send_message( .await; } + // Only now: a message to ourself comes back at once and has to find what we just stored + x.send(stanza); + let Some(saved) = db::message_by_mid(ctx.db(), &me, mid).await.ok().flatten() else { return }; chats::on_message(ctx, &saved, &Origin::Live).await; let wrapper = prepare_messages(ctx, std::slice::from_ref(&saved)).await; diff --git a/src/widgets/chatactions.rs b/src/widgets/chatactions.rs index 0c50387..e3ebc23 100644 --- a/src/widgets/chatactions.rs +++ b/src/widgets/chatactions.rs @@ -42,7 +42,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { rpc!(ctx, "Chat.finishedSending"); rpc!(ctx, "Chat.disableSending"); } - "ajaxEditMessage" | "ajaxEnableWideConferenceCall" => {} _ => return false, } true diff --git a/src/widgets/chatomemo.rs b/src/widgets/chatomemo.rs index 3a79fad..95300f3 100644 --- a/src/widgets/chatomemo.rs +++ b/src/widgets/chatomemo.rs @@ -32,10 +32,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { }); } "ajaxAnnounceBundle" => announce_bundle(ctx, p.v(0).cloned().unwrap_or_default(), p.v(1).cloned().unwrap_or_default()).await, - "ajaxCleanDevicesList" => { - let ids: Vec = p.v(0).and_then(|v| v.as_array()).map(|a| a.iter().map(id_string).collect()).unwrap_or_default(); - publish_devices(ctx, &ids).await; - } "ajaxEnableContactState" => { ctx.toast(&ctx.t("omemo.enable_contact", &[])); set_state(ctx, true).await; diff --git a/src/widgets/chats.rs b/src/widgets/chats.rs index d06aa3c..7946150 100644 --- a/src/widgets/chats.rs +++ b/src/widgets/chats.rs @@ -38,18 +38,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { rpc!(ctx, "MovimTpl.fill", "#chats", prepare_chats(ctx).await); rpc!(ctx, "Chats.refresh"); } - "ajaxGetMAMHistory" => { - let jid = p.s(0); - let ctx = ctx.to_ws(); - tokio::spawn(async move { - match jid { - Some(jid) => { - crate::mam::fetch_history(&ctx, &jid, false).await; - } - None => crate::mam::catch_up(&ctx).await, - } - }); - } "ajaxSetFilter" => { let filter = p.str(0); if FILTERS.contains(&filter.as_str()) { diff --git a/src/widgets/contactactions.rs b/src/widgets/contactactions.rs index 3058f4e..3423bb2 100644 --- a/src/widgets/contactactions.rs +++ b/src/widgets/contactactions.rs @@ -69,7 +69,6 @@ pub async fn get_drawer(ctx: &Ctx, jid: &str) { pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { match func { - "ajaxGetDrawer" => get_drawer(ctx, &p.str(0)).await, "ajaxGetDrawerFingerprints" => { let jid = p.str(0); let list: Vec = p @@ -95,7 +94,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { ); rpc!(ctx, "ContactActions.resolveSessionsStates", jid); } - "ajaxChat" => super::search::chat(ctx, &p.str(0), p.b(1)).await, "ajaxBlock" => block(ctx, &p.str(0), true).await, "ajaxUnblock" => block(ctx, &p.str(0), false).await, "ajaxHttpGetPictures" | "ajaxHttpGetLinks" | "ajaxCheckAccessModel" => {} diff --git a/src/widgets/login.rs b/src/widgets/login.rs index b3de5a1..898b3b4 100644 --- a/src/widgets/login.rs +++ b/src/widgets/login.rs @@ -62,9 +62,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { let password = p.form(0, "password").unwrap_or_default(); do_login(ctx, username.trim(), &password, &p.str(2), &p.str(1), None).await; } - "ajaxHTTPLogin" => { - do_login(ctx, &p.str(0), &p.str(1), &p.str(3), &p.str(2), None).await; - } "ajaxQuickLogin" => quick_login(ctx, p).await, _ => return false, } diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index ed0b1a2..235a898 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -182,15 +182,14 @@ pub async fn build(ctx: &Ctx, name: &str, page: &str, params: &HashMap upload::build(ctx), "Visio" => visio::build(ctx), "Stickers" => stickers::build(ctx), - "ChatOmemo" | "ChatActions" | "ContactActions" | "RoomsUtils" | "Notif" | "SendTo" | "AdHoc" - | "RoomsExplore" | "Snap" | "Draw" | "Dictaphone" | "Preview" => { + "ChatOmemo" | "ChatActions" | "ContactActions" | "RoomsUtils" | "Notif" | "Snap" | "Draw" | "Dictaphone" + | "Preview" => { let file = format!("{}/{}.html", name, name.to_lowercase()); render_if_exists(ctx, &file) } "Vcard4" | "Avatar" | "Config" | "Account" | "NotificationConfig" | "Blocked" => { account::build(ctx, name).await } - "Tabs" => render_if_exists(ctx, "Tabs/tabs.html"), "Subscribe" => account::build_subscribe(ctx).await, "Register" => register::build_register(ctx, params.get("s").map(String::as_str).unwrap_or("")), _ => { @@ -236,8 +235,8 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, params: Vec) { "ChatActions" => chatactions::call(ctx, func, &p).await, "ChatOmemo" => chatomemo::call(ctx, func, &p).await, "ContactActions" => contactactions::call(ctx, func, &p).await, - "Rooms" | "RoomsUtils" | "RoomsExplore" => rooms::call(ctx, widget, func, &p).await, - "Search" | "SendTo" => search::call(ctx, widget, func, &p).await, + "Rooms" | "RoomsUtils" => rooms::call(ctx, widget, func, &p).await, + "Search" => search::call(ctx, widget, func, &p).await, "Notif" => notif::call(ctx, func, &p).await, "Notifications" => notifications::call(ctx, func, &p).await, "Preview" => preview::call(ctx, func, &p).await, diff --git a/src/widgets/notif.rs b/src/widgets/notif.rs index 56b6d80..b3b5c97 100644 --- a/src/widgets/notif.rs +++ b/src/widgets/notif.rs @@ -130,7 +130,6 @@ pub fn is_current(ctx: &Ctx, jid: &str) -> bool { pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { match func { - "ajaxClear" => clear(ctx, &p.str(0)).await, "ajaxGet" => { let chat = p.v(0).is_none() || p.b(0); let mut notifs: serde_json::Map = ctx diff --git a/src/widgets/presence.rs b/src/widgets/presence.rs index 0033546..be67ada 100644 --- a/src/widgets/presence.rs +++ b/src/widgets/presence.rs @@ -115,12 +115,6 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { send_presence(ctx, None).await; on_my_presence(ctx).await; } - ("Presence", "ajaxProfileRefresh") => { - let me = ctx.jid(); - crate::pep::refresh_profile(ctx, &me).await; - } - ("Presence", "ajaxBookmarksGet") => super::rooms::fetch_bookmarks(ctx).await, - ("Presence", "ajaxServerCapsGet") | ("Presence", "ajaxServerDisco") => discover_server(ctx).await, ("Presence", _) => {} ("BottomNavigation", "ajaxHttpRefresh") => { rpc!(ctx, "BottomNavigation.setChatNotification", json!({ "chat": notif::unreads(ctx).await })); diff --git a/src/widgets/preview.rs b/src/widgets/preview.rs index c48698e..49cbe3b 100644 --- a/src/widgets/preview.rs +++ b/src/widgets/preview.rs @@ -23,7 +23,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { let html = ctx.render("Preview/_preview.html", json!({ "raw_url": url, "thumb": thumb, "messageid": p.s(1) })); rpc!(ctx, "Preview.fill", html); } - "ajaxHttpGallery" => {} "ajaxHttpHide" => rpc!(ctx, "MovimTpl.fill", "#preview", ""), "ajaxCopyNotify" => ctx.toast(&ctx.t("preview.link_copied", &[])), _ => return false, diff --git a/src/widgets/rooms.rs b/src/widgets/rooms.rs index 9d54e32..ad7b3db 100644 --- a/src/widgets/rooms.rs +++ b/src/widgets/rooms.rs @@ -1,5 +1,4 @@ -//! Chatrooms (XEP-0045) and their bookmarks (XEP-0402): Rooms, RoomsUtils and -//! RoomsExplore widgets. +//! Chatrooms (XEP-0045) and their bookmarks (XEP-0402): Rooms and RoomsUtils widgets. use minidom::Element; use serde_json::{json, Value}; @@ -839,16 +838,11 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { match (widget, func) { ("Rooms", "ajaxHttpGet") => refresh_list(ctx).await, ("Rooms", "ajaxRefresh") => refresh_room(ctx, &p.str(0)).await, - ("Rooms", "ajaxJoin") => join(ctx, &p.str(0), p.s(1).as_deref()).await, ("Rooms", "ajaxExit") => { rpc!(ctx, "Chat_ajaxGet"); exit(ctx, &p.str(0)).await; } ("RoomsUtils", "ajaxGetDrawer") => get_drawer(ctx, &p.str(0)).await, - ("RoomsUtils", "ajaxAppendPresences") => { - let room = p.str(0); - rpc!(ctx, "MovimTpl.fill", "#room_presences_list", prepare_presences(ctx, &room, false).await); - } ("RoomsUtils", "ajaxGetSubject") => { let room = p.str(0); let subject = ctx.st(|st| st.conferences.get(&room).and_then(|c| c.subject.clone())).flatten(); @@ -949,18 +943,7 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { let map: serde_json::Map = nicks.into_iter().map(|n| (n.clone(), Value::String(utils::string_to_color(&n).into()))).collect(); rpc!(ctx, "Chat.onAutocomplete", Value::Object(map)); } - ("RoomsUtils", "ajaxGetMAMHistory") => { - let room = p.str(0); - let ctx2 = ctx.to_ws(); - tokio::spawn(async move { - let count = crate::mam::fetch_history(&ctx2, &room, true).await; - rpc!(ctx2, "MovimUtils.removeClass", "#chat_widget .contained", "loading"); - if count > 0 { - rpc!(ctx2, "Chat.getHistory", false); - } - }); - } - ("RoomsUtils", "ajaxConfigureUser") | ("RoomsUtils", "ajaxGetParticipant") => configure_user(ctx, &p.str(0), &p.str(1)).await, + ("RoomsUtils", "ajaxConfigureUser") => configure_user(ctx, &p.str(0), &p.str(1)).await, ("RoomsUtils", "ajaxChangeVoice") => { let (room, nick) = (p.str(0), p.str(1)); let voice = p.b(2) || p.form(2, "voice").is_some_and(|v| v == "true"); @@ -981,9 +964,6 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { } } ("RoomsUtils", "ajaxHttpGetPictures") | ("RoomsUtils", "ajaxHttpGetLinks") | ("RoomsUtils", "ajaxGetDrawerFingerprints") => {} - ("RoomsExplore", "ajaxSearch") | ("RoomsExplore", "ajaxSearchRooms") => { - rpc!(ctx, "RoomsUtils_ajaxHttpRoomDiscover"); - } _ => return false, } true diff --git a/src/widgets/search.rs b/src/widgets/search.rs index 5a5cef6..b269ef2 100644 --- a/src/widgets/search.rs +++ b/src/widgets/search.rs @@ -1,4 +1,4 @@ -//! Search widget: the roster and "start a chat" drawer. SendTo is handled here too. +//! Search widget: the roster and "start a chat" drawer. use serde_json::json; @@ -33,7 +33,6 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { rpc!(ctx, "Search.searchClear"); } ("Search", "ajaxChat") => chat(ctx, &p.str(0), p.b(1)).await, - ("SendTo", _) => {} _ => return false, } true diff --git a/src/widgets/stickers.rs b/src/widgets/stickers.rs index 6260706..cf06c48 100644 --- a/src/widgets/stickers.rs +++ b/src/widgets/stickers.rs @@ -43,12 +43,6 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { super::drawer(ctx, "emojis", &html, true, true); crate::rpc!(ctx, "Stickers.setEmojisEvent", mid); } - "ajaxShow" => { - // Sticker packs are not supported: show the emojis instead - let html = ctx.render("Stickers/_stickers_emojis.html", json!({ "mid": null, "suggested": [] })); - super::drawer(ctx, "emojis", &html, true, true); - crate::rpc!(ctx, "Stickers.setEmojisEvent", serde_json::Value::Null); - } _ => return false, } true diff --git a/src/widgets/upload.rs b/src/widgets/upload.rs index 5734f24..1fc33fe 100644 --- a/src/widgets/upload.rs +++ b/src/widgets/upload.rs @@ -48,7 +48,7 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { super::dialog(ctx, &html, false, false); rpc!(ctx, "Upload.attachEvents"); } - ("Upload", "ajaxPrepare") | ("Upload", "ajaxSend") => { + ("Upload", "ajaxPrepare") => { let file = p.v(0).cloned().unwrap_or_default(); let name = file.get("name").and_then(|v| v.as_str()).unwrap_or("file").to_string(); let size = file.get("size").and_then(|v| v.as_i64()).unwrap_or(0); @@ -60,7 +60,7 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { .to_string(); request_slot(ctx, &name, size, &type_).await; } - ("Upload", "ajaxFailed") | ("Upload", "ajaxHttpError") => ctx.toast(&ctx.t("upload.error_failed", &[])), + ("Upload", "ajaxFailed") => ctx.toast(&ctx.t("upload.error_failed", &[])), ("Upload", _) => {} ("Dictaphone", "ajaxHttpGet") => { if ctx.st(|st| st.upload.is_some()).unwrap_or(false) { @@ -72,7 +72,6 @@ pub async fn call(ctx: &Ctx, widget: &str, func: &str, p: &P<'_>) -> bool { rpc!(ctx, "MovimTpl.fill", "#draw", ctx.render("Draw/_draw.html", json!({}))); rpc!(ctx, "Draw.init"); } - ("Draw", "ajaxHttpClear") => rpc!(ctx, "MovimTpl.fill", "#draw", ""), _ => return false, } true diff --git a/src/widgets/visio.rs b/src/widgets/visio.rs index 5437e11..2a06cba 100644 --- a/src/widgets/visio.rs +++ b/src/widgets/visio.rs @@ -386,7 +386,7 @@ pub async fn call(ctx: &Ctx, func: &str, p: &P<'_>) -> bool { "ajaxMujiPublish" => muji_publish(ctx, &p.str(0), &sdp_param(p.v(1)), p.b(2)).await, "ajaxLeaveMuji" => leave_muji(ctx, &p.str(0)).await, // SFU conferences (Movim's own extension) are not supported - "ajaxGetSFULobby" | "ajaxUpgradeCurrentCallToSFU" => {} + "ajaxUpgradeCurrentCallToSFU" => {} _ => return false, } true diff --git a/src/widgets_registry.rs b/src/widgets_registry.rs index bbe7ec8..b834cfe 100644 --- a/src/widgets_registry.rs +++ b/src/widgets_registry.rs @@ -9,13 +9,6 @@ pub struct WidgetDef { } pub static WIDGETS: &[WidgetDef] = &[ - WidgetDef { - name: "About", - css: &[], - js: &[], - funcs: &[ - ], - }, WidgetDef { name: "Account", css: &[], @@ -32,47 +25,7 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxDeleteBundleConfirm", &["id", "devicesIds"]), ("ajaxOmemoBackup", &[]), ("ajaxOmemoRestore", &[]), - ("ajaxGetGateways", &[]), ("ajaxRemoveAccountConfirm", &["form"]), - ("ajaxGetRegistration", &["server"]), - ("ajaxRegister", &["server", "form"]), - ], - }, - WidgetDef { - name: "AdHoc", - css: &[], - js: &["adhoc.js"], - funcs: &[ - ("ajaxSDPToJingle", &[]), - ("ajaxSDPToJingleSubmit", &["data"]), - ("ajaxJingleToSDP", &[]), - ("ajaxJingleToSDPSubmit", &["data"]), - ("ajaxGet", &["jid"]), - ("ajaxCommand", &["jid", "node"]), - ("ajaxSubmit", &["jid", "node", "data", "sessionid", "action"]), - ], - }, - WidgetDef { - name: "AdminMain", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "AdminReported", - css: &["adminreported.css"], - js: &["adminreported.js"], - funcs: &[ - ("ajaxBlock", &["jid", "checked"]), - ("ajaxHttpGet", &[]), - ], - }, - WidgetDef { - name: "AdminSessions", - css: &[], - js: &[], - funcs: &[ ], }, WidgetDef { @@ -81,18 +34,9 @@ pub static WIDGETS: &[WidgetDef] = &[ js: &["avatar.js"], funcs: &[ ("ajaxGetForm", &[]), - ("ajaxGetBannerForm", &[]), ("ajaxGetAvatar", &[]), ("ajaxHttpGetCurrent", &[]), ("ajaxSubmit", &["avatar"]), - ("ajaxBannerSubmit", &["banner"]), - ], - }, - WidgetDef { - name: "AvatarPlaceholder", - css: &[], - js: &[], - funcs: &[ ], }, WidgetDef { @@ -104,13 +48,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxUnblock", &["jid"]), ], }, - WidgetDef { - name: "Blog", - css: &[], - js: &[], - funcs: &[ - ], - }, WidgetDef { name: "BottomNavigation", css: &["bottomnavigation.css"], @@ -129,7 +66,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxHttpGetEmpty", &[]), ("ajaxGet", &["jid", "light"]), ("ajaxGetRoom", &["room", "noConnect"]), - ("ajaxGetSpaceRoom", &["server", "node", "roomId"]), ("ajaxHttpDaemonSendMessage", &["id", "to", "message", "muc", "file", "replyToMid", "mucReceipts", "omemo"]), ("ajaxHttpDaemonCorrect", &["id", "to", "mid", "message", "omemo"]), ("ajaxHttpDaemonSendReaction", &["mid", "emoji"]), @@ -147,7 +83,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxRestoreHistory", &["jid"]), ("ajaxHttpGetPresences", &["room"]), ("ajaxClearAndGetMessages", &["jid", "muc"]), - ("ajaxHttpGetExplore", &["page"]), ], }, WidgetDef { @@ -163,8 +98,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxSearchMessages", &["jid", "keywords", "muc", "encrypted"]), ("ajaxShowFiles", &["jid", "muc"]), ("ajaxCopiedMessageText", &[]), - ("ajaxEnableWideConferenceCall", &["conference"]), - ("ajaxEditMessage", &["mid"]), ("ajaxHttpDaemonRetract", &["mid"]), ("ajaxHttpDaemonModerate", &["mid"]), ("ajaxResolveMessage", &["mid"]), @@ -177,7 +110,6 @@ pub static WIDGETS: &[WidgetDef] = &[ js: &["chatomemo.js", "chatomemo_storage.js", "chatomemo_db.js"], funcs: &[ ("ajaxGetBundle", &["jid", "bundleId"]), - ("ajaxCleanDevicesList", &["devicesIds"]), ("ajaxEnableContactState", &[]), ("ajaxEnableRoomState", &[]), ("ajaxDisableContactState", &[]), @@ -193,142 +125,11 @@ pub static WIDGETS: &[WidgetDef] = &[ js: &["chats.js"], funcs: &[ ("ajaxHttpGet", &[]), - ("ajaxGetMAMHistory", &["jid"]), ("ajaxSetFilter", &["filter"]), ("ajaxOpen", &["jid", "andShow", "history"]), ("ajaxClose", &["jid", "closeDiscussion"]), ], }, - WidgetDef { - name: "Colors", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "Communities", - css: &[], - js: &["communities.js"], - funcs: &[ - ("ajaxHttpGetAll", &[]), - ("ajaxHttpGetCommunities", &[]), - ("ajaxHttpGetContacts", &[]), - ("ajaxHttpGetPosts", &["page", "type"]), - ], - }, - WidgetDef { - name: "CommunitiesInteresting", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "CommunitiesServer", - css: &[], - js: &["communitiesserver.js"], - funcs: &[ - ("ajaxDisco", &["origin"]), - ("ajaxTestAdd", &["origin"]), - ("ajaxAddConfirm", &["origin", "form"]), - ], - }, - WidgetDef { - name: "CommunitiesServerInfo", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "CommunitiesServers", - css: &[], - js: &["communitiesservers.js"], - funcs: &[ - ("ajaxDiscoverServer", &[]), - ("ajaxDisco", &["form"]), - ("ajaxHttpGet", &[]), - ], - }, - WidgetDef { - name: "CommunitiesTags", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "CommunityAffiliations", - css: &[], - js: &["communityaffiliations.js"], - funcs: &[ - ("ajaxShowFullPublicSubscriptionsList", &["server", "node"]), - ("ajaxGetAffiliations", &["server", "node"]), - ("ajaxGetSubscriptions", &["server", "node", "notify"]), - ("ajaxDelete", &["server", "node", "clean"]), - ("ajaxDeleteConfirm", &["server", "node"]), - ("ajaxAffiliations", &["server", "node"]), - ("ajaxChangeAffiliation", &["server", "node", "form"]), - ], - }, - WidgetDef { - name: "CommunityConfig", - css: &[], - js: &[], - funcs: &[ - ("ajaxGetAvatar", &["origin", "node"]), - ("ajaxSetAvatar", &["origin", "node", "form"]), - ("ajaxGetConfig", &["origin", "node", "advanced"]), - ("ajaxSetConfig", &["data", "origin", "node"]), - ], - }, - WidgetDef { - name: "CommunityData", - css: &["communitydata.css"], - js: &["communitydata.js"], - funcs: &[ - ("ajaxGetAvatar", &["origin", "node"]), - ], - }, - WidgetDef { - name: "CommunityDataPublic", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "CommunityHeader", - css: &[], - js: &["communityheader.js"], - funcs: &[ - ("ajaxGetMetadata", &["server", "node"]), - ("ajaxAskSubscribe", &["server", "node"]), - ("ajaxSubscribe", &["form", "server", "node"]), - ("ajaxAskUnsubscribe", &["server", "node"]), - ("ajaxUnsubscribe", &["server", "node"]), - ("ajaxTestPublish", &["server", "node"]), - ], - }, - WidgetDef { - name: "CommunityPosts", - css: &[], - js: &["communityposts.js"], - funcs: &[ - ("ajaxGetContact", &["jid"]), - ("ajaxGetItems", &["origin", "node", "before"]), - ("ajaxClear", &[]), - ], - }, - WidgetDef { - name: "CommunitySubscriptions", - css: &["communitysubscriptions.css"], - js: &["communitysubscriptions.js"], - funcs: &[ - ("ajaxHttpGet", &[]), - ], - }, WidgetDef { name: "Config", css: &["config.css"], @@ -336,12 +137,9 @@ pub static WIDGETS: &[WidgetDef] = &[ funcs: &[ ("ajaxMAMGetConfig", &[]), ("ajaxMAMSetConfig", &["value"]), - ("ajaxBlogGetConfig", &[]), - ("ajaxBlogSetConfig", &["data"]), ("ajaxSubmit", &["data"]), ("ajaxEditNickname", &[]), ("ajaxSaveNickname", &["nickname"]), - ("ajaxChangePrivacy", &["value"]), ], }, WidgetDef { @@ -358,69 +156,13 @@ pub static WIDGETS: &[WidgetDef] = &[ css: &[], js: &["contactactions.js"], funcs: &[ - ("ajaxGetDrawer", &["jid"]), ("ajaxGetDrawerFingerprints", &["jid", "fingerprints"]), - ("ajaxChat", &["jid", "muc"]), ("ajaxBlock", &["jid"]), ("ajaxUnblock", &["jid"]), ("ajaxHttpGetPictures", &["jid", "page"]), ("ajaxHttpGetLinks", &["jid", "page"]), ], }, - WidgetDef { - name: "ContactBlogConfig", - css: &[], - js: &["contactblogconfig.js"], - funcs: &[ - ("ajaxCheckAccessModel", &["jid"]), - ], - }, - WidgetDef { - name: "ContactData", - css: &[], - js: &["contactdata.js"], - funcs: &[ - ("ajaxGet", &["jid"]), - ("ajaxRefresh", &["jid"]), - ], - }, - WidgetDef { - name: "ContactDataPublic", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "ContactHeader", - css: &[], - js: &["contactheader.js"], - funcs: &[ - ("ajaxEditContact", &["jid"]), - ("ajaxEditSubmit", &["form"]), - ("ajaxChat", &["jid"]), - ("ajaxSubscribe", &["jid"]), - ("ajaxUnsubscribe", &["jid"]), - ("ajaxGetMetadata", &["jid"]), - ], - }, - WidgetDef { - name: "ContactSubscriptions", - css: &[], - js: &["contactsubscriptions.js"], - funcs: &[ - ("ajaxRefresh", &["jid"]), - ], - }, - WidgetDef { - name: "ContactsSuggestions", - css: &[], - js: &["contactssuggestions.js"], - funcs: &[ - ("ajaxHttpGet", &[]), - ("ajaxSubscribe", &["jid"]), - ], - }, WidgetDef { name: "Dialog", css: &[], @@ -442,7 +184,6 @@ pub static WIDGETS: &[WidgetDef] = &[ css: &["draw.css"], js: &["draw.js"], funcs: &[ - ("ajaxHttpClear", &[]), ("ajaxHttpGet", &[]), ], }, @@ -454,74 +195,21 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxClear", &[]), ], }, - WidgetDef { - name: "EmojisConfig", - css: &["emojisconfig.css"], - js: &["emojisconfig.js"], - funcs: &[ - ("ajaxHttpGet", &[]), - ("ajaxAddEditFavoriteForm", &["emojiId"]), - ("ajaxAddEditFavorite", &["form"]), - ("ajaxRemoveFavorite", &["emojiId"]), - ], - }, - WidgetDef { - name: "Help", - css: &[], - js: &[], - funcs: &[ - ("ajaxAddChatroom", &[]), - ], - }, - WidgetDef { - name: "Infos", - css: &[], - js: &[], - funcs: &[ - ], - }, WidgetDef { name: "Login", css: &["login.css"], js: &["login.js"], funcs: &[ ("ajaxLogin", &["form", "sessionId", "timezone"]), - ("ajaxHTTPLogin", &["login", "password", "sessionId", "timezone"]), ("ajaxQuickLogin", &["deviceId", "login", "key", "timezone", "sessionId", "check"]), ], }, - WidgetDef { - name: "Manifest", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "Menu", - css: &["menu.css"], - js: &["menu.js"], - funcs: &[ - ("ajaxHttpGetAll", &["page"]), - ("ajaxHttpGetCommunities", &["page"]), - ("ajaxHttpGetContacts", &["page"]), - ], - }, WidgetDef { name: "Navigation", css: &[], js: &["navigation.js"], funcs: &[ ("ajaxHttpRefresh", &[]), - ("ajaxHttpPublish", &[]), - ], - }, - WidgetDef { - name: "NewsNav", - css: &[], - js: &["newsnav.js"], - funcs: &[ - ("ajaxHttpGet", &["page", "server"]), ], }, WidgetDef { @@ -536,7 +224,6 @@ pub static WIDGETS: &[WidgetDef] = &[ css: &[], js: &["notif.js"], funcs: &[ - ("ajaxClear", &["key"]), ("ajaxGet", &["chat"]), ("ajaxCurrent", &["key"]), ("ajaxRegisterPushSubscrition", &["endpoint", "auth", "p256dh", "userAgent"]), @@ -571,46 +258,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxRefuse", &["jid"]), ], }, - WidgetDef { - name: "Onboarding", - css: &["onboarding.css"], - js: &["onboarding.js"], - funcs: &[ - ("ajaxAskPublic", &[]), - ("ajaxEnablePublic", &[]), - ("ajaxEnableRestricted", &[]), - ], - }, - WidgetDef { - name: "Picture", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "Post", - css: &["post.css"], - js: &["post.js"], - funcs: &[ - ("ajaxGetContact", &["jid"]), - ("ajaxGetPost", &["server", "node", "nodeid"]), - ("ajaxGetNotFound", &[]), - ("ajaxGetPostComments", &["server", "node", "id"]), - ("ajaxShare", &["server", "node", "id"]), - ("ajaxPublishComment", &["form", "to", "node", "id"]), - ], - }, - WidgetDef { - name: "PostActions", - css: &[], - js: &["postactions.js"], - funcs: &[ - ("ajaxLike", &["to", "node", "id"]), - ("ajaxDelete", &["to", "node", "id"]), - ("ajaxDeleteConfirm", &["to", "node", "id"]), - ], - }, WidgetDef { name: "Presence", css: &["presence.css"], @@ -619,13 +266,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxAskLogout", &[]), ("ajaxLogout", &[]), ("ajaxHttpGetPresence", &[]), - ("ajaxPubsubSubscriptionsGet", &[]), - ("ajaxServerCapsGet", &[]), - ("ajaxServerDisco", &[]), - ("ajaxProfileRefresh", &[]), - ("ajaxBookmarksGet", &[]), - ("ajaxFeedRefresh", &[]), - ("ajaxGetFollowers", &[]), ("ajaxHttpMenu", &[]), ], }, @@ -635,60 +275,10 @@ pub static WIDGETS: &[WidgetDef] = &[ js: &["preview.js"], funcs: &[ ("ajaxHttpShow", &["url", "messageId"]), - ("ajaxHttpGallery", &["url", "number"]), ("ajaxHttpHide", &[]), ("ajaxCopyNotify", &[]), ], }, - WidgetDef { - name: "PublicNavigation", - css: &["publicnavigation.css"], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "Publish", - css: &["publish.css"], - js: &["publish.js"], - funcs: &[ - ("ajaxCreateComments", &["server", "id"]), - ("ajaxHttpSaveTitle", &["id", "title"]), - ("ajaxHttpSaveContent", &["id", "content"]), - ("ajaxPreview", &["id"]), - ("ajaxPublish", &["id"]), - ("ajaxLink", &[]), - ("ajaxAddUpload", &["draftId", "uploadId"]), - ("ajaxAddUrl", &["draftId", "url"]), - ("ajaxTryResolveShareUrl", &["id"]), - ("ajaxHttpRemoveEmbed", &["id", "embedId"]), - ("ajaxOpenlinkPreview", &["id"]), - ("ajaxTogglePrivacy", &["id", "open"]), - ("ajaxCheckPrivacy", &["id"]), - ("ajaxToggleCommentsDisabled", &["id", "commentsDisabled"]), - ("ajaxClearReply", &["id"]), - ("ajaxHttpGet", &["type", "server", "node", "nodeId", "replyServer", "replyNode", "replyNodeId"]), - ], - }, - WidgetDef { - name: "PublishHelp", - css: &[], - js: &[], - funcs: &[ - ("ajaxDrawer", &[]), - ], - }, - WidgetDef { - name: "PublishStories", - css: &["publishstories.css"], - js: &["publishstories.js"], - funcs: &[ - ("ajaxOpen", &[]), - ("ajaxNoTitle", &[]), - ("ajaxGetContactsCount", &[]), - ("ajaxPublish", &["form", "uploadId"]), - ], - }, WidgetDef { name: "Register", css: &["register.css"], @@ -705,30 +295,16 @@ pub static WIDGETS: &[WidgetDef] = &[ funcs: &[ ("ajaxRefresh", &["room"]), ("ajaxHttpGet", &[]), - ("ajaxJoin", &["room", "nickname"]), ("ajaxExit", &["room"]), ], }, - WidgetDef { - name: "RoomsExplore", - css: &[], - js: &["roomsexplore.js"], - funcs: &[ - ("ajaxSearch", &["keyword"]), - ("ajaxSearchRooms", &["keyword"]), - ], - }, WidgetDef { name: "RoomsUtils", css: &["roomsutils.css"], js: &["roomsutils.js"], funcs: &[ ("ajaxGetDrawer", &["room"]), - ("ajaxAppendPresences", &["room", "havePagination", "page"]), ("ajaxGetDrawerFingerprints", &["room", "contactsFingerprints"]), - ("ajaxGetParticipant", &["room", "mucjid"]), - ("ajaxGetAvatar", &["room"]), - ("ajaxSetAvatar", &["room", "form"]), ("ajaxGetConfig", &["room"]), ("ajaxSetConfig", &["data", "room"]), ("ajaxGetSubject", &["room"]), @@ -744,23 +320,13 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxRemove", &["room"]), ("ajaxRemoveConfirm", &["room"]), ("ajaxInvite", &["form"]), - ("ajaxInviteSFU", &["to", "invitedSFU"]), ("ajaxAskDestroy", &["room"]), ("ajaxDestroy", &["room"]), ("ajaxHttpGetPictures", &["room", "page"]), ("ajaxHttpGetLinks", &["room", "page"]), ("ajaxMucUsersAutocomplete", &["room"]), - ("ajaxDiscoGateway", &["server"]), - ("ajaxAddBanned", &["room"]), - ("ajaxAddBannedConfirm", &["room", "form"]), - ("ajaxRemoveBanned", &["room", "jid"]), ("ajaxConfigureUser", &["room", "jid"]), ("ajaxChangeVoice", &["room", "mucjid", "form"]), - ("ajaxChangeAffiliationConfirm", &["room", "form"]), - ("ajaxRemoveMember", &["room", "jid"]), - ("ajaxRemoveMemberConfirm", &["room", "jid"]), - ("ajaxGetMAMHistory", &["jid"]), - ("ajaxResetGatewayRooms", &[]), ], }, WidgetDef { @@ -774,26 +340,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxChat", &["jid", "muc"]), ], }, - WidgetDef { - name: "SendTo", - css: &["sendto.css"], - js: &["sendto.js"], - funcs: &[ - ("ajaxOsShare", &["postId"]), - ("ajaxShareArticle", &["uri", "osShare"]), - ("ajaxSendContact", &["uri"]), - ("ajaxSend", &["contacts", "uri"]), - ("ajaxGetMoreContacts", &["uri"]), - ], - }, - WidgetDef { - name: "Share", - css: &[], - js: &["share.js"], - funcs: &[ - ("ajaxGet", &["link"]), - ], - }, WidgetDef { name: "Shortcuts", css: &["shortcuts.css"], @@ -809,106 +355,15 @@ pub static WIDGETS: &[WidgetDef] = &[ funcs: &[ ], }, - WidgetDef { - name: "SpaceInfo", - css: &["spaceinfo.css"], - js: &["spaceinfo.js"], - funcs: &[ - ("ajaxEditMember", &["server", "node"]), - ("ajaxHttpGet", &["server", "node"]), - ("ajaxChangeConfiguration", &["server", "node", "data"]), - ("ajaxGetPendings", &["server", "node"]), - ("ajaxGetAffiliations", &["server", "node"]), - ("ajaxGetConfig", &["server", "node"]), - ("ajaxSetConfig", &["server", "node", "data"]), - ("ajaxGetAvatar", &["server", "node"]), - ("ajaxSetAvatar", &["server", "node", "form"]), - ("ajaxAskDestroy", &["server", "node"]), - ("ajaxDestroy", &["server", "node"]), - ("ajaxSetAffiliations", &["server", "node", "data"]), - ("ajaxInvite", &["server", "node"]), - ], - }, - WidgetDef { - name: "SpaceRooms", - css: &["spacerooms.css"], - js: &["spacerooms.js"], - funcs: &[ - ("ajaxHttpGetChat", &["server", "node", "id"]), - ("ajaxHttpGet", &["server", "node"]), - ("ajaxAskAdd", &["server", "node", "directoryId"]), - ("ajaxAdd", &["form"]), - ("ajaxAskEdit", &["conferenceId"]), - ("ajaxEdit", &["form"]), - ("ajaxSetHierarchy", &["server", "node", "id", "weight", "directoryId"]), - ("ajaxAskDestroy", &["server", "node", "id"]), - ("ajaxDestroy", &["server", "node", "id"]), - ("ajaxAskAddDirectory", &["server", "node"]), - ("ajaxAddDirectory", &["form"]), - ("ajaxAskEditDirectory", &["server", "node", "directoryId"]), - ("ajaxEditDirectory", &["form"]), - ("ajaxAskDestroyDirectory", &["server", "node", "directoryId"]), - ("ajaxDestroyDirectory", &["form"]), - ("ajaxSortDirectories", &["server", "node", "ids"]), - ], - }, - WidgetDef { - name: "SpacesMenu", - css: &["spacesmenu.css"], - js: &["spacesmenu.js"], - funcs: &[ - ("ajaxGetOwnAffiliation", &["server", "node"]), - ("ajaxGetRooms", &["server", "node"]), - ("ajaxManageInvitation", &["server", "node", "jid"]), - ("ajaxAcceptInvitation", &["server", "node", "jid"]), - ("ajaxDenyInvitation", &["server", "node", "jid"]), - ("ajaxJoinFromUri", &["form"]), - ("ajaxJoin", &["server", "node"]), - ("ajaxLeave", &["server", "node"]), - ("ajaxAddSubscription", &["server", "node"]), - ("ajaxRemoveSubscription", &["server", "node"]), - ("ajaxGetSpaceInfo", &["server", "node"]), - ("ajaxHttpGet", &["server", "node", "conference", "isMobile"]), - ("ajaxAdd", &["server", "node"]), - ("ajaxCreate", &[]), - ("ajaxCreateConfirm", &["form"]), - ("ajaxLockedMenu", &["server", "node"]), - ("ajaxLeaveMenu", &["server", "node"]), - ], - }, WidgetDef { name: "Stickers", css: &["stickers.css"], js: &["stickers.js"], funcs: &[ ("ajaxSend", &["to", "id", "muc"]), - ("ajaxShow", &["to", "packName"]), ("ajaxReaction", &["mid"]), ("ajaxSearchGifs", &["keyword", "page"]), ("ajaxSendGif", &["to", "gifId", "muc"]), - ("ajaxSmileyGet", &["string"]), - ], - }, - WidgetDef { - name: "Stories", - css: &["stories.css"], - js: &["stories.js"], - funcs: &[ - ("ajaxOpenChat", &["jid"]), - ("ajaxHttpGet", &[]), - ], - }, - WidgetDef { - name: "StoriesViewer", - css: &["storiesviewer.css"], - js: &["storiesviewer.js"], - funcs: &[ - ("ajaxHttpGet", &["id"]), - ("ajaxHttpGetNext", &["before"]), - ("ajaxClose", &[]), - ("ajaxDelete", &["id"]), - ("ajaxDeleteConfirm", &["id"]), - ("ajaxSendComment", &["id", "comment"]), ], }, WidgetDef { @@ -918,20 +373,6 @@ pub static WIDGETS: &[WidgetDef] = &[ funcs: &[ ], }, - WidgetDef { - name: "Syndication", - css: &[], - js: &[], - funcs: &[ - ], - }, - WidgetDef { - name: "System", - css: &[], - js: &[], - funcs: &[ - ], - }, WidgetDef { name: "Tabs", css: &[], @@ -952,27 +393,15 @@ pub static WIDGETS: &[WidgetDef] = &[ js: &["upload.js"], funcs: &[ ("ajaxGetPanel", &[]), - ("ajaxHttpError", &[]), - ("ajaxHttpUploadXMPP", &["file"]), - ("ajaxHttpProgressXMPP", &["percentage"]), ("ajaxPrepare", &["file"]), - ("ajaxSend", &["file"]), ("ajaxFailed", &[]), ], }, - WidgetDef { - name: "UploadFile", - css: &[], - js: &[], - funcs: &[ - ], - }, WidgetDef { name: "Vcard4", css: &[], js: &[], funcs: &[ - ("ajaxGetVcard", &[]), ("ajaxVcardSubmit", &["vcard"]), ], }, @@ -996,7 +425,6 @@ pub static WIDGETS: &[WidgetDef] = &[ ("ajaxContentModify", &["to", "sdp", "id"]), ("ajaxJoinMuji", &["to", "withVideo"]), ("ajaxLeaveMuji", &["to"]), - ("ajaxGetSFULobby", &["sfuJid", "conferenceJid", "calling", "withVideo", "id"]), ("ajaxGetMujiLobby", &["to", "calling", "withVideo", "id"]), ("ajaxGetLobby", &["jid", "calling", "withVideo", "id"]), ("ajaxMujiPrepare", &["to", "withVideo"]), diff --git a/templates/BottomNavigation/bottomnavigation.html b/templates/BottomNavigation/bottomnavigation.html index b5e83d1..44f0795 100644 --- a/templates/BottomNavigation/bottomnavigation.html +++ b/templates/BottomNavigation/bottomnavigation.html @@ -19,11 +19,11 @@
  • - notifications + person_add diff --git a/templates/Navigation/navigation.html b/templates/Navigation/navigation.html index 7512c51..7cb2467 100644 --- a/templates/Navigation/navigation.html +++ b/templates/Navigation/navigation.html @@ -13,16 +13,16 @@
  • - notifications + person_add
    -

    {{ __('notifs.title') }}

    +

    {{ __('contactrequests.title') }}

  • - notifications + person_add

    {{ __('invitations.no_new') }}

    {% endif %} diff --git a/templates/views/chat.html b/templates/views/chat.html index 0205165..130ca6b 100644 --- a/templates/views/chat.html +++ b/templates/views/chat.html @@ -1,9 +1,7 @@ {{ widgets.Search|safe }} {{ widgets.Stickers|safe }} {{ widgets.Notifications|safe }} -{{ widgets.SendTo|safe }} {{ widgets.ContactActions|safe }} -{{ widgets.AdHoc|safe }} {{ widgets.ChatOmemo|safe }}