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
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
5890ef97a9
Merge pull request #182 from Human-Connection/extract-styleguide
...
Extract Styleguide
2019-02-26 19:22:38 +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
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
6beca69ef6
Use docker-compose.cypress.yml in backend
2019-02-26 12:18:25 +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
Robert Schäfer
351d8f9f95
Quickfix missing dependencies on Travis
2019-02-26 02:30:41 +01:00
Robert Schäfer
b7b96dd0fe
Put yarn run test:cypress in background
2019-02-26 01:21:39 +01:00
Robert Schäfer
9e5ed087da
Start seeder server backend for fullstack testing
2019-02-26 01:05:05 +01:00
Robert Schäfer
8d43a32220
Merge pull request #190 from Human-Connection/use_factories_in_cucumber_features
...
[WIP] Use factories in cucumber features
2019-02-26 00:47:11 +01:00
Robert Schäfer
a14a819420
Remove TODOs
2019-02-26 00:25:32 +01:00
Robert Schäfer
7c629ed4f0
Configure Travis to use factories for cypress
2019-02-26 00:25:32 +01:00
Robert Schäfer
250c70991a
All cucumber tests pass on my machine
2019-02-26 00:25:32 +01:00
Robert Schäfer
cf898d5417
Report feature uses factories
2019-02-26 00:25:32 +01:00
Robert Schäfer
cec78c1954
Add instructions to configure cypress for neo4j
...
@appinteractive probably you missed these changes
2019-02-26 00:25:32 +01:00
Grzegorz Leoniec
459b582fb4
Fixed some linting issues
2019-02-26 00:25:32 +01:00
Robert Schäfer
1e219934d2
Obsolete cypress command
2019-02-26 00:25:31 +01:00
Robert Schäfer
233c6abbab
Refactor most of report cucumber feature
2019-02-26 00:25:31 +01:00
Robert Schäfer
5e0d245b40
Implemented most cucumber features with factories
2019-02-26 00:25:31 +01:00
Robert Schäfer
a024282f75
Implement first cucumber features with factories
2019-02-26 00:25:31 +01:00
Grzegorz Leoniec
8fb94a12dd
Merge branch 'master' into editor
2019-02-24 17:17:02 +01:00
Grzegorz Leoniec
0a4f07cc90
Fixed readme
2019-02-24 17:06:08 +01:00
Grzegorz Leoniec
79c6553585
Update README.md
2019-02-24 17:02:44 +01:00
Grzegorz Leoniec
3c84f6956d
Update README.md
2019-02-24 17:02:06 +01:00
Grzegorz Leoniec
03c1d532b4
Merge pull request #192 from Human-Connection/fix-build
...
Added IntersectionObserver polyfill and fixed linting on login
2019-02-24 16:14:35 +01:00
Grzegorz Leoniec
bcb6dcfacf
Added IntersectionObserver polyfill and fixed linting on login
2019-02-24 15:26:25 +01:00
Grzegorz Leoniec
be9332071d
Added more badges to readme
2019-02-24 15:11:40 +01:00
Grzegorz Leoniec
58c00b59e7
Merge branch 'master' into extract-styleguide
2019-02-21 22:37:57 +01:00
Grzegorz Leoniec
d8f7bde7c0
Merge branch 'master' into editor
2019-02-21 22:36:10 +01:00
dependabot[bot]
d53f7ddc72
Merge pull request #189 from Human-Connection/dependabot/npm_and_yarn/jsonwebtoken-8.5.0
2019-02-21 21:33:36 +00:00
dependabot[bot]
5545b50133
Bump jsonwebtoken from 8.4.0 to 8.5.0
...
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken ) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases )
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md )
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.4.0...v8.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 04:17:41 +00:00
Lala Sabathil
c03e320b05
Merge branch 'master' into editor
2019-02-19 22:31:08 +01:00
Lala Sabathil
7dfa018fb7
Merge branch 'master' into extract-styleguide
2019-02-19 22:30:47 +01:00
Lala Sabathil
ea191f82f9
Merge pull request #187 from Human-Connection/dependabot/npm_and_yarn/eslint-5.14.1
...
Bump eslint from 5.14.0 to 5.14.1
2019-02-19 22:30:16 +01:00
dependabot[bot]
2ec60abc19
Bump eslint from 5.14.0 to 5.14.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.14.0...v5.14.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 11:21:24 +00:00
dependabot[bot]
736fe85349
Merge pull request #186 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-vue-5.2.2
2019-02-19 11:14:31 +00:00
dependabot[bot]
e4eebdf65c
Bump eslint-plugin-vue from 5.2.1 to 5.2.2
...
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases )
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v5.2.1...v5.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 04:17:21 +00:00