Commit Graph

8872 Commits

Author SHA1 Message Date
Fabio Erculiani 83ea693196 [rigo] replace "remove ?" with "remove" in CommentBox removal link area 2012-03-07 08:11:44 +01:00
Fabio Erculiani a36209f0d1 [rigo.models] add Application.is_updatable() method 2012-03-07 08:11:21 +01:00
Fabio Erculiani de7e0287c4 [rigo.enums] drop unused enums (not all) 2012-03-07 08:11:03 +01:00
Fabio Erculiani 72d326c35a [rigo] enable filtering support in Application View TreeView 2012-03-05 23:37:20 +01:00
Fabio Erculiani 87e984b303 [entropy.client.services] make get_document_url() fetch atomic
This avoids other instances to pull in invalid/partial data
2012-03-05 23:35:34 +01:00
Fabio Erculiani 234907f606 [rigo] use prepare_markup() and escape_markup() when needed 2012-03-04 21:43:39 +01:00
Fabio Erculiani 18e1744607 [rigo.entropyapi] Enable WebService cache aging, default to 14 days 2012-03-04 18:14:28 +01:00
Fabio Erculiani 058e448ebd [entropy.dump] do not unlink() old cache files if aging threshold is reached
Other cache consumers may still find the cache file valid, even if
for others it's old. So, don't remove the file but just return None.
This way it works more like an "overlay".
2012-03-04 18:10:22 +01:00
Fabio Erculiani bf01329f4d [entropy.services] WebService: make possible to configure cache aging
Configuring cache aging makes possible to automatically throw away
old metadata, like package votes and number of downloads.
Usually, this information is still valid, from user POV, even if
quite old. But how much old? This can be tuned via enable_cache_aging()
from outside WebService class, depending on the scenario.
2012-03-04 18:06:50 +01:00
Fabio Erculiani a48cb985c6 [entropy.cache] EntropyCacher: add cache aging support
Following entropy.dump cache aging suport, this commit exports the
same functionality to Cacher.pop()
2012-03-04 18:05:54 +01:00
Fabio Erculiani 623930ee4b [entropy.dump] add cache aging support to deserializer
If cached file is older than aging_days, it will be removed from
disk (if possible) and None shall be returned
2012-03-04 18:05:37 +01:00
Fabio Erculiani 63947241b4 [entropy.const] do not hardcode "raw_unicode_escape" 2012-03-04 17:57:57 +01:00
Fabio Erculiani 7e3c89f3d6 [entropy.dump] trivial code style update 2012-03-04 17:57:37 +01:00
Fabio Erculiani 527cbbbaa9 [entropy.dump] getobjmtime: fix possible race wrt file removal 2012-03-04 17:56:51 +01:00
Fabio Erculiani 3f45623ab5 [entropy.dump] use etpConst['conf_raw_encoding'] 2012-03-04 17:56:15 +01:00
Fabio Erculiani fcf07b0d59 [rigo] beautify download stats in Application View 2012-03-04 17:31:21 +01:00
Fabio Erculiani 0a6d1b081d [rigo.utils] add prepare_markup() function 2012-03-04 17:31:02 +01:00
Fabio Erculiani 0a5c263c3f [rigo] beautify downloads amount representation in the TreeView 2012-03-04 17:15:05 +01:00
Fabio Erculiani ee14030a30 [rigo] ApplicationMetadata: dispatch events as soon as they are ready 2012-03-04 16:41:02 +01:00
Fabio Erculiani 66089d4b29 [rigo] always emit() in the MainThread 2012-03-04 16:38:30 +01:00
Fabio Erculiani 5d04371ddf [rigo] make sure to call queue_draw() when answering to redraw-request event 2012-03-04 16:37:03 +01:00
Fabio Erculiani ee37e90de4 [rigo] implement comment removal support 2012-03-03 18:04:55 +01:00
Fabio Erculiani 2e8a1c2001 [rigo] beautify NotificationBox layout and LoginNotificationBox widgets 2012-03-03 15:32:48 +01:00
Fabio Erculiani 8019a86eb1 [rigo] add context_id to LoginNotificationBox constructor 2012-03-03 15:20:33 +01:00
Fabio Erculiani 7ee54b964b [rigo] improve the look and feel of the login notification box 2012-03-03 15:19:38 +01:00
Fabio Erculiani 21dcdcc636 [entropy.db] _migrateBaseinfoExtrainfo: make sure tables exist before running the query 2012-03-02 17:16:42 +01:00
Fabio Erculiani a09063da99 [rigo] discard remote Web Service requests if App is no longer visible 2012-03-02 11:01:58 +01:00
Fabio Erculiani fbe8068cca [rigo] raise the number of icon and rating worker threads to 3, respectively 2012-03-02 09:58:02 +01:00
Fabio Erculiani 0a91618f46 [rigo] search bar: also search through descriptions 2012-03-02 08:36:50 +01:00
Fabio Erculiani 81738b8d3a [entropy.client] atom_search: make possible to also search through package description 2012-03-02 08:36:06 +01:00
Fabio Erculiani de72481fbd [entropy.db] searchDescription: improve search results
Improve search results by splitting keyword into multiple words
and searching the unordered concatenation of them.
2012-03-02 08:35:05 +01:00
Fabio Erculiani 1ef6959c0e [conf] fix Internode mirror URLs, fixes bug #3090 2012-03-01 20:32:50 +01:00
Fabio Erculiani f3b96ece61 Tagging Entropy version 1.0_rc90 1.0_rc90 2012-03-01 12:06:54 +01:00
Fabio Erculiani 303b7ad1ea Release Entropy 1.0_rc90 2012-03-01 12:06:54 +01:00
Fabio Erculiani 3c8ec43e35 [entropy.client.interfaces.dep] SLOT intersection: alter dependency adding slot
Scenario:
dependency = dev-lang/python
SLOT intersection = enabled
available slots = 2.6, 2.7, 3.2
installed slot = 2.7

The SLOT intersection feature worked correctly but in the end
dev-lang/python was added to the unsatisfied set because there
was a dev-lang/python-2.7 update as well. This results in other
dep calculation code to match dev-lang/python against 3.2 instead.
The SLOT intersection feature has to reduce the dependency string
scope by adding a SLOT suffix (in this case: ":2.7"). This way the
correct dependency is eventually pulled in.
2012-03-01 12:01:53 +01:00
Fabio Erculiani 732482473f [entropy.dep] dep_getslot: remove tag before mangling.
Otherwise the following query will fail (at atomMatch()):
x11-drivers/nvidia-drivers:0,3.2.0-sabayon#3.2.0-sabayon
2012-03-01 11:58:47 +01:00
Fabio Erculiani 80f1e1182e [entropy.client.interfaces.dep] don't spam stdout with same progress values 2012-03-01 11:13:51 +01:00
Fabio Erculiani 154c5c3010 [rigo] implement "not found + did you mean" message when search returns 0 results 2012-03-01 08:16:47 +01:00
Fabio Erculiani bfa9215295 [rigo] notify user when connectivity is absent (via Entropy Web Services) 2012-02-29 10:22:31 +01:00
Fabio Erculiani 095038425a [entropy.const] improve thread dump signal function
Always flush stderr on a newline and also write the number of
active threads as well.
Moreover, always install the dump function at SIGQUIT when --debug
is passed.
2012-02-29 10:21:04 +01:00
Fabio Erculiani 71308d09de [rigo] implement loading of Application Images
At the end of the App View, load images bound to App.
2012-02-28 21:58:04 +01:00
Fabio Erculiani 161ba2cfd9 [entropy.client.services.interfaces] add ClientWebService.get_images()
Don't ask me why this was missing, anyway, now we have it.
This returns a superset of get_icons(), also including normal images.
2012-02-28 21:57:18 +01:00
Fabio Erculiani 2e329f6311 [rigo] actually show VBox when CommentBox(is_last=True) 2012-02-28 12:32:20 +01:00
Fabio Erculiani 59c24a4c6b [rigo] UTF-8 fixes in Application() 2012-02-28 12:32:00 +01:00
Fabio Erculiani 8a5575a6b0 [rigo] fix UTF-8 markup escaping wrt GObject idiotic escape function 2012-02-28 12:05:10 +01:00
Fabio Erculiani 7c97d9db7b [rigo] uniform file header 2012-02-28 11:28:10 +01:00
Fabio Erculiani 24fbdc5f56 [rigo] App Rating integration, NotificationBox Context support, a lot of other improvements 2012-02-28 11:15:00 +01:00
Fabio Erculiani 671901279a Tagging Entropy version 1.0_rc89 1.0_rc89 2012-02-27 23:33:14 +01:00
Fabio Erculiani b97c1dd8b7 Release Entropy 1.0_rc89 2012-02-27 23:33:12 +01:00
Fabio Erculiani 85ebb0ebac [entropy.const] rework ETP_ARCH_CONST and keywords configuration, make it work with overridden values 2012-02-27 23:18:26 +01:00