Commit Graph

1996 Commits

Author SHA1 Message Date
lxnay
769dc2e036 Entropy/misc:
- fix some minor stuff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2288 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-23 11:41:25 +00:00
lxnay
a5b4d8d3dc Entropy/misc:
- fix some minor stuff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2287 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-23 11:37:54 +00:00
lxnay
3e262fbd50 Entropy/EntropyRepositorySocketClientCommands:
- add download command
Entropy/misc:
- fix some minor stuff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2286 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-23 11:35:48 +00:00
lxnay
3cd7418212 Entropy/SocketHostInterface:
- make external commands classes to have dynamic args and kwargs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2285 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 23:47:18 +00:00
lxnay
b315140225 Entropy/DistributionUGCInterface:
- drop pyclamav dependency


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2284 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 23:17:16 +00:00
lxnay
ae6a9b4ca3 Entropy/DistributionUGCCommands:
- add more commands (read write ones)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2283 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 18:37:49 +00:00
lxnay
d1ccbab6ea Entropy/Spritz:
- avoid to install binary packages when a queue is running
Entropy/TODO:
- updated TODO
Entropy/Equo:
- added moo option, can't tell you anything on the feature


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2282 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 13:37:55 +00:00
lxnay
2286fb60b7 SocketAuthenticatorSkel:
- move socket authenticators basic functions there
DistributionUGCCommands:
- commands rename
- added vote command


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2281 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 13:32:19 +00:00
lxnay
0eb5c3bf01 Entropy/SocketCommandsSkel:
- 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
2008-07-21 08:38:19 +00:00
lxnay
9ba89080b5 Entropy/Constants:
- export UGC doctypes to the constants dictionary


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2279 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 08:36:25 +00:00
lxnay
82df8583c4 Entropy/DistributionUGCInterface:
- complete insert_youtube_video method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2278 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-18 06:31:32 +00:00
lxnay
19d0b0b91f Entropy/DistributionAuthInterface/RemoteDbSkelInterface/DistributionUGCInterface:
- bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2277 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-18 06:22:56 +00:00
lxnay
8d8d032cd9 Entropy/EquoInterface/PortageInterface:
- tested with Portage 2.2
Entropy/DistributionUGCInterface:
- implemented basic functionalities + YouTube videos submission


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2276 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-18 06:07:43 +00:00
lxnay
3ba7de2826 Entropy/Equo:
- fix --savedir directory path


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2275 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-17 15:57:15 +00:00
lxnay
ea2b68d2f6 Entropy/RepoInterface:
- 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
2008-07-17 10:54:49 +00:00
lxnay
79095d7805 Entropy/i18n:
- update translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2273 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-17 10:49:09 +00:00
lxnay
3cf8b0a2dc Entropy/Equo:
- avoid raising an exception if text_configuration cannot be imported due to missing /usr/bin/diff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2272 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-17 10:48:09 +00:00
lxnay
adddbf3cbd Entropy/Electron:
- fine tune some variables


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2271 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-17 10:44:39 +00:00
rogerc
827453b42d added de.po translation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2269 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-10 09:18:44 +00:00
lxnay
77affa6757 Entropy/Notification Applet:
- fix pixmap installation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2258 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-07 10:53:37 +00:00
lxnay
0aed29460d Entropy/Notification Applet:
- split notification applet


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2257 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-07 10:48:55 +00:00
lxnay
db6c48f227 Entropy/Spritz:
- remove entropy-notification.png


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2256 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-07 10:48:27 +00:00
lxnay
75cb23ddca Entropy/Spritz:
- get rid of the applet from here, splitting...


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2255 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-07 10:44:04 +00:00
lxnay
3c43ce7446 Entropy/Spritz:
- use entropyContants's functions to parse repository strings
- add SSL port parameter to the repository settings window


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2254 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-06 17:23:33 +00:00
lxnay
b571cdad66 Entropy/entropyTools:
- fix getRepositorySettings()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2253 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-06 17:22:50 +00:00
lxnay
71eb2d276a Entropy/entropyConstants:
- 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
2008-07-06 17:22:26 +00:00
lxnay
88fee1e820 Entropy/SocketHostInterface:
- handle KeyboardInterrupt exceptions when listening on the socket


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2251 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-06 17:21:31 +00:00
lxnay
492b866bfc Entropy/phpBB3AuthInterface:
- 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
2008-07-05 17:47:17 +00:00
lxnay
3ca2614270 Entropy/RepoInterface:
- fix a typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2249 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-05 17:32:38 +00:00
lxnay
3cd5f3c403 Entropy/urlFetcher/RepoInterface:
- 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
2008-07-05 17:30:17 +00:00
lxnay
d6e6991be8 Entropy:
- updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2247 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-05 17:15:25 +00:00
rogerc
5224d043bf update ca.po
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2245 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-05 00:01:57 +00:00
lxnay
66a51aa4ff Entropy/outputTools:
- fix typo in readtext()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2244 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-04 18:04:42 +00:00
lxnay
cf7055d407 Entropy/i18n:
- fix a typo inside entropy_i18n module


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2243 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-04 16:20:57 +00:00
lxnay
befa1f5fe5 Entropy/EntropyRepositorySocketClientCommands:
- 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
2008-07-04 06:53:49 +00:00
lxnay
a0f9672e58 Entropy/managerTools/Electron:
- tweak some widgets making them a bit less rough
Entropy/SocketHostInterface/Authenticator:
- add basic function get_userdata to retrieve logged user information
- add a new built-in command user_data
Entropy/EntropyRepositorySocketClientCommands:
- add support for user_data command


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2241 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-04 06:45:22 +00:00
lxnay
fc4a6a31e8 Entropy/server.conf:
- update server.conf.example accordingly to my previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2240 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 23:01:42 +00:00
lxnay
651b3b9efb outputTools:
- implemented generic method inputBox(), in this way we can have reimplement it depending on the frontend
- make readtext handle password submissions (no echo)
Entropy/Repository Manager:
- implement a ready to use input dialog widget in managerTools
- started to implement repository authentication (if enabled)
- reimplemented inputBox method
- added a PasswordEdit widget, a subclass of urwid.Edit for password inputs
Entropy/entropyConstants:
- add ssl_service_port, service_port and service_url information to etpConst['server_repositories'] and updated repository| syntax (backward compat btw)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2239 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 23:01:14 +00:00
lxnay
2072c6eaa9 Entropy/i18n:
- update translations
- update template


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2238 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 16:04:29 +00:00
lxnay
6fbeab526e Entropy/PackageInterface:
- fix entropyTools attribute path


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2237 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 11:10:06 +00:00
lxnay
ab507792b7 Entropy/PackageInterface:
- 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
2008-07-03 11:09:08 +00:00
lxnay
0a02ca0bf5 Entropy/Equo:
- fix unicode decoding issues in the orphans tool


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2235 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 10:02:56 +00:00
lxnay
22ec18ae24 Entropy/ServerInterface:
- avoid to give up when online md5 check returns unknown data


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2234 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 09:12:03 +00:00
lxnay
928bb73874 Entropy/RepoInterface:
- adding server.cert and ca.cert to __construct_paths()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2233 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 09:02:14 +00:00
lxnay
73d8930948 Entropy/RepositorySocketClientInterface:
- 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
2008-07-02 23:08:27 +00:00
lxnay
399ebd228b Entropy/SocketHostInterface:
- 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
2008-07-02 17:13:58 +00:00
lxnay
b6745864ea Entropy/SocketHostInterface:
- some misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2230 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 14:06:14 +00:00
lxnay
81f94877dc Entropy/SocketHostInterface:
- some misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2229 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 14:01:48 +00:00
lxnay
5e584c0877 Entropy/SocketHostInterface:
- some misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2228 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 14:00:10 +00:00
lxnay
5a893f2996 Entropy/SSL/Sabayon:
- update, hopefully for the last time, our certs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2227 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 13:47:56 +00:00