GithubHelp home page GithubHelp logo

deltachat / deltachat-pages Goto Github PK

View Code? Open in Web Editor NEW
67.0 20.0 62.0 194.01 MB

Delta Chat Website

Home Page: https://delta.chat/

License: GNU General Public License v3.0

HTML 58.01% Ruby 0.26% Shell 6.72% JavaScript 2.25% Python 10.12% SCSS 18.97% CSS 2.36% Nix 1.31%
messenger android deltachat

deltachat-pages's Introduction

Delta Chat Website

This repository contains the default website of Delta Chat - feel free to edit any file as you like and send a pull request.

Formatting of blog posts and web pages

In the various source text files that are used for generating the static https://delta.chat website we use Semantic linefeeds to keep "diffs" for changes small. The gist of it is that you put each "phrase" part of a sentence into a single line.

How to create a new blog post

  • In the directory _posts create new file in the form YYYY-MM-DD-title.md e.g by copying an existing file.

  • Write your blog post to the file and do not forget to add or modify the title: and author: line atop it.

  • images up to a width of ~400px can be added with <img style="float: left" ...> or <img style="float: left" ...> - on small mobile screens, where floating is barely possible, these images will get their own paragraph in case you add an empty line after the images (also see existing blog posts as a pattern)

  • for larger images or if you do not want floating, omit the floating rule and just use <img ...> followed by an empty line; these images always get their own paragraph then

  • That's all, the result goes to https://delta.chat/en/blog , and the RSS-Feed.

Testing changes

  • You can create your fork on GitHub and GitHub pages; the forked website will then be available at https://<your-username>.github.io/deltachat-pages/

  • If you have Nix installed, you can build website preview in result/ with nix build or run nix develop and start jekyll serve in development shell to have live preview at http://127.0.0.1:4000/en/ If you don't have Nix installed, you can install it with The Determinate Nix Installer.

  • Alternatively, install Jekyll on your local machive, run bundle install in this directory, and execute bundle exec jekyll serve. Then open http://127.0.0.1:4000/en/ in a browser to preview the English version of the website.

  • If you get Ruby dependency problems, you can also build the page in a docker container:
    sudo docker run -i -p 4000:4000 -v $PWD:/srv/jekyll -v $PWD/_site:/srv/jekyll/_site jekyll/builder:3 /bin/bash -c "chmod 777 /srv/jekyll && jekyll serve"
    You can open the page in the browser at http://localhost:4000.

Directory structure

  • /en - Contains the source language files in Markdown. Can be edited directly.

  • /de, /es, fr … - Contain the translated files, use Transifex to edit them; you MUST NOT edit any file in these directories, they will be overwritten with the next pull from Transifex.

  • /_layouts - This directory contains a default layout template for each language (the layout is referenced in Markdown using layout: name)

  • /assets - Page specific images and files; in general, we use one subdirectory per page or section.

  • /assets/css - CSS and layout specific images and files.

Translate the website

You can edit and improve the existing translations with Transifex. To update existing translations from the Transifex server, see the scripts in the tools folder.

Initial setup

  • make sure translate-toolkit and transifex-client are installed

  • run following commands (answer n to the question Do you want to delete it and reinit the project? [Y/n]:)

cd ./tools
tx init --user=api --pass=<your api token>
tx set --auto-remote https://www.transifex.com/projects/p/delta-chat-pages/
# fix historical typo in word verifiy
sed -i s#translations/delta-chat-pages.verifiy-downloadspo#translations/delta-chat-pages.verify-downloadspo# .tx/config

for more info see the comments in ./tools/t-dance.sh.

Add a new language

  • create the directory /<lang>

  • add the language to tlangs in tools/t-dance.sh and run ./tools/t-dance.sh pull. copy files not handled by Transifex (./en/gdpr*) and adapt the header.

  • check the language selection in /_includes/footer-languages.html.

  • the following step is outside the scope of this repo: add a server-redirect, template is at https://github.com/deltachat/sysadmin/blob/master/page/delta.chat/delta.chat

Update translations

  • run ./tools/t-dance.sh pull

Add a new page

  • create the source as en/<name>.md

  • modify tools/.tx/config - add a section for the new page

  • modify tools/t-dance.sh - add your page to sfiles variable

  • after merging, from master, run ./tools/t-dance push--do-this-only-from-master

  • after that, you may want to give the file a meaningful name on Transifex ("Dashboard / Delta Chat Website / Resources / en.po", then in the upper right menu "Settings / Name" - leave "Slug" unchanged)

Update typos in sources

Updating typos in the english sources that shall not result in retranslations is a bit tricky:

The english source is used as the ID for the translations - fixing a typo will change the ID an will result in translations needed to be redone.

Currently, this can be handled only manually:

  • fix the typo, grammar minor change
  • run ./tools/t-dance push--do-this-only-from-master and then ./tools/t-dance.sh pull
  • use git diff to check if translations are missing, if so, go to the string on Transifex, the old translation is typically shown as a suggestion

Of course, that can also be done by the translators, but it is good to have that in mind, and avoid unnecessary changes on the english sources.

If a retranslation is wanted, of course, all these manual steps are not needed. Same for the blog that is not translated.

Further Hints

  • wherever possible, use Markdown instead of HTML, esp. in files for translation.

  • no JavaScript wherever possible, no weird CSS nor other complicated things.

  • the layout should be as simple as possible and should always work on small mobile screens as well as on desktops.

  • when layouting, do not force a special structure. Header, Content, Footer - done.

  • no complex navigation - Simply link subpages from the main pages.

  • no one-page-layout - we also have sites with long text, and we do not want to have separate layouts.

  • we do not want a complex navigation, some toplinks, a footer, done.

  • Remember: Form follows function, KISS. The site should be dead-simple.

  • Finally: Have fun :)

License

Licensed GPLv3+, see the LICENSE file for details.

deltachat-pages's People

Contributors

adbenitez avatar ampli-fier avatar claudinux avatar comradekingu avatar dependabot[bot] avatar gerryfrancis avatar haeckser avatar hocuri avatar hpk42 avatar ibpx avatar imgbotapp avatar jankass avatar jikstra avatar kermoshina avatar lefherz avatar link2xt avatar luisfsr avatar missytake avatar netzoom avatar pabzm avatar r10s avatar ralphtheninja avatar rizzopablo avatar rosano avatar simon-laux avatar snan avatar testbird avatar ujdhesa avatar webratte avatar yettte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deltachat-pages's Issues

Create Burner Account entry page

For the upcoming Burner Account feature we need a nice entry page with graphics that explains what DC Burner Account is about.

Link to paypal donations not working properly

Hi,
on your web page the link or the settings to the donations via paypal is not set correctly https://paypal.me/deltachat/10

I tried to donate some money but it says

"Dieser Empfänger akzeptiert PayPal-Zahlungen nur über seine Webseite. Um diese Zahlung durchzuführen, besuchen Sie seine Webseite oder schreiben Sie den Empfänger direkt an."

Equals:
The recipient accepts paypal-payments only on his webppage. To make payments, visit his webppage or write the recipient a message

I want to you receive all donations that someone wants to send you without any obstacles. So please check an maybe correct the Paypal-Settings.

Maybe there are a few more people online that would donate or would have donated if they do not get this error message.

Best regards
Fox

Subsitute "alignment" in GDPR page with something more intuitive

Hello,

The string in question is the following:

  • Data minimization: No alignment or uploading of the address-book content.

If my understanding of the explanation offered to me is correct, the alignment here means the ability of a service to peak at your address book (without your knowledge?) and copy from your data.

The word chosen doesn't convey this meaning, at least not at the first contact. If changing it is not an option, at least a translator's comment in the string might help.

Regards,
Besnik

License?

There is a file called LICENSE in the repository which contains the GPLv3 but in the individual files and the readme nothing refers to it. Therefore, it is not clear if the GPL is applicable.

Also, if I use the CSS and just change the colors, will it be enough to simply add the LICENSE file and a GPL header? I mean, everyone can download it with some developer tools.

Reference: https://www.gnu.org/licenses/gpl-howto.en.html

List contributors

I think we should list the contributor names somewhere on the website, however, maybe we should ask before? Not sure.

However, maybe whoever want to be mentioned could just confirm this here? @Ampli-fier @testbird @csb0730 @thorstenb @Hocceruser @staviss @vitalyster @Almtesh @guland2000 @Poussinou @aligitor @toddy15 @zenoganter @netzoom @Claudinux @rizzopablo @luisfsr @haeckser @ujdhesa @IBPX @soapernet @kskarthik @Sebek05 @comradekingu @kdltr @LindaYanez @gitkald @havengoer ... and probably others I forgot or are not here on Github.

Write blog post about electron

  • Why are we using electron?
  • Isn't electron insecure?
  • What measures have we gone through to make sure electron is secure to use?
  • How is the data stored and accessed through the JavaScript?
  • Application size in Electron?
  • Isn't JavaScript slow?

Need for a prominent help or wiki page for provider settings

Experience with new users first installation of DC with various providers shows most of time problems with provider settings.

  1. currently it's hard to find a detailed description how to set up known problematic provider's settings.
  2. current descriptons at support forum partly seems to be wrong or outdated.

For new users it's hard to find provider settings at current web site. So without assistance of experienced used of DC it's impossible for a standard user to commission DC to a working state. Most of new users will throw away DC if they will run into this issue.

A prominent provider wiki or help is needed.

needs a visual way to tell is encryption is active

From what I can tell
They're is no simple visual way to tell if the conversation is encrypted, if the message you are sending is encrypted (or expected to be encrypted)or if the message you received was encrypted or not.
Something like a little red openlock or red eye to say no encryption was used would be nice.
Or a green indicator to say encryption is in use and all is encrypted.

Problem with attached files

  1. Impossible send text message with attached file.
  2. If I send picture: in another e-mail program I see picture and BASE-64 code (as text).

Android 4.4.2, ARMv7, MTK6582.

FAQ: Security of Delta Chat in comparison

quote of the requests from the user:

  • discuss what is less secure than in PGP and in WhatsApp
    when keys are validated via QR setup message? [pfs, ...]
  • discuss metadata, you write
    "Delta Chat even protects your metadata (who writes to whom?)"
    How? This data is still available for the mail providers
    (which spreads this data more than on a centralized solution),
    as far I can see it does not encrypt headers or remove referrers,
    etc.
  • Differences between validated groups of 2 members vs.
    1-1 chat with mutual validation.
  • compare also to pep (pretty easy privacy) and show it is the
    better solution. I only did not install and test this app
    cause of its permissions required on Android.

Page about DSGVO/EU GDPR

@veit @hpk the idea was to add a page about the DSGVO/EU GDPR wrt Delta Chat.

Meanwhile, we can localize all pages from English to other languages, so maybe English would be fine. However, if the main target group is German, we could also create a page in /de which, however, cannot be translated through Transifex then (but it can be translated manually).

GDPR does not make much sense outside Europe

The GDPR session of the site does not make sense if you live outside Europe and make the app feel something eurocentrist. Also, there are other laws out there that touches in the same object, which is personal data protection as, for instance, Brazilian Law of personal data protection, approved in the current year (2018).

remove netfily rests

  • the netlify key
  • checks
  • the permission of netlify to this repo if it still exists

add GDPR to transifex

Hello,
the GDPR page is not available in Transifex so it can't be translated.

Are you waiting for the #96 ?

Linux desktop anbox instructions no longer work

en/help.md has a section about using deltachat on the linux desktop, that involves using anbox-installer. when i try to follow those instructions, i am told that anbox-installer is deprecated.

I haven't yet been able to figure out how to install anbox and get it working in any sensible way, so i don't have a patch to send you for the instructions, but you probably want to know that the instructions are currently not working. :(

GDPR badges

r10s
Found a badge for the GDPR , can be placed on the site delta.chat (in the application, I do not know whether it is necessary or not)
Looks cool, and right.

Add a "references" page

there could be a "references" page that links to blog post and articles about Delta Chat.

make codespeak.net serve as delta.chat MX

use on github an on twitter reported that the creation of a new account does not work due to missing activation messages.

the reason for this seems to be the missing DKIM and SPF support of the currently used mail server, v128803.kasserver.com, which is a shared hoster we cannot improve.
see https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2 wrt to discourse, DKIM and SPF.

one solution is to simply get to having the "delta.chat" use MX of codespeak.net.

changing the MX server should be possible on netlify.
@hpk42 you should have the credentials, if not, ping me :)

after that the forum configuration file should be changed, the link above gives some hints about this.
maybe @lefherz has more experience in this.

Add link to blog to the main menu

Currently there's no way to easy view all blog posts. Adding a link to delta.chat/<lang>/blog should solve this.

EDIT: Oh the menu entry is called news. But looked out for blog. Not sure what's more convenient.

Messages annoy in other email clents

I noticed that the (possibly encrypted ) messages appear also in my normal email client.
It would be a good default if the messages are deleted of the server after receiving.
And if someone wants to have the messages also on other email devices he could disable the auto-delete.

Link Netlify to deltachat/deltachat-pages directly

Originally, this repository was filed as r10s/deltachat-pages. This is also the repository Netlify used for delived the website from https://delta.chat.

One day, I created the deltachat organisation and moved the repository to deltachat/deltachat-pages.
Github created a redirect then, that was used by Netlify.

Everything was working well.

Then, I personally wanted to test sth. and created a fork of deltachat/deltachat-pages in my own account - which then results in r10s/deltachat-pages - and make the redirect no longer working. Took me a moment to find out the problem ...

As a first workaround, I then just removed r10s/deltachat-pages and everything works again.

However, to avoid this problem in the future, we should link Netlify to deltachat/deltachat-pages directly.

blog about typical e-mail concerns?

sometime eg. when the verified groups are final, i would suggest, someone should add a blog post about typical e-mail concerns as:

  • lots of meta data leakage -> modern e-mail implementations encrypt the subject and other headers (memoryhole) -> the receiver may get the ip-address of the sender vs. the typical walled garden server has all ip-addresses and the social graph of all people communicating there

  • pgp vs. forward secrecy vs. attaching the identity to a phone number

  • e-mail is slow - but maybe fast enough

  • e-mail was not created for messaging (so what :)

...

untranslatable paragraph

as @Sebek05 figured out, there is a single string in help.md that cannot be translated.

it's the first paragraph after https://delta.chat/en/help#can-i-re-use-by-existing-private-key :

although translated in the .po file, the resulting .md file does not contain the correct string, eg. in german:
https://delta.chat/de/help#kann-ich-meinen-bestehenden-privaten-schl%C3%BCssel-weiterverwenden

i have no idea for the reason, we use po2txt, maybe here are people around with more background on this tool.

maybe this bug is related to translate/translate#1601 ?

Metadata collection

The website reads "Anonymous: Metadata like Who communicates with Whom, When and Where is not collected".
Yet, email providers and 3rd party that can monitor network traffic between them can easily tell who's writing to whom and when.

Documentation to be extended - Wiki?

Documentation about features, functions and typical use cases should be started / extended.
It would be very welcome to align the various hints across the issue lists, wiki and website.

Maybe a documentation tree could be a good start?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.