meego-sharing-framework:webupload-engine.git
7 years agoAfter tagging
Sami Viitanen [Tue, 5 Apr 2011 13:48:44 +0000 (16:48 +0300)]
After tagging

7 years agoNow handling only USB MassStorage and Disconnected modes. All other modes are v0.3.14.1
divya [Tue, 5 Apr 2011 11:39:22 +0000 (17:09 +0530)]
Now handling only USB MassStorage and Disconnected modes. All other modes are
ignored. This fixes bug 242547

7 years agoFixed bug 239339
divya [Tue, 5 Apr 2011 06:49:19 +0000 (12:19 +0530)]
Fixed bug 239339

7 years agoAfter tagging
Sami Viitanen [Fri, 1 Apr 2011 11:44:21 +0000 (14:44 +0300)]
After tagging

7 years agoSmall typo fixed v0.3.13.2
Sami Viitanen [Fri, 1 Apr 2011 11:42:25 +0000 (14:42 +0300)]
Small typo fixed

7 years agoReview fixes 9
Mika Suonpaa [Thu, 31 Mar 2011 16:43:14 +0000 (19:43 +0300)]
Review fixes

7 years agoGet tags for all media with one sparql query
Mika Suonpaa [Wed, 30 Mar 2011 16:13:22 +0000 (19:13 +0300)]
Get tags for all media with one sparql query

7 years agoCleaning debug printing
Sami Viitanen [Wed, 30 Mar 2011 12:52:59 +0000 (15:52 +0300)]
Cleaning debug printing

7 years agoAfter tagging
divya [Wed, 30 Mar 2011 10:18:53 +0000 (15:48 +0530)]
After tagging

7 years agoChange log update v0.3.13.1
Ravi Kumar S [Wed, 30 Mar 2011 09:27:11 +0000 (14:57 +0530)]
Change log update

7 years agoChanges to listen to configuration changed signal and continue uploading
Ravi Kumar S [Wed, 30 Mar 2011 08:17:13 +0000 (13:47 +0530)]
Changes to listen to configuration changed signal and continue uploading

7 years agoThere was a common class for the various options. When the class was
divya [Wed, 30 Mar 2011 07:28:45 +0000 (12:58 +0530)]
There was a common class for the various options. When the class was
initialized for image size, we were doing the localization before setting the
options to the option list, while for other types of options, we were just
setting the logical string ids for the options.

When the UI asked for the option list, we were then again doing localization,
and this was done by doing something like
qtTrId (<option>.toAscii().constData());

This was causing the localizations already received for the image size options
to be lost, leading to this issue.

Fixed this

7 years agoFixes: NB#238604 - Flickr: Creator & GPS metadata is not removed from video file...
Sami Viitanen [Tue, 29 Mar 2011 13:55:58 +0000 (16:55 +0300)]
Fixes: NB#238604 - Flickr: Creator & GPS metadata is not removed from video file even if Remove Creator & GPS option is set before uploading

7 years agoAdded comment based on feedback 7
Sami Viitanen [Tue, 29 Mar 2011 12:33:43 +0000 (15:33 +0300)]
Added comment based on feedback

7 years agoSupport UUID based XMP ATOM coding inside video files
Sami Viitanen [Tue, 29 Mar 2011 11:34:24 +0000 (14:34 +0300)]
Support UUID based XMP ATOM coding inside video files

7 years agoAfter tagging
divya [Tue, 29 Mar 2011 09:29:45 +0000 (14:59 +0530)]
After tagging

7 years agoAdded default implementation of a virtual plugin so as not to break v0.3.12.2
divya [Thu, 24 Mar 2011 06:35:46 +0000 (12:05 +0530)]
Added default implementation of a virtual plugin so as not to break
existing service plugins

7 years agoMoved to new version, so dependancy can be handled correctly.
divya [Thu, 24 Mar 2011 06:00:41 +0000 (11:30 +0530)]
Moved to new version, so dependancy can be handled correctly.

7 years agoMerge commit 'refs/merge-requests/6' of git@gitorious.org:meego-sharing-framework...
divya [Thu, 24 Mar 2011 05:58:58 +0000 (11:28 +0530)]
Merge commit 'refs/merge-requests/6' of git@gitorious.org:meego-sharing-framework/webupload-engine into merge-requests/6

Conflicts:

debian/changelog

7 years ago(1) Fixed code to remove warnings about warning signals
divya [Thu, 24 Mar 2011 04:10:19 +0000 (09:40 +0530)]
(1) Fixed code to remove warnings about warning signals
(2) Fixed the publish-widgets custom ui loading so that the object loaded
by the plugin is not the custom widget itself. Instead an intermediate provider
object is provided by the plugin and this object has a getCustomWidget()
function which provides a new custom widget each time it is called. This is
needed to avoid crashes if the user has two instances of share-ui open, and he
selects the same service providing the custom widget in both the instances. The
crash happnes because the plugin will always provide the same object (in the
previous case, that object was the widget), and we were then trying to insert
that same widget in multiple scenes.

7 years agoAdded boolean variable to ensure proper cancellation. 6
divya [Tue, 22 Mar 2011 10:27:11 +0000 (15:57 +0530)]
Added boolean variable to ensure proper cancellation.

7 years agoModified WebUpload::PostSimpleHttp class to allow for upload requests which
divya [Tue, 22 Mar 2011 10:19:39 +0000 (15:49 +0530)]
Modified WebUpload::PostSimpleHttp class to allow for upload requests which
might involve multiple distinct network accesses for the one request to be
processed. Examples of cases where they might be required

When posting a link to twitter, it might be required to first shorten the
link url and then only post the shortened url to twitter.

7 years agoAfter tagging
Sami Viitanen [Thu, 17 Mar 2011 11:49:34 +0000 (13:49 +0200)]
After tagging

7 years agoFixed SSL handling in update scenario v0.3.11.1
divya [Wed, 16 Mar 2011 11:28:16 +0000 (16:58 +0530)]
Fixed SSL handling in update scenario

7 years agoFixed handling of qtn_tui_share_size* to match as described in UI specs v1.12
divya [Tue, 15 Mar 2011 07:12:46 +0000 (12:42 +0530)]
Fixed handling of qtn_tui_share_size* to match as described in UI specs v1.12

7 years agoAfter tagging
Sami Viitanen [Fri, 11 Mar 2011 13:37:40 +0000 (15:37 +0200)]
After tagging

7 years agoAdded missing header files so compilation can go through 4 v0.3.10.3
divya [Fri, 11 Mar 2011 09:56:59 +0000 (15:26 +0530)]
Added missing header files so compilation can go through

7 years agoAdded SSL error handling
divya [Fri, 11 Mar 2011 09:45:38 +0000 (15:15 +0530)]
Added SSL error handling

7 years agoFixes: NB#235097 - webupload-engine provides dev packages with missing dependencies
Sami Viitanen [Thu, 10 Mar 2011 08:21:16 +0000 (10:21 +0200)]
Fixes: NB#235097 - webupload-engine provides dev packages with missing dependencies

7 years agoAdded libqt4 dependency to libwebupload-dev
Sami Viitanen [Thu, 10 Mar 2011 07:59:38 +0000 (09:59 +0200)]
Added libqt4 dependency to libwebupload-dev

7 years agoFixes: NB#234632 - An image without filetype (.jpg) in its file name when scaled...
Sami Viitanen [Wed, 9 Mar 2011 12:50:07 +0000 (14:50 +0200)]
Fixes: NB#234632 - An image without filetype (.jpg) in its file name when scaled and uploaded fails with error 'Transfer failed. Unable to continue'

7 years agoAfter tagging
divya [Tue, 8 Mar 2011 10:50:45 +0000 (16:20 +0530)]
After tagging

7 years ago(1) Added function WebUpload::Media::allTags which returns a list that contains v0.3.10.1
divya [Tue, 8 Mar 2011 09:55:56 +0000 (15:25 +0530)]
(1) Added function WebUpload::Media::allTags which returns a list that contains
geotags as well as tags in one single string list
(2) Modified UploadItem to set the data uri info if the title is empty

7 years agoAfter tagging
divya [Thu, 3 Mar 2011 10:39:30 +0000 (16:09 +0530)]
After tagging

7 years agoFixed changelog v0.3.9.2
divya [Thu, 3 Mar 2011 10:14:21 +0000 (15:44 +0530)]
Fixed changelog

7 years agoFixed markFailed function so that title and thumbnail for first failed item
divya [Thu, 3 Mar 2011 06:35:22 +0000 (12:05 +0530)]
Fixed markFailed function so that title and thumbnail for first failed item
is now searched only if connection to transfer ui exists. Not having this
check was causing tests to fail.

7 years agoRemoved dependancy on meegotouch and added dependancy to share-widgets
divya [Wed, 2 Mar 2011 09:44:06 +0000 (15:14 +0530)]
Removed dependancy on meegotouch and added dependancy to share-widgets

7 years agoAfter tagging
Sami Viitanen [Mon, 28 Feb 2011 14:42:28 +0000 (16:42 +0200)]
After tagging

7 years agoAdded handling of the signal emitted saying "about to unmount drive" just v0.3.9.1
divya [Mon, 28 Feb 2011 06:37:42 +0000 (12:07 +0530)]
Added handling of the signal emitted saying "about to unmount drive" just
before device enters mass-storage mode.

Current limitation: If some other application blocks the device from entering
the mass storage mode, the current transfer enters into a blocked state. The
only ways out are to either somehow get the device into mass storage and then
exit it, or to cancel that transfer. This is an acceptable limitation, since,
sometime in the future, any application that blocks device entering
mass-storage mode will be killed, so that this scenario should not arise then.

7 years agoAfter tagging
divya [Fri, 25 Feb 2011 09:45:46 +0000 (15:15 +0530)]
After tagging

7 years agoFixed bug 228941 v0.3.8.3
divya [Fri, 25 Feb 2011 08:50:16 +0000 (14:20 +0530)]
Fixed bug 228941

7 years agoThe way the authResultSlot was written, if the user pressed cancel, and the
divya [Fri, 25 Feb 2011 06:39:08 +0000 (12:09 +0530)]
The way the authResultSlot was written, if the user pressed cancel, and the
authentication was successful, the plugin would crash. Changed the slot to
always emit stopped/canceled when the state shows that the user pressed
cancel.

7 years agoAfter tagging
divya [Thu, 24 Feb 2011 11:52:00 +0000 (17:22 +0530)]
After tagging

7 years agoFixed one more compilation error v0.3.8.2
divya [Thu, 24 Feb 2011 10:37:16 +0000 (16:07 +0530)]
Fixed one more compilation error

7 years agoFixed compilation error
divya [Thu, 24 Feb 2011 10:29:48 +0000 (15:59 +0530)]
Fixed compilation error

7 years agoFixed error strings.
divya [Thu, 24 Feb 2011 06:13:19 +0000 (11:43 +0530)]
Fixed error strings.

7 years agoAfter tagging
divya [Tue, 22 Feb 2011 11:29:14 +0000 (16:59 +0530)]
After tagging

7 years agoFixed bug 228377. Changes done are as follows: v0.3.8.1
divya [Tue, 22 Feb 2011 10:45:06 +0000 (16:15 +0530)]
Fixed bug 228377. Changes done are as follows:
(1) Now when processing for media fails because source file was not found,
    then media is marked as failed.
(2) Media's fail handling is modified to handling PENDING->FAILED transition.
    In this case, we do not update tracker, and we don't update entry either.
(3) In PostSimpleHttp, before trying upload, modified the check to emit error
    if either copy file or source file is missing.

7 years agoAdded check for whether media is in pending state or not before sending it
divya [Tue, 22 Feb 2011 06:00:53 +0000 (11:30 +0530)]
Added check for whether media is in pending state or not before sending it
as the next unprocessed media

7 years agoFigured out the quill metadata tag for district and added appropriate changes
divya [Fri, 18 Feb 2011 05:57:37 +0000 (11:27 +0530)]
Figured out the quill metadata tag for district and added appropriate changes

7 years agoFixed errors in the tracker query
divya [Fri, 18 Feb 2011 05:21:34 +0000 (10:51 +0530)]
Fixed errors in the tracker query

7 years agoMade some additional changes as per review comments before integrating
divya [Thu, 17 Feb 2011 10:08:01 +0000 (15:38 +0530)]
Made some additional changes as per review comments before integrating

7 years agoMerge branch 'master' of git@gitorious.org:meego-sharing-framework/webupload-engine 3
divya [Thu, 17 Feb 2011 06:42:01 +0000 (12:12 +0530)]
Merge branch 'master' of git@gitorious.org:meego-sharing-framework/webupload-engine

Conflicts:

debian/changelog

7 years agoFixed bug 227949
divya [Thu, 17 Feb 2011 06:38:02 +0000 (12:08 +0530)]
Fixed bug 227949

7 years agoFixes: NB#227720 - Random Picasa crash
Mika Suonpaa [Wed, 16 Feb 2011 11:36:47 +0000 (13:36 +0200)]
Fixes: NB#227720 - Random Picasa crash

7 years agoAdded/modified APIs to media and entry classes to handle geotags.
divya [Wed, 16 Feb 2011 10:39:12 +0000 (16:09 +0530)]
Added/modified APIs to media and entry classes to handle geotags.
Added own class to store geotag information

7 years agoAfter tagging
divya [Wed, 9 Feb 2011 05:04:13 +0000 (10:34 +0530)]
After tagging

7 years agoUpdating version v0.3.6.1
divya [Wed, 9 Feb 2011 04:42:05 +0000 (10:12 +0530)]
Updating version

7 years agoHandling unset state in media.
divya [Tue, 8 Feb 2011 11:13:45 +0000 (16:43 +0530)]
Handling unset state in media.

7 years agoOption for disabling document generation
Mika Suonpaa [Fri, 4 Feb 2011 13:12:57 +0000 (15:12 +0200)]
Option for disabling document generation

7 years agoAfter tagging
divya [Thu, 3 Feb 2011 10:02:06 +0000 (15:32 +0530)]
After tagging

7 years agoReplaced QTime with QElapsedTimer v0.3.5.1
Mika Suonpaa [Wed, 2 Feb 2011 14:04:55 +0000 (16:04 +0200)]
Replaced QTime with QElapsedTimer

7 years agoFixed connection related issue
divya [Tue, 1 Feb 2011 04:38:17 +0000 (10:08 +0530)]
Fixed connection related issue

7 years agoAfter tagging
Mika Suonpaa [Fri, 28 Jan 2011 11:03:51 +0000 (13:03 +0200)]
After tagging

7 years agoIncorporated review comments 2 v0.3.4.2
divya [Fri, 28 Jan 2011 10:34:44 +0000 (16:04 +0530)]
Incorporated review comments

7 years agoMade changes similar to those done in share-ui to fix bug 199903
divya [Fri, 28 Jan 2011 09:54:15 +0000 (15:24 +0530)]
Made changes similar to those done in share-ui to fix bug 199903

7 years agoAfter tagging
divya [Thu, 27 Jan 2011 12:01:15 +0000 (17:31 +0530)]
After tagging

7 years agoIf mime type was not known, we were printing a critical error and then setting 1 v0.3.4.1
divya [Tue, 25 Jan 2011 08:33:32 +0000 (14:03 +0530)]
If mime type was not known, we were printing a critical error and then setting
default mime type as text/plain. Changed it so we have failure if mime type
is not known

7 years agoWhen the file to be shared is deleted, it's entries from tracker get removed.
divya [Tue, 25 Jan 2011 07:14:36 +0000 (12:44 +0530)]
When the file to be shared is deleted, it's entries from tracker get removed.
Now, when the upload gets scheduled, the plugin tries to create a
WebUpload::Entry class from the given xml file. The init of WebUpload::Media
instance corresponding to the deleted file fails. We do not give an error
there, and try to continue with the init'ing of any other files to be shared
(which is 0 in this case). Now, when we try to do the actual upload, we see
there is no WebUpload::Media which has not been sent, and set state as upload
done.

Changes done:
(1) Tracker reading is done *AFTER* rest of the information is read from the
XML file
(2) Getting mime type, and original file path from tracker has been made
optional. So, if the file is deleted before it's upload is scheduled, then
not getting these does not indicate an error.
(3) Tracker mime type is used only if xml did not contain mime information
(4) With the above changes, a WebUpload::Media init will fail only if either
the XML file with the upload information, or tracker database is corrupted. In
either case, we should not continue with init of the WebUpload::Entry.
(5) Interaction with transfer-ui changed to handle the scenario where original
file link is not present.

7 years agoFixed compilation error
Mika Suonpaa [Thu, 20 Jan 2011 10:25:57 +0000 (12:25 +0200)]
Fixed compilation error

7 years agoFixed bug 219702.
divya [Thu, 20 Jan 2011 06:51:53 +0000 (12:21 +0530)]
Fixed bug 219702.

The issue was that the the state in PostBase was set to AuthPending even if
first error recovery needed to be done. The pointer to the AuthBase class was
being initialized only when the authentication check was started. If the
plugin was asked to stop after error recovery request was made, but before the
authentication was started, then we used to assert because of null AuthBase
pointer.

This is a very rare crash, but needs to be fixed. To fix, a new enum was added
to indicate that the PostBase class is in error fixing state. The rest of the
changes are done to ensure that states are changed correctly.

7 years agoAfter tagging
divya [Wed, 19 Jan 2011 11:04:03 +0000 (16:34 +0530)]
After tagging

7 years agoThe problem is that isActive() was changed to wait on the process exiting. When v0.3.3.1
divya [Wed, 19 Jan 2011 07:00:07 +0000 (12:30 +0530)]
The problem is that isActive() was changed to wait on the process exiting. When
the process exits, the member variable referring to the process was getting set
to 0 in the function PluginProcess::processFinished, but when the code in
PluginProcess::isActive after the m_currentProcess->waitForFinished(1000) was
executed, that variable was not checked against NULL value.

This bug can be reproduced with any service by disabling connectivity during
upload.

Changed back PluginProcess::isActive to return immediately with true or false,
depending on whether the plugin is running or not.

7 years agoChanged update process to only check for connection availability when plugin
divya [Wed, 19 Jan 2011 05:02:29 +0000 (10:32 +0530)]
Changed update process to only check for connection availability when plugin
gives failure. This allows the connection dialog to be handled properly,
and "No connection" error to be shown correctly.

7 years agoUpdating with review comment
divya [Tue, 18 Jan 2011 11:34:54 +0000 (17:04 +0530)]
Updating with review comment

7 years agoFix for bug 219643.
divya [Tue, 18 Jan 2011 07:08:01 +0000 (12:38 +0530)]
Fix for bug 219643.

Now, if a given upload is not the first in a queue, it will always how a
pending state which is something like "Waiting for previous upload to finish".
Only upload which is the first in the queue can have the other different
pending states.

7 years agoSome more tests and fixed bug 219582
divya [Mon, 17 Jan 2011 11:22:57 +0000 (16:52 +0530)]
Some more tests and fixed bug 219582

7 years agoUpdated test cases to increase some coverage
divya [Mon, 17 Jan 2011 06:48:49 +0000 (12:18 +0530)]
Updated test cases to increase some coverage

7 years agosmall fixes
Sami Viitanen [Fri, 14 Jan 2011 16:39:28 +0000 (18:39 +0200)]
small fixes

7 years agoFix log file name
Sami Viitanen [Fri, 14 Jan 2011 16:19:53 +0000 (18:19 +0200)]
Fix log file name

7 years agoAfter tagging
divya [Fri, 14 Jan 2011 08:23:02 +0000 (13:53 +0530)]
After tagging

7 years agoAdded ${misc:Depends} to the depends for libwebupload0-dbg to remove v0.3.2.1
divya [Fri, 14 Jan 2011 06:48:58 +0000 (12:18 +0530)]
Added ${misc:Depends} to the depends for libwebupload0-dbg to remove
the corresponding warning during debian build

7 years agoFixed some compilation issues.
divya [Fri, 14 Jan 2011 05:51:57 +0000 (11:21 +0530)]
Fixed some compilation issues.

7 years agoRevert wrong header change. Please be careful when you merge\!
Alexander Bokovoy [Thu, 13 Jan 2011 15:02:23 +0000 (17:02 +0200)]
Revert wrong header change. Please be careful when you merge\!

7 years agoFixed an issue where if new transfer was coming after the process thread exited,
divya [Thu, 13 Jan 2011 11:46:00 +0000 (17:16 +0530)]
Fixed an issue where if new transfer was coming after the process thread exited,
then it would get processed only when it became head of the queue.

7 years agoInitial commit
Alexander Bokovoy [Wed, 12 Jan 2011 16:34:40 +0000 (18:34 +0200)]
Initial commit