From d3e5e4cafed015ae5187303d827e000de98ad0aa Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 24 May 2022 16:34:05 -0700 Subject: [PATCH] what theming is possible; tor section; a few icons --- docs/profiles/unlock-profile.md | 2 +- docs/tor.md | 37 ++++++++++++++++++++++++++++++++ src/css/custom.css | 26 ++++++++++++++++++++++ static/img/Tor_icon.png | Bin 0 -> 919 bytes static/img/lock_open-24px.webp | Bin 0 -> 376 bytes 5 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 docs/tor.md create mode 100644 static/img/Tor_icon.png create mode 100644 static/img/lock_open-24px.webp diff --git a/docs/profiles/unlock-profile.md b/docs/profiles/unlock-profile.md index 8a56338a..daca6a9b 100644 --- a/docs/profiles/unlock-profile.md +++ b/docs/profiles/unlock-profile.md @@ -6,6 +6,6 @@ sidebar_position: 5 When you restart Cwtch, if you used a [password](/docs/profiles/change-password/) on your profile, it will not be loaded by default, you need to unlock it. -1. Press the pink unlock icon +1. Press the pink unlock icon unlock icon 2. Input your password 3. Click “unlock your profile” \ No newline at end of file diff --git a/docs/tor.md b/docs/tor.md new file mode 100644 index 00000000..1e8c2b89 --- /dev/null +++ b/docs/tor.md @@ -0,0 +1,37 @@ +--- +sidebar_position: 5 +--- + +# Tor + +Cwtch uses [Tor](https://www.torproject.org/) to provide routing and connections. Using Tor hidden services to host profiles and on the fly generated "ephemeral" connections when making a connection provides strong anonymity guarantees to users of Cwtch. + +## Tor Pane + +Since we are adding an additional networking layer to Cwtch, we provide a pane to view Tor network status and make changes. To access it + +1. From the profile list pane, click the Tor icon ![tor icon](/img/Tor_icon.png) +2. View the tor network status + +``` +Tor Status: Online +Tor Version: 0.4.6.9 +``` + +### Reset Tor + +The Tor network itself can occasionally have stale connections that aren't detected immediatly by it or Cwtch (we're always trying to improve this). Sometimes a user may find contacts or groups appearing offline they feel should be online. If you'd like to restart all the networking connections in Cwtch, we provide a mechanism to reboot tor from within the app. The **reset** button will reboot Tor from within the Cwtch app. + + +### Cache Tor Consensus + +By default we start a fresh Tor process every time the app boots, and it requires downloading some Tor network state before it can start. This process is not instant. If you want to speed up Cwtch booting, you can enable Caching Tor Conensus to speed up future boots. If you run into a boot problem where the data is stale or corrupted and Cwtch is reporting it cannot boot Tor, disable this feature and **reset** tor again, and it should work. + +### Advanced Tor Configuration + +We also offer the option to provide advance Tor configuration option in this section by allowing you to + +- Specify a custom SOCKS port to connect to an existing Tor over +- Specify a custon Control port to connect to an existing Tor over +- and specify further options by entering custom `torrc` options + diff --git a/src/css/custom.css b/src/css/custom.css index 2bc6a4cf..87d846bb 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -4,7 +4,16 @@ * work well for content-centric websites. */ +:root { + --ifm-color-primary: #8E64A5; + --ifm-font-color-base: #350052; + --ifm-navbar-background-color: #FDF3FC; + --ifm-code-font-size: 95%; + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); +} + /* You can override the default Infima variables here. */ +/* docusaurus light :root { --ifm-color-primary: #2e8555; --ifm-color-primary-dark: #29784c; @@ -16,8 +25,18 @@ --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } +*/ + /* For readability concerns, you should choose a lighter palette in dark mode. */ +[data-theme='dark'] { + --ifm-color-primary: #DFB9DE; + --ifm-font-color-base: #FDF3FC; + --ifm-navbar-background-color: #281831; + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); +} + +/* docusaurus dark [data-theme='dark'] { --ifm-color-primary: #25c2a0; --ifm-color-primary-dark: #21af90; @@ -28,3 +47,10 @@ --ifm-color-primary-lightest: #4fddbf; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } +*/ + +.ui-button { + background-color: #FDF3FC; + width: 24px; + height: 24px; +} \ No newline at end of file diff --git a/static/img/Tor_icon.png b/static/img/Tor_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..0c871e9fa17285d24fc57ad5b4c24be9ab8d4dbf GIT binary patch literal 919 zcmV;I18Dq-P)Fzwfyce~-1E-&`#bmCdk*wK)Uo;6_VoaK7ci9bD;9--xQ1=7Z|KER? zbb|nJE3g9?1a1dj2ewDVmtFE-E$SxqdG(BXSp7rY+;iX(fdlGE^*41!ePA)cm#S0# zE6*$%coNuL0^e81N3A4O9|TqccckhE;MqF9>R!VMU?XrG_zu_`5$9_9swe7OIo_Q| zP%HBn@(``av2oeD_XO1SrR8LfyVXW3`>u+*GasC*)B$x^{V9*(pn7GmfLEw*s;?#J z>U;-Qs!x`#UYmvJb1#*5yAlm`i~4D~#;a@9(VX9t)o`2t zm9Ny1g@E6re%Abw{L)qG@?1AE54PssR0|UCEQG*^>eV^#QwK|Xp)=|9C)P^jZumS%mHVCc1`HoR?2qe_&i0)od#xsdx3)yVS=v)ZUN4upE=-$HvT4C zDceQhTi`C>V&3Jkh&Wl=e-toMMq?0I z2CPfFR`O9qOm#}&ec(omIzIz^4?G5-E~ChN5_CQAD{ym#uRT>Dl>{PU4tN@P8yE&o z0Xx)@jLK+> zn@v&g2VMm}0KNfkqd1ZY;0fSiid<;QU%-pN3lT9pAB_2sSgww%pJdUwpw8vb9FM6l td1=SgR%$g3YClERH|zab;B=kN_;1-eL7FPI;&=c6002ovPDHLkV1k#Ur>_72 literal 0 HcmV?d00001 diff --git a/static/img/lock_open-24px.webp b/static/img/lock_open-24px.webp new file mode 100644 index 0000000000000000000000000000000000000000..a913757a33124560f2415fadf96ed715392ec1c6 GIT binary patch literal 376 zcmV-;0f+ulNk&F+0RRA3MM6+kP&il$0000G0000-002h-06|PpNEQJA00EG?ZQJ>G z@7Lcr+f3_gHY1Xg71z9FD|`D3Y^&L}t!H>XINoR54=Exhfc>HCqN*p3UtbTp%7T@Y z42q6HES8@zP`9KiCzfU@l=kqG07uHGEXB& zw6r9og{LFLQJO0<&C?^Ilcq;@d6FM_`ZnM%5ODvmfN}XhjxK%d=4LcaOU`-@&>1UY zx;YS>*3!xVk*T!C#f;Lr7IXb=T+$j7GeRp(ObRXSjL?*Z7PFecrYspTrcE8Wz8+4| zFmiJLAH(zCzkj1vP&gno0000G1OS}@Do6lG06vjOp-iQuBO)P40I(7XX#fBT@uNnK W8Z>CpqegxJ0RH&S@kjsw0001Ro}GjM literal 0 HcmV?d00001