Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get loklak account apps working #109

Open
mariobehling opened this issue Feb 12, 2017 · 13 comments
Open

Get loklak account apps working #109

mariobehling opened this issue Feb 12, 2017 · 13 comments

Comments

@mariobehling
Copy link
Member

The loklak account apps have not been working yet. Please help to make them work.

@djmgit
Copy link
Member

djmgit commented Feb 25, 2017

@mariobehling I would like to work on this

@abishekvashok
Copy link
Member

Go ahead

@djmgit
Copy link
Member

djmgit commented Feb 25, 2017

@mariobehling I was going through the signup app and I observed the following :

On hitting the api : http://api.loklak.org/api/[email protected]&password=xyz
I am getting the following response : 403 Public signup disabled. I am getting the same error when I am calling the api on local server. I guess this is preventing the app from functioning. Is this error justified and thrown on purpose by the server?

@mariobehling
Copy link
Member Author

@Orbiter Any idea?

@Orbiter
Copy link
Member

Orbiter commented Feb 25, 2017

The sign-up is actually disabled. I am currently unable to active it because someone has added a configuration save method which ignores UTF8 an that kills the config file.
I am working on it.

@djmgit
Copy link
Member

djmgit commented Feb 25, 2017

@Orbiter is there any test user credential using which I can test the login app and other account apps?

@Orbiter
Copy link
Member

Orbiter commented Feb 27, 2017

The actual problem was lately that I had to migrate to the gradle build version and could not do without conflicts. Therefore I am now doing a fresh install on the production site and that required a ful back-up. The back-up was running for hours yesterday and today I hope that I am able to run the latest version including the UTF8 fix, so everything should work as expected.

@Orbiter
Copy link
Member

Orbiter commented Feb 27, 2017

it's running now with signup enabled!

@djmgit
Copy link
Member

djmgit commented Feb 27, 2017

@Orbiter yeah its working on api.loklak.org but is the signup api only functional for api.loklak.org?
Because I tried calling the api on my local server (127.0.0.1:9000/api/signup.json) its showing public signup disabled.

@Orbiter
Copy link
Member

Orbiter commented Feb 27, 2017

oh on your own server you must configure the signup parameters yourself. They are not active by default.
you must set users.public.signup=true and to get confirmation mails upon signup, you have to set all the smtp.* parameters.

@djmgit
Copy link
Member

djmgit commented Feb 28, 2017

@Orbiter okay :)

@djmgit
Copy link
Member

djmgit commented Feb 28, 2017

@mariobehling @daminisatya Presently on a successful login (via the login app) the window location is changed to /apps/applist/index.html but as of now there is no applist directory in the server html directory nither is there any index.html file in the applist directory present at apps.loklak.org root directory.
So after user makes a successful login where should I redirect him

@djmgit
Copy link
Member

djmgit commented Feb 28, 2017

@Orbiter The account apps are working now, I will be uploading a PR soon.However there are two issues while testing Password recovery app and reset password app. The password recovery app on sending request (clicking submit) is showing mail sending disabled and the reset password app requires a token parameter in the apps URL. How do i generate this token?

djmgit added a commit to djmgit/apps.loklak.org that referenced this issue Mar 1, 2017
fixed the following  apps:

signup app
login app
register public key app
password recovery app
view permissions app
reset password app(not tested)
mariobehling pushed a commit that referenced this issue Mar 13, 2017
fixed the following  apps:

signup app
login app
register public key app
password recovery app
view permissions app
reset password app(not tested)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants