507179738a
refactor(backend): types for neo4j & neode ( #8409 )
...
* type for neo4j and neode
* fix build
* remove flakyness
* wait for neode to install schema
* remove flakyness
* explain why we wait for a non-promise
2025-04-25 08:04:58 +00:00
74b79e0b14
fix faker image seed ( #8422 )
...
Images now display properly and there is diffent images now
allow to provide url, urls msut be valid in seed
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-22 11:06:27 +00:00
b464a380ca
refactor(backend): lint @typescript-eslint/recommended-requiring-type-checking ( #8407 )
...
* lint @typescript-eslint/recommended
* lint @typescript-eslint/recommended-requiring-type-checking
fix type not detected locally due to wierd uuid typings
missing save
error not reported locally
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 10:32:44 +00:00
f782032563
refactor(backend): lint - import/order ( #8350 )
...
* lint - import/no-relative-parent-imports
fix build error
* fix md
* lint import/order
enabled rule import/order and fixed impot order in each file
2025-04-09 09:44:48 +02:00
a4f391930c
lint - import/no-relative-parent-imports ( #8349 )
...
enable import/no-relative-parent-imports
2025-04-08 23:18:07 +02:00
ebddfa7df4
all files as .ts
2023-06-12 13:25:21 +02:00
elweyn
10a22487ef
Withdrew helper/jest.js and replace it with graphql-tag
2023-02-23 09:06:41 +01:00
Moriz Wahl
7b3d530023
close neo4j driver at the end of each test suite
2023-02-13 15:31:58 +01:00
Wolfgang Huß
62de9a158e
Fix as quick fix for all reminding tests
2021-07-26 11:36:42 +02:00
mattwr18
698c85b262
fix(backend): Obfuscate avatar/image fix test
...
- Then Image.url can be non-nullable because we return null if the
resource is deleted.
2020-03-23 19:16:10 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type ( #3043 )
...
* refactor(graphql): Introduce image type
* Undo changes to .travis.yml
* chore: Upgrade travis to node LTS
- URL is available since v10
* chore: use lts
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
2fc71d75a5
Refactor factory for comments
2020-01-28 22:43:27 +01:00
roschaefer
95bfb090fd
Refactor factory for posts
2020-01-28 22:43:26 +01:00
roschaefer
2a79c53765
Refactor user factory
2020-01-28 22:43:26 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +01:00
roschaefer
8f0ce19f09
Implement getDriver() and getNeode() the same way
...
I want to introduce `neode` and `neo4j-graphql-js` to my students and
saw this.
2019-12-05 21:00:24 +01:00
mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
mattwr18
f36ae9a63c
Refactor softDeleteMiddleware spec
...
- We have been using http requests in our set up in this file, which can
be avoided. We are not trying to test that the report/review workflow
works properly here, we are trying to test that if a resource was
reported, and then disabled, some conditions are true. Certainly, we
will have tests that check that the report, review workflow works as
expected.
2019-11-25 17:05:04 +01:00
Wolfgang Huß
99af6cbf8a
Implement displaying multiple claims in the frontend
2019-11-22 18:40:51 +01:00
Wolfgang Huß
7de34d3d55
Fix tests by first report before review
2019-11-22 15:56:21 +01:00
Wolfgang Huß
ec8910d6eb
Rename decide mutation to review
2019-11-22 15:12:00 +01:00
Wolfgang Huß
ef84e9991f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
2019-11-21 08:09:50 +01:00
Robert Schäfer
9a985d464c
Merge pull request #2257 from Human-Connection/bump_metascraper_modules
...
build(deps): bump metascraper modules
2019-11-18 22:00:26 +01:00
roschaefer
978347ba7b
Tell github-linguists to ignore snapshots
2019-11-16 20:09:05 +01:00
roschaefer
0e3ace36fb
Remove global filters for disabled/deleted
...
I think there is no use case for it and it looks to me like sth. you
shouldn't be able to query for.
2019-11-15 11:04:07 +01:00
Wolfgang Huß
a4521b4621
Use of mutation disable removed
...
- The mutation definition still has to be removed.
2019-11-06 09:13:08 +01:00
Alexander Friedland
3fc61618bd
deleted posts no longer displayed in user profile
...
deleted posts are no longer displayed in the user profile
2019-10-31 11:05:29 +01:00
roschaefer
160552734d
Move softDeleteMiddleware into its own folder
2019-09-06 13:12:30 +02:00