- get_user_score_ranking(): new method, returns the actual user ranking based on Entropy score
- get_users_scored_count(): new method, returns the number of ranked users
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2610 cd1c1023-2f26-0410-ae45-c471fc1f0318
- get_user_stats(): extend method adding more info
- get_user_generic_doctype_count(): generic function, less code duplication around in the class
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2609 cd1c1023-2f26-0410-ae45-c471fc1f0318
- it can happen that some socket interface flavours don't have the settimeout attribue, check that before it's too late ghgh
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2592 cd1c1023-2f26-0410-ae45-c471fc1f0318
- optimize several sql queries and python functions
Entropy/EntropyDatabaseInterface:
- addPackage(): when providing an idpackage, run removePackage() to ensure no collisions
Entropy/PackageInterface:
- when a package fails to unpack, try to download it again and start over
- when running fetch_step(), check if returns 0, otherwise, give up
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2591 cd1c1023-2f26-0410-ae45-c471fc1f0318
- uncompressTarBz2(): catch EOFError exceptions and return -1
Entropy/PackageInterface:
- __unpack_package(): when running fetch_step, check if returns 0
- try to unpack the package 3 times before giving up, if it fails, try to redownload it again
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2589 cd1c1023-2f26-0410-ae45-c471fc1f0318
- get_downloads(), get_docs(), add_vote(): - check if the returned data is a valid tuple before splitting it
Entropy/EquoInterface:
- extend get_meant_packages() capabilities to run off any database and branch
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2588 cd1c1023-2f26-0410-ae45-c471fc1f0318
- listIdPackagesInIdcategory(): add order_by parameter
- contentDiff(): improve reliability
Entropy/DistributionUGCInterface:
- get_ugc_vote(): improve speed
- before calling tostring() method to mysql objects, check if it's necessary
Entropy/EquoInterface:
- print traceback in the case that clientdb got corrupted and we're running in safe mode
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2581 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make possible to blacklist missing library dependencies at runtime and through packages.db.missing_deps_whitelist file inside the repository db directory
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2573 cd1c1023-2f26-0410-ae45-c471fc1f0318
- searchPackage(): add order by parameter
Entropy/EquoInterface:
- get_branch_from_download_relative_uri(), move from ServerInterface to here
- fetch_file_on_mirrors() add branch that needs to be passed to fetch_file() to store the download in the right directory
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2572 cd1c1023-2f26-0410-ae45-c471fc1f0318
- we might run into a system with broken libbz2.so*, since Entropy can even run without it, in case of this happens during Portage pkg_* hooks, we can happily ignore and step over
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2562 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add support for specifying SMTP host and port
PackageInterface:
- check if download path is available on the db when requesting a fetch action, if not, warn the user and step over
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2560 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make user activation requirement on register_user() optional
Entropy/MailSender:
- new class to send basic and complex emails
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2554 cd1c1023-2f26-0410-ae45-c471fc1f0318