3026 Commits

Author SHA1 Message Date
einhornimmond
27e99fbd03 make it possible to use additional local .env entries 2021-09-09 13:04:04 +02:00
einhornimmond
434fbb6d2f adding moritz suggestion to don't show the commit hash link if no commit hash was given 2021-09-09 12:52:54 +02:00
einhornimmond
e24c3e21a6 additional zero check for fixing broken tests 2021-09-07 11:48:42 +02:00
einhornimmond
e355271ea8 update default 2021-09-07 11:36:11 +02:00
einhornimmond
e7c1771d2a try with default value 2021-09-06 17:44:44 +02:00
einhornimmond
2937fc7c07 replace -e with --build-arg in docker build call 2021-09-06 17:32:23 +02:00
einhornimmond
761bd17290 next try 2021-09-06 17:27:51 +02:00
einhornimmond
0413e13ee0 add BUILD_COMMIT to test 2021-09-06 17:12:53 +02:00
einhornimmond
db020da387 add commit hash with link to github into frontend 2021-09-06 16:14:39 +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
b721428abc
Merge pull request #775 from gradido/fix_database_migrations
fix_database_migrations
2021-08-25 00:05:12 +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
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
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
f1ed748983
fixed bug where the migrations table was deleted every time 2021-08-23 12:38:26 +02:00
e8d6e871c4
missing await 2021-08-23 12:38:26 +02:00
197f1975bf
use mysql2 due to promise wrapper and speed advantage 2021-08-23 12:38:26 +02:00
d480cadf93
fixed build js up/down/reset commands
started to do some more prepare stuff
2021-08-23 12:38:26 +02:00