Yves Marcoz [Fri, 6 Jan 2012 00:20:50 +0000 (16:20 -0800)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit
Conflicts:
debian/changelog
Yves [Tue, 3 Jan 2012 23:12:12 +0000 (15:12 -0800)]
psa: Fixed article view jumping back to a previously opened article
Yves [Tue, 3 Jan 2012 20:57:47 +0000 (12:57 -0800)]
bumped extra-devel version number
Yves Marcoz [Mon, 2 Jan 2012 07:04:44 +0000 (23:04 -0800)]
psa: port previous 3 fixes to harmattan version
Neal H. Walfield [Thu, 29 Dec 2011 09:21:35 +0000 (09:21 +0000)]
When extracting the date, don't die if a field is invalid, ignore it.
Reported By: James Hunt
Neal H. Walfield [Wed, 28 Dec 2011 08:48:30 +0000 (08:48 +0000)]
When fetching updateInterval, read it as a float not an int.
Reported-By: James Hunt
Neal H. Walfield [Wed, 28 Dec 2011 08:43:12 +0000 (08:43 +0000)]
Fix typo accessing woodchuck handle.
Reported-By: James Hunt
Yves Marcoz [Sat, 24 Dec 2011 00:58:19 +0000 (16:58 -0800)]
harmonized maemo/harmattan src files
Yves Marcoz [Fri, 23 Dec 2011 19:07:49 +0000 (11:07 -0800)]
Reworked config dialog
Yves Marcoz [Fri, 23 Dec 2011 18:09:22 +0000 (10:09 -0800)]
Bumped version number for Maemo 5 release
Yves Marcoz [Fri, 23 Dec 2011 18:07:24 +0000 (10:07 -0800)]
Updated tips-and-tricks page link
Yves Marcoz [Fri, 23 Dec 2011 18:06:14 +0000 (10:06 -0800)]
Changed intro popup
Yves [Thu, 22 Dec 2011 22:48:22 +0000 (14:48 -0800)]
Disable app-based auto-update (application left running)
Neal H. Walfield [Sat, 10 Dec 2011 14:52:25 +0000 (14:52 +0000)]
When checking if an article has been updated, compare the content.
- Don't rely on an article's date to determine whether it has been
updated.
- Store the hash of the original content in the database.
- Add a new column, contentHash to the feed database.
- When adding a new article, set it appropriately.
- Use the hash to determine whether the text has been updated.
Neal H. Walfield [Sat, 10 Dec 2011 14:49:15 +0000 (14:49 +0000)]
Ensure that the string passed to md5 is 7-bit clean.
Neal H. Walfield [Sat, 10 Dec 2011 14:47:55 +0000 (14:47 +0000)]
Fix implementation of feed.getContent.
Yves [Fri, 9 Dec 2011 23:35:25 +0000 (15:35 -0800)]
psa: added splash screen
fixed instance not being brought to foreground when clicking icon a 2nd time
Yves Marcoz [Wed, 30 Nov 2011 05:36:27 +0000 (21:36 -0800)]
psa: new icon, increased listing font size
Yves [Tue, 29 Nov 2011 23:16:53 +0000 (15:16 -0800)]
psa: Added sharing menu item for articles
Yves Marcoz [Tue, 29 Nov 2011 06:46:22 +0000 (22:46 -0800)]
psa: fix updateBar
Yves [Tue, 29 Nov 2011 00:02:10 +0000 (16:02 -0800)]
psa: fix updateBar
Yves Marcoz [Mon, 28 Nov 2011 05:16:40 +0000 (21:16 -0800)]
Neal H. Walfield [Sun, 27 Nov 2011 19:35:35 +0000 (20:35 +0100)]
update_feeds: On exit, indicate that everything is done.
Neal H. Walfield [Sun, 27 Nov 2011 19:34:35 +0000 (20:34 +0100)]
Fix ArchivedArticles' update function.
- Use the dispatcher so that the update daemon does the update.
- Call postFeedUpdateFunc on completion.
Yves Marcoz [Sun, 27 Nov 2011 18:43:13 +0000 (10:43 -0800)]
Yves Marcoz [Sun, 27 Nov 2011 18:21:14 +0000 (10:21 -0800)]
psa: added progress bar for updates
Neal H. Walfield [Sun, 27 Nov 2011 17:00:06 +0000 (18:00 +0100)]
Ask the user whether they'd like to install Woodchuck.
- Save the fact that we've asked in the config file.
- Only ask once.
Neal H. Walfield [Sun, 27 Nov 2011 16:45:17 +0000 (17:45 +0100)]
Provide a configuration to enable/disable scheduling with Woodchuck.
- Implement it.
Neal H. Walfield [Sun, 27 Nov 2011 16:35:50 +0000 (17:35 +0100)]
Make opening a browser window a top-level function.
Neal H. Walfield [Sun, 27 Nov 2011 16:24:53 +0000 (17:24 +0100)]
Woodchuck: Set a stream's freshness according to the configured update internal.
Neal H. Walfield [Sun, 27 Nov 2011 16:21:24 +0000 (17:21 +0100)]
Make "every 8 hours" a possible update interval.
Neal H. Walfield [Sun, 27 Nov 2011 16:20:26 +0000 (17:20 +0100)]
Make config file parsing more robust.
Neal H. Walfield [Sat, 26 Nov 2011 22:18:47 +0000 (23:18 +0100)]
Set the woodchuck update interval according to the config
Yves [Fri, 25 Nov 2011 00:07:14 +0000 (16:07 -0800)]
psa: small fix dbus updates
Yves [Thu, 24 Nov 2011 23:48:20 +0000 (15:48 -0800)]
psa: Added update notification in UI
Yves Marcoz [Wed, 23 Nov 2011 06:22:54 +0000 (22:22 -0800)]
psa: fixed configdir value
Yves Marcoz [Wed, 23 Nov 2011 05:17:58 +0000 (21:17 -0800)]
psa: added automatic updates
Yves Marcoz [Tue, 22 Nov 2011 05:56:10 +0000 (21:56 -0800)]
psa: implemented settings
Yves Marcoz [Thu, 17 Nov 2011 06:36:28 +0000 (22:36 -0800)]
0.9.1-3 - Fixed Archived Articles update
Yves Marcoz [Wed, 16 Nov 2011 06:16:28 +0000 (22:16 -0800)]
0.9.1-2 for extras-devel
Fixed update feed issue with old articles
Removed qmlviewer dependency for Maemo5
psa: initial support for import/export opml
Yves Marcoz [Tue, 8 Nov 2011 05:34:24 +0000 (21:34 -0800)]
psa: improved add feed/categories dialog
black/white theme support
delete categories/feeds support
Yves Marcoz [Mon, 7 Nov 2011 05:40:48 +0000 (21:40 -0800)]
psa: made text more readable for n950
speed improvements
Yves Marcoz [Sat, 5 Nov 2011 22:12:58 +0000 (15:12 -0700)]
Neal H. Walfield [Sat, 5 Nov 2011 14:36:08 +0000 (15:36 +0100)]
Fix img detection.
Neal H. Walfield [Sat, 5 Nov 2011 11:20:53 +0000 (12:20 +0100)]
When parsing a feed update: don't die if the version field is unset.
Neal H. Walfield [Sat, 5 Nov 2011 11:03:15 +0000 (12:03 +0100)]
When an article is updated, save the update.
Yves Marcoz [Thu, 3 Nov 2011 05:37:12 +0000 (22:37 -0700)]
psa: Added AddFeed dialog
Yves Marcoz [Tue, 1 Nov 2011 04:29:49 +0000 (21:29 -0700)]
qml - Improving menu layout
Yves [Fri, 28 Oct 2011 23:03:40 +0000 (16:03 -0700)]
psa: fix feeds not showing up in some cases
Yves Marcoz [Wed, 26 Oct 2011 05:37:37 +0000 (22:37 -0700)]
Qml support for harmattan version improved
Yves Marcoz [Tue, 25 Oct 2011 05:01:38 +0000 (22:01 -0700)]
Adding PageStack support in qml
Neal H. Walfield [Thu, 20 Oct 2011 19:52:23 +0000 (21:52 +0200)]
Drop unnecessary imports.
Neal H. Walfield [Thu, 20 Oct 2011 19:49:59 +0000 (21:49 +0200)]
If Woodchuck initialization fails, handle the error gracefully.
Neal H. Walfield [Thu, 20 Oct 2011 19:48:52 +0000 (21:48 +0200)]
If Woodchuck schedules an object transfer, tell it not to bother.
Neal H. Walfield [Thu, 20 Oct 2011 19:48:11 +0000 (21:48 +0200)]
Fix spelling: it's logger.debug, not log.
Neal H. Walfield [Thu, 20 Oct 2011 19:47:01 +0000 (21:47 +0200)]
Make woodchuck upcalls future proof.
- Add *args and **kwargs to the callback functions' parameters.
Neal H. Walfield [Thu, 20 Oct 2011 19:43:49 +0000 (21:43 +0200)]
If the image tag does not contain a src parameter, ignore it.
Yves [Wed, 19 Oct 2011 21:04:05 +0000 (14:04 -0700)]
Remove .pyc files
Yves Marcoz [Sat, 15 Oct 2011 16:23:34 +0000 (09:23 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Sat, 15 Oct 2011 16:22:45 +0000 (09:22 -0700)]
Adding wip version for meego harmattan
Yves [Tue, 20 Sep 2011 18:30:06 +0000 (11:30 -0700)]
Fix exception catching when woodchuck is not installed
Yves [Tue, 20 Sep 2011 18:28:59 +0000 (11:28 -0700)]
Fix download feed for FeedingIt-Web.py
Yves Marcoz [Mon, 19 Sep 2011 23:12:24 +0000 (16:12 -0700)]
Merge remote-tracking branch 'woodchuck/master'
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.
Yves Marcoz [Mon, 19 Sep 2011 23:07:06 +0000 (16:07 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.
Neal H. Walfield [Wed, 14 Sep 2011 12:31:38 +0000 (14:31 +0200)]
Change addImage to not throw an exception but return None on failure.
Neal H. Walfield [Wed, 14 Sep 2011 12:30:44 +0000 (14:30 +0200)]
Fix cache management.
- After determining that the cache is invalid, actually rebuild it.
Neal H. Walfield [Tue, 6 Sep 2011 23:03:32 +0000 (01:03 +0200)]
Don't reprocess downloaded articles that are already up to date.
Neal H. Walfield [Tue, 6 Sep 2011 22:16:45 +0000 (00:16 +0200)]
rss_sqlite: When update a feed: improve statistics reporting.
Neal H. Walfield [Tue, 6 Sep 2011 20:57:01 +0000 (22:57 +0200)]
Do less important start up configuration after the main view is shown.
Neal H. Walfield [Tue, 6 Sep 2011 20:54:06 +0000 (22:54 +0200)]
If initializing the Woodchuck connection fails, just disable Woodchuck.
Neal H. Walfield [Tue, 6 Sep 2011 20:42:34 +0000 (22:42 +0200)]
Modify the DisplayFeed widget so it need not be destroyed.
Neal H. Walfield [Tue, 6 Sep 2011 12:58:36 +0000 (14:58 +0200)]
Cache data needed to build the feed and feeds overviews.
Neal H. Walfield [Tue, 6 Sep 2011 11:06:43 +0000 (13:06 +0200)]
Change Listing.getFeedUpdateTime to return a relative time string.
Neal H. Walfield [Tue, 6 Sep 2011 10:20:44 +0000 (12:20 +0200)]
Correctly set update time to never.
- Check if the update time is 0 in Listing.getFeedUpdateTime.
Neal H. Walfield [Tue, 6 Sep 2011 08:57:43 +0000 (10:57 +0200)]
Set the orientation before showing the main window.
- Avoid a gratuitious orientation change and speed up start up time.
Neal H. Walfield [Mon, 5 Sep 2011 21:57:16 +0000 (23:57 +0200)]
When creating a closure, correctly capture any required local state.
Neal H. Walfield [Mon, 5 Sep 2011 20:48:02 +0000 (22:48 +0200)]
Make addImage more robust.
- Use with to ensure the output file handle is closed.
Neal H. Walfield [Mon, 5 Sep 2011 20:43:09 +0000 (22:43 +0200)]
In downloader, not check if progress_handler == False, but if it is None.
Neal H. Walfield [Mon, 5 Sep 2011 20:33:31 +0000 (22:33 +0200)]
Fix call to addImage.
- When calling addImage, include the opener we are using to gather
statistics.
Neal H. Walfield [Mon, 5 Sep 2011 12:03:43 +0000 (14:03 +0200)]
If an instance of FeedingIt is running, send it to the front and quit.
- Grab org.maemo.feedingit exclusively (don't queue).
- If we fail to get it, invoke org.maemo.feedingit.GrabFocus.
- Implement org.maemo.feedingit.GrabFocus to bring the application to
the front.
Neal H. Walfield [Sun, 4 Sep 2011 21:25:28 +0000 (23:25 +0200)]
When navigating to the next article, reuse the DisplayArticle widget.
- In the DisplayArticle class, don't propagate the article-next and
article-previous signals, handle any next and previous article
actions locally.
- When initializing a DisplayArticle object, pass it the set of
acceptable articles.
Neal H. Walfield [Sun, 4 Sep 2011 11:19:51 +0000 (13:19 +0200)]
Open external links asynchronously.
Neal H. Walfield [Tue, 23 Aug 2011 15:57:16 +0000 (17:57 +0200)]
Offload all downloading logic to updatefeed.py.
- Change Woodchuck initialization to only process upcalls if started
from updatefeed.
- Add org.marcoz.feedingit.UpdateProgress.
- In rss_sqlite.py, detect if we are running as updatefeed.py:
- If so:
- Perform downloads directly, and
- Make the appropriate progress calls.
- Otherwise:
- Don't update feeds directly, instead, make the appropriate dbus
calls to updatefeed.py (starting it as necessary).
- updatedbus.py:
- Remove get_lock and release_lock, which is no longer needed as
updating is now centralized.
- Add dbus methods Update and UpdateProgress.
- Make methods UpdateAll and StopUpdate abstract.
- Add function update_server_object to retrieve any UpdateServerObject
- Ensure that there is only a single instance of UpdateServerObject.
- update_feeds.py:
- Move system idle detection from FeedingIt.py to here.
- Add a '--daemon' option, which does not update all feeds on start.
- Implement Update, UpdateAll and StopUpdate
- Make update notifications as appropriate.
- Update locking mechanism: grab the bus name without queueing.
- FeedingIt.py:
- Adapt progress logic appropriately.
- Don't detect when the program is started only for an update (it
isn't anymore)
- FeedingIt:
- Start updatefeeds.py with the --daemon option.
Neal H. Walfield [Mon, 22 Aug 2011 19:28:36 +0000 (21:28 +0200)]
Replace use of print with Python's logging infrastructure.
Neal H. Walfield [Mon, 22 Aug 2011 19:11:10 +0000 (21:11 +0200)]
Redirect output to log files.
Neal H. Walfield [Sun, 21 Aug 2011 15:27:47 +0000 (17:27 +0200)]
Import woodchuck from wc.
Yves Marcoz [Fri, 19 Aug 2011 04:24:08 +0000 (21:24 -0700)]
Upgrade feedparser to 5.0.1
Yves Marcoz [Fri, 19 Aug 2011 04:19:12 +0000 (21:19 -0700)]
Fixed started if woodchuck not installed
Yves Marcoz [Fri, 5 Aug 2011 05:04:12 +0000 (22:04 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit
Conflicts:
src/rss_sqlite.py
Yves Marcoz [Fri, 5 Aug 2011 04:59:03 +0000 (21:59 -0700)]
Revert "Remove dead code."
This reverts commit
60c1e4498944b83eedbd7596e67ba7cd1ece9554.
Neal H. Walfield [Sun, 17 Jul 2011 21:21:48 +0000 (23:21 +0200)]
Ensure that use of an sqlite DB is done with a thread-local instance.
Yves Marcoz [Tue, 2 Aug 2011 04:06:06 +0000 (21:06 -0700)]
Apply Neal's patch - Fixed os.remove
Neal H. Walfield [Sun, 31 Jul 2011 09:34:30 +0000 (11:34 +0200)]
Bump version.
Neal H. Walfield [Sun, 31 Jul 2011 08:41:38 +0000 (10:41 +0200)]
Make the gtk frontend, the default frontend.
Neal H. Walfield [Sat, 30 Jul 2011 20:47:29 +0000 (22:47 +0200)]
Remove dead code.
Neal H. Walfield [Sat, 30 Jul 2011 20:47:19 +0000 (22:47 +0200)]
Quit after completing an update triggered by Woodchuck.
If started via DBus, an update is trigger, but no user interaction
occurs by the time the update completes, quit when the update
completes.
Neal H. Walfield [Sat, 30 Jul 2011 20:03:15 +0000 (22:03 +0200)]
Integrate BeautifulSoup version 3.2.0.
Neal H. Walfield [Fri, 29 Jul 2011 10:27:12 +0000 (12:27 +0200)]
When the user is active, reduce the download parallelism.