Commit Graph

121 Commits

Author SHA1 Message Date
lxnay
3484475909 Entropy/Entropy Repository Daemon example:
- add support for UGC


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2290 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 07:48:02 +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
882a7f7bfb Entropy/SocketHostInterface/Repository Daemon:
- fix docmd_login arguments length


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2210 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 19:16:08 +00:00
lxnay
461ac49e8f Entropy/SocketHostInterface:
- 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
2008-06-30 19:10:26 +00:00
lxnay
d3a957e02a Entropy/repository daemon template:
- check client IP address too
Entropy/phpbb3 Auth Interface:
- add _is_ip_banned() method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2200 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 12:01:14 +00:00
lxnay
1faab94d42 Entropy/repository daemon template:
- update it to reflect API changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2199 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 11:41:26 +00:00
lxnay
851aadb094 Entropy/Repository Daemon Template:
- add phpbb3 Authenticator to be used inside SocketHostInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2193 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 10:20:55 +00:00
lxnay
ab8537c65a Entropy/SocketHostInterface:
- 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
2008-06-29 17:40:38 +00:00
lxnay
91f924b422 Entropy:
- 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
2008-06-27 21:14:31 +00:00
lxnay
d21d8f6db0 Entropy/RepositoryManager:
- 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
2008-06-24 13:22:14 +00:00
lxnay
bc4e970b71 Entropy/Repositories Management:
- add a function to allow copying packages from a repository to another
- export it to reagent and equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2161 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-19 18:59:42 +00:00
lxnay
3549eb6913 Entropy/outputTools:
- 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
2008-06-08 15:20:43 +00:00
lxnay
7a509729d4 Entropy/Activator:
- 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
2008-05-28 00:08:55 +00:00
lxnay
7c20a83df6 Entropy/Socket Interface:
- allow to enable/disable stdout logging
- make socketLog loglevel configurable through etpConst


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2007 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:18:43 +00:00
lxnay
8a55513f5b entropy/Repository Service:
- kill LockScanner thread before quitting


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1983 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:06:26 +00:00
lxnay
fd494d6325 Entropy/Repository Server:
- some minor updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1979 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:35:32 +00:00
lxnay
2b1faaf6b5 Entropy/RepositoryServerSocketInterface:
- started to implement EAPI=3 support
- various bugfixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 20:20:17 +00:00
lxnay
d76cc12149 Entropy/ServerInterface/CommunityRepositories:
- handle __system__ repository correctly in various functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1968 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-24 11:42:28 +00:00
lxnay
ff64dd6c6c Entropy/ServerInterface/CommunityRepositories:
- started to interface equo to the new Community Repositories interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1961 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 18:49:00 +00:00
lxnay
d799613d0b Entropy/ServerInterface:
- updating server.conf and fixing a typo in server_reagent.py

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1960 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 15:36:08 +00:00
lxnay
5a6ce266cb Entropy/Reagent:
- avoid to crash if Spm quickpkg() fails due to a broken entry

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1955 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:14:28 +00:00
lxnay
4080744f69 Entropy/ServerInterface:
- make dependencies_test() a blocker


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1954 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:10:59 +00:00
lxnay
1f2ebaf41b Entropy/Server:
- move activator to activator.py
- move reagent to reagent.py
- complete i18n support for server-side applications
- update .po files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1951 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 09:09:45 +00:00
lxnay
8663b350d7 Entropy:
- add i18n support to activator and reagent textual functions
- update po files accordingly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1950 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 07:33:14 +00:00
lxnay
41a562da30 Entropy/i18n:
- completed text_configuration.py i18n support
Entropy:
- misc bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1949 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 00:20:29 +00:00
lxnay
306552d004 Entropy:
- 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
2008-05-16 07:28:45 +00:00
lxnay
dca3f69b51 fix reagent package injection
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1823 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 14:08:46 +00:00
lxnay
4e8f55d984 Entropy/Reagent:
- fix printPackageInfo() call

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1820 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 11:27:14 +00:00
lxnay
c1c2ce3265 Entropy/EquoInterface/ServerInterface:
- client: run conn.clientUpdatePackagesData trapping any OperationalError exception
- server: fix tags queries


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1819 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 11:26:30 +00:00
lxnay
8f1f75574d Entropy/etpDatabase:
- some small improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1803 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-18 12:08:12 +00:00
lxnay
91f34a8641 Entropy/ServerInterface/reagent:
- add list query to list all the packages in the default repository


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1801 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-17 16:26:06 +00:00
lxnay
53baba96fe Entropy/ServerInterface:
- added --syncall option to activator to allow syncing of all the repositories without too much hassle


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1738 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 17:32:28 +00:00
lxnay
f28c9f296a Entropy/ServerInterface/Reagent:
- exported switch_default_repository() to reagent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1720 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 16:18:30 +00:00
lxnay
867d49eae3 Entropy/ServerInterface/Reagent:
- fix matches list creation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1718 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:43:33 +00:00
lxnay
d73a0e1a6c Entropy/ServerInterface/Reagent:
- fix matches list creation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1717 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:37:00 +00:00
lxnay
4beb1e4d9b Entropy/ServerInterface/Reagent:
- connect move_packages() to reagent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1716 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:06:27 +00:00
lxnay
01244dd083 Entropy/ServerInterface:
- preliminary implementation of package moves across repositories

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1715 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 14:55:12 +00:00
lxnay
c0b9f828ed fix a small typo
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1714 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 13:54:46 +00:00
lxnay
36e0522dac Entropy/ServerInterface/Reagent:
- exported enable/disable repository function to reagent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1713 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 13:31:26 +00:00
lxnay
9959052f19 Entropy/EquoInterface/Spritz:
- 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
2008-04-11 23:19:46 +00:00
lxnay
c8c9a3bc7d - updated TODO
- show repo information on reagent update


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1698 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 16:50:09 +00:00
lxnay
f33e6e1ec4 do not print dependencies_test result to shell
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1684 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 00:59:39 +00:00
lxnay
95c30666f5 Entropy/ServerInterface:
- 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
2008-04-11 00:54:48 +00:00
lxnay
d3ed55e0c7 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1674 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:43:05 +00:00
lxnay
7a02b0cbc3 Entropy/Reagent:
- add the ability to create an arbitrary empty repository 

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1673 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:41:23 +00:00
lxnay
f32876a99a Entropy/ServerInterface:
- 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
2008-04-10 15:03:15 +00:00
lxnay
ab5bb0c33f Entropy:
- moved missing RDEPEND scanner to EquoInterface

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1634 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 14:23:42 +00:00
lxnay
f3f18641e7 Entropy/Server:
- added RDEPEND scanning to reagent for testing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1633 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 13:56:59 +00:00
lxnay
394e3ef2c9 improve rdepends solving and test
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1630 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 10:39:38 +00:00
lxnay
a9cbd5215f revert previous commit, add some testing stuff server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1624 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 10:08:12 +00:00