aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-12-26Export total weight on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-26Store more cylinder information on manual CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-26Save info only from first cylinder on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-26Updated Mac build instructionsGravatar Robert C. Helling
This uses Qt5 downloaded from their website (as Qt5 from homebrew fails to link and thus is not working for me) and our custom libdivecomputer and marble [Dirk Hohndel: reformatted, minor typos fixed, removed the conflicting MacPorts instructions] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-26Make qmake work for Qt5 on MacGravatar Robert C. Helling
Set special build marble path properly and enable pkg-config Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-26Send the current selected dive to FacebookGravatar Tomaz Canabrava
This still only works for FB app admins at this time. It always sends the dive that is shown in the profile. It uses the resolution / size of the profile on screen. It doesn't add any description and doesn't ask the user for explicit permission to post (a preview would be even better with the ability to edit the post). But it's a great next step! Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-25Send an experimental file to the experimental album on FacebookGravatar Tomaz Canabrava
And I had to create the Http header by hand because I couldn't figure out how to do using HttpMultiPart from Qt. not fun. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-25Automatically increment column number on CSV importGravatar Miika Turkia
This increments the column number automatically when doing manual CSV import. Counter is decreased when un-checking checkboxes, but that is all the logic there currently is. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Changed Facebook stuff to socialnetworks.h/cppGravatar Tomaz Canabrava
All Facebook related stuff now is on SocialNetworks.h/cpp this makes it much easier to implement things and looking for bugs. working: - logging in - getting user id - getting album id ( or creating it ) *much* more testing is needed, of course. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Revert "Remove unused strings from ui files"Gravatar Dirk Hohndel
This reverts commit 6e72b5b8c5ce86effb6d31ea14bf85a9c37237a6. That broke the functionality to add elements to the tables in the planner and the equipment tab. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Create a Facebook album for SubsurfaceGravatar Tomaz Canabrava
We still need to do a lot of stuff on that part. Currently when asking for sending a profile, it will just create a private album. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Fix prev/next anomaly from user manualGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Save and restore Facebook Prefs.Gravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Get and save the UserID for use with Facebook.Gravatar Tomaz Canabrava
Next: Publish something with the Graph API. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Ask for facebook permission to post to a user newsfeed.Gravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Disconnect from facebook manually.Gravatar Tomaz Canabrava
Added a button to disconnect from facebook. This clears the webview cookies so it correctly disconnects us from facebook, and clears the access token. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24State that you are connected on Facebook.Gravatar Tomaz Canabrava
TODO: Disconnect from facebook. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Connect to facebook, save the tokens for future use.Gravatar Tomaz Canabrava
We can now correctly connect to facebook endpoint. Nothing really fancy at the moment. =/ Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-24Allow subsurface to login with facebook.Gravatar Tomaz Canabrava
This piece of code allows subsurface to login with facebook using the 'Subsurface' app created within facebook for secure reasons. I'm the admin of it currently - but I'll pass it to Dirk as well. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-23Carefully create some forced marginsGravatar Dirk Hohndel
We don't want to waste space, but we don't want things to be too crammed together, either. Especially not having horizontal margins for text can look very awkward. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-23Enable tag bubble eye candy for Qt5 and MacGravatar Dirk Hohndel
This works when building against Qt5, so no reason to hide the cute bubbles from our Mac users anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Add a trailing ';' to the Keywords in the subsurface.desktop fileGravatar Dirk Hohndel
OBS insists that that's necessary Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Enable firmware updates for OSTC3/OSTC SportGravatar Anton Lundin
This enables the dormant OSTC3/OSTC Sport firmware update code, now when the hw_ostc3_device_fwupdate call is available in libdivecomputer. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Support quoting strings with "" on manual CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Include some empty fields if they are not availableGravatar Miika Turkia
If specific value is not available, we need to have an empty value instead. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Include empty location and gps if non is givenGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Take pressure info from first DC on CSV exportGravatar Miika Turkia
Try to grab pressure information from first DC if it is not manually entered. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Take depths from first DC on CSV exportGravatar Miika Turkia
We need to limit the DCs from which we grab the depths. Otherwise, we end up with too many depth values. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-22Grab divecomputer/temperature on CSV exportGravatar Miika Turkia
If temperature is recorded by a DC it must be taken from under the divecomputer tag. However, this will prefer the manually written value if such exists. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-21Add second CSV export with dive detailsGravatar Dirk Hohndel
This is intended to export all the details that someone might copy from a paper logbook. We need a matching import template to make this simple. This hasn't been well tested, I'm sure it will break when elements and attributes are missing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-21Revert "Free tag lists propperly"Gravatar Dirk Hohndel
No, this causes double free problems. And they show up in the weirdest ways, e.g. when just closing your data file. Or when making changes and re-saving a modified dive. Fixes #794 This reverts commit 0bdd8f41e0b217c6f0a3723dd756e96c93b3f5c6. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-21Changes to user manual to reduce image sizesGravatar willem ferguson
Some image sizes were in excess of 200 kB in size. All images larger than 100 kB were reduced in size to below 70 kB. In the process there was a conversion of some images from Unity to F20 KDE. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Add Makefile to create ReleaseNotes HTMLGravatar Dirk Hohndel
Add the first couple of entries for the next version of the ReleaseNotes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Improve error messages on database importsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Glue between GUI and XSLT for additions in CSV importGravatar Miika Turkia
This code sets the parameters properly to support the new fields in manual CSV import. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Hook the enable-disable for CSV importGravatar Miika Turkia
This enables and disables the spinbox according to check box selection for new fields in manual CSV import. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20GUI change for manual CSV importGravatar Miika Turkia
This adds fields for cylinder and temperature information on the importing dialog. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Add cylinder support to manual2xml XSLTGravatar Miika Turkia
This adds support for importing cylinder information from manually kept dive logs. However, this cannot be used before GUI counterpart is added. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Add temperature support to manual2xml XSLTGravatar Miika Turkia
This adds support for importing temperatures from manually kept dive logs. However, this cannot be used before GUI counterpart is added. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Fix a bug that added 0, 0 as location on manual CSV importGravatar Miika Turkia
The existence of location information was tested incorrectly resulting in erroneously adding these fields if they were not present. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Import location from Cobalt DBGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Remove placeholder location and buddy fieldsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Stub for collecting visibility on Cobalt DB importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Add buddy support to Cobalt DB importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Fix maximum depth on Cobalt importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Include cylinder information in Cobalt importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-20Bare implementation of Cobalt Divelog ProgramGravatar Miika Turkia
This implements importing of dive profile and temperature graph along with some meta data from a Cobalt Divelog database. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-19Describe cylinder as unknown instead of mix nameGravatar Miika Turkia
Having the mix name like EANX34 as cylinder description was apparently confusing, so switching to 'unknown' instead. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-19Update to user manual: sidemount and imagesGravatar willem ferguson
1) Add short section dealing with logging of sidemount dives (1 image) 2) Replace three images in section on CSV export from LibeOffice Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-18Connect QGraphicsScene to its parrentGravatar Anton Lundin
This is to prevent a leak of QGraphicsScene. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>