- add a new disallow_redirect parameter, that makes urlFetcher.download() to return an error in case of URL redirects
- enable disallow_redirect when downloading repository data (RepoInterface.run_sync())
- avoid to return an error if urlFetcher.download() fails due to issues with our custom User-Agent when downloading from HTTP
Entropy/Socket Services:
- create a parent class SocketCommandsSkel which acts as skeleton to any SocketHostInterface command class, this avoids having to declare register() matching a proper signature not even documented (until this commit)
- some slight fixes/updates in the BasicPamAuthenticator class, change docmd_userdata() API removing unneeded parameters
- make BuiltInCommands class a subclass of SocketCommandsSkel and remove register() since it's now inherited
- get_new_session() now creates 4 more keys in the session dictionary for easy reference: admin, moderator, user, developer indicating the post-authentication user level
Entropy/phpbb3Authenticator:
- update API to reflect the changes in SocketHostInterface
Entropy/Repository Services interface:
- add a new commands class (phpbb3Commands) that can be used to extend functionalities when using the phpbb3 authenticator
Entropy/Electron:
- more preliminary work on the login and widgets
Entropy/RepositoryCommands:
- make it a subclass of SocketCommandsSkel too
Entropy/RepositorySocketServerInterface:
- make external_cmd_classes keyword argument to work correctly
- update get_logged_user_data() to reflect changes in server API
- add 3 new functions (self explanatory): is_administrator(), is_moderator(), is_developer(), is_user()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2248 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
- 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
- do not flush stdout every now and then
Entropy/Socket Interface:
- handle socket errors and timeouts in CommandProcessor.process()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2117 cd1c1023-2f26-0410-ae45-c471fc1f0318
- fix choice selection when asking to run the queue. if No, break the branches cycle and don't sync databases (if not successfull_mirrors)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2009 cd1c1023-2f26-0410-ae45-c471fc1f0318
- updated TODO
- some slight speed improvements here and there
- allow to configure activator packages expiration days in ENV by setting ETP_EXPIRATION_DAYS
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1937 cd1c1023-2f26-0410-ae45-c471fc1f0318
- fix a huge caching issue, cache got trashed every now and then because etpCache['repolist'] file couldn't be found
- this made Spritz to load instantanly when world cache is available
Entropy/ServerInterface:
- made packages removal possible for reagent (migrated code over)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1707 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make scan_package_changes multi repositories aware
- introduce server-side atomMatch (to match atoms across multiple server repos)
- make dependencies_test to run on multiple repositories
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1683 cd1c1023-2f26-0410-ae45-c471fc1f0318
- move server repositories configuration in server.conf (see example file)
- make multiple repositories possible at configuration level (handling not yet done)
FOR SERVER USERS, MOVE YOUR MIRROR DATA FROM activator.conf TO server.conf
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1670 cd1c1023-2f26-0410-ae45-c471fc1f0318