Re: Cloud storage and web view

2015-06-22 Thread Jan Mulder
On 21-06-15 22:02, Dirk Hohndel wrote: Another morning of hacking, and another set of patches are pushed... This time around I added the ability to store pictures in a git repository. Instead of just storing a reference to a local file we now actually store the pictures themselves in the git

Re: Cloud storage and web view

2015-06-22 Thread Dirk Hohndel
Hi Jan, as discussed on IRC, here's a quick patch, just to get some idea on what's going wrong for you... Save it somewhere and apply it with patch -p1 /tmp/diff rebuild and run Subsurface, make a small change and save to the cloud again then please send me the stderr output Thanks /D diff

Re: Cloud storage and web view

2015-06-22 Thread Dirk Hohndel
Hi Jan, thanks for testing! On Mon, Jun 22, 2015 at 11:14:55AM +0200, Jan Mulder wrote: I did some testing. My log did not contain any pictures, so I added one picture to one dive. Working locally, I saved, and after that forced a save to cloud. Opened the cloud storage, and the picture

Re: Cloud storage and web view

2015-06-21 Thread Dirk Hohndel
On Jun 21, 2015, at 04:53, Salvador Cuñat salvador.cu...@gmail.com wrote: Good morning. 2015-06-21 1:40 GMT+02:00 Dirk Hohndel d...@hohndel.org: After this it worked (well, almost worked), didn't get the 404 error, the html export page shown but without any dive. Now that's

Re: Cloud storage and web view

2015-06-21 Thread Jan Mulder
On 21-06-15 14:32, Dirk Hohndel wrote: 2015-06-21 1:40 GMT+02:00 Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org: After this it worked (well, almost worked), didn't get the 404 error, the html export page shown but without any dive. Now that's strange :-( More to

Re: Cloud storage and web view

2015-06-21 Thread Salvador Cuñat
Good morning. 2015-06-21 1:40 GMT+02:00 Dirk Hohndel d...@hohndel.org: After this it worked (well, almost worked), didn't get the 404 error, the html export page shown but without any dive. Now that's strange :-( More to investigate... Tried again: another change on the log, another

Re: Cloud storage and web view

2015-06-21 Thread Dirk Hohndel
On Jun 21, 2015, at 7:42 AM, Jan Mulder jlmul...@xs4all.nl wrote: On 21-06-15 14:32, Dirk Hohndel wrote: 2015-06-21 1:40 GMT+02:00 Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org: After this it worked (well, almost worked), didn't get the 404 error, the html export page shown

Re: Cloud storage and web view

2015-06-21 Thread Dirk Hohndel
Another morning of hacking, and another set of patches are pushed... This time around I added the ability to store pictures in a git repository. Instead of just storing a reference to a local file we now actually store the pictures themselves in the git repository. We try to be clever about this,

Re: Cloud storage and web view

2015-06-21 Thread Steve Butler
On 06/20/2015 04:40 PM, Dirk Hohndel wrote: On Jun 20, 2015, at 4:00 PM, Salvador Cuñat salvador.cu...@gmail.com mailto:salvador.cu...@gmail.com wrote: 2015-06-20 23:13 GMT+02:00 Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org: BTW I can only test tomorrow, as on monday I'll be

Re: Cloud storage and web view

2015-06-20 Thread Dirk Hohndel
On Jun 20, 2015, at 1:02 PM, Salvador Cuñat salvador.cu...@gmail.com wrote: 2015-06-18 15:57 GMT+02:00 Jan Mulder jlmul...@xs4all.nl mailto:jlmul...@xs4all.nl: However. The https://cloud.subsurface-divelog.org/user/myemailadress/dives.html

Re: Cloud storage and web view

2015-06-20 Thread Dirk Hohndel
On Sat, Jun 20, 2015 at 01:09:24PM -0700, Dirk Hohndel wrote: On Jun 20, 2015, at 1:02 PM, Salvador Cuñat salvador.cu...@gmail.com wrote: 2015-06-18 15:57 GMT+02:00 Jan Mulder jlmul...@xs4all.nl mailto:jlmul...@xs4all.nl: However. The

Re: Cloud storage and web view

2015-06-20 Thread Salvador Cuñat
2015-06-18 15:57 GMT+02:00 Jan Mulder jlmul...@xs4all.nl: However. The https://cloud.subsurface-divelog.org/user/myemailadress/dives.html https://cloud.subsurface-divelog.org/user/%3Cemail-address%3E/dives.html reports (after logging in with correct credentials) a 404. I'm having this

Re: Cloud storage and web view

2015-06-20 Thread Dirk Hohndel
On Jun 20, 2015, at 4:00 PM, Salvador Cuñat salvador.cu...@gmail.com wrote: 2015-06-20 23:13 GMT+02:00 Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org: Let me look at the script and try to figure out what went wrong. Are you on IRC? This is best addressed live where I can talk

Re: Cloud storage and web view

2015-06-20 Thread Salvador Cuñat
Good night. 2015-06-20 23:13 GMT+02:00 Dirk Hohndel d...@hohndel.org: Let me look at the script and try to figure out what went wrong. Are you on IRC? This is best addressed live where I can talk to you and have you try things while I look at the backend. Your help would be really valuable!

Re: Cloud storage and web view

2015-06-18 Thread Joakim Bygdell
Did a quick test. The dive numbers don’t match with the dates. The last dive by date should also have the highest number, logically that is. Yes, I noticed that as well when playing around with it. I was going to ask Gehad about this and then forgot. Thanks for bringing it up! Seems

Re: Cloud storage and web view

2015-06-18 Thread Anton Lundin
On 18 June, 2015 - Dirk Hohndel wrote: On Wed, Jun 17, 2015 at 07:28:20PM -0700, Dirk Hohndel wrote: So while there are still some rough edges, I think this is taking shape quite nicely. I've seen five of you have tested the cloud storage so far - thanks for doing that. If you

Re: Cloud storage and web view

2015-06-18 Thread David Tillotson
I have similar issues with my account. Fresh build this lunchtime on my laptop. On trying to open cloud storage I get Git cache branch da...@acmelabs.co.uk no longer exists. Unable to look up revision 'da...@acmelabs.co.uk' On trying to save to cloud storage: Cannot connect to cloud server,

Re: Cloud storage and web view

2015-06-18 Thread Dirk Hohndel
On Wed, Jun 17, 2015 at 07:28:20PM -0700, Dirk Hohndel wrote: So while there are still some rough edges, I think this is taking shape quite nicely. I've seen five of you have tested the cloud storage so far - thanks for doing that. If you run into any problem, please post about them - I

Re: Cloud storage and web view

2015-06-18 Thread Joakim Bygdell
On 18 Jun 2015, at 14:56, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jun 17, 2015 at 07:28:20PM -0700, Dirk Hohndel wrote: So while there are still some rough edges, I think this is taking shape quite nicely. I've seen five of you have tested the cloud storage so far - thanks for

Re: Cloud storage and web view

2015-06-18 Thread Dirk Hohndel
On Thu, Jun 18, 2015 at 02:49:18PM +0100, David Tillotson wrote: I have similar issues with my account. Fresh build this lunchtime on my laptop. On trying to open cloud storage I get Git cache branch da...@acmelabs.co.uk no longer exists. Unable to look up revision 'da...@acmelabs.co.uk' So

Re: Cloud storage and web view

2015-06-18 Thread Jan Mulder
Below, my first try with the cloud storage. On 18-06-15 04:28, Dirk Hohndel wrote: I've seen five of you have tested the cloud storage so far - thanks for doing that. If you run into any problem, please post about them - I fixed a few more bugs, saving to the cloud storage should work more

Re: Cloud storage and web view

2015-06-18 Thread Dirk Hohndel
On Thu, Jun 18, 2015 at 03:57:37PM +0200, Jan Mulder wrote: Below, my first try with the cloud storage. Thanks for testing this! Things work for me and once I'm at that state I rely on you guys to show me all the ways that the code still breaks... On my desktop machine. I use (for a long time

Re: Cloud storage and web view

2015-06-18 Thread David Tillotson
Just retried. Still getting the same errors. The same happens with the setup using one of my mail aliases that I set up this afternoon, so shouldn't be historical corruption. There are 2 new local repos, both currently are only 68K. On 18 June 2015 15:57:35 BST, Dirk Hohndel d...@hohndel.org

Re: Cloud storage and web view

2015-06-18 Thread Jan Mulder
On 18-06-15 17:08, Dirk Hohndel wrote: Just to make sure, you did go to https://cloud.subsurface-divelog.org/user/jlmul...@xs4all.nl/dives.html and not to a URL with myemailaddress in the middle :-) Yes. I noticed earlier that the auto-creation of your HTML export triggered a bug and that the

Re: Cloud storage and web view

2015-06-18 Thread Dirk Hohndel
On Thu, Jun 18, 2015 at 03:57:37PM +0200, Jan Mulder wrote: - a save to cloud results in error No user name in git repo, creating commit failed. This was a good one. I just pushed a fix. With newer libgit2 (which is required for cloud storage to work) we have an API to get the user / email to

Re: Cloud storage and web view

2015-06-18 Thread Davide DB
On Thu, Jun 18, 2015 at 4:28 AM, Dirk Hohndel d...@hohndel.org wrote: So while there are still some rough edges, I think this is taking shape quite nicely. Anyway, give it a try, let me know what you think. And if someone with better design skills than me wants to work on the theming

Re: Cloud storage and web view

2015-06-17 Thread Dirk Hohndel
On Jun 17, 2015, at 9:19 PM, Gaetan Bisson bis...@archlinux.org wrote: [2015-06-17 19:28:20 -0700] Dirk Hohndel: Anyway, give it a try, let me know what you think. Thanks a lot for all the hard work. I'd like to keep a local copy of my data but use the cloud storage as a backup. In