Commit Graph

2664 Commits

Author SHA1 Message Date
lxnay f34d98ca3c Entropy/SocketHostInterface:
- improve transmitter on SSL


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2357 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-31 10:37:32 +00:00
lxnay 0a4edd8b28 Entropy/SocketHostInterface:
- workaround pyOpenSSL bug on sendall, connection tends to die, use send
Entropy/UGCClientInterface:
- improve performance of ugc_get_allvotes() and ugc_get_alldownloads()
- fix a bug with the selection of the connection port when ssl_connection is disabled


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2356 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-31 10:22:28 +00:00
rogerc e5fa23d6fe updated ca.po translation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2355 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-28 14:42:15 +00:00
lxnay 147992c71b Entropy:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2353 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-28 10:02:40 +00:00
lxnay 20e530f57b Entropy/i18n:
- update translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2352 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 20:38:44 +00:00
lxnay 1d0a07f4df Entropy/Equo:
- complete initial UGC implementation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2351 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 20:37:56 +00:00
lxnay 6bbed4e2e3 Entropy/misc:
- cosmetic changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2350 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 20:37:35 +00:00
lxnay 686ea56525 Entropy/DistributionUGCInterface:
- workaround mysql library issue when using SQL statement 'IN' in a single item list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2349 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 18:47:25 +00:00
lxnay 3718292f7a Entropy/DistributionUGCInterface:
- cast list to tuple in queries using SQL 'IN' statement


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2348 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 18:39:03 +00:00
lxnay 3cbdcd53b1 Entropy/UGC Server Interface:
- move extra metadata collection to its own function DistributionUGCInterface._get_ugc_extra_metadata()
- make every single data retrieval function in DistributionUGCInterface to use _get_ugc_extra_metadata()
Entropy/RepositorySocketClientInterface:
- add separated show_progress bool to enable file transfer progress output while keeping other messages disabled through quiet
Entropy/UGCClientInterface:
- add show_progress parameter
- add helper function send_document_autosense() to ease document upload
- add helper function remove_document_autosense() to ease document removal


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2347 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 17:59:36 +00:00
lxnay d4f1f88da2 Entropy/DistributionUGCInterface:
- get_ugc_metadata_doctypes(): provide URL for uploaded items


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2346 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 08:45:44 +00:00
lxnay d033fcb154 Entropy/UGC Client/Server Interface
- implement new command ugc:get_documents_by_identifiers to allow retrieval of documents through their identifiers


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2345 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 18:35:58 +00:00
lxnay 2fdfb3a9b3 Entropy/DistributionUGCInterface:
- get_ugc_metadata_doctypes(): retrieve more information regarding each item


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2344 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 17:00:26 +00:00
lxnay 06eb4c661b Entropy/UGC Server Interface:
- move keywords and pkgkey retrieval to DistributionUGCInterface.get_ugc_metadata_doctypes_by_identifiers


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2343 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 16:09:13 +00:00
lxnay 8d26e98678 Entropy/UGC Server Interface:
- _get_generic_doctypes_by_identifiers(): get keywords and package key too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2342 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 16:05:23 +00:00
lxnay a7537a0d7b Entropy/UGC Server Interface:
- add two commands to allow text-based documents retrieval by their identifiers (iddoc)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2341 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 13:31:17 +00:00
lxnay 3b425c3b41 Entropy/UGC Interface:
- move UGC package vote range to etpConst['ugc_voterange']
- add voting support to Equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2340 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 13:00:10 +00:00
lxnay 76c16149ad Entropy/Server Interface:
- export binary packages expiration days setting to server.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2339 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:29:25 +00:00
lxnay a6b628d93d Entropy/EquoInterface:
- when rewriting grub.conf pay attention to the encoding


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2338 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:03:58 +00:00
lxnay e3cfc4a298 Entropy/EquoInterface:
- do not allow to set an invalid database compression format on addRepository or during constants init


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2337 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:00:54 +00:00
lxnay 772f974dff Equo/query:
- check if myopts is empty


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2336 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:53:36 +00:00
lxnay dd33480926 Entropy/ServerInterface:
- initialize_server_database(): fix revision handling on updateProgress
Entropy/Database Interface:
- addPackage(): avoid to have issues with missing revision key in etpData when revision != -1
Entropy/Equo:
- handle SPMError exceptions
Entropy/Equo/rescue:
- filter out broken atoms when running gentoosync


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2335 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:51:24 +00:00
lxnay 258ea65cec Entropy/PortageInterface:
- handle exceptions on Portage classes instantiation
- add a new exception called SPMError


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2334 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:33:51 +00:00
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