89 Commits

Author SHA1 Message Date
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
d4bfa7d20f update CMakeFile, it seems that by merging old bugs reappear 2021-04-08 12:50:25 +02:00
einhornimmond
7e03c6204c fix login server build speed 2021-04-07 20:49:42 +02:00
einhornimmond
227809d5b5 add some group related code 2021-04-07 20:49:21 +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
9946cc0e13 update stage2 docker build orientated on stage1 docker-build 2021-03-31 15:29:17 +02:00
einhornimmond
d1667e0ba9
Merge branch 'master' into api_password_reset 2021-03-31 12:38:52 +02:00
einhornimmond
7f3d146351
Merge pull request #101 from gradido/optimize_login_server_build
Optimize login server build
2021-03-31 12:29:09 +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
3358a25d4a
Merge branch 'master' into vue_with_nginx 2021-03-30 16:34:16 +02:00
einhornimmond
7822b63c23 change protoc to version from gradido 2021-03-30 14:04:08 +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
8c153ff255
Merge branch 'master' into build_on_run 2021-03-29 17:51:04 +02:00
einhornimmond
0da5279175 build login-server on docker-compose up in a docker volume so it rebuild only neccessary parts if some c++ files have changed 2021-03-29 17:47:55 +02:00
einhornimmond
1f68d9bc66 add missing submodules to main submodules file 2021-03-29 16:48:06 +02:00
einhornimmond
1f002f4ed0 update debug docker to use dependencies container pushed to docker hub 2021-03-29 16:10:36 +02:00
einhornimmond
be549b7501 create docker container for build and offer protoc v3.9.1 to prevent rebuilding protoc every time 2021-03-29 15:30:03 +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
Dario via Pythagoras
aa3c28763f remove protobuf tests, shorten cpu core getter 2021-03-25 07:49:06 +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