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

Unable to create Admin user #1

Closed
Rouzax opened this issue Aug 21, 2015 · 9 comments
Closed

Unable to create Admin user #1

Rouzax opened this issue Aug 21, 2015 · 9 comments

Comments

@Rouzax
Copy link

Rouzax commented Aug 21, 2015

Just stumbled upon your fork of this project.
What is the reason you decided to fork it, if I may ask?

When I start the cps.py I never get the option to create a admin user.

@janeczku
Copy link
Owner

@Rouzax The purpose of the fork is to make it play nicely in a Docker container. You may read more about the Docker image i created here: https://github.com/janeczku/docker-calibre-web
The most important changes in the code:

  • Admin user is created automatically with a default password which may be changed in the Web UI
  • Mail server can now be configured in the Web UI (no need to edit config.ini manually)
  • Some minor bug fixes of the original code

To answer your original question: Just log in with user admin and password "admin123".

@Rouzax
Copy link
Author

Rouzax commented Aug 21, 2015

Ok, will that be the only difference or are you also looking to extend the features?
For example:

  • Enable user to register
  • More send to email capabilities
  • database backend

@janeczku
Copy link
Owner

@Rouzax

Enable user to register

Not doing it (admin can already create as many users as he wishes)

More send to email capabilities

What exactly do you mean by that? Multiple Send-To email addresses per User?

Database backend

You mean something other than sqlite database? What database do you need?

@Rouzax
Copy link
Author

Rouzax commented Aug 23, 2015

It would be nice if I could give my friends the link and let them register, the admin would have the final approval.
I believe there is only an option to send to kindle for email. One other thing might be a weekly new books added newsletter.
Sorry I didn't see that there was a sqlite backend. I thought everything was created as needed from the calibre backend, like covers and description.

@janeczku
Copy link
Owner

Added public user registration in 0f7c129
To enable, edit config.ini and set PUBLIC_REG to 1.
/cc @Rouzax

@Rouzax
Copy link
Author

Rouzax commented Oct 13, 2015

Thanks will give it a try.

@Rouzax
Copy link
Author

Rouzax commented Oct 14, 2015

Would it be very hard to have the admin approve the user after registration?

@janeczku
Copy link
Owner

Why not try to do it yourself: You need to add an additional field to the user DB schema (e.g. "approved" type bool) and then let the admin change that value. PR is welcome!

@Rouzax
Copy link
Author

Rouzax commented Nov 17, 2015

@janeczku, I really would if I could 😢 unfortunately I don't have the coding skill to pull that off.

OzzieIsaacs pushed a commit that referenced this issue Jan 18, 2017
update from janeczku/calibre-web
Kyosfonica referenced this issue in Kyosfonica/calibre-web Jul 28, 2017
Kyosfonica referenced this issue in Kyosfonica/calibre-web Jul 28, 2017
Do not attempt to create the YAML file when Google Drive is disabled …
OzzieIsaacs pushed a commit that referenced this issue Aug 12, 2017
OzzieIsaacs pushed a commit that referenced this issue Sep 23, 2018
Update optional-requirements.txt -> increase lxml requirement
OzzieIsaacs pushed a commit that referenced this issue Oct 28, 2018
OzzieIsaacs pushed a commit that referenced this issue Jan 19, 2019
OzzieIsaacs pushed a commit that referenced this issue Jan 19, 2019
This reverts commit fb7bd0c, reversing
changes made to ae55dd6.
OzzieIsaacs pushed a commit that referenced this issue Apr 13, 2019
ykorzikowski pushed a commit to ykorzikowski/calibre-web that referenced this issue Jun 8, 2019
OzzieIsaacs pushed a commit that referenced this issue Jul 27, 2019
Merge oryginalnego repo
OzzieIsaacs pushed a commit that referenced this issue Nov 16, 2019
OzzieIsaacs pushed a commit that referenced this issue Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants