32 Commits

Author SHA1 Message Date
Robert Schäfer
0a73ddd46d Refactor: custom resolvers for moderation 2019-03-05 23:59:54 +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
2e7e0579e4 Fix bug with id middleware
Ids are queried only for well known queries and mutations
2019-02-22 16:11:07 +01:00
Robert Schäfer
f1dd52f579 Expose yet another bug in the authorization
Cannot read property id of null

CC @appinteractive
2019-02-20 01:01:41 +01:00
Grzegorz Leoniec
ae9ebcc3ab
Upgraded graphql from 0.13.0 to 14.1.1 2019-02-07 15:36:07 +01:00
Grzegorz Leoniec
8b20f447f3
Fixed lint issues 2019-01-18 10:51:33 +01:00
Grzegorz Leoniec
a1a0d21f23
Merge remote-tracking branch 'origin/master' into report-content 2019-01-16 19:01:25 +01:00
Grzegorz Leoniec
2e8d04d881
Merged master in 2019-01-11 16:37:40 +01:00
Grzegorz Leoniec
52c32bb646
Report now works 2019-01-11 16:34:06 +01:00
Grzegorz Leoniec
86c7b93386
Removed unneeded log 2019-01-09 13:14:18 +01:00
Grzegorz Leoniec
2571d82447
Disabled cypther logs and added DEBUG env var 2019-01-09 13:12:37 +01:00
Grzegorz Leoniec
77e77229b9
Fixed login and schema 2019-01-07 17:30:54 +01:00
Grzegorz Leoniec
1f818116e4
Merge branch 'master' into locations 2019-01-04 09:30:20 +01:00
Robert Schäfer
fd206c2b1f Merge remote-tracking branch 'origin/master' into 500_error_on_login 2019-01-04 00:25:22 +01:00
Grzegorz Leoniec
6cc6538758
Add forgotten schema file 2019-01-03 17:30:18 +01:00
Grzegorz Leoniec
5c88037d5c
WIP - first try to create a report mutation which attaches nodes internally 2019-01-03 15:27:26 +01:00
Gerald Michelant
4f4b6e5469 changed method to inject variable to login 2019-01-02 14:33:35 -05:00
Gerald Michelant
da1860bcd0 rewritting of login method 2019-01-02 14:33:35 -05:00
Gerald Michelant
57d9088c6c throw new AuthenticationError on password error 2019-01-02 14:33:35 -05:00
Gerald Michelant
0b623cf083 capture error in readable format with try and catch 2019-01-02 14:33:35 -05:00
Robert Schäfer
7634234afd Match error message in tests with production code 2019-01-02 15:16:01 +01:00
Gerald Michelant
2959eeb931 rewritting of login method 2018-12-30 16:44:08 -05:00
Gerald Michelant
1e949f3fde throw new AuthenticationError on password error 2018-12-28 22:17:28 -05:00
Gerald Michelant
93d821825b capture error in readable format with try and catch 2018-12-27 17:21:18 -05:00
Grzegorz Leoniec
1f62e1d3f3
merged master in 2018-12-10 12:37:07 +01:00
Robert Schäfer
15d9178369 Install and configure eslint
Fix all violations but one - there is a mock in our authentication.
2018-12-03 18:05:28 +01:00
Armin Kunkel
b5ce0351c7 Add yarn db:reset script 2018-12-03 15:38:08 +01:00
Grzegorz Leoniec
009b3898c1 added locations 2018-11-12 14:22:51 +01:00
Grzegorz Leoniec
024ba81cd2 cleanup and some notes 2018-10-26 15:53:39 +02:00
Grzegorz Leoniec
58dfc281f7 added statistics type and query and hide deleted or disabled relations 2018-10-19 12:29:27 +02:00
Grzegorz Leoniec
43707a4fcb using graphql-yoga and implemented jwt login 2018-10-17 20:07:58 +02:00
Grzegorz Leoniec
5fcceda30f initial commit 2018-10-05 13:31:45 +02:00