Commit Graph

3141 Commits

Author SHA1 Message Date
lxnay 72c8e30f80 Entropy/Equo/remove:
- fix variable encoding


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2333 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:25:34 +00:00
lxnay a19306ba36 Entropy/TriggerInterface:
- remove duplicated functions and routines related to /etc/init.d services handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2332 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:23:56 +00:00
lxnay b4a124b8d3 Entropy/Equo/UGC:
- add 'add comments' feature to Equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2331 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-25 14:26:34 +00:00
lxnay c81c375183 Entropy:
- updated TODO
Entropy/UGC Client Interface:
- implement login/logout and first data retrieval function (comments)
- implement Equo interface to Entropy UGC
Entropy/Server Interface:
- handle repository compilator/Portage information per branch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2330 cd1c1023-2f26-0410-ae45-c471fc1f0318
0.19.0
2008-08-22 18:43:24 +00:00
lxnay c5d51eeac2 Entropy/UGCClientAuthStore:
- ignore IOError on setup_permissions()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2329 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:39:32 +00:00
lxnay b7a4a644e0 Entropy/UGCClientAuthStore:
- also handle IOError on parse


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2328 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:36:50 +00:00
lxnay c847942b57 Entropy/UGC:
- break SQL schema (hopefully for the last time) to ease the retrieval of username related to userid
- add get_username method in the authenticator classes
- fix some typo errors


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2327 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:27:10 +00:00
lxnay 350c3cfd30 Entropy/Equo:
- add UGC module
- implement login/logout functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2326 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:54:13 +00:00
lxnay 00611929fa Entropy/repository daemon template:
- update template to reflect previous commits


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2325 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:53:00 +00:00
lxnay 5c13b054fa Entropy/DistributionUGCInterface/DistributionUGCCommands:
- add store_url support, in this way it is possible to return a valid URL to client after having submitted a generic file (such as images, archives etc)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2324 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:51:58 +00:00
lxnay d97cde0243 Entropy/Spritz:
- remove debugging stuff pulled in by the previous commit

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2323 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:13:09 +00:00
lxnay 51fb1086d9 Entropy/Spritz:
- implement askQuestion and inputBox methods inherited from TextInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2322 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:11:46 +00:00
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 5873bd2d34 Entropy/Equo:
- text_smart: fix InflateHandler()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2317 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:40:37 +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 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 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