103 Commits

Author SHA1 Message Date
einhornimmond
5974473276 update pending task save and load param and result
also:
- fix base64ToBin using strlen instead of encodedSize len (by encodedSize php decoder failed)
- insertIntoDB remove async, return also by second attempt true if succed, else false
2021-04-09 14:14:12 +02:00
einhornimmond
a9975d4bac compare extern referer with actual host instead of default url, check by login if user came from correct community server 2021-04-09 14:09:51 +02:00
einhornimmond
79332c58e4 fix bug (deleted object but pointer not set to null) 2021-04-08 13:58:31 +02:00
einhornimmond
f1f4b81da0 add defaultGroup for easier integration with stage1 2021-04-08 12:51:29 +02:00
einhornimmond
590fd05d31 Merge branch 'master' into stage2 2021-04-07 19:50:02 +02:00
einhornimmond
13cfbb32ec split runSendTransaction in Hedera and Mysql Version
use a much shorter version for runSendTransactionMysql as initially in SigningTransaction was used
2021-04-07 19:44:05 +02:00
einhornimmond
3cffee31ce extends classes with additional access functions needed for next step 2021-04-07 19:41:02 +02:00
einhornimmond
c13c39e42b move logging into logging folder
- so this special log files are also easy accessable with docker
- by the way update default logging channels to use FileChannel and compress and archive rotated logfiles
- use logging system from Poco rather than raw FILE for hedera transaction logging
2021-04-07 19:37:55 +02:00
einhornimmond
d5e60af3a1 add auto_sign parameter and bring into live
if set to true, transaction will be directly signed and if get enough signes, sended afterwards (but asynchron)
2021-04-07 17:16:42 +02:00
einhornimmond
ad147cd8da add parameter json string to pending task for saving additional infos like blockchain type in db
- add set and getter functions for param in controller::PendingTask and model::table::PendingTask
- call it inside transactions to save blockchainType as param and in load Transaction from db
2021-04-07 12:37:02 +02:00
b5fffc392d
Merge pull request #138 from gradido/fix_compose_bug
Fix compose bug
2021-04-07 09:11:27 +02:00
einhornimmond
6c7bddb8bc make login-server successfully logging start to Docker Console 2021-04-06 17:50:14 +02:00
einhornimmond
2e711ed554
Merge pull request #134 from gradido/production_email_not_send_fix
at last, fix email-bug
2021-04-06 16:45:39 +02:00
einhornimmond
d659dfb886 forward blockchain type to TransactionBody 2021-04-06 13:10:50 +02:00
einhornimmond
8538a42361 prevent exit email thread by exception because of invalid email, add date to email log string 2021-04-02 11:47:58 +02:00
einhornimmond
42b9849a58 add comment 2021-04-01 11:59:52 +02:00
einhornimmond
fa48de44af fix bugs which came with merging into master 2021-03-31 19:04:36 +02:00
einhornimmond
910e33deff Merge branch 'master' into stage2 2021-03-31 18:06:57 +02:00
einhornimmond
436499458b fix login server that it can build again (after Ulfs rebase action) 2021-03-31 17:49:02 +02:00
einhornimmond
55334799cb replace \r\n with \n 2021-03-31 17:08:37 +02:00
einhornimmond
d1667e0ba9
Merge branch 'master' into api_password_reset 2021-03-31 12:38:52 +02:00
einhornimmond
363e04fbe5 put back depracted email tasks because I don't exactly know if I broke something if I remove it completly (especially model/session.cpp) 2021-03-30 18:42:07 +02:00
einhornimmond
f8d174049c
Merge branch 'master' into fix_lineendings 2021-03-30 18:29:04 +02:00
einhornimmond
3339ce9d38 change fileformat back to utf-8 with BOM, for visual studio source files which contain ä,Ä,ö,Ö,ü,Ü or ß in strings must be in format utf-8-BOM 2021-03-30 18:26:48 +02:00
f09a0017f9
lineendings login_server 2021-03-30 17:06:41 +02:00
einhornimmond
1e4ba146ac
Merge branch 'master' into api_password_reset 2021-03-29 19:24:12 +02:00
einhornimmond
21309eada5
Update login_server/src/cpp/model/email/Email.h
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-03-29 19:17:49 +02:00
einhornimmond
0ea20f2e7a Merge branch 'master' into vue_with_nginx 2021-03-29 19:10:13 +02:00
einhornimmond
edd7797da8 add check session state json function and doc 2021-03-26 14:12:51 +01:00
einhornimmond
8a143be842 removed email tasks complete 2021-03-25 11:00:00 +01:00
einhornimmond
d0eb304c59 simplify code for email send, use new email code instead old system with additional task 2021-03-25 10:53:03 +01:00
einhornimmond
cb0b3ef90e move link in activation and password reset emails into login-server config 2021-03-24 19:18:39 +01:00
eb7539d0ba
Merge pull request #78 from gradido/login_server_fix
fix bug with access rights
2021-03-24 18:28:14 +01:00
einhornimmond
a57be58197 Merge branch 'master' into api_password_reset 2021-03-24 18:09:21 +01:00
einhornimmond
a0c51c6524 fix bug with access rights 2021-03-24 17:56:28 +01:00
9389112a62
Merge pull request #75 from gradido/save_response_to_logs
make response.html better accessible
2021-03-24 17:52:30 +01:00
einhornimmond
4a94cba074 save response.html by community server error into /var/logs/grd_login folder, to have access to it if used with docker 2021-03-24 17:12:12 +01:00
einhornimmond
913db036f0 update field name 2021-03-24 16:37:58 +01:00
einhornimmond
b73bb64089 add send email function in API for password reset and admin email verification code resend
Describe new function in detail in docu/login_server.api.md.

Made some changes in existing code to have the option to use a custome email text,
not only the pre-formulated texte.

Use a new state for returned json, state = warning.
If function does what expected but still have a error message.
Add the new state in frontend/src/apis/loginAPI.js.
2021-03-24 14:17:58 +01:00
ogerly
15bb6f4448 merge master 2021-03-24 06:17:00 +01:00
ogerly
a99de7f5d1 dev meeting, bernd 2021-03-24 06:05:05 +01:00
0886979d09
Merge pull request #63 from gradido/update_doc
Update doc
2021-03-23 17:48:38 +01:00
einhornimmond
3d83f18ad7 fix linux build error 2021-03-23 14:19:51 +01:00
einhornimmond
fadae2abc7 remove function which didn't make sense 2021-03-23 13:49:39 +01:00
einhornimmond
69153e4109 update docu, add some function to able to make email verification and password reset from vue-client 2021-03-23 11:33:03 +01:00
einhornimmond
8368fadc1b remove old notation for transaction counter, commit missing doc update 2021-03-23 09:12:18 +01:00
einhornimmond
db99a1077e add optional paramater account state to user search to able to search users which haven't activated there account yet 2021-03-22 19:53:57 +01:00
einhornimmond
bf35ff33ad better error reporting in email manager, because it seems it don't work like it should 2021-03-22 19:53:57 +01:00
einhornimmond
d46f9d73d9 bug fixes for stage0 production version 2021-03-19 14:00:42 +01:00
einhornimmond
98859461bc additional error check, return correct field name for transaction count 2021-03-18 12:54:44 +01:00