Commit Graph

1485 Commits

Author SHA1 Message Date
lxnay
fd8ca2644c Entropy/outputTools:
- improve askQuestion maximum supported responses

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2321 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:10:42 +00:00
lxnay
392bfb4c33 Entropy/UGCClientInterface:
- add remove_file, remove_image, remove_youtube_video methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2320 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:09:47 +00:00
lxnay
75276cb9a4 Entropy/DistributionUGCCommands:
- add remove_file, remove_image, remove_youtube_video commands
- EntropyRepositorySocketClientCommands:
- add support for remove_file, remove_image, remove_youtube_video commands


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2319 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 09:07:27 +00:00
lxnay
0a92e2a499 Entropy/TriggerInterface:
- trigger_ebuild_postremove(): handle EOFError exceptions when setting up ebuild environment


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2318 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 16:48:03 +00:00
lxnay
7320a093a4 Entropy/EntropyRepositorySocketClientCommands:
- on convert_stream_to_object() handle zlib errors too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2316 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:33:55 +00:00
lxnay
6e2bd52bb9 Entropy/entropyTools:
- removePackageOperators(): avoid crashing with malformed atom strings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2315 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:29:08 +00:00
lxnay
2867d436af Entropy/DistributionUGCInterface:
- fix insert_generic_file() on destination path creation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2314 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:10:29 +00:00
lxnay
5a4c0f83da Entropy/entropyTools:
- compareVersions() do not raise an exception when ver1 or ver2 are None


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2313 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-26 07:22:05 +00:00
lxnay
b79ea7d011 Entropy/entropyTools:
- xml_from_dict(): only support basestring
Entropy/DistributionUGCCommands:
- docmd_register_stream(): fix new_stream_path


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2312 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:43:05 +00:00
lxnay
12d02e5dc3 Entropy/DistributionUGCCommands:
- I sometimes am a moron


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2311 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:16:44 +00:00
lxnay
2c7af37274 Entropy/DistributionUGCCommands:
- I sometimes am a moron


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2310 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:11:29 +00:00
lxnay
4134113e39 Entropy/DistributionUGCCommands:
- set xml-based UGC commands to raw, to avoid SocketHostInterface to mess the string


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2309 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:06:41 +00:00
lxnay
c0a03ee043 Entropy/SocketHostInterface:
- _get_args_kwargs: if kwargs fails, add to myargs as string


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2308 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 12:54:58 +00:00
lxnay
8d25ac956a Entropy/entropyTools:
- 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
2008-07-25 12:16:57 +00:00
lxnay
3912cdd43c Entropy/UGCClientInterface:
- implement more methods: get_downloads, get_alldownloads, get_docs
self explanatory


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2306 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 22:11:14 +00:00
lxnay
2fa7575b4e Entropy/SocketHostInterface:
- uncomment file removal on destroy_session
Entropy/EntropyRepositorySocketClientCommands:
- fine tune ugc_send_file method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2305 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 22:04:34 +00:00
lxnay
eb919bec35 Entropy/SocketHostInterface:
- fix stream commands


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2304 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 21:56:26 +00:00
lxnay
93ff724533 Entropy/SocketHostInterface:
- rename setup_commands to config_commands


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2303 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 19:11:45 +00:00
lxnay
6c9d4f6bfa Entropy/SocketHostInterface:
- add commands category: setup_commands, to make session_config working


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2302 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 19:09:05 +00:00
lxnay
15d37e2758 Entropy/SocketCommandsSkel:
- fix raw_commands setup


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2301 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:40:29 +00:00
lxnay
3255a7eddf Entropy/SocketHostInterface:
- fix IndentnationError


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2300 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:37:16 +00:00
lxnay
4784837eae Entropy/SocketHostInterface:
- add raw commands support, break .register() method API
- fix stream commands handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2299 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:34:44 +00:00
lxnay
f6d3d99de0 Entropy/EntropyRepositorySocketClientCommands:
- 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
2008-07-24 17:57:34 +00:00
lxnay
fe68b3db41 Entropy/UGCClientInterface:
- reorder/move functions around
Entropy/SocketHostInterface:
- add support for sending streams


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2297 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 17:20:48 +00:00
lxnay
126ebcdaf0 Entropy/DistributionUGCInterface:
- fix get_ugc_downloads query


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2296 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:52:38 +00:00
lxnay
407287ce33 Entropy/UGCClientInterface:
- improve performance
- fix do_cmd method when login data is not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2295 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:49:45 +00:00
lxnay
1a0f05039d Entropy/UGCClientInterface:
- complete the foundations of the interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2294 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:42:49 +00:00
lxnay
e5bfa602e3 Entropy/EquoInterface:
- implement UGC instance inside EquoInterface
- hook it with packages download
Entropy/UGCClientInterface:
- implement most of the methods (not yet complete)
Entropy/DistributionUGCInterface:
- add SQL foreign keys references


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2293 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 10:59:21 +00:00
lxnay
d725b06fac Entropy/outputTools:
- handle EOFError on askQuestion
- fine tune readtext()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2292 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 10:56:04 +00:00
lxnay
83a9b57c84 Entropy/UGCClientAuthStore:
- 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
2008-07-24 07:49:45 +00:00
lxnay
4f7a1a2ba6 Entropy/EntropyRepositorySocketClientCommands:
- 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
2008-07-23 12:46:49 +00:00
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
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
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
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
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