60 Commits

Author SHA1 Message Date
d354f9630a
Use build args instead of envs for the version, date & commit 2021-04-17 12:44:01 +02:00
6110557abf
fixed versions to follow SemVer 2.0 style (https://semver.org/spec/v2.0.0.html) 2021-02-25 20:48:20 +01:00
737c5fc53a
updated docker files - removed todo
remove `docker_push.sh` script
2021-02-08 20:54:26 +01:00
0715310089
- refactor neo4j dockerfile
- support build stages community & enterprise
2021-01-19 23:18:52 +01:00
Moriz Wahl
e47671c52a further changed requested by Tirokk 2020-11-24 19:10:46 +01:00
Moriz Wahl
16cdcc921e further changes 2020-11-23 13:44:16 +01:00
roschaefer
a741721295 Remove labels from Dockerfiles
Version was out of date anyways
2020-06-05 11:19:57 +02:00
mattwr18
f3784c5f50 Create .archived directory for older migrations 2020-01-23 15:04:38 +01:00
roschaefer
ce664040c6 docs(backend): How to create & run data migrations 2020-01-20 11:00:52 +01:00
roschaefer
c0e2675912 refactor(neo4j) Setup constraints with neode 2020-01-20 10:58:33 +01:00
mattwr18
1f06a862e7
Merge pull request #2262 from Human-Connection/1463-search-for-users
🍰 Search For Users
2020-01-10 13:59:44 +01:00
dependabot-preview[bot]
06277c89b8
build(deps): bump neo4j in /neo4j
Bumps neo4j from 3.5.13-enterprise to 3.5.14-enterprise.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 04:23:23 +00:00
mattwr18
3ef04f8391 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1463-search-for-users 2019-12-19 17:16:48 +01:00
mattwr18
e002ed0b49 Add back layout changes/update db_manipulation
- we had removed these changes till we could deploy them by themselves
and run the db_manipulation

Co-authored-by: Alina Beck <alina.beck@mail.com>
2019-12-18 15:39:42 +01:00
Moriz Wahl
77cdc34bfd backend still not working 2019-12-10 10:36:08 +01:00
mattwr18
4d0df181b6
Merge pull request #2432 from Human-Connection/remove-query-for-disable-property-for-reports
Remove disable from reports.disable Query
2019-12-05 21:14:55 +01:00
mattwr18
b82e6f4d81 Move db script to neo4j/db_manipulation directory 2019-12-05 19:57:53 +01:00
mattwr18
517963174b We are not setting disable on Report node
- we are adding the report rule which says that if a resource was
disabled by a report with this rule, then the latest review was the one
that disabled it.
- fix db script/ add new directory for keeping record of db scripts
2019-12-05 19:52:05 +01:00
mattwr18
42540eb909 Remove dead code, code creep 2019-12-04 19:55:48 +01:00
mattwr18
085b59bf4d Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation 2019-12-04 13:23:06 +01:00
mattwr18
e4aba5d4df Add test case/Fix message
- Test that the rule is automatically created for new reviews
- Improve English message
2019-12-02 13:56:44 +01:00
mattwr18
c05065f684 Refactor backend
- update script
- use readTxResult for validateReview
- favor more verbose variables
- do not set review.closed as we close the report and the rule at the
moment is set to 'latestReviewUpdatedAtRules' rule, so it's clear the
last review must have been the one that closed the report
2019-12-02 13:38:35 +01:00
dependabot-preview[bot]
2885661e60
build(deps): bump neo4j in /neo4j
Bumps neo4j from 3.5.12-enterprise to 3.5.13-enterprise.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-29 04:22:40 +00:00
mattwr18
2f249a73c5 Rename REPORTED Claim to FILED Report 2019-11-26 15:35:48 +01:00
Wolfgang Huß
1574a6cdb6 Check database manipulation script again 2019-11-23 12:32:01 +01:00
Wolfgang Huß
d5afb6c790 Add old script again as template 2019-11-22 19:31:19 +01:00
Wolfgang Huß
02bdc5ea5d Rename node CaseFolder to Claim and relation FLAGGED to BELONGS_TO 2019-11-22 12:18:43 +01:00
Wolfgang Huß
a7aaee98c1 No new review if a reviewer changes their opinion 2019-11-22 10:39:55 +01:00
Wolfgang Huß
0fdd46b656 Implement CaseFolder property rule 2019-11-20 15:30:37 +01:00
Wolfgang Huß
9d4c1b8753 Renamed Case to CaseFolder in database restructure script 2019-11-18 10:35:52 +01:00
Wolfgang Huß
733f5c4d44 Rename db manipulation script file 2019-11-15 18:25:10 +01:00
Wolfgang Huß
5c4eb36b12 Get db manipulation script running 2019-11-15 17:18:12 +01:00
Wolfgang Huß
d2442b73c9 Refactor report mutation 2019-11-15 10:49:55 +01:00
Wolfgang Huß
bcd60c364d Refactor script for db change 2019-11-14 18:21:26 +01:00
Wolfgang Huß
f2ab84a5e9 Change database script 2019-11-08 09:56:06 +01:00
Wolfgang Huß
2a23bbf101 Refactor frontend and 'reports' query again 2019-11-07 15:54:26 +01:00
Wolfgang Huß
f826039777 Get the backend tests with decide mutation to work #1 2019-11-04 18:33:55 +01:00
Wolfgang Huß
47d5cc89dd Implement last property on DECIDED relation 2019-10-30 15:48:46 +01:00
Wolfgang Huß
7b3224327e Prepare backend for next implementation step 2019-10-30 13:51:00 +01:00
Wolfgang Huß
98029a6d46 Script to change the database structure from DISABLED to DECIDED relation
- Apply default properties to the relation.
2019-10-25 16:47:42 +02:00
dependabot-preview[bot]
484917d922
build(deps): bump neo4j in /neo4j
Bumps neo4j from 3.5.11-enterprise to 3.5.12-enterprise.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 04:23:31 +00:00
Wolfgang Huß
30f268525f Add Cypher statement for ordering
- minor db manipulation text change
2019-10-16 13:32:45 +02:00
mattwr18
faf0a15aee Update to use enum in tests, seed data, etc, refactor resolver
- Extract validations to the validations middleware to clean it up
- Remove resourceId since it throws an error in the mutation if the user
asks for it back, and the resourceId is returned in post/comment/user.id
- use writeTxResultPromise to benefit from automatic retries
- more descriptive variable naming
- extract cypher query to make db manipulation into script so that it
can be run from the command line, at least locally.
2019-10-14 21:07:55 +02:00
mattwr18
b1573cc25a Update neo4j to Enterprise edition
- accept license agreement
2019-10-03 16:11:29 +02:00
dependabot-preview[bot]
8fe1787190
Bump neo4j from 3.5.9 to 3.5.11 in /neo4j
Bumps neo4j from 3.5.9 to 3.5.11.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-27 04:22:58 +00:00
dependabot-preview[bot]
0568f049bd
Bump neo4j from 3.5.8 to 3.5.9 in /neo4j
Bumps neo4j from 3.5.8 to 3.5.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-06 04:23:18 +00:00
roschaefer
66ed78e19b Remove a lot of unused code, reduce graphql schema 2019-09-05 03:20:32 +02:00
roschaefer
67f5dd53e2 Remove the custom entrypoint from the docker image
.. add documentation how to setup indices manually.
2019-08-25 13:03:46 +02:00
roschaefer
51b734275a The name of the hashtag is now it's ID
`name` was just a redundant attribute
2019-08-16 01:49:29 +02:00
Robert Schäfer
423f7de40d Linux distro of neo4j image suddenly debian based
So replace `apk` with `apt-get`...
2019-08-01 23:10:01 +02:00