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
Alina Beck
6213a25355
Merge branch 'master' into 1747-show-shouts
2019-11-14 09:37:54 +03:00
mattwr18
feb65a6c9c
Update property name to be more descriptive
...
- I wanted to trigger a build, since we had issues with our build server
today. I think this naming is more in the direction we want to go,
though. Maybe it could be makeShoutsPublic as @alina-beck used for the
translation keys... what do you think @kachulio
2019-11-12 21:19:52 +01:00
mattwr18
3b5e40efaa
Merge branch 'master' of github.com:Human-Connection/Human-Connection into donation-info
2019-11-12 15:18:10 +01:00
Alina Beck
6a98e5759f
fix lint errors in backend
2019-11-12 13:50:45 +03:00
mattwr18
311f2fc912
Create Donations node in seeds
...
Co-authored-by: @alina-beck <alina.beck@mail.com>
2019-11-12 10:20:21 +01:00
mattwr18
835a098731
Set up backend for DonationsInfo
...
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-11-11 18:14:33 +01:00
Vasily Belolapotkov
dc09240c20
sync with 'master' to cleanup PR
2019-11-10 11:48:39 +03:00
roschaefer
874b34211c
Fix lint
2019-11-07 00:55:21 +01:00
aonomike
c1938bacbf
Remove graphql-requests
...
- Remove package-lock.json because we are using yarn
- Remove every instance of graphql-requests as the backend doesnt use it anymore
- Remove graphql-request dependancy from the backend
- Update scripts for running tests in package.json and remove the unused scripts
- Update travis.yml to run the new test scripts
2019-11-06 21:42:34 +03:00
Ewald Arnold
4285932319
Merge branch 'russian-locales' of https://github.com/Human-Connection/Human-Connection into russian-locales
2019-11-06 09:09:48 +01:00
roschaefer
a704709ba3
fix: resolver returned undefined for nameRU
...
This registers the language Russian in the backend. Unfortunately, the
locations seem to be implemented with a hard coded attribute for each
language. 😞
We should refactor this.
2019-11-04 20:39:28 +01:00
Joseph Ngugi
044155a298
add allowShouts mutation
2019-10-31 21:22:44 +03:00
roschaefer
9b67036b43
Add random languages to seeds
2019-10-29 22:03:44 +01:00
Alexander Friedland
3346048e3e
locale
...
change language to locale
2019-10-18 11:53:29 +02:00
ogerly
97dad41b27
Set language will be saved in the database of the user during registration
2019-10-16 15:01:07 +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
Wolfgang Huß
fd27583c1d
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
...
# Conflicts:
# shared/moderation/report.js
2019-10-14 16:21:08 +02:00
Wolfgang Huß
c7849cedd8
Rename report reason category names to have '_' instead '-'
2019-10-14 16:12:21 +02:00
Wolfgang Huß
663cfeb0b2
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-14 13:37:58 +02:00
Wolfgang Huß
8bc939c2da
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-14 13:36:24 +02:00
mattwr18
596b8de615
Merge pull request #1805 from Human-Connection/1754-fix-buggy-profile-page-posts-duplicates
...
Update profile posts apollo query
2019-10-11 10:05:21 +02:00
Wolfgang Huß
94c7d73019
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-11 08:17:15 +02:00
Wolfgang Huß
2a034ee74f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
...
# Conflicts:
# webapp/locales/de.json
2019-10-11 08:16:00 +02:00
Wolfgang Huß
a07010f50c
First step of implementing direct report relation
2019-10-10 15:38:20 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
Wolfgang Huß
bb73ff43e4
Sanitize reason description and test, fix report in 'seed-db.js'
2019-10-04 16:58:32 +02:00
Wolfgang Huß
935252a16e
Rename variables, parameters and properties
2019-10-04 15:21:07 +02:00
mattwr18
c9219f0be3
Fix lint
2019-10-04 12:09:22 +02:00
mattwr18
3b5e39c54d
Update orderBy, remove >=, more realistic seed data
2019-10-04 11:42:55 +02:00
mattwr18
a6d86f78f4
Fix lint
2019-10-03 12:04:07 +02:00
mattwr18
6f1c5e3efa
Set hasMore to false when returned Posts are equal to pageSize
...
- this was causing bugs on User profile page, and saves a database call
2019-10-03 11:04:23 +02:00
roschaefer
6a7970200f
refactor: EmailAddr.Request -> UnverifiedEmailAddr.
2019-10-02 01:21:56 +02:00
roschaefer
e116d52992
Use EmailAddressRequest and validate email
2019-10-02 00:54:01 +02:00
Alexander Friedland
deb21f6edb
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-09-25 19:11:05 +02:00
ogerly
044e2bfed9
Allow embedded code in posts permanent in database
2019-09-23 20:08:45 +02:00
Vasily Belolapotkov
7cca60358c
remove FollowTypeEnum from schema
2019-09-20 16:52:12 +03:00
roschaefer
a8dded2263
Fix #1616
2019-09-17 17:47:26 +02:00
mattwr18
7926cb39ba
Improve English descriptions
2019-09-17 08:50:22 +02:00
roschaefer
431de3319f
Make data-hashtag-id authoritive for #links
...
This adds consistency: The mention links with `@` was implemented
that way already. Instead of parsing the URL, we add some redundancy and
add another attribute: data-hashtag-id
So, what characters are valid for html attributes?
Read: https://stackoverflow.com/questions/925994/what-characters-are-allowed-in-an-html-attribute-name
Thanks to @Tirokk , who added some validations on the hahstag ids, I
think we are all set. If you try to write a hashtag with a `"` double
quotation mark for example, it gets automatically replaced with a valid
hashtag. If someone wants to send us invalid hashtag ids to the backend
directly, the regex there would filter it out.
2019-09-16 23:09:32 +02:00
ogerly
4b97131225
old stand
2019-09-12 16:37:30 +02:00
mattwr18
3712a5d2cf
Merge pull request #1513 from Human-Connection/bugfix_about_me_not_saved_on_signup_verification
...
Bugfix: `about me` not saved on signup
2019-09-10 17:37:22 +02:00
roschaefer
0cd7ac3d32
Refactor slugifyMiddleware
...
* eliminate GraphQL from spec
* much better error handling
* add EmailAdress factory
2019-09-10 15:39:34 +02:00
mattwr18
b89043166b
Add backend tests for filtering posts by emotions
...
- Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-09-09 16:35:11 +02:00
ogerly
948982682d
fails, fails, fails
2019-09-04 10:09:20 +02:00
Alexander Friedland
e618ff005d
Merge branch 'master' into C-1187-terms-and-conditions-confirmed-function
2019-09-04 06:42:40 +02:00
roschaefer
64268a1f3c
Add locations to seeds, fix shoutedByCurrentUser
2019-09-03 21:28:29 +02:00
roschaefer
7b44a87e3b
Follow @mattwr18's suggestions
2019-09-03 21:28:29 +02:00
roschaefer
bd885b1aac
Delete emails and social media, bugfix
...
The bugfix was missing '(' plus a wrong order for the social media
relationship called 'OWNED_BY'.
2019-09-03 21:28:29 +02:00