feedingit
12 years agoharmonized maemo/harmattan src files
Yves Marcoz [Sat, 24 Dec 2011 00:58:19 +0000 (16:58 -0800)]
harmonized maemo/harmattan src files

12 years agoReworked config dialog
Yves Marcoz [Fri, 23 Dec 2011 19:07:49 +0000 (11:07 -0800)]
Reworked config dialog

12 years agoBumped version number for Maemo 5 release
Yves Marcoz [Fri, 23 Dec 2011 18:09:22 +0000 (10:09 -0800)]
Bumped version number for Maemo 5 release

12 years agoUpdated tips-and-tricks page link
Yves Marcoz [Fri, 23 Dec 2011 18:07:24 +0000 (10:07 -0800)]
Updated tips-and-tricks page link

12 years agoChanged intro popup
Yves Marcoz [Fri, 23 Dec 2011 18:06:14 +0000 (10:06 -0800)]
Changed intro popup

12 years agoDisable app-based auto-update (application left running)
Yves [Thu, 22 Dec 2011 22:48:22 +0000 (14:48 -0800)]
Disable app-based auto-update (application left running)

12 years agoWhen checking if an article has been updated, compare the content.
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.

12 years agoEnsure that the string passed to md5 is 7-bit clean.
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.

12 years agoFix implementation of feed.getContent.
Neal H. Walfield [Sat, 10 Dec 2011 14:47:55 +0000 (14:47 +0000)]
Fix implementation of feed.getContent.

12 years agopsa: added splash screen
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

12 years agopsa: new icon, increased listing font size
Yves Marcoz [Wed, 30 Nov 2011 05:36:27 +0000 (21:36 -0800)]
psa: new icon, increased listing font size

12 years agopsa: Added sharing menu item for articles
Yves [Tue, 29 Nov 2011 23:16:53 +0000 (15:16 -0800)]
psa: Added sharing menu item for articles

12 years agopsa: fix updateBar
Yves Marcoz [Tue, 29 Nov 2011 06:46:22 +0000 (22:46 -0800)]
psa: fix updateBar

12 years agopsa: fix updateBar
Yves [Tue, 29 Nov 2011 00:02:10 +0000 (16:02 -0800)]
psa: fix updateBar

12 years agoMerge commit '407ee23a0fd8e0f00f7c41d83ae6fa4007ca229b'
Yves Marcoz [Mon, 28 Nov 2011 05:16:40 +0000 (21:16 -0800)]
Merge commit '407ee23a0fd8e0f00f7c41d83ae6fa4007ca229b'

12 years agoupdate_feeds: On exit, indicate that everything is done.
Neal H. Walfield [Sun, 27 Nov 2011 19:35:35 +0000 (20:35 +0100)]
update_feeds: On exit, indicate that everything is done.

12 years agoFix ArchivedArticles' update function.
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.

12 years agoMerge commit '95b2b55820745606cc7dae2df4fbbb214eeb161c'
Yves Marcoz [Sun, 27 Nov 2011 18:43:13 +0000 (10:43 -0800)]
Merge commit '95b2b55820745606cc7dae2df4fbbb214eeb161c'

12 years agopsa: added progress bar for updates
Yves Marcoz [Sun, 27 Nov 2011 18:21:14 +0000 (10:21 -0800)]
psa: added progress bar for updates

12 years agoAsk the user whether they'd like to install Woodchuck.
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.

12 years agoProvide a configuration to enable/disable scheduling with Woodchuck.
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.

12 years agoMake opening a browser window a top-level function.
Neal H. Walfield [Sun, 27 Nov 2011 16:35:50 +0000 (17:35 +0100)]
Make opening a browser window a top-level function.

12 years agoWoodchuck: Set a stream's freshness according to the configured update internal.
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.

12 years agoMake "every 8 hours" a possible update interval.
Neal H. Walfield [Sun, 27 Nov 2011 16:21:24 +0000 (17:21 +0100)]
Make "every 8 hours" a possible update interval.

12 years agoMake config file parsing more robust.
Neal H. Walfield [Sun, 27 Nov 2011 16:20:26 +0000 (17:20 +0100)]
Make config file parsing more robust.

12 years agoSet the woodchuck update interval according to the config
Neal H. Walfield [Sat, 26 Nov 2011 22:18:47 +0000 (23:18 +0100)]
Set the woodchuck update interval according to the config

12 years agopsa: small fix dbus updates
Yves [Fri, 25 Nov 2011 00:07:14 +0000 (16:07 -0800)]
psa: small fix dbus updates

12 years agopsa: Added update notification in UI
Yves [Thu, 24 Nov 2011 23:48:20 +0000 (15:48 -0800)]
psa: Added update notification in UI

12 years agopsa: fixed configdir value
Yves Marcoz [Wed, 23 Nov 2011 06:22:54 +0000 (22:22 -0800)]
psa: fixed configdir value

12 years agopsa: added automatic updates
Yves Marcoz [Wed, 23 Nov 2011 05:17:58 +0000 (21:17 -0800)]
psa: added automatic updates

12 years agopsa: implemented settings
Yves Marcoz [Tue, 22 Nov 2011 05:56:10 +0000 (21:56 -0800)]
psa: implemented settings

12 years ago0.9.1-3 - Fixed Archived Articles update
Yves Marcoz [Thu, 17 Nov 2011 06:36:28 +0000 (22:36 -0800)]
0.9.1-3 - Fixed Archived Articles update

12 years ago0.9.1-2 for extras-devel
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

12 years agopsa: improved add feed/categories dialog
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

12 years agopsa: made text more readable for n950
Yves Marcoz [Mon, 7 Nov 2011 05:40:48 +0000 (21:40 -0800)]
psa: made text more readable for n950
speed improvements

12 years agoMerge commit 'afee77cd5721bd863a8a4649e7bec8b964547e3e'
Yves Marcoz [Sat, 5 Nov 2011 22:12:58 +0000 (15:12 -0700)]
Merge commit 'afee77cd5721bd863a8a4649e7bec8b964547e3e'

12 years agoFix img detection.
Neal H. Walfield [Sat, 5 Nov 2011 14:36:08 +0000 (15:36 +0100)]
Fix img detection.

12 years agoWhen parsing a feed update: don't die if the version field is unset.
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.

12 years agoWhen an article is updated, save the update.
Neal H. Walfield [Sat, 5 Nov 2011 11:03:15 +0000 (12:03 +0100)]
When an article is updated, save the update.

12 years agopsa: Added AddFeed dialog
Yves Marcoz [Thu, 3 Nov 2011 05:37:12 +0000 (22:37 -0700)]
psa: Added AddFeed dialog

12 years agoqml - Improving menu layout
Yves Marcoz [Tue, 1 Nov 2011 04:29:49 +0000 (21:29 -0700)]
qml - Improving menu layout

12 years agopsa: fix feeds not showing up in some cases
Yves [Fri, 28 Oct 2011 23:03:40 +0000 (16:03 -0700)]
psa: fix feeds not showing up in some cases

12 years agoQml support for harmattan version improved
Yves Marcoz [Wed, 26 Oct 2011 05:37:37 +0000 (22:37 -0700)]
Qml support for harmattan version improved

12 years agoAdding PageStack support in qml
Yves Marcoz [Tue, 25 Oct 2011 05:01:38 +0000 (22:01 -0700)]
Adding PageStack support in qml

12 years agoDrop unnecessary imports.
Neal H. Walfield [Thu, 20 Oct 2011 19:52:23 +0000 (21:52 +0200)]
Drop unnecessary imports.

12 years agoIf Woodchuck initialization fails, handle the error gracefully.
Neal H. Walfield [Thu, 20 Oct 2011 19:49:59 +0000 (21:49 +0200)]
If Woodchuck initialization fails, handle the error gracefully.

12 years agoIf Woodchuck schedules an object transfer, tell it not to bother.
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.

12 years agoFix spelling: it's logger.debug, not log.
Neal H. Walfield [Thu, 20 Oct 2011 19:48:11 +0000 (21:48 +0200)]
Fix spelling: it's logger.debug, not log.

12 years agoMake woodchuck upcalls future proof.
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.

12 years agoIf the image tag does not contain a src parameter, ignore it.
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.

12 years agoRemove .pyc files
Yves [Wed, 19 Oct 2011 21:04:05 +0000 (14:04 -0700)]
Remove .pyc files

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Sat, 15 Oct 2011 16:23:34 +0000 (09:23 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

12 years agoAdding wip version for meego harmattan
Yves Marcoz [Sat, 15 Oct 2011 16:22:45 +0000 (09:22 -0700)]
Adding wip version for meego harmattan

12 years agoFix exception catching when woodchuck is not installed
Yves [Tue, 20 Sep 2011 18:30:06 +0000 (11:30 -0700)]
Fix exception catching when woodchuck is not installed

12 years agoFix download feed for FeedingIt-Web.py
Yves [Tue, 20 Sep 2011 18:28:59 +0000 (11:28 -0700)]
Fix download feed for FeedingIt-Web.py

12 years agoMerge remote-tracking branch 'woodchuck/master'
Yves Marcoz [Mon, 19 Sep 2011 23:12:24 +0000 (16:12 -0700)]
Merge remote-tracking branch 'woodchuck/master'

12 years agoWhen computing the progress, avoid division by zero.
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Mon, 19 Sep 2011 23:07:06 +0000 (16:07 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

12 years agoWhen computing the progress, avoid division by zero.
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.

12 years agoChange addImage to not throw an exception but return None on failure.
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.

12 years agoFix cache management.
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.

12 years agoDon't reprocess downloaded articles that are already up to date.
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.

12 years agorss_sqlite: When update a feed: improve statistics reporting.
Neal H. Walfield [Tue, 6 Sep 2011 22:16:45 +0000 (00:16 +0200)]
rss_sqlite: When update a feed: improve statistics reporting.

12 years agoDo less important start up configuration after the main view is shown.
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.

12 years agoIf initializing the Woodchuck connection fails, just disable Woodchuck.
Neal H. Walfield [Tue, 6 Sep 2011 20:54:06 +0000 (22:54 +0200)]
If initializing the Woodchuck connection fails, just disable Woodchuck.

12 years agoModify the DisplayFeed widget so it need not be destroyed.
Neal H. Walfield [Tue, 6 Sep 2011 20:42:34 +0000 (22:42 +0200)]
Modify the DisplayFeed widget so it need not be destroyed.

12 years agoCache data needed to build the feed and feeds overviews.
Neal H. Walfield [Tue, 6 Sep 2011 12:58:36 +0000 (14:58 +0200)]
Cache data needed to build the feed and feeds overviews.

12 years agoChange Listing.getFeedUpdateTime to return a relative time string.
Neal H. Walfield [Tue, 6 Sep 2011 11:06:43 +0000 (13:06 +0200)]
Change Listing.getFeedUpdateTime to return a relative time string.

12 years agoCorrectly set update time to never.
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.

12 years agoSet the orientation before showing the main window.
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.

12 years agoWhen creating a closure, correctly capture any required local state.
Neal H. Walfield [Mon, 5 Sep 2011 21:57:16 +0000 (23:57 +0200)]
When creating a closure, correctly capture any required local state.

12 years agoMake addImage more robust.
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.

12 years agoIn downloader, not check if progress_handler == False, but if it is None.
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.

12 years agoFix call to addImage.
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.

12 years agoIf an instance of FeedingIt is running, send it to the front and quit.
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.

12 years agoWhen navigating to the next article, reuse the DisplayArticle widget.
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.

12 years agoOpen external links asynchronously.
Neal H. Walfield [Sun, 4 Sep 2011 11:19:51 +0000 (13:19 +0200)]
Open external links asynchronously.

12 years agoOffload all downloading logic to updatefeed.py.
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.

12 years agoReplace use of print with Python's logging infrastructure.
Neal H. Walfield [Mon, 22 Aug 2011 19:28:36 +0000 (21:28 +0200)]
Replace use of print with Python's logging infrastructure.

12 years agoRedirect output to log files.
Neal H. Walfield [Mon, 22 Aug 2011 19:11:10 +0000 (21:11 +0200)]
Redirect output to log files.

12 years agoImport woodchuck from wc.
Neal H. Walfield [Sun, 21 Aug 2011 15:27:47 +0000 (17:27 +0200)]
Import woodchuck from wc.

12 years agoUpgrade feedparser to 5.0.1
Yves Marcoz [Fri, 19 Aug 2011 04:24:08 +0000 (21:24 -0700)]
Upgrade feedparser to 5.0.1

12 years agoFixed started if woodchuck not installed
Yves Marcoz [Fri, 19 Aug 2011 04:19:12 +0000 (21:19 -0700)]
Fixed started if woodchuck not installed

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
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

12 years agoRevert "Remove dead code."
Yves Marcoz [Fri, 5 Aug 2011 04:59:03 +0000 (21:59 -0700)]
Revert "Remove dead code."

This reverts commit 60c1e4498944b83eedbd7596e67ba7cd1ece9554.

12 years agoEnsure that use of an sqlite DB is done with a thread-local instance.
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.

12 years agoApply Neal's patch - Fixed os.remove
Yves Marcoz [Tue, 2 Aug 2011 04:06:06 +0000 (21:06 -0700)]
Apply Neal's patch - Fixed os.remove

12 years agoBump version.
Neal H. Walfield [Sun, 31 Jul 2011 09:34:30 +0000 (11:34 +0200)]
Bump version.

12 years agoMake the gtk frontend, the default frontend.
Neal H. Walfield [Sun, 31 Jul 2011 08:41:38 +0000 (10:41 +0200)]
Make the gtk frontend, the default frontend.

12 years agoRemove dead code.
Neal H. Walfield [Sat, 30 Jul 2011 20:47:29 +0000 (22:47 +0200)]
Remove dead code.

12 years agoQuit after completing an update triggered by Woodchuck.
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.

12 years agoIntegrate BeautifulSoup version 3.2.0.
Neal H. Walfield [Sat, 30 Jul 2011 20:03:15 +0000 (22:03 +0200)]
Integrate BeautifulSoup version 3.2.0.

12 years agoWhen the user is active, reduce the download parallelism.
Neal H. Walfield [Fri, 29 Jul 2011 10:27:12 +0000 (12:27 +0200)]
When the user is active, reduce the download parallelism.

12 years agoWhen creating a unique id for an article, use all available information.
Neal H. Walfield [Sun, 24 Jul 2011 22:29:01 +0000 (00:29 +0200)]
When creating a unique id for an article, use all available information.

12 years agoIf a new feed's title is '', don't abort: set the title to that in the feed.
Neal H. Walfield [Sun, 24 Jul 2011 17:05:15 +0000 (19:05 +0200)]
If a new feed's title is '', don't abort: set the title to that in the feed.

12 years agoAdd support for Woodchuck.
Neal H. Walfield [Sat, 23 Jul 2011 09:13:47 +0000 (11:13 +0200)]
Add support for Woodchuck.

12 years agoMove download management from frontends to rss_sqlite.py.
Neal H. Walfield [Sat, 23 Jul 2011 08:38:18 +0000 (10:38 +0200)]
Move download management from frontends to rss_sqlite.py.

 - Move download logic to rss_sqlite.py:
  - Move thread management to jobmanager.py.
  - Queue jobs in rss_sqlite.py.
  - Manage per-feed DBus locks in rss_sqlite.py.
  - Get config settings in rss_sqlite.py on demand.

 - Make downloading more robust:
  - Only call non-thread-safe code (in particular, DBus and gconf
    functionality) from the main thread using mainthread.py.
  - Improve responsiveness of the frontend but yielding during CPU
    intense activities and only allowing a single slave to parse
    a feed at a time.
  - When downloads are canceled, do our best to quit cleanly and
    quickly.

 - Update frontends to use the new functionality.
  - Remove redundant code, in particular, download functionality.
  - Rework FeedingIt.py's download bar.

12 years agoCall remove, not os.remove.
Neal H. Walfield [Sun, 17 Jul 2011 22:07:04 +0000 (00:07 +0200)]
Call remove, not os.remove.

12 years agoEnsure that use of an sqlite DB is done with a thread-local instance.
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.

13 years agoFixed updating issues
Yves Marcoz [Wed, 24 Nov 2010 06:58:43 +0000 (22:58 -0800)]
Fixed updating issues