40 Commits

Author SHA1 Message Date
Moriz Wahl
75a1feb7ee no relative paths in tests 2022-03-07 22:03:54 +01:00
6be7990142
mising space 2022-02-14 16:42:59 +01:00
a62b7e0d28
cancel hook on certain events before calculating data
ensure all required fields are present and cancel when thats not the case
2022-02-14 16:39:19 +01:00
1a1e011e6d
null fields when there is no valid integer arriving from elopage.
Furthermore try catch on save to prevent server crashes
2022-02-13 12:41:16 +01:00
c21f7da5ce
lint fixes 2022-02-04 15:50:24 +01:00
c63a42009e
removed references and implemented implicit active record queries 2022-02-04 15:48:04 +01:00
a334c916fd
fixed business logic with only one user 2022-02-03 21:35:15 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
65bc3479fa
rewrote elopage hook to handle actual elopage hook 2022-01-27 21:29:53 +01:00
791b05b481
typo on elopage hook 2022-01-19 14:45:06 +01:00
61b262472d
elopage hook, log full body 2022-01-17 11:21:09 +01:00
eaa59180d3
removed github webhook, its now external 2022-01-12 21:21:27 +01:00
5e5991d004
remove unused comment 2022-01-12 21:21:26 +01:00
f75ff56785
execute script directly 2022-01-12 21:21:26 +01:00
8da334aa77
remove process.exit since it does not have any effect 2022-01-12 21:21:26 +01:00
b7132865a1
exit process after forking, use semicolon instead of && 2022-01-12 21:21:26 +01:00
d41c404288
removed comment 2022-01-12 21:21:26 +01:00
d2d22f68b2
remove console log 2022-01-12 21:21:26 +01:00
f332bae932
reverted all trys to fix things within the script, use /bin/bash to spawn interpret the script 2022-01-12 21:21:26 +01:00
bfda1984ec
remove console log 2022-01-12 21:21:26 +01:00
42542b53b3
remove unused eslint ignore 2022-01-12 21:21:26 +01:00
09670126f2
comment fix 2022-01-12 21:21:26 +01:00
610f3454a6
update detach code 2022-01-12 21:21:25 +01:00
3f4ba4c50c
try fork 2022-01-12 21:21:25 +01:00
1bd3e7df00
some comment 2022-01-12 21:21:25 +01:00
4ccfc5fcfc
unref the spawned script instance in order to allow it to end the backend process 2022-01-12 21:21:25 +01:00
59efb3fcf5
start start.sh on githook 2022-01-12 21:21:25 +01:00
41ee819aba
remove trailing slash again, log when eopage hook was recieved 2022-01-12 21:21:25 +01:00
1e39f5049b
first implementation of github webhook 2022-01-12 21:21:25 +01:00
aea773167b
fixed elopage webhook 2022-01-12 21:21:22 +01:00
elweyn
1688ded788 Withdrew password argument of createUser. 2021-12-20 15:26:51 +01:00
ogerly
f6d42e7236 add eslint-disable,@typescript-eslint/no-explicit-any @typescript-eslint/explicit-module-boundary-types 2021-12-02 12:51:07 +01:00
e838af8d4b
elopage hook problem 2021-11-25 09:23:23 +01:00
a6e4e84c9b
do not generate a password for a user, but change the process to set the password later. 2021-11-19 01:51:13 +01:00
f6f6314eb1
save price as integer 2021-11-19 01:22:24 +01:00
ad82cda489
remove unused fields comments to reduce file lengrh 2021-11-19 01:12:01 +01:00
a44a3ee6d0
make language an optional parameter for createUser and do not set it on the elopage webhook 2021-11-19 01:08:53 +01:00
2aba37e60c
replace map with foreach since we don't need a return - thanks moriz 2021-11-19 01:00:55 +01:00
5335d12802
catch error on createUser and log them 2021-11-17 19:37:35 +01:00
e68f22ade0
implement the webhook 2021-11-17 16:57:04 +01:00