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

Update Develop #1

Merged
merged 158 commits into from
Jan 5, 2016
Merged

Update Develop #1

merged 158 commits into from
Jan 5, 2016

Conversation

OmarElgabry
Copy link
Owner

No description provided.

panique and others added 30 commits March 7, 2015 22:27
Scrutinizer code quality checker fix
Instead of FEEDBACK_PASSWORD_WRONG, FEEDBACK_USERNAME_OR_PASSWORD_WRONG added.
#32 Changed due to reduce number of errors.
#103 Changed due to wrong feedback. It was 3 times login error back then.
#118 Changed due to match it #103.
Added a changePassword Page so logged in users can change their password
(if they know the current password)

Renamed some previous functions to make it more clear they are for the
resetPassword page, not the changePassword page
Forgot to add this on the last commit (whoops)

Just a link to the changePassword page on the header if a user is logged
in
(Whoops) left in a line which printed out the password hash on error 

(I did this during writing to make sure the hash was making it to this point)
Removed _action from some function names I made that didn't need it
(because they're not specifically for form submit)

Also changed returning of some functions, to make sure they can show
more than one error at once (e.g. username is taken and email is taken,
before this would require one field to be fixed before seeing the other
error)

Removed a link from changePassword page (it was there for resetPassword
and is no longer needed)
Replaced hidden input for username and just get username directly in the
changePassword_action function
Renamed header for resetPassword
Fixed an error where the registerNewUser() function returned too early
Regenerate Session ID on password change
Turns out it logs you out if you do this, I'll let someone else figure out how to regenerate session id without logging out
merge develop branch into master branch
better feedback when login process fails
…e feature when user is found / not found
PR #689 : added password change feature
panique and others added 28 commits December 1, 2015 04:14
Develop update from head fork
Check DB connection in try/catch block. Also when PDO is not constructed
properly, prevent to exposing database host, username and password in
plain text as:
PDO->__construct('mysql:host=127....', 'root', '12345678', Array)
by throwing custom error message
Convert indentation to spaces.
FIX: DB User & Password shown in clear text in error message
If admin suspend or delete own account will not be able to do any
action.
Prevent to suspend or delete own account
Also added separate line between comments and code, fixed opening
bracket in method (move to the new line), remove white spaces
Also added separate line between comments and code, fixed opening
brackets in method (moved to the new line), removed white spaces, added
new line at the end of the file.
Fit to PSR-2: Coding Style
…redirect path for usage inside subfolder installations #773
OmarElgabry added a commit that referenced this pull request Jan 5, 2016
@OmarElgabry OmarElgabry merged commit 09df25e into OmarElgabry:develop Jan 5, 2016
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

Successfully merging this pull request may close these issues.

8 participants