einhornimmond
f179938e0a
Merge branch 'master' into login_reset_password
2021-06-16 16:31:01 +02:00
einhornimmond
8929cf7388
add new json class, remove files I have missed to delete
2021-06-16 16:27:12 +02:00
einhorn_b
f3275bfc22
changes for hoepfully fixing Session deadlock problems
2021-06-16 15:19:20 +02:00
einhorn_b
0093ae8834
things to get more infos for debugging
2021-06-16 12:49:58 +02:00
einhorn_b
7785a0b5a6
delete information only after successfull unlock
2021-06-16 11:07:30 +02:00
einhornimmond
091ce48011
remove transaction from pending task manager directly
2021-06-15 16:52:21 +02:00
einhornimmond
4bdd796172
comment test out
2021-06-15 12:03:10 +02:00
einhornimmond
6bc22760ca
hotfix faling correct password test on github workflows
2021-06-15 11:48:57 +02:00
einhornimmond
73b105e71a
fix wrong Bit-Operator
2021-06-14 18:34:20 +02:00
einhornimmond
f4069f6441
update test infos on terminal, usd std::clog instead of printf because std::clog is also seen in docker runs
2021-06-14 18:12:50 +02:00
einhornimmond
fb34135665
prevent query email in our database with reset password function
2021-06-14 17:24:40 +02:00
einhornimmond
5f543738b8
add test for changes not changed
2021-06-14 17:17:21 +02:00
einhornimmond
d578f5bbd8
check if new values the same as the current values and skip if so, use username rules regexp
2021-06-14 17:15:44 +02:00
einhornimmond
966202eded
add username rules in form of regular expression
2021-06-14 17:15:02 +02:00
einhornimmond
1e95f7a52f
fix syntax error occuring by merging
2021-06-14 16:56:03 +02:00
einhornimmond
81edccfa56
Merge branch 'change_password_require_password' of github.com:gradido/gradido into change_password_require_password
2021-06-14 16:53:07 +02:00
einhornimmond
bdbe5c4a93
rebase onto master, fix bug, update layout (wasn't pretty because of rebase)
2021-06-14 16:50:24 +02:00
einhornimmond
4df9ad380f
make change password behave more like the other
...
- more tests
- make session_id optional, if not set take Login-Server Cookie
- check only for password_old if user was logged in with password, else reset password from email wouldn't work
- make successfull change password also add 1 to valid_values
- don't update other fields in db if only update password was called
2021-06-14 16:41:03 +02:00
einhornimmond
670f7cfff9
more tests and fixes to get test working
2021-06-14 16:38:58 +02:00
einhornimmond
e3f52c4667
move creating secret key for password comparisation in extra function
...
- needed for check for old passwort for passwort update in frontend
2021-06-14 16:34:41 +02:00
einhornimmond
5170c8e61b
update test and test environment
2021-06-14 16:34:41 +02:00
einhornimmond
de4243b245
fix bug shown through testing
2021-06-14 16:34:38 +02:00
einhornimmond
a2261f08d0
wait on check email for send password reset email to prevent misuse to find out which emails on server exist
2021-06-14 16:34:06 +02:00
einhornimmond
34162de1ed
add test for UpdateUserInfo, fix CheckUsername Test
2021-06-14 16:34:06 +02:00
einhornimmond
12188c77e8
prepare for tests which needed valid user and known password in db
2021-06-14 16:34:06 +02:00
einhornimmond
f09905e00c
for password change old password is required
2021-06-14 16:34:03 +02:00
Alexander Friedland
ef2017a7d6
Merge pull request #490 from gradido/Feature--Profile-Page-Username
...
Feature: Change Username
2021-06-14 15:59:39 +02:00
einhornimmond
a3fd334674
change 100 to 10 seconds timeout for double transaction
2021-06-14 14:12:29 +02:00
einhornimmond
23477aed53
make change password behave more like the other
...
- more tests
- make session_id optional, if not set take Login-Server Cookie
- check only for password_old if user was logged in with password, else reset password from email wouldn't work
- make successfull change password also add 1 to valid_values
- don't update other fields in db if only update password was called
2021-06-14 13:37:18 +02:00
einhornimmond
840729fb94
compare with last transaction sended
2021-06-11 15:34:19 +02:00
einhornimmond
3f50d14d22
allow only one username change
2021-06-11 14:54:25 +02:00
einhornimmond
28e586e99c
more tests and fixes to get test working
2021-06-11 14:43:15 +02:00
einhornimmond
4ee36c6e36
move creating secret key for password comparisation in extra function
...
- needed for check for old passwort for passwort update in frontend
2021-06-11 14:42:50 +02:00
einhornimmond
6f70d4c8b8
update test and test environment
2021-06-10 15:27:28 +02:00
einhornimmond
e5c37606d2
fix bug shown through testing
2021-06-10 15:27:09 +02:00
einhornimmond
1476951d93
wait on check email for send password reset email to prevent misuse to find out which emails on server exist
2021-06-10 15:26:39 +02:00
einhornimmond
713394c226
add test for UpdateUserInfo, fix CheckUsername Test
2021-06-10 13:07:15 +02:00
einhornimmond
8659823f23
prepare for tests which needed valid user and known password in db
2021-06-10 13:06:50 +02:00
einhornimmond
90073899a1
for password change old password is required
2021-06-10 13:06:08 +02:00
einhornimmond
f88ddbbf1c
update string validation
...
- move it in extra function to have less code copies
- fix bug which return no error messag if input was an array instead of a string
2021-06-10 09:58:08 +02:00
einhornimmond
61501b2a78
Merge branch 'master' into community_transfer_confirmation_email
2021-06-08 16:56:26 +02:00
einhornimmond
0381f6900e
Merge pull request #487 from gradido/login_wait_on_passwords_with_missing_chars
...
Login wait on passwords with missing chars
2021-06-08 16:52:49 +02:00
einhornimmond
2470d6de9c
Merge branch 'master' into login_update_json
2021-06-08 16:04:33 +02:00
einhornimmond
c57f366071
add fakesleep by user check
2021-06-08 11:26:14 +02:00
einhornimmond
81a6b2a0a2
don't give away the info about security criteria of password
2021-06-07 17:39:12 +02:00
einhornimmond
c0c57bd28a
add fake delay for passwords which don't match security criteria
2021-06-07 17:37:28 +02:00
einhornimmond
2fc3fe94a0
add warning to able to forward warnings from community server to client
2021-06-07 17:20:11 +02:00
einhornimmond
864ede416a
add tests for check username, fix bugs shown with tests (._.);
2021-06-07 10:06:29 +02:00
einhornimmond
f77a63c6a0
fix testsystem, remove hedera tests
2021-06-07 10:05:35 +02:00
einhornimmond
0489ab0746
add new API Call checkUsername
...
with that it is possible
- to check if username exist already in a given Group
- if a group_id exist in db
- which group_id a group_alias has
2021-06-04 17:20:48 +02:00