MHD 2.0 with Datalog API Integration

mfractal

Specialist
Nov 10, 2017
80
27
0
Ride
E90 Sedan LCI 335i FBO MHD E40
quick question, can i set default visibility to uploaded logs to unlisted or public ? having them as private kinda defeats the purpose since i need to send them to a tuner
 

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
quick question, can i set default visibility to uploaded logs to unlisted or public ? having them as private kinda defeats the purpose since i need to send them to a tuner

From the API they should default to unlisted with the option to share them with your tuner in your account privacy settings here in the board. It should only be private if explicitly set that way per datalog, otherwise it's a bug.
 
  • Like
Reactions: mfractal

mfractal

Specialist
Nov 10, 2017
80
27
0
Ride
E90 Sedan LCI 335i FBO MHD E40
From the API they should default to unlisted with the option to share them with your tuner in your account privacy settings here in the board. It should only be private if explicitly set that way per datalog, otherwise it's a bug.

I didn’t proactively change it for sure. I can’t even find this setting in privacy settings. Can you be more specific ?
 

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
It's supposed to be unlisted. It appears it's private when an API key is used. I'll have it fixed
 
  • Like
Reactions: mfractal

mfractal

Specialist
Nov 10, 2017
80
27
0
Ride
E90 Sedan LCI 335i FBO MHD E40
It's supposed to be unlisted. It appears it's private when an API key is used. I'll have it fixed

Cool. In my case my tuner isn’t on spoolstreet (yet) so I can’t share with him automatically. I am assuming sharing automatically works even if the logs are set to private?
 

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
Cool. In my case my tuner isn’t on spoolstreet (yet) so I can’t share with him automatically. I am assuming sharing automatically works even if the logs are set to private?
It doesn't. Only if he's a member and only if it's unlisted or public. Otherwise you'd have no way of keeping anything private. If he's not a member, you just need to email him the link, everything expects he's a member, including all the sharing features. He can see all the logs shared with him. Will be adding sorting and marking logs reviewed etc.

The old way, anyone could snoop on your logs. Now they need your profile link and you need to set it public. I will add an option for default API privacy, but honestly not a priority. They can just make an account
 

houtan

Lieutenant
Nov 2, 2017
611
293
0
Ride
135i N55 DCT; PS2
just posted my first graph in a post. very cool. I noticed you can only do one graph per post. Is that going to change to more than one?
 
  • Like
Reactions: doublespaces

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
just posted my first graph in a post. very cool. I noticed you can only do one graph per post. Is that going to change to more than one?

It can support multiple embeds per post but normal members can only do one. I do this because if you put ten or twenty logs into a post, it would really screw up the experience particularly for people on mobile since it's pretty heavy with JavaScript. If you need a second log, you can copy the BB code manually from your graph and paste it into a new reply to your thread.

The BB code will change based on the series selected and which csv you're looking at, this way you can embed your exact view.
 
  • Like
Reactions: mfractal and houtan

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
As a notice, I just applied a 'fix' for an issue with the API uploading which arose after doing some code cleanup. The URL wasn't being returned to MHD and that issue has been mitigated. If you tried to upload without an API key, a link wouldn't have been displayed to you for viewing.

If you did uploaded with an API key, the URL wouldn't be displayed in MHD but the datalog would appear in your account here. I suspect this was an ongoing issue for the last week or so in case anyone noticed odd behavior, it should be working now.
 
  • Like
Reactions: Jeffman

houtan

Lieutenant
Nov 2, 2017
611
293
0
Ride
135i N55 DCT; PS2
Quick question. I set some logs to private and shared it with someone by adding their screen name but they get an error saying no logs have been shared with you when they click on the link. Can you please help?
 

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
Quick question. I set some logs to private and shared it with someone by adding their screen name but they get an error saying no logs have been shared with you when they click on the link. Can you please help?
Share it with me. Does it still show their username? Are they logged in?