787 Commits

Author SHA1 Message Date
Grzegorz Leoniec
33ef91ee08
Fixed an issue with following state update 2019-03-05 13:47:33 +01:00
Grzegorz Leoniec
e20d3fb214
Improved following button and translated it 2019-03-05 13:43:09 +01:00
Grzegorz Leoniec
975c0c80f9
Added unshout functionality to shout button 2019-03-05 12:53:46 +01:00
Grzegorz Leoniec
30e7c57764
Fixed shout and follow behavior 2019-03-05 11:39:55 +01:00
Grzegorz Leoniec
dc13467294
Use new follow mutation 2019-03-05 11:21:19 +01:00
Grzegorz Leoniec
c40f6521d1
Use new shout mutation 2019-03-05 11:19:23 +01:00
Grzegorz Leoniec
76c4e4cd8f
Show status of follows and shouts for currently logged in user 2019-03-03 19:30:54 +01:00
Grzegorz Leoniec
fe99629fe8
Merge pull request #197 from Human-Connection/add-styleguide-dev-mode
Add styleguide dev mode
2019-03-01 11:43:37 +01:00
Grzegorz Leoniec
d6a44edb7c
Merge branch 'master' into add-styleguide-dev-mode 2019-02-28 17:41:07 +01:00
Robert Schäfer
157c3a1563
Merge pull request #199 from Human-Connection/194_stop_decoding_jwt_on_frontend
194 stop decoding jwt on frontend
2019-02-28 17:22:27 +01:00
Grzegorz Leoniec
66da05904a
Merge branch 'master' into add-styleguide-dev-mode 2019-02-28 14:42:06 +01:00
Grzegorz Leoniec
ca3fecebb7
Document the new styleguide developmen workflow in the readme. 2019-02-28 14:39:54 +01:00
Grzegorz Leoniec
ad220324f2
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend 2019-02-28 14:34:18 +01:00
dependabot[bot]
ab6a9d017f
Merge pull request #196 from Human-Connection/dependabot/npm_and_yarn/@babel/preset-env-7.3.4 2019-02-28 12:18:25 +00:00
Grzegorz Leoniec
9679c67939
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend 2019-02-28 12:22:30 +01:00
dependabot[bot]
c0246332a6
Bump @babel/preset-env from 7.3.1 to 7.3.4
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.3.1 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.1...v7.3.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-28 10:01:09 +00:00
dependabot[bot]
80f028474b
Merge pull request #210 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.5.1 2019-02-28 09:57:49 +00:00
Grzegorz Leoniec
cd94f003f8
Fixed yarn.lock 2019-02-28 10:48:52 +01:00
Grzegorz Leoniec
da2f59145d
Merge branch 'master' into add-styleguide-dev-mode 2019-02-28 10:47:48 +01:00
Grzegorz Leoniec
9e57f138cb
Merge branch 'master' into 194_stop_decoding_jwt_on_frontend 2019-02-28 09:49:20 +01:00
dependabot[bot]
8ecd39b2ad
Bump apollo-cache-inmemory from 1.5.0 to 1.5.1
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.5.0 to 1.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-cache-inmemory@1.5.0...apollo-cache-inmemory@1.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-28 07:42:15 +00:00
dependabot[bot]
1e46ed68bc
Merge pull request #209 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.5.1 2019-02-28 07:39:48 +00:00
dependabot[bot]
65f8fc3567
Bump apollo-client from 2.5.0 to 2.5.1
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.5.0 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.5.0...apollo-client@2.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-28 04:29:35 +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
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
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
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
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
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
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