115 Commits

Author SHA1 Message Date
einhornimmond
ad5ff66157 don't show calculation time over expectations in test builds 2021-04-21 15:37:56 +02:00
einhornimmond
0d71a37601 check for null ptr to prevent exception 2021-04-21 15:36:55 +02:00
einhorn_b
5c411c5cb1 fix tests, make better output for debugging failing tests 2021-04-20 19:03:16 +02:00
einhornimmond
b40b6bc289 removed personal data from test/main.cpp (need also a history rewrite after it is merged to master) 2021-04-19 12:21:50 +02:00
einhornimmond
e98b351020 add Ufls suggested change 2021-04-16 14:29:03 +02:00
einhornimmond
9f2c0004c4 update code which produce error which last fix (._.); 2021-04-15 12:12:32 +02:00
einhornimmond
8a6acd67f7 fix crash occuring by successful transfered transactions 2021-04-14 11:32:43 +02:00
einhornimmond
b63cf744fe Merge branch 'master' into stage2 2021-04-12 17:56:04 +02:00
einhornimmond
f6084db695 copy email also for cakephp exceptions 2021-04-12 16:57:01 +02:00
einhornimmond
31ac055c65 update model::gradido::Transaction::createTransfer for using with blockchain mysql, update return type
update functions calling model::gradido::Transaction::createTransfer to handle on transaction as return instead of vector
2021-04-12 16:16:32 +02:00
einhornimmond
ef1e7e80eb More error catching, copy error in JsonRequest to able to return it to caller and send it per email 2021-04-12 16:14:26 +02:00
einhornimmond
9e049d8477 update notifications to also have copy errors to email, instead of move, update protocol, run transactions with enough signatures and without result on startup from pending_tasks table 2021-04-09 20:11:24 +02:00
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