357 Commits

Author SHA1 Message Date
5736d3ba0b
removed bigint-conversion,
fixed keygeneration to be aligned 100% with login_server
trailing space on passphrase
bigint to hash conversion
2021-11-03 02:08:10 +01:00
2473f450c3
- require sodium because else problems occur
- fix key generation
2021-11-03 00:51:55 +01:00
c6af40d1bd
we connot use those types, they are wrong 2021-11-03 00:51:26 +01:00
7a36d97835
lint fixes,
disabled console lint, removed email todo since its logged - should be adequat
2021-11-02 21:17:00 +01:00
elweyn
5220874a07 Setup LoginUserBackupRepository. 2021-11-02 17:27:09 +01:00
elweyn
d286d68730 Create the LoginUserRepository. 2021-11-02 17:24:45 +01:00
elweyn
20c440c258 Changed the save methods used on entities to repository save entity methods. 2021-11-02 17:21:57 +01:00
22bdcae05b
proper encoding for the German special characters (was windows encoding, now is utf8) 2021-11-01 00:54:12 +01:00
2a764eef3b
optimization: additional check for passphrase to actually have enought words, various other stuff 2021-11-01 00:16:40 +01:00
d4dd8e5e21
optimization: always save passphrase 2021-11-01 00:12:09 +01:00
c4df818456
optimization: dont assign unused variable 2021-11-01 00:10:39 +01:00
c2ffc9b5f4
todo 2021-11-01 00:10:02 +01:00
d642bff683
optimization: save private key always 2021-11-01 00:08:53 +01:00
6dfb671b14
different mnemonic word lists. It is unclear which to use for what. 2021-11-01 00:05:51 +01:00
a9e16708a4
implemented:
- PassphraseGenerate
- KeyPairEd25519Create
- generateKeys
for createUser in order to generate the privateKeys
(unoptimized)
2021-10-31 23:59:39 +01:00
c489921313
- removed libsodium-wrappers and installed sodium-native since we need the esoteric functions aswell
- added conversion library from bigint to buffer
2021-10-31 23:55:33 +01:00
77d89d55db
implemented create user in apollo
- Pubkey generation still missing
2021-10-31 04:59:07 +01:00
472391a8d2
corrected typescript type (not graphql) 2021-10-31 02:13:29 +01:00
9540ab3208
reduced checkUsername response to a boolean 2021-10-31 02:01:02 +01:00
973fad7ea9
cleaned graphql checkUsername Response 2021-10-31 02:01:02 +01:00
d1ae8a9537
cleaned graphql checkUsername Args 2021-10-31 02:01:02 +01:00
af2a77c30f
implemented checkUsername resolver 2021-10-31 02:01:02 +01:00
7729f44ba1
updated backend required database version 2021-10-21 05:13:45 +02:00
Moriz Wahl
ae5b37d94d
Merge pull request #1021 from gradido/fix-decay-ceil
fix: Decay Rounded to Ceil
2021-10-20 20:21:09 +02:00
8578ca9e51
also build database in dev mode 2021-10-20 00:26:00 +02:00
Moriz Wahl
cffadab4af fix: Decay Rounded to Ceil 2021-10-18 21:50:42 +02:00
Moriz Wahl
d6279370fd try to get things working. Backend does not find database build 2021-10-18 21:07:52 +02:00
d8e3db5b0f
properly bind database volumes, make database directories in container and copy required node_modules folders for production 2021-10-18 15:39:43 +02:00
b68ab27ed1
aligned typeorm versions of backend and database 2021-10-18 15:39:43 +02:00
f59bbef4de
more error logging for debugging purposes 2021-10-18 15:39:43 +02:00
3c0c4a4a5d
errors on failed connection to help debugging, entities from database project in typeorm connection 2021-10-18 15:39:43 +02:00
fea73e9769
do not define the default baseUrl explicitly 2021-10-18 15:39:43 +02:00
3505825d88
better comments in docker file 2021-10-18 15:39:43 +02:00
a883a435ec
remove sudo 2021-10-18 15:39:43 +02:00
67add65d47
fixed test includes 2021-10-18 15:38:43 +02:00
ed6b66d26b
also install database packages 2021-10-18 15:38:43 +02:00
84fc7bd601
copy also database project as a whole into docker image 2021-10-18 15:38:43 +02:00
6cc46bf2d4
Update backend/src/typeorm/getDBVersion.ts
Co-authored-by: einhornimmond <dario.rekowski@gmx.de>
2021-10-18 15:38:43 +02:00
7e33f74be1
this seems to work quite good locally with both node_modules downloaded 2021-10-18 15:38:43 +02:00
103ddb62f5
try to use tsconfig instead 2021-10-18 15:38:43 +02:00
887533e4c7
correct path 2021-10-18 15:38:43 +02:00
13aa6772ea
copy modules after install 2021-10-18 15:38:43 +02:00
f8addaf371
also create directory 2021-10-18 15:38:43 +02:00
2e39ef8667
install sudo 2021-10-18 15:38:43 +02:00
5f3c0f4e7d
remove sudo? 2021-10-18 15:38:42 +02:00
db3f3ad13d
try to mount the nodemodules 2021-10-18 15:38:42 +02:00
757c1a8dee
docker: make backend a folder not a file(?) 2021-10-18 15:38:42 +02:00
1a91f6191c
reshape build context to fix out of context error when copying database entities 2021-10-18 15:38:42 +02:00
8228422d6f
include the entity models in the docker build 2021-10-18 15:38:42 +02:00
dd21918b0b
corrected all entity imports 2021-10-18 15:38:42 +02:00