Robert Schäfer
46436ca9b1
Setup a routine how to create indices initially
...
In order to create the indices programmatically we need to change the
default password for security concerns. To create the user we need to
start the neo4j database. So I decided to provide a bash script that
let us do it once the container are started.
In production we must change the NEO4J_PASSWORD.
2019-02-27 18:56:23 -03:00
Grzegorz Leoniec
832a778ca1
Added findPost query
2019-02-27 18:53:27 -03:00
mattwr18
659a5d5ef8
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-27 18:07:23 -03:00
dependabot[bot]
85a702c8de
Bump apollo-server from 2.4.2 to 2.4.8
...
Bumps [apollo-server](https://github.com/apollographql/apollo-server ) from 2.4.2 to 2.4.8.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server@2.4.2...apollo-server@2.4.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 20:54:07 +00:00
dependabot[bot]
550eaff67c
Merge pull request #191 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.5.1
2019-02-27 20:50:13 +00:00
Robert Schäfer
da3cf86e25
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-27 20:43:53 +01:00
dependabot[bot]
100aad61e1
Bump apollo-client from 2.4.13 to 2.5.1
...
Bumps [apollo-client](https://github.com/apollographql/apollo-client ) from 2.4.13 to 2.5.1.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-client@2.4.13...apollo-client@2.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 19:33:45 +00:00
dependabot[bot]
bdc796ac59
Merge pull request #190 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.5.0
2019-02-27 19:31:30 +00:00
mattwr18
631961bb82
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-27 14:55:19 -03:00
dependabot[bot]
020d5db216
Merge pull request #206 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.5.0
2019-02-27 16:18:13 +00:00
Armin
14a57d1ebf
Refactoring + fixes
2019-02-27 15:44:01 +01:00
Armin
b76de03e28
ActivityPub now also usable standalone
2019-02-27 15:24:51 +01:00
Armin
25eef848f6
Fetch actorObject and lookup inbox before sending object + addCommentAuthor
2019-02-27 15:06:30 +01:00
dependabot[bot]
c3c5b71408
Bump apollo-cache-inmemory from 1.4.3 to 1.5.0
...
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.4.3...apollo-cache-inmemory@1.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 14:01:58 +00:00
dependabot[bot]
c0eee44c18
Merge pull request #203 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.5.0
2019-02-27 13:58:23 +00:00
mattwr18
5b01457d6f
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-27 08:58:15 -03:00
Robert Schäfer
461ff054b9
Fix cypress test AboutMeAndLocations
2019-02-27 12:42:29 +01:00
dependabot[bot]
aa33e7448b
Bump apollo-client from 2.4.13 to 2.5.0
...
Bumps [apollo-client](https://github.com/apollographql/apollo-client ) from 2.4.13 to 2.5.0.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-client@2.4.13...apollo-client@2.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 11:40:30 +00:00
dependabot[bot]
4542085bb5
Merge pull request #207 from Human-Connection/dependabot/npm_and_yarn/nuxt-2.4.5
2019-02-27 11:36:44 +00:00
Matt Rider
2d0c608380
Fix lint
2019-02-27 08:12:59 -03:00
Matt Rider
f9b60fa0b0
Fix lint
2019-02-27 08:10:20 -03:00
Robert Schäfer
5fd44230dd
Get rid of LoggedInUser graphql type
...
This was causing a lot of headache on the frontend. Now, there a single
source of truth. If you query `currentUser` you can overwrite your local
copy of the user and update the UI.
2019-02-27 11:08:13 +01:00
Robert Schäfer
41072e6fa8
Update currentUser with $store.commit
...
I find this much cleaner that to dispatch `fetchCurrentUser`. It gets
along with one less request, too.
2019-02-27 11:06:23 +01:00
Robert Schäfer
ea9f896ef8
Refactor store to use the new backend API
2019-02-27 11:06:02 +01:00
Robert Schäfer
34d79dfc64
Log out the user if fetchUser was unsuccessful
2019-02-27 10:45:46 +01:00
dependabot[bot]
229b1be4c0
Bump nuxt from 2.4.3 to 2.4.5
...
Bumps [nuxt](https://github.com/nuxt/nuxt.js ) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/nuxt/nuxt.js/releases )
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.4.3...v2.4.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 04:36:08 +00:00
dependabot[bot]
7a063d1707
Bump apollo-cache-inmemory from 1.4.3 to 1.5.0
...
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.4.3...apollo-cache-inmemory@1.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-27 04:34:03 +00:00
Armin
adb674b98d
Handle update, like, dislike and accept activities and also sending activities through the ActivityPub protocol + refactoring
2019-02-27 02:43:48 +01:00
Armin
e48ce8a94e
Test fixes + add remove from outbox collection step
2019-02-27 02:34:44 +01:00
Robert Schäfer
fba1072964
Add back the fetchCurrentUser
...
There was another reason: The user menu in the top right listens on
`auth/user` which does not get updated otherwise. We should overthink
having two separate result types in the backend:
* currentUser: [LoggedInUser]
* User: [User]
Why not return `User` in both cases?
2019-02-26 22:37:12 +01:00
Robert Schäfer
2c606ec304
Settings page component without fetchCurrentUser
2019-02-26 22:10:40 +01:00
mattwr18
ec185f13d4
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-26 16:14:00 -03:00
mattwr18
cf629fadae
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend
2019-02-26 16:12:31 -03:00
Grzegorz Leoniec
886ad79965
Merge branch 'master' into add-styleguide-dev-mode
2019-02-26 19:23:02 +01:00
Grzegorz Leoniec
5890ef97a9
Merge pull request #182 from Human-Connection/extract-styleguide
...
Extract Styleguide
2019-02-26 19:22:38 +01:00
Grzegorz Leoniec
25c759c48c
Merge branch 'extract-styleguide' into add-styleguide-dev-mode
2019-02-26 17:48:31 +01:00
Grzegorz Leoniec
58d7541907
Merged master in
2019-02-26 17:47:51 +01:00
Armin
9e5b6865b8
Create and send Post via ActivityPub inbox of the server
2019-02-26 17:17:42 +01:00
Armin
577157c505
Some fixes + refactoring + logic to receive sharedInboxEndpoints and to add new one
2019-02-26 17:11:41 +01:00
Wolfgang Huß
78b25ba05e
Merge branch 'master' of https://github.com/Human-Connection/Nitro-Backend
2019-02-26 16:47:57 +01:00
Robert Schäfer
505d147516
Merge branch 'master' into dependabot/npm_and_yarn/@babel/core-7.3.4
2019-02-26 16:37:29 +01:00
Robert Schäfer
673ca3a726
Merge pull request #165 from Human-Connection/dependabot/npm_and_yarn/eslint-5.14.1
...
Bump eslint from 5.13.0 to 5.14.1
2019-02-26 16:37:07 +01:00
Robert Schäfer
69bf53e05e
Impplement currentUser query
...
* remove dead code (passport-jwt)
* refactor resolves to have a separate folder
* currentUser and login have the same response
2019-02-26 16:35:31 +01:00
Robert Schäfer
b0262e9b76
Remove locationName and about
...
as default properties of the currentUser query.
We don't need it all the time. Somewhere in the frontend, the call to
`fetchCurrentUser` is abused to refresh some data of the user to be
edited.
2019-02-26 16:26:05 +01:00
Robert Schäfer
71ab2f3828
Get rid of JWT_SECRET once and for all
...
* refactor store/auth.js not to use `delete Object`
* refactor store/auth.js to have less redundancy
* implement fetchCurrentUser without knowing the id beforehand
* test fetchCurrentUser and init
2019-02-26 16:26:04 +01:00
Robert Schäfer
165b296499
Configure jest to e verbose
2019-02-26 16:26:04 +01:00
Robert Schäfer
a4f1eca3fa
Merge pull request #153 from Human-Connection/editor
...
Editor
2019-02-26 16:17:01 +01:00
dependabot[bot]
d0df4e8df0
Bump @babel/core from 7.3.3 to 7.3.4
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.3.3 to 7.3.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.3.3...v7.3.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-26 15:16:38 +00:00
Robert Schäfer
44f5ccac77
Merge branch 'master' into dependabot/npm_and_yarn/eslint-5.14.1
2019-02-26 16:15:38 +01:00
Robert Schäfer
691c0e86ef
Merge pull request #136 from Human-Connection/editor
...
[WIP] Editor
2019-02-26 16:14:30 +01:00