5888 Commits

Author SHA1 Message Date
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
Grzegorz Leoniec
ba1e81b28e
Merge branch 'master' into editor 2019-02-26 15:55:38 +01:00
Grzegorz Leoniec
a3174c2d39
Make styleguide development inside running application possible 2019-02-26 15:52:15 +01:00
dependabot[bot]
71286bfa30
Merge pull request #195 from Human-Connection/dependabot/npm_and_yarn/@babel/core-7.3.4 2019-02-26 14:12:15 +00:00
Robert Schäfer
3eda8691bd
Typo
@appinteractive you could use a translation service to easily stop typos
2019-02-26 14:29:03 +01:00
Grzegorz Leoniec
086347e977
Merge pull request #11 from Human-Connection/improve-documentation
Improved documentation for remote deployment
2019-02-26 14:20:52 +01:00
Robert Schäfer
64bf1bb2a4
Update README.md
Co-Authored-By: appinteractive <greg@app-interactive.de>
2019-02-26 13:59:41 +01:00
Robert Schäfer
f13f1d39c9
Update README.md
Co-Authored-By: appinteractive <greg@app-interactive.de>
2019-02-26 13:59:24 +01:00
Robert Schäfer
32afabb1b2
Merge pull request #9 from Human-Connection/fix-secret-references
Fix wrong secret references
2019-02-26 13:54:58 +01:00
Robert Schäfer
9ca6f6da58
Merge pull request #10 from Human-Connection/fix-urls-for-staging
Fix staging urls
2019-02-26 13:54:29 +01:00
Grzegorz Leoniec
7c05aadcf7
Add some more information how to setup the configuration right before deploying to a remote cluster 2019-02-26 13:46:03 +01:00
Grzegorz Leoniec
1c20305c21
Fix staging urls 2019-02-26 13:36:43 +01:00
Grzegorz Leoniec
1e35278d8c
Fix wrong secret references 2019-02-26 13:33:34 +01:00
Robert Schäfer
da94d0b3a0
Merge pull request #8 from Human-Connection/fix-do-documentation
Fix Digital Ocean Documentation
2019-02-26 13:07:07 +01:00
Grzegorz Leoniec
f6c3841220
Fix Digital Ocean Documentation
The order of commands was wrong as the dashboard was not correctly setup when calling `kubectl proxy`
2019-02-26 13:04:59 +01:00
Robert Schäfer
33adf48caf
Merge branch 'master' into dependabot/npm_and_yarn/eslint-5.14.1 2019-02-26 12:52:27 +01:00
Robert Schäfer
6beca69ef6 Use docker-compose.cypress.yml in backend 2019-02-26 12:18:25 +01:00
Robert Schäfer
706fccc733 Fix Cypress with a dedicated docker-compose.yml 2019-02-26 12:16:27 +01:00
Grzegorz Leoniec
a04608b175
Merge branch 'master' into extract-styleguide 2019-02-26 08:35:20 +01:00
Grzegorz Leoniec
5d4824c86f
Use new styleguide npm package 2019-02-26 08:34:30 +01:00
dependabot[bot]
7075d32c8d
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 04:36:35 +00:00