camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

Authentication #1659

Closed sbrunner closed 8 years ago

sbrunner commented 9 years ago

S’appuie sur la partie serveur:

adube commented 8 years ago

Question: est-ce que cette tâche comprend du développement de la partie serveur pour l'authentification ?

Question: est-ce qu'il y a un mockup pour l'interface de ce panneau ?

Question: y a-t-il une différence entre le design de ce panneau entre mobile/tablette/desktop ?

sbrunner commented 8 years ago

Question: est-ce que cette tâche comprend du développement de la partie serveur pour l'authentification ? No, it's already done here: geomapfish-demo.camptocamp.net/2.0/*

Doc missing, then quickly: http://geomapfish-demo.camptocamp.net/2.0/wsgi/login.html: login form http://geomapfish-demo.camptocamp.net/2.0/wsgi/login: params: login/password http://geomapfish-demo.camptocamp.net/2.0/wsgi/logout: Logout ... http://geomapfish-demo.camptocamp.net/2.0/wsgi/loginchange: Change password, params: newPassword, confirmNewPassword http://geomapfish-demo.camptocamp.net/2.0/wsgi/loginresetpassword: Send new password, params: login

Sources: https://github.com/camptocamp/c2cgeoportal/blob/master/c2cgeoportal/views/entry.py#L1246-L1394

Question: est-ce qu'il y a un mockup pour l'interface de ce panneau ?

@pgiraud?

Question: y a-t-il une différence entre le design de ce panneau entre mobile/tablette/desktop ?

@pgiraud?, si possible le minimum...

adube commented 8 years ago

@sbrunner I fail tu understand the explanation given for the first question. Could we discuss this verbally, please ?

adube commented 8 years ago

FMI: http://geomapfish-demo.camptocamp.net/1.6/theme/Transport (interface in 1.6).

adube commented 8 years ago

FMI: example of asych request with Angular: https://github.com/camptocamp/ngeo/blob/0d7c65517612119769b446a4b4aaa2d6bda688f2/src/services/print.js

adube commented 8 years ago

While not signed in, a "Forgot Password?" link should also be available. To be discussed with @pgiraud.

adube commented 8 years ago

@pgiraud - here's a summary of the questions for you still in progress in this task:

Thanks.

pgiraud commented 8 years ago

@adube I'll get back to you tomorrow with mockups.

adube commented 8 years ago

Understood.

pgiraud commented 8 years ago

@adube You'll find new mockups in the google drive document. The v2.pdf is also up-to-date. Don't hesitate to ask me is things are not clear, if I missed something, or if you disagree with the UI/UX.

adube commented 8 years ago

@pgiraud : Okay, so here's a summary I would like you to validate

Question Would it make sense to create a dummy user for me to be able to test with, one with adube@mapgears.com ? I'd do all my tests while developing with it.

pgiraud commented 8 years ago

all 3 platforms (desktop, mobile and tablet) will use the same components

Yes, the idea is to get a component that will be shared between the different interfaces.

CSS will be used to display them as they should

Yes, specific css can be applied so that it adapts specifically. But this styling thing can be taken into account later.

the task at hand covers only the 'panel' itself, not its integration within the toolbar button.

Right.

adube commented 8 years ago

Excellent. I'll make the estimates right away.

Do you have an answer about my dummy user creation request ? Thanks.

adube commented 8 years ago

@fgravin, I have a technical question for you. I was asked to use angular's $http to do asynchronous requests, but after seeing the Use goog section in the GMF guideline, I would like to make sure that this is okay. To me it would mean that I normally should use Closure XHR components to make the queries.

Just checking. Would you please tell me which one I should use to make async requests ?

fgravin commented 8 years ago

You have to use $http. We build an angularJs application and we must rely on angular for all this usages. I think the Use.goog thing was more about static functions, and I think this section should be removed, as we are changing direction in ol3 as well.

Use $http and take benefit of all angular services and promises ! ;)

adube commented 8 years ago

@fgravin Understood. Thanks for this great clarification.