3185 Commits

Author SHA1 Message Date
Moriz Wahl
b2cdc69716 sessionId from JWT into context for resolver 2021-08-30 16:29:11 +02:00
Einhornimmond
27982f558b add roles and iota colored coins 2021-08-30 12:20:10 +02:00
ogerly
ad790ae875 select language during registration 2021-08-30 09:31:00 +02:00
Moriz Wahl
7eec6faace authorization with JWT seems to work 2021-08-26 22:49:33 +02:00
Moriz Wahl
8ec55b0a43 Authorization Bearer in Header 2021-08-26 21:41:29 +02:00
einhorn_b
df5a910368 update scripts and doc for setup without docker 2021-08-26 20:43:26 +02:00
Moriz Wahl
6eea07d669 Merge branch 'master' into jwt-setup 2021-08-26 13:54:36 +02:00
32205dc798
Merge pull request #776 from gradido/fix_community_server
Remove Migrations from community server
2021-08-25 12:56:20 +02:00
da114e9142
reduced coverage of community server by 4% from 14 to 10% due to test not clear how to fix 2021-08-25 12:12:04 +02:00
8c4d736fd6
removed tests again - its not clear how to fix this 2021-08-25 12:11:23 +02:00
9e1f650985
try to enable test again - skipping setup 2021-08-25 12:04:48 +02:00
002f6ab3cf
remove empty test file (.old) 2021-08-25 12:00:19 +02:00
9f520156c7
fixed ApplicationTest.php 2021-08-25 11:52:01 +02:00
bcbfdb9c29
remove some tests 2021-08-25 11:47:31 +02:00
53dbc95f7e
removed all traces of migrations from community server.
Exception is the composer.lock, this is corrected with the next install
2021-08-25 11:24:31 +02:00
elweyn
2e85c84cb5 Changed Keys. 2021-08-25 08:40:39 +02:00
b721428abc
Merge pull request #775 from gradido/fix_database_migrations
fix_database_migrations
2021-08-25 00:05:12 +02:00
Moriz Wahl
7610ad08b6 login expects JWT 2021-08-24 21:45:06 +02:00
ed742095c2
when building in development environment the docker container contains the built files, but files are read from local harddrive where the build folder is not present. We mount a drive for the build folder in development mode.
This happens since we always use the built variant of the database project since the table contains the filename - which then varies between js & ts
2021-08-24 18:01:22 +02:00
996202a6bd
if the old migration table is present selecting fileName will result in an SQL error 2021-08-24 17:56:29 +02:00
Moriz Wahl
088f61c6ac remove model for LoginResponse 2021-08-24 17:18:19 +02:00
Moriz Wahl
d1cd8fe724 login response is JWT as string 2021-08-24 17:17:23 +02:00
Alexander Friedland
6f18f5a7e0
Merge pull request #773 from gradido/758-Decay-of-0
decay with the value 0 is no longer displayed
2021-08-24 13:32:20 +02:00
ogerly
db0ddb7d85
if decay is zero then this is displayed in writing otherwise the amount of decay is displayed 2021-08-24 13:08:59 +02:00
ogerly
69c35131c5
decay with the value 0 is no longer displayed 2021-08-24 13:08:59 +02:00
41482aab1a
Merge pull request #770 from gradido/database_migrations
database_migrations
2021-08-23 17:04:15 +02:00
6107cdd622
unsaved changes 2021-08-23 15:59:33 +02:00
0c9bcb00ad
publish docker image for the database migration 2021-08-23 15:57:36 +02:00
c310d1e263
works perfectly 2021-08-23 15:51:51 +02:00
abbcbb4be8
test if we fail the test when the sql server is not reachable 2021-08-23 15:49:53 +02:00
235de944d4
exit with code 1 if an error is thrown inside migration script 2021-08-23 15:47:14 +02:00
a10013bc72
start mysql before so we can hope for a connection 2021-08-23 15:46:21 +02:00
e839221f58
remove previous ocker compose build - its not needed 2021-08-23 15:41:38 +02:00
eaa7229b21
we need the mysql module, therefore the node_modules folder 2021-08-23 15:28:31 +02:00
e1dae547f0
test with correct target 2021-08-23 15:25:47 +02:00
e229494357
does this work now? 2021-08-23 15:15:12 +02:00
7622681be1
it is required to check out the code obviously 2021-08-23 15:05:12 +02:00
43b1866c37
try database migration up and reset
remove unfunctional gd docker compose parts
2021-08-23 15:00:36 +02:00
793b9d7c3c
build & lint testing for database migrations 2021-08-23 14:48:25 +02:00
elweyn
e749db1a65 Merge branch 'master' into apollo-clicktipp-connector 2021-08-23 14:40:32 +02:00
elweyn
2af47e7581 Lint error said to remove '.' from this lines. 2021-08-23 14:39:39 +02:00
aaa4b68388
Merge pull request #756 from gradido/backend_version
backend_version
2021-08-23 14:06:16 +02:00
65fdc75a1f
database version check backend,
connect "singleton" for mysql
docker-compose backend depends on mariadb and restarts till the correct database version is found
2021-08-23 14:03:02 +02:00
8cf8cc0751
added dotenv package requirement
removed typeorm package + orm config file
added mysql2 package
new config options for the database
cleaned .env.dist
2021-08-23 13:59:00 +02:00
d130ad1677
resolved missmerge due to overcommited stuff 2021-08-23 12:39:41 +02:00
9e29613206
docker implementation of the migrations service "database" 2021-08-23 12:38:27 +02:00
160e0bb6c6
comment 2021-08-23 12:38:26 +02:00
d4b5872ef2
also check if migration table is present at all 2021-08-23 12:38:26 +02:00
ffc83845e5
renamed script to have leading zeros to not break order later on 2021-08-23 12:38:26 +02:00
428b1139af
typo 2021-08-23 12:38:26 +02:00