view README4PACKAGERS @ 1030:15f43b54d697

core, memory, bridge: added profile password + password encryption: /!\ This changeset updates the database version to 2 and modify the database content! Description: - new parameter General / Password to store the profile password - profile password is initialized with XMPP password value, it is stored hashed - bridge methods asyncCreateProfile/asyncConnect takes a new argument "password" (default = "") - bridge method asyncConnect returns a boolean (True = connection already established, False = connection initiated) - profile password is checked before initializing the XMPP connection - new private individual parameter to store the personal encryption key of each profile - personal key is randomly generated and encrypted with the profile password - personal key is decrypted after profile authentification and stored in a Sessions instance - personal key is used to encrypt/decrypt other passwords when they need to be retrieved/modified - modifying the profile password re-encrypt the personal key - Memory.setParam now returns a Deferred (the bridge method "setParam" is unchanged) - Memory.asyncGetParamA eventually decrypts the password, Memory.getParamA would fail on a password parameter TODO: - if profile authentication is OK but XMPP authentication is KO, prompt the user for another XMPP password - fix the method "registerNewAccount" (and move it to a plugin) - remove bridge method "connect", sole "asyncConnect" should be used
author souliane <souliane@mailoo.org>
date Wed, 07 May 2014 16:02:23 +0200
parents 127c96020022
children d732bb68b326
line wrap: on
line source

First of all, thank you for packaging SàT :)


############
Dependencies
############

SàT requires Python 2.7.
You will find below the list of Python modules the backend and the frontends depend on, as well as additional information.

------------------------------
Dependencies for SàT's backend
------------------------------

dbus
lxml
Mutagen
PIL
PyCrypto
PyFeed
Twisted Core
Twisted Mail
Twisted Web
Twisted Words
Wokkel
XDG
xe
zope.interface

Recommended: markdown, html2text

--------------------------------
Dependencies for the Jp frontend
--------------------------------

PyGI (PyGObject 3)

Recommended: progressbar

----------------------------------------
Dependencies for the Primitivus frontend
----------------------------------------

dbus
Urwid
Urwid-satext
GObject (not imported directly in Primitivus, but needed for Urwid's main loop)

Suggested: Python X Library (for user notifications in a graphical session)

---------------------------------
Dependencies for the Wix frontend
---------------------------------

wxPython

--------------------------------------
Dependencies for the Libervia frontend
--------------------------------------

pyjamas (for building only)
txJSON-RPC

Recommended: pyOpenSSL


##################
Satellite projects
##################

Several project have been made around SàT, they are all available at http://repos.goffi.org:

	- Libervia: the both Ajax and static web frontend.

	- SàT PubSub: a PubSub service which manage experimental features like fine permission tuning.

	- SàT media: Media needed by the frontends.

	- Urwid SàText: Widgets for urwid library, designed for SàT but can be useful for other projects. Mandatory for Primitivus.

The following ones are not needed in a distribution, because there are in too early a stage of development, or not useful for general purpose:

	- Bellaciao: a Qt frontend, at an early stage of development.

	- Salut: an XMPP directory, at a very early stage of development.

	- SàT Website: the code of the website.


########
Licences
########

We are careful about the licences we use. Our projects are licenced as follow:

	- Libervia, SàT PubSub, Bellaciao, Salut, SàT Website: AGPL v3+

	- Urwid SàText: LGPL v3+

When an external code is included (portion or library), we indicate the source and the licence, and we are careful to take Libre licences only. If we made a mistake somewhere, please let us know.

The case of SàT Media is particular are there is a compilation of media from severals sources. SàT Logo was made by Adrien Vigneron and is under CC By-SA. Other works are all under Free licences, licences are specified in the base directory of each package.


#####################
Packages and versions
#####################

We have packaged Wix, Primitivus, and Jp with the core backend, as we think theses frontends should be shipped with each SàT distribution. But allowing them to be installed separately would be good: for example, Wix will be useless for a server or non-graphical workstation.

Libervia is distributed as a separate package because of its specificities (it's a huge project by itself, it uses Pyjamas Python => JS Compiler, etc.). But it's part of the same project.

All the official frontends have the same version number, which is the version of the backend they use.


#######
Updates
#######

There is a SQLite database per user (default in ~/.sat.db, we don't follow XDG base directory specifications yet); it is updated automatically if there is a schema change.


##############
Contrat social
##############

The social contract is an important part of the project, please don't forget to distribute it along with SàT.


#############
Miscellaneous
#############

There is a completion file for Zsh which detects the parameters of Jp. It's available in the misc/ directory (.jp) and must be available in a path included in user's fpath.
The translations are global to all the frontends (no translations available in Libervia yet). There are not up-to-date for 0.4 version.


Thank you again for you help; don't forget to give us your name and contact email so we can credit you, and don't hesitate to contact us if you have any question (on the sat XMPP room at sat@chat.jabberfr.org, or check README for individual contacts).