60 Commits

Author SHA1 Message Date
Grzegorz Leoniec
e1bbf67c5b
Merge branch 'master' into ci-improvements 2018-12-13 15:49:47 +01:00
Robert Schäfer
c0deb83f24 Merge remote-tracking branch 'origin/master' into admin-tags-and-categories 2018-12-12 01:47:51 +01:00
Grzegorz Leoniec
fb7307caf1
improve tags and categories 2018-12-08 14:01:00 +01:00
Grzegorz Leoniec
034fea3f47
fixing console log issues 2018-12-07 20:30:40 +01:00
Robert Schäfer
ad62a8ebb3 Set unimplemented mocha tests to pending 2018-12-05 00:18:47 +01:00
Robert Schäfer
1ae09b5a7f Merge remote-tracking branch 'origin/master' into mochajs 2018-12-05 00:12:42 +01:00
Robert Schäfer
43b5d8eeb0 Follow @appinteractives review
See:
https://github.com/Human-Connection/Nitro-Backend/pull/40#pullrequestreview-180898363
https://github.com/Human-Connection/Nitro-Backend/pull/40#pullrequestreview-180950115
2018-12-04 23:43:19 +01:00
Robert Schäfer
71c4ffb012 Merge remote-tracking branch 'origin/master' into mochajs 2018-12-04 21:35:45 +01:00
Robert Schäfer
0fab314b13 Wording: Use reset-db for the file name, too
FYI: @Mastercuber
2018-12-04 01:20:50 +01:00
Robert Schäfer
2ace3e5ce8 Disable eslint for the always-true if-condition
See: https://github.com/Human-Connection/Nitro-Backend/issues/41
2018-12-03 18:28:34 +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
b3f19694f7 merged master in 2018-11-30 11:45:37 +01:00
Grzegorz Leoniec
ea18ad8e1f merged master in 2018-11-30 10:09:43 +01:00
Grzegorz Leoniec
5597e34dab Fixed Badges Seeder and URL Fix Middleware 2018-11-26 17:18:09 +01:00
Grzegorz Leoniec
329fe0ac63 merged master in 2018-11-26 15:31:13 +01:00
Robert Schäfer
68b143be7e
Update src/middleware/index.js
Co-Authored-By: appinteractive <greg@app-interactive.de>
2018-11-23 16:51:29 +01:00
Grzegorz Leoniec
3912515c25 do not allow disabling permissions in production 2018-11-22 12:22:22 +01:00
Grzegorz Leoniec
c1387f262d added permissions as first item. 2018-11-22 11:36:49 +01:00
Grzegorz Leoniec
8c72c88e59 made permissions accessible for the outside 2018-11-21 15:38:47 +01:00
Grzegorz Leoniec
d5a0f03cc4 fixed merge issues 2018-11-21 15:38:33 +01:00
Grzegorz Leoniec
fa2c3fc24b shortened GRAPHQL_LISTEN_PORT to GRAPHQL_PORT 2018-11-21 15:30:26 +01:00
Grzegorz Leoniec
46c0289881 merge conflict fixed 2018-11-21 15:29:18 +01:00
Grzegorz Leoniec
c6420b5351 simplyfied schema and modulized seeding process 2018-11-21 15:16:55 +01:00
Robert Schäfer
491102c02b Move reusable part in server.js 2018-11-21 00:39:27 +01:00
Robert Schäfer
0df58f00a1 Setup unit/integration testing with mocha 2018-11-21 00:26:43 +01:00
Robert Schäfer
ab78785a43 Add the remaining seeds 2018-11-20 22:07:02 +01:00
Robert Schäfer
859b2b8779 Reactivate isOwner as suggested in the comments 2018-11-20 21:43:13 +01:00
Robert Schäfer
803e613c4b Clean way to seed the database
1. Temporarily open another backend with permissions disabled
2. Connect to this backend and run seed data
2018-11-20 21:43:13 +01:00
Grzegorz Leoniec
96da90a255 first attempt to automate dynamic seeding 2018-11-16 20:59:05 +01:00
Grzegorz Leoniec
59e9b9df1d fixed date format 2018-11-15 12:44:41 +01:00
Grzegorz Leoniec
8b0be5fb89 try to fix seeder with authentication 2018-11-15 12:33:05 +01:00
Grzegorz Leoniec
009b3898c1 added locations 2018-11-12 14:22:51 +01:00
Grzegorz Leoniec
e7c6bf1656 fixed permissions 2018-10-30 18:40:15 +01:00
Grzegorz Leoniec
dd89c52156 added permissions middleware and introduced walkRecursive helper 2018-10-30 13:03:05 +01:00
Grzegorz Leoniec
712ac12580 removed whitespace 2018-10-29 14:39:37 +01:00
Grzegorz Leoniec
4e153c9ce8 commented xss middleware 2018-10-29 13:54:12 +01:00
Grzegorz Leoniec
00cc53e045 added xss protection, automatic links and, date middleware 2018-10-28 18:47:24 +01:00
Grzegorz Leoniec
6449d2a99c upgraded neo4j-graphql-js to 1.0.5 and removed blacklisted mutations for Statistics and LoggedInUser 2018-10-28 14:56:30 +01:00
Grzegorz Leoniec
8a60b417ee
Merge pull request #8 from appinteractive/Lulalaby-patch-1
Update schema.graphql
2018-10-26 20:58:57 +02:00
Grzegorz Leoniec
024ba81cd2 cleanup and some notes 2018-10-26 15:53:39 +02:00
Grzegorz Leoniec
811dee372b output createdAt and updatedAt on comments 2018-10-26 15:16:10 +02:00
Grzegorz Leoniec
ea33d55d01 fixed comment count in schema 2018-10-26 14:24:00 +02:00
Lala Sabathil
e40d19af5d
Update schema.graphql
Fix #7
2018-10-26 11:17:43 +02:00
Grzegorz Leoniec
9b34376c1c fixed seeding and password hashing 2018-10-23 21:23:08 +02:00
Grzegorz Leoniec
9be0d4f688
Merge branch 'master' into improve_seed_data 2018-10-23 12:23:19 +02:00
Grzegorz Leoniec
1e0e22013a improved schema and middleware 2018-10-23 12:09:43 +02:00
Grzegorz Leoniec
513de69bf9 some cleanup 2018-10-19 12:29:52 +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
77e744022e fixed password middleware 2018-10-19 12:28:26 +02:00