2184 Commits

Author SHA1 Message Date
Matt Rider
5423412958 Set up UI 2019-07-31 14:58:05 +02:00
Matt Rider
0a98113c2d Add backend tests for RemovePostEmotions 2019-07-30 13:28:30 +02:00
Alina Beck
d83819dae3 add social media back into user resolver 2019-07-29 23:19:09 +02:00
Alina Beck
afe61ce4a2 add social media back into user schema 2019-07-29 22:51:11 +02:00
Alina Beck
c7d72bfdee use apollo test client in social media tests 2019-07-29 17:22:37 +02:00
Alina Beck
e161416eff use neode instance in social media resolver 2019-07-29 17:22:05 +02:00
Alina Beck
355c7c764c remove social media from user resolver 2019-07-29 17:20:36 +02:00
Alina Beck
0e1abad123 adjust social media types to fit new definition 2019-07-29 17:19:13 +02:00
Alina Beck
ab3fea19d5 add SocialMedia model 2019-07-29 17:17:18 +02:00
Alina Beck
4f068116b9 add social media permissions in middleware 2019-07-29 17:16:40 +02:00
Alina Beck
0439b4407b remove social media validations from middleware 2019-07-29 17:16:05 +02:00
Matt Rider
3e43539e23 Set up some backend tests for emotions 2019-07-29 17:08:07 +02:00
Wolfgang Huß
a542b33f79
Merge pull request #1053 from Human-Connection/refine-social-media
🍰 Refine social media
2019-07-29 16:08:08 +02:00
Matt Rider
322ec597a3 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 384-emotions-on-posts 2019-07-29 12:40:01 +02:00
Alina Beck
b16a98f1aa mark backend auth tests as todo 2019-07-23 14:58:11 +02:00
Alina Beck
59321ec8f4 add more thorough backend tests (wip) 2019-07-23 14:54:11 +02:00
Alina Beck
cb33d0c267 rename social media mutations in backend tests 2019-07-23 12:09:35 +02:00
Robert Schäfer
4ee20d4e7e Coerce undefinedToNull in embed resolver 2019-07-22 00:38:56 +02:00
Robert Schäfer
c5789cbf90 Fix get-video-id expects a string bug 2019-07-22 00:20:43 +02:00
Robert Schäfer
657a5ac1f5 Fix resolve function returns undefind
I'm also trying to make sense of the attribute `sources` - probably it's
indicating where the data is coming from.
2019-07-21 23:31:44 +02:00
Robert Schäfer
3d7a30d419 Remove metascraper-logo-favicon altogether
It's doing http requests which are hard to test and hard to maintain.
Therefore let's remove it until we really need it.
2019-07-21 22:20:44 +02:00
Robert Schäfer
75743cae32 Passing jest test, not all requests stubbed out 2019-07-21 13:41:39 +02:00
Robert Schäfer
579ec7e7dc Re-add embed attribute as html 2019-07-20 17:51:20 +02:00
Robert Schäfer
f5730fce7e Start to mock+test embeds resolver
+ Put oembed providers into a file
+ Add test snapshots
+ Remove unnecessary request-native dependency
2019-07-20 17:47:18 +02:00
Robert Schäfer
d81c38c4e3 Remove obscure embed attribute and remove cache
The cache is a possible memory leak: It grows over time and never gets
cleaned.
2019-07-20 15:58:55 +02:00
Robert Schäfer
73e879eb68 Fix lint 2019-07-19 22:29:53 +02:00
Robert Schäfer
f82b2c37b3 Refactor scraper.js with ES6 imports 2019-07-19 21:29:07 +02:00
Robert Schäfer
2e6ea62144 Replace got with node-fetch => -1 dependency 2019-07-19 21:06:05 +02:00
Robert Schäfer
d4c3b7ac10 Merge embed service with backend 2019-07-19 20:32:53 +02:00
Wolfgang Huß
f47724da6a One notifyMentions function for Posts and Comments 2019-07-18 17:33:34 +02:00
Matt Rider
5fb89fd45c Merge branch 'master' of github.com:Human-Connection/Human-Connection into refine-social-media 2019-07-17 07:23:29 -03:00
Wolfgang Huß
e0ab41a3d1
Merge pull request #788 from Human-Connection/552-update_comment
Update comment
2019-07-17 10:36:53 +02:00
Wolfgang Huß
f7da4a2bdf Rewrite the Backend test that are doublets to make sense 2019-07-17 09:26:03 +02:00
Robert Schäfer
1970baaa2d Apparently neode doesn't like multiple connections
Why? 😟
2019-07-16 21:05:44 +02:00
Robert Schäfer
95d26a701c Fix lint 2019-07-16 21:00:47 +02:00
Robert Schäfer
99bfd56ea7 Merge remote-tracking branch 'origin/master' into refactor_email_address 2019-07-16 20:20:21 +02:00
Robert Schäfer
4c9dbdb378 Refactor changePassword resolver with neode 2019-07-16 20:06:26 +02:00
Matt Rider
1c53c58f42 Add backend validation tests to expose non-validation
- remove validation/index.js as it's not being used
- move validations to validationMiddleware.js where it validates
2019-07-16 14:54:13 -03:00
Wolfgang Huß
cd0c509c81 Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment 2019-07-16 16:10:36 +02:00
Matt Rider
16f077fe65 Add authentication tests for AddPostEmotions, emotionsCount 2019-07-16 11:02:43 -03:00
Matt Rider
a019c8c311 Revert unintended changes, refactor
- rename some variables in comments.spec.js while dealing with merge conflicts
- rename EditCommentForm/index.vue with new naming convention
- add comment to explain absense of <no-ssr>
- use a comments content for edit comment form content, not excerpt
2019-07-16 07:53:57 -03:00
Matt Rider
7de337f96d Merge branch 'master' of github.com:Human-Connection/Human-Connection into 552-update_comment 2019-07-16 07:24:23 -03:00
Wolfgang Huß
dded3344cc
Merge pull request #1040 from Human-Connection/remove_graphql_yoga
Remove graphql-yoga
2019-07-16 09:13:44 +02:00
Wolfgang Huß
b5bd77b539 Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1000_find_users_by_email_address
# Conflicts:
#	webapp/layouts/default.vue
2019-07-16 08:44:42 +02:00
Wolfgang Huß
ff234eeed5 Preparing for Mentions of users in Comments
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-07-16 08:12:40 +02:00
Matt Rider
36c4a22b76 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 552-update_comment 2019-07-15 18:29:26 -03:00
Robert Schäfer
46cd21db1f Fix registration.spec 2019-07-15 19:35:07 +02:00
Robert Schäfer
b8ab7cacef Fix email filter test 2019-07-15 19:21:17 +02:00
Robert Schäfer
cec3eddcef Fix more test cases 2019-07-15 18:35:38 +02:00
Robert Schäfer
88aa8a3929 Encrypt email in JWT - fixes 2 test cases 2019-07-15 18:35:38 +02:00