- return 0 if in _install_package_into_gentoo_database() the world file is not found
- catch UnicodeDecodeError and UnicodeEncodeError while reading and writing the world file
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2236 cd1c1023-2f26-0410-ae45-c471fc1f0318
- complete basic SSL support
Entropy/RepoInterface:
- make entropy clients to download server certificates correctly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2232 cd1c1023-2f26-0410-ae45-c471fc1f0318
- SSL: also issue load_client_ca()
- SSL: handle more SSL exceptions correctly
Entropy/RepositorySocketClientInterface:
- handle both pyopenssl and socket.ssl (as fallback) properly, this will make SSL support more solid
- test some stuff, please be patient, still working on fine tuning some details
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2231 cd1c1023-2f26-0410-ae45-c471fc1f0318
- update create_ca_certs() and rename it to create_ca_server_certs()
- make SSL certificates creation fully automated
Entropy/ServerInterface:
- make upload_database() to push both server and CA certificates
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2223 cd1c1023-2f26-0410-ae45-c471fc1f0318
- update addRepository() make it set the ssl_service_port parameter too
Entropy/phpbb3 Auth Interface:
- when updating session information, do not overwrite browser_string and session_admin to preserve browser's cookie validity
Entropy/ServerInterface:
- make it upload the repository's CA certificate too, if found
Entropy/SocketHostInterface:
- complete the SSL implementation, adding CA certificates functions too
Entropy/RepositorySocketClientInterface:
- start to implement SSL support
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2218 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add ssl_port parameter to etpRepositories, making it configurable
- update entropyTools.saveRepositorySettings() accordingly
Entropy/constants:
- add CA.crt and CA.key constants that will be used by the new SSL code in SocketHostInterface
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2215 cd1c1023-2f26-0410-ae45-c471fc1f0318
- store IP address inside session data
- update commands to make them use the new session param above
Entropy/repository daemon template:
- sync with API changes
Entropy/phpbb3 Auth Interface:
- use TABLE_PREFIX variable to be more compatible with exotic settings
- implement _update_session_table() to handle users activity
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2208 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add FAKE_USERNAME, general purpose username
- add get_user_id()
Entropy/phpbb3 Auth Interface:
- reimplement FAKE_USERNAME and get_user_id()
Entropy/SocketHostInterface:
- remove session from authenticator arguments
- create a new authenticator function called set_session() to provide session id information to the authentication module
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2198 cd1c1023-2f26-0410-ae45-c471fc1f0318
- check if a reconnection is needed when calling check_connection()
Entropy/SocketHostInterface:
- remove Authenticator instance, the authenticator will be instantiated within every thread
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2191 cd1c1023-2f26-0410-ae45-c471fc1f0318
- update USE flag handling to new schemas
Entropy/SocketHostInterface:
- update killall() to work better when killing threads
Entropy/Repository Interface:
- update killall() here too
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2190 cd1c1023-2f26-0410-ae45-c471fc1f0318
- change default SSL port to 1027
- add killall() function to close some threads correctly
Entropy/entropy-repository-daemon example:
- update it to support SSL and non-SSL connections at the same time
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2189 cd1c1023-2f26-0410-ae45-c471fc1f0318
- updated TODO
- move enzyme to electron
- move enzymelib to managerTools
Entropy/exceptionTools:
- add some new exceptions
Entropy/Authenticators:
- started to implement phpbb3 authenticator to be used with EAPI=3 Services
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2184 cd1c1023-2f26-0410-ae45-c471fc1f0318
- first bunch of code implemented, using urwid library
- application name = Enzyme
Entropy/entropyTools:
- improved parallelTask(), make it use *args and **kwargs
- fixed code accordingly
- some new functions
Entropy/outputTools:
- make shell output function faster by reducing call time
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2179 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make configuration files protection faster and fix a bug which caused to protect files belonging to unprotected directories (bad use of .startswith())
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2176 cd1c1023-2f26-0410-ae45-c471fc1f0318
- updated TODO
Entropy/ServerInterface:
- move EntropyDatabaseInterface.doServerDatabaseSyncLock() to ServerInterface to allow handling db instances correctly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2167 cd1c1023-2f26-0410-ae45-c471fc1f0318