-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add extra fields for registration and fix exception when email address exists #148
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add unit tests for PHP code as well. (currently this project has no front-end testing code setup)
templates/form.php
Outdated
<option value="SE">Sweden</option> | ||
<option value="CH">Switzerland</option> | ||
<option value="SY">Syrian Arab Republic</option> | ||
<option value="TW">Taiwan, Province of China</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taiwan is not a province of China.
Also, please fix the broken existing tests because of your changes. |
When I try and run the tests I get the following error: |
I have fixed another issue where the validation of the email fails because the user is already registered, the login link shows the html as text instead of a link to go to the login page. |
…elds rounded with consistent margins
@Peterede Seems that you don't have a full Nextcloud instance for testing (currently it is required). In order to run the test, you need to run phpunit from the |
I have fixed the issues except for the icons on the new fields, I will work on this |
All changes have been made now |
…ul icons to some fields and added moment-timezone-with-data.js
|
|
Also, |
In my checkout of master the file is located in core/img/places but if I download the source from github or view it in the web browser the file is not there. The latest commit shows the file was deleted nextcloud/server@29ff7ef |
…con which does not exist in nextcloud 14
I would find this patch very usefull. What has to be done to merge it ? |
Due to the number of conflicts I guess it has to be redone |
I have added some extra fields to the registration form to collect more information about the user, these can be turned on/off in the admin settings. I also fixed an exception that occurs if the email address is already in the database and gets added twice.