Matt Rider
4de8407620
Rename variable, mutation
...
- result is not a good name in this case because we know what is coming back, the result is a socialMedia node
- update the mutation name in the front end
2019-04-08 12:05:57 -03:00
Matt Rider
a1ebb89d64
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-08 11:57:35 -03:00
Robert Schäfer
adde8a5965
Remove dots from matched @mention regex
2019-04-08 12:08:49 +02:00
Robert Schäfer
f372cdcbdb
Avoid to send out notifications for email adresses
2019-04-08 12:01:09 +02:00
Wolfgang Huß
c513b7ba2e
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 219-refactor-follow-shout-mutations
2019-04-08 11:41:42 +02:00
Robert Schäfer
8e6fb3d9e2
Fix test
2019-04-08 10:19:57 +02:00
Robert Schäfer
cf1f655451
Create notifications on CreatePost
2019-04-06 16:02:54 +02:00
851e6919e9
Merge branch 'master' into keep_private_rsa_key_secret
2019-04-06 09:45:21 +02:00
c1785af8e1
Merge branch 'master' into create_notifications
2019-04-06 09:44:43 +02:00
1b9ce269cf
Merge branch 'master' into quick-fix
2019-04-05 20:00:14 +02:00
Wolfgang Huß
a995c84ddf
Merge branch 'keep_private_rsa_key_secret' of https://github.com/Human-Connection/Human-Connection into keep_private_rsa_key_secret_TirNew
2019-04-05 18:43:47 +02:00
Wolfgang Huß
c4e57fc928
User to query for "publicKey" is generated on port "4001"
...
But still no "publicKey" is generated.
So wished failing test shows not "publicKey" except other than "null".
2019-04-05 18:32:11 +02:00
Wolfgang Huß
8713f61734
Added Tests to "user_management.spec.js"
...
Implemented suppression of "publicKey", now commented out for testing approach.
Use port 4001 for querying, but forgot that I have to generate the user on the same port, before I can query it with generated "publicKey".
Do this in next commit.
2019-04-05 17:44:43 +02:00
Robert Schäfer
cb5280e6e8
Sketch test to create a notificaion for a mention
2019-04-05 14:35:41 +02:00
Matt Rider
24d4259510
Add validURLMiddleware, remove unused package, extract tests
2019-04-05 09:15:22 -03:00
Matt Rider
2778bca11f
Merge branch '236-list-social-media-accounts' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-05 07:32:34 -03:00
Matt Rider
4d4978c0f2
Merge github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-05 07:29:44 -03:00
Robert Schäfer
710a8515d3
Fix lint
2019-04-05 11:20:19 +02:00
Robert Schäfer
bb3a8525db
Only admins are allowed to query all notifications
2019-04-05 02:35:33 +02:00
Robert Schäfer
97d9b6d772
Add notifications to User
2019-04-05 02:35:33 +02:00
Robert Schäfer
03d4c93f96
Add Notification type
2019-04-05 02:35:33 +02:00
Robert Schäfer
8477e71c28
Sketch test for #350
2019-04-05 02:31:32 +02:00
Robert Schäfer
5df54309b1
So close @mattwr18
2019-04-05 00:05:23 +02:00
Matt Rider
a51190d4e9
Add custom resolver for createSocialMedia
2019-04-04 15:43:06 -03:00
Wolfgang Huß
97707f7a20
Added file "backend/src/resolvers/follow.js"
...
WIP !!! In development! Not able to run now!
2019-04-04 18:29:50 +02:00
Robert Schäfer
8627d57906
Don't expose private RSA key
...
cc @Tirokk
2019-04-04 18:02:48 +02:00
Matt Rider
d9bf8049c5
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-04-03 13:31:24 -03:00
Matt Rider
9f6de23805
Add graphql-constraint-directive, uri contstraint
...
- currently not compiling with "Error: Unknown directive "constraint""
Co-authored-by: Wolfgang Huss <wolle.huss@pjannto.com>
2019-04-03 09:00:36 -03:00
Armin
c7d296fcc4
Fixes #361
2019-04-03 00:21:11 +02:00
Matt Rider
80f664dd78
Match user by id instead of email, update feature
2019-04-02 18:05:45 -03:00
cd6838a468
Fixed windows build, updated readme (prerequisites & requirements), fixed backend server start log output to reflect proper values
2019-04-01 16:32:08 +02:00
Matt Rider
78ec42e000
Merge branch '236-list-social-media-accounts' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-28 14:36:33 -03:00
Matt Rider
8efb3484ac
Merge github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-28 14:26:55 -03:00
Robert Schäfer
08c2e5d708
I was able to save an empty string as social media
2019-03-27 13:56:28 +01:00
Robert Schäfer
9daa7b81b9
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-27 12:55:36 +01:00
Matt Rider
3f9916404e
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-27 08:33:16 -03:00
Robert Schäfer
82bb4c4d7d
Fix lint
2019-03-27 11:26:07 +01:00
Armin
53a2440e3c
Add needed env var PRIVATE_KEY_PASSPHRASE + fix WebFinger test
2019-03-27 01:18:52 +01:00
Robert Schäfer
5d440d2e5b
Fix wrong implementation of cucumber test
2019-03-26 20:49:04 +01:00
Robert Schäfer
b79ae68318
User factory can override slug
2019-03-26 13:52:56 +01:00
Robert Schäfer
fca2fcf713
Fix lint
2019-03-26 01:41:58 +01:00
Robert Schäfer
c9dfd0d294
Merge remote-tracking branch 'origin/master' into another-fix-of-activity-pub-implementation
2019-03-26 01:37:15 +01:00
Robert Schäfer
b1101bc03d
Merge pull request #239 from Human-Connection/238-default-feed-order
...
Order all resources by createdAt descending (as default)
2019-03-26 01:35:00 +01:00
Robert Schäfer
46c0d0659a
Fix routing/proxying of AP, works locally
...
RSA keys get seeded but not for tests
2019-03-26 01:24:52 +01:00
Robert Schäfer
17fdbf4389
Send status 500 instead of not-responsiveness
2019-03-26 00:21:14 +01:00
Matt Rider
599f3814ba
Create users with default socialMedia, append url
...
- It was such that every time a user updates their social media it would replace the existing url with the one to be added.
creating a user with a default empty array means that we can concatenate the url to the array and not have a complicated cypher query
to account for an intial NULL value.
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-25 20:10:49 -03:00
Matt Rider
e409d6508f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts
2019-03-25 17:32:06 -03:00
Robert Schäfer
6d4ac65a92
Apparently this change got overlooked
2019-03-25 17:46:44 +01:00
Robert Schäfer
b32c85b2de
Choose correct env var + proxy /activityPub
2019-03-25 15:52:34 +01:00
Robert Schäfer
ebb1c283b7
Refactor: Use URL.host instead of hostname
...
This way, we don't have to manually add the port number.
cc @Mastercuber
Documentation: https://nodejs.org/api/url.html#url_urlobject_host
2019-03-25 15:52:34 +01:00