207 Commits

Author SHA1 Message Date
einhorn_b
c7a370411e Merge branch 'login_fix_crash' of github.com:gradido/gradido into login_fix_crash 2021-07-15 11:57:32 +02:00
einhorn_b
739bb8b249 don't remove transaction direct from pending task manager, because than add group member don't work 2021-07-15 11:56:03 +02:00
einhornimmond
5c93ac7191 make destructor from all model::table protected to prevent misuse because of reference counting 2021-07-15 11:53:12 +02:00
einhornimmond
dbc3d26c22 Remove dynamic cast because it lead to errors again and agin (Poco::AutoPtr don't work correct with that) 2021-07-14 13:07:35 +02:00
einhornimmond
593f8eab83 handle empty host 2021-07-13 17:42:18 +02:00
einhornimmond
9f1809624b create test skeleton 2021-07-13 14:30:00 +02:00
einhornimmond
2c0255add1 remove empty check for field description 2021-07-08 11:27:12 +02:00
einhornimmond
9981574a8c
Merge pull request #579 from gradido/login_email_encoding
Update Password Reset E-Mail Subject Encoding
2021-06-28 11:07:02 +02:00
einhornimmond
0caf10ec33
Merge pull request #576 from gradido/login_fix_user_search_bug
update mysql because tuple has changed
2021-06-22 11:33:37 +02:00
einhornimmond
9f1f8e7c09 Change Subject from reset password E-Mail from using u8 (ü) in c++-code to using translation file 2021-06-21 13:50:59 +02:00
einhornimmond
0d4b1cb1c6 remove transaction after sending not only form Pending Task Manager, but also from pending_tasks table 2021-06-21 13:16:30 +02:00
einhornimmond
630d667e99 add test to prevent bug in future 2021-06-21 12:41:02 +02:00
einhornimmond
730f6541c7 update mysql because tuple has changed 2021-06-21 11:58:36 +02:00
einhornimmond
60f24f9e18 add first error additional as msg 2021-06-17 14:51:14 +02:00
einhornimmond
024f38fa5f remove ip check for reset password 2021-06-17 13:09:29 +02:00
einhornimmond
5078d80862 fix test 2021-06-17 12:40:04 +02:00
einhornimmond
551111e7a1 try again removed test 2021-06-17 12:21:41 +02:00
einhornimmond
2c29c20d8f adjust test for allow all password setting 2021-06-17 12:11:20 +02:00
einhornimmond
2a3677f767 little things 2021-06-17 11:59:31 +02:00
einhornimmond
cba03dba09 add test, fix errors 2021-06-17 11:48:05 +02:00
einhornimmond
8190dcc6af ddd password reset as separat json function 2021-06-16 17:55:48 +02:00
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