- added handy functions to stream a dict to xml and vice versa
Entropy/UGCClientInterface:
- break API in favour of a more scalable UGC handling (providing title, desc, keywords support to every document in database)
- reflect changes in UGC Server interface
- implement file send (untested yet)
Entropy/DistributionUGCCommands:
- implement streamed files handling
- API break, reflect changes in UGC Database interface
Entropy/DistributionUGCInterface:
- break SQL schema, add entropy_docs_keywords table
- update entropy_docs related methods to support keywords, title and description (the latter when needed)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2307 cd1c1023-2f26-0410-ae45-c471fc1f0318
- rename method set_gzip_compression_on_rc to set_gzip_compression
- add support for sending files compressed through zlib
Entropy/SocketHostInterface:
- support streams compressed with zlib
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2298 cd1c1023-2f26-0410-ae45-c471fc1f0318
- implementation of the UGC login credentials handling interface completed
Entropy/UGCClientInterface:
- main UGC client-side interface outlined
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2291 cd1c1023-2f26-0410-ae45-c471fc1f0318
- adding all the server-side implemented commands
Entropy/RepositorySocketClientInterface:
- encode in utf8 before sending (I'll have to adjust decoding server-side too)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2289 cd1c1023-2f26-0410-ae45-c471fc1f0318
- move __str__ definition here
Entropy/DistributionUGCCommands:
- implement a first set of readonly commands for the User Generated Content infrastructure
Entropy/DistributionUGCInterface:
- complete and stabilize the real UGC database interface
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2280 cd1c1023-2f26-0410-ae45-c471fc1f0318
- fix is_repository_updatable(), return True if onlinestatus == -1
- remove old databases to avoid wasting space
Entropy/RemoteDbSkelInterface:
- this is a new generic skel class for MySQL connections
Entropy/DistributionAuthInterface:
- move basic methods to RemoteDbSkelInterface
Entropy/DistributionUGCInterface:
- first commit of the UGC interface that will be used by the Repository Manager
Entropy/phpBB3AuthInterface:
- make it a subclass of RemoteDbSkelInterface
Entropy/RepositoryManager:
- some misc updates (still incomplete)
Entropy/EntropyDatabaseInterface:
- fix listAllFiles method
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2274 cd1c1023-2f26-0410-ae45-c471fc1f0318
- move repository string parsing for both client and server to specific functions:
- const_extractClientRepositoryParameters()
- const_extractServerRepositoryParameters()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2252 cd1c1023-2f26-0410-ae45-c471fc1f0318
- store phpbb_users row into self.login_data
- make all the SQL queries using user_id instead of username_clean
Entropy/phpbb3Authenticator:
- update set_session() to reflect changes above
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2250 cd1c1023-2f26-0410-ae45-c471fc1f0318
- 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
- implement support for user_data command
Entropy/phpbb3Authenticator:
- move here, since can be useful to third parties too
Entropy/SocketHostInterface/Authenticator:
- add basic function get_userdata to retrieve logged user information
- add a new built-in command user_data
svn ci -m
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2242 cd1c1023-2f26-0410-ae45-c471fc1f0318