From da5012d6ac9806a889502fa53faa360aef203488 Mon Sep 17 00:00:00 2001 From: M Sarmad Qadeer Date: Mon, 22 Aug 2022 15:20:41 +0500 Subject: [PATCH] remove special characters from the links --- ...atabase-export-import-protocol-improvements.md | 2 +- ...723-simplex-chat-v3.1-tor-groups-efficiency.md | 6 +++--- blog/20220808-simplex-chat-v3.1-chat-groups.md | 4 ++-- website/src/_includes/layouts/article.html | 15 +++++++++++++-- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/blog/20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md b/blog/20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md index 7828fb3f0d..b3ebc2aaa0 100644 --- a/blog/20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md +++ b/blog/20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md @@ -15,7 +15,7 @@ date: 2022-07-11 ### Instant notifications for iOS -I wrote previously about [our design for iOS notifications](./20220404-simplex-chat-instant-notifications.md#problem---users-expect-to-be-instantly-notified-when-messages-arrive!) - this is now released. The app will offer to migrate the database when updated, and then you need to choose notifications mode – instant or periodic push notifications, or previously available periodic background refresh that does not use push notifications. +I wrote previously about [our design for iOS notifications](./20220404-simplex-chat-instant-notifications.md#problem---users-expect-to-be-instantly-notified-when-messages-arrive) - this is now released. The app will offer to migrate the database when updated, and then you need to choose notifications mode – instant or periodic push notifications, or previously available periodic background refresh that does not use push notifications. To deliver the notifications to iOS devices we use our notification server, as there is a single private key that Apple issues for the app. This server has minimal amount of information about your chat activity: diff --git a/blog/20220723-simplex-chat-v3.1-tor-groups-efficiency.md b/blog/20220723-simplex-chat-v3.1-tor-groups-efficiency.md index 6ccd87cad9..a70fb4cf8d 100644 --- a/blog/20220723-simplex-chat-v3.1-tor-groups-efficiency.md +++ b/blog/20220723-simplex-chat-v3.1-tor-groups-efficiency.md @@ -10,8 +10,8 @@ date: 2022-07-23 ## What's new -- terminal app: [access to messaging servers via SOCKS5 proxy](#terminall-app:-access-to-messaging-servers-via-socks5-proxy-/-tor) (e.g., Tor). -- mobile apps: [join and leave chat groups](#mobile-apps:-join-and-leave-chat-groups). +- terminal app: [access to messaging servers via SOCKS5 proxy](#terminall-app-access-to-messaging-servers-via-socks5-proxy--tor) (e.g., Tor). +- mobile apps: [join and leave chat groups](#mobile-apps-join-and-leave-chat-groups). - [optimized battery and traffic usage - up to 90x reduction!](#optimized-battery-and-traffic-usage---up-to-90x-reduction). - [two docker configurations for self-hosted SMP servers](#docker-configuration-for-self-hosted-smp-servers). @@ -70,7 +70,7 @@ We are building a new platform for distributed Internet applications where priva ### The first (and the only?) messaging platform without user identifiers of any kind - 100% private by design! -To protect identities of users and their connections, instead of user identifiers visible to the servers and/or the network (that are used by all other messaging platforms), SimpleX Chat uses [pairwise identifiers](https://csrc.nist.gov/glossary/term/Pairwise_Pseudonymous_Identifier) of connections between the users – there are two queues in each connection, each queue having 2 different identifiers to send and to receive the messages. It increases the number of used identifiers to the square of the number of users, making it more difficult (or impossible) to determine who is talking to whom. I [wrote previously](./20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md#why-having-users'-identifiers-is-bad-for-the-users?) why it is bad for the users' privacy to have any identifiers, even random numbers, associated with their profiles. +To protect identities of users and their connections, instead of user identifiers visible to the servers and/or the network (that are used by all other messaging platforms), SimpleX Chat uses [pairwise identifiers](https://csrc.nist.gov/glossary/term/Pairwise_Pseudonymous_Identifier) of connections between the users – there are two queues in each connection, each queue having 2 different identifiers to send and to receive the messages. It increases the number of used identifiers to the square of the number of users, making it more difficult (or impossible) to determine who is talking to whom. I [wrote previously](./20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md#why-having-users-identifiers-is-bad-for-the-users) why it is bad for the users' privacy to have any identifiers, even random numbers, associated with their profiles. ### If SimpleX has no user identifiers, how can it deliver messages? diff --git a/blog/20220808-simplex-chat-v3.1-chat-groups.md b/blog/20220808-simplex-chat-v3.1-chat-groups.md index 3ccd4e0c5a..5a6966f486 100644 --- a/blog/20220808-simplex-chat-v3.1-chat-groups.md +++ b/blog/20220808-simplex-chat-v3.1-chat-groups.md @@ -85,9 +85,9 @@ Some links to answer the most common questions: [How can SimpleX deliver messages without user identifiers](./20220511-simplex-chat-v2-images-files.md#the-first-messaging-platform-without-user-identifiers). -[What are the risks to have identifiers assigned to the users](./20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md#why-having-users'-identifiers-is-bad-for-the-users?). +[What are the risks to have identifiers assigned to the users](./20220711-simplex-chat-v3-released-ios-notifications-audio-video-calls-database-export-import-protocol-improvements.md#why-having-users-identifiers-is-bad-for-the-users). -[Technical details and limitations](./20220723-simplex-chat-v3.1-tor-groups-efficiency.md#privacy:-technical-details-and-limitations). +[Technical details and limitations](./20220723-simplex-chat-v3.1-tor-groups-efficiency.md#privacy-technical-details-and-limitations). [How SimpleX is different from Session, Matrix, Signal, etc.](https://github.com/simplex-chat/simplex-chat/blob/stable/README.md#frequently-asked-questions). diff --git a/website/src/_includes/layouts/article.html b/website/src/_includes/layouts/article.html index ca633e81c5..fa60f59f14 100644 --- a/website/src/_includes/layouts/article.html +++ b/website/src/_includes/layouts/article.html @@ -62,8 +62,7 @@ top: y, behavior: 'smooth' }); - } - else { + } else { window.open(e.target.href, "_self"); } } @@ -102,6 +101,18 @@ behavior: 'smooth' }); } + + + document.querySelectorAll("[id]").forEach((element) => { + let str = element.getAttribute("id"); + str = str.split(":").join(""); + str = str.split("?").join(""); + str = str.split("/").join(""); + str = str.split("!").join(""); + str = str.split("'").join(""); + + element.setAttribute("id", str); + });