2193 Commits

Author SHA1 Message Date
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
Armin
a55b253784 Fix for previous commit 2019-03-25 15:37:05 +01:00
Armin
f2735e6275 Use host instead of hostname 2019-03-25 15:33:53 +01:00
Armin
5e4ff7cf9b Fix tests 2019-03-25 13:34:02 +01:00
Armin
1d5a8d3917 Should fix #234 + refactor domain to hostname 2019-03-25 13:15:37 +01:00
Robert Schäfer
dce9a3eea2 Better use defaultOrder only for posts
E.g. comments should be ordered exactly the opposite way.
2019-03-24 22:50:29 +01:00
Robert Schäfer
4d70ba68c5 Fix lint 2019-03-24 22:48:44 +01:00
Robert Schäfer
1cbab2a5c4 Implement #238 2019-03-24 19:58:17 +01:00
Robert Schäfer
b9a03b9b8e Expose #238 2019-03-24 16:58:54 +01:00
Matt Rider
aca3562e22 Migrate PRs from archived repos to monorepo
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-22 14:44:43 -03:00
Robert Schäfer
9703e2d5e5 Import changes from @Tirokk 2019-03-21 23:53:29 +01:00
Robert Schäfer
7a72185c9e Merging backend to master 2019-03-20 21:00:59 +01:00