And by the way,
I am currently the only administrator of this plugin (on facebook side), I
don't mind having this role (there is nothing to do), but if someone more
involved in the darktable project want administrator rights I can give him
credentials
Cheers
Pierre Lamot
Le Lundi 5 janvier 2015 18h40, Dave <d...@empirecafe.co.za> a écrit :
Hi Pierre.
Thank you for the clear explanation. Regards Dave On 5 Jan 2015 19:36, "Pierre
Lamot" <pierre.la...@yahoo.fr> wrote:
Hi,
I'm the person who developed this module, I wrote this 2 years ago and I didn't
took the time to contribute more since, so the errors cited don't ring a bell
anymore.
> darktable does not open a browser to authorise a facebook login
The application ask the system to open a https URI, you might want to check
your system settings: $> gvfs-mime --query "x-scheme-handler/https" $> xdg-open
"https://example.com"
> I open a browser manually, which immediately connects and displays the auth
> url. But. Only for one or two seconds. Then another url (which does not work)
> is displayed.
The problem comes from facebook itself. It use a mechanism called OAuth to
provide authentification and while this mechanism is great for server to server
communication it doesn't works so well for application, mainly because it
require the use of a web browser. Once the user is authenticated the user have
to be redirected to a website (which is supposed to be the website asking for
permission), in our case we redirect to a default webpage provided by facebook
itself, To avoid phising FB has added another redirection (after a few second)
showing the message you can see.
Some solution might be possible to prevent this behavior: - redirect to a
special page on a third party website (darktable.org ?) which will display the
token string to enter in the software
- redirect to localhost, by embedding within the module a minimal webserver
to handle the response, but I'm not sure this solution will works (I'm not sure
that FB allow redirection to a port different than 80)
Cheers,
Pierre Lamot
Le Jeudi 1 janvier 2015 19h02, Dave <d...@empirecafe.co.za> a écrit :
I apologise for the previous message truncated.
darktable does not open a browser to authorise a facebook loginthis message is
shown:----------------(darktable:14353): Json-CRITICAL **:
json_node_get_object: assertion 'node != NULL' failed----------------I open a
browser manually, which immediately connects and displays the auth url. But.
Only for one or two seconds. Then another url (which does not work) is
displayed.The second url happens because of
this:----------[14829:14889:0101/195106:ERROR:value_store_frontend.cc(62)]
Error while writing gighmmpiobklfepjocnamgkkbiglidom.browser_action to
/home/dave/.config/chromium/Default/Extension State----------That's probably
because I opened the browser myself. Once i do that a second tab, spawned by
darktable opens.But I think manually starting the browser creates a LOCK file
in "Extension State", so the darktable process loses write access.
I'm using Ubuntu 14.04, darktable1.7.0+319~g68ba75b pulled from git today.
Note: It is still possible to copy the correct url, but you have to be damned
quick :D
Lastly: Thank you for the excellent software! The new gtk3 interface is looking
awesome (headers are a bit squashed together in Settings)
Warm regards, Happy New Year etc :P
Dave
On 1 January 2015 at 19:52, Dave <d...@empirecafe.co.za> wrote:
First this:(darktable:14353): Json-CRITICAL **: json_node_get_object: assertion
'node != NULL' failed
--
tel: 0217881250cel: 0794947061
--
tel: 0217881250cel: 0794947061
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel