Moriz Wahl
014be6e7f8
partially working, index page does not update when route is changed
2020-03-19 12:59:15 +01:00
Moriz Wahl
e236838523
migration added for index for fulltext tag search
2020-03-19 12:55:59 +01:00
dependabot-preview[bot]
bc67ade3b6
build(deps): bump graphql-shield from 7.2.0 to 7.2.1 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v7.2.0...v7.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 04:19:12 +00:00
dependabot-preview[bot]
1d5cad77eb
build(deps): bump graphql-shield from 7.0.14 to 7.2.0 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 7.0.14 to 7.2.0.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v7.0.14...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 20:47:14 +00:00
mattwr18
800e33e1be
chore: fix lint
2020-03-18 20:38:18 +01:00
Moriz Wahl
9c08db22dc
Changes requested by @mattwr18
2020-03-18 20:38:18 +01:00
Moriz Wahl
48564565a5
matchBeginningOfWords more compact
2020-03-18 20:38:18 +01:00
Moriz Wahl
0a15d785a3
test that a post written by muted user is not included in the search results
2020-03-18 20:38:18 +01:00
Moriz Wahl
d47274fb8e
linting
2020-03-18 20:38:18 +01:00
Moriz Wahl
b2ea4df294
refactored queryString, specs for queryString
2020-03-18 20:38:18 +01:00
Moriz Wahl
46fca229ec
search specs refactored
2020-03-18 20:38:18 +01:00
roschaefer
3d25ec5b4e
Start to refactor specs and implementation
...
@mogge this is just a rough guideline how to improve the quality of your tests.
Of course it needs to be continued.
2020-03-18 20:38:18 +01:00
Moriz Wahl
a9c6356ffa
clean db after test
2020-03-18 20:38:18 +01:00
Moriz Wahl
4f8d605b88
ensure that every post has an author
2020-03-18 20:38:18 +01:00
Moriz Wahl
5b5fc09053
fix typo
2020-03-18 20:38:18 +01:00
Moriz Wahl
8f1b3b9f6b
cypress test data adjusted to new search mechanism
2020-03-18 20:38:18 +01:00
Moriz Wahl
57101b80bf
cypress tests will really pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
1060a2f6d0
cypress tests will pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
9cb489dce1
Specs are running and regex in searches.js is cleaned up
...
Matching the whole text entered exactly is boosted by 8.
Matching all the words entered exactly is boosted by 4.
Matching some words ebtered exactly is boosted by 2.
Glob matching is applied for words with more than three characters is not boosted.
To Do: Deal with @ and # symbols.
To Do: Find a way to match unicode, e.g. kyrillic letters.
2020-03-18 20:38:18 +01:00
Moriz Wahl
a6a2ac4fbe
search spec starts doing what it should
2020-03-18 20:38:18 +01:00
Moriz Wahl
f9b6fb95ab
spec for searches added
2020-03-18 20:38:18 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type ( #3043 )
...
* refactor(graphql): Introduce image type
* Undo changes to .travis.yml
* chore: Upgrade travis to node LTS
- URL is available since v10
* chore: use lts
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
Robert Schäfer
5988eac410
Merge pull request #3278 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.11.0
...
build(deps): bump date-fns from 2.10.0 to 2.11.0 in /backend
2020-03-16 12:53:21 +01:00
Robert Schäfer
82e57f7182
Merge pull request #3277 from Human-Connection/dependabot/npm_and_yarn/backend/hapi/joi-17.1.1
...
build(deps): bump @hapi/joi from 17.1.0 to 17.1.1 in /backend
2020-03-16 12:53:12 +01:00
dependabot-preview[bot]
0c03b0a286
build(deps): bump neo4j-driver from 4.0.1 to 4.0.2 in /backend
...
Bumps [neo4j-driver](https://github.com/neo4j/neo4j-javascript-driver ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/neo4j/neo4j-javascript-driver/releases )
- [Commits](https://github.com/neo4j/neo4j-javascript-driver/compare/4.0.1...4.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 09:03:43 +00:00
dependabot-preview[bot]
419d187106
build(deps): bump date-fns from 2.10.0 to 2.11.0 in /backend
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.10.0...v2.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 09:03:24 +00:00
dependabot-preview[bot]
6356c0e5b7
build(deps): bump @hapi/joi from 17.1.0 to 17.1.1 in /backend
...
Bumps [@hapi/joi](https://github.com/hapijs/joi ) from 17.1.0 to 17.1.1.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Commits](https://github.com/hapijs/joi/compare/v17.1.0...v17.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 09:03:23 +00:00
mattwr18
8f3b112d1e
Merge pull request #3280 from Human-Connection/dependabot/npm_and_yarn/backend/mustache-4.0.1
...
build(deps): bump mustache from 4.0.0 to 4.0.1 in /backend
2020-03-16 10:01:56 +01:00
dependabot-preview[bot]
355143030b
build(deps): bump mustache from 4.0.0 to 4.0.1 in /backend
...
Bumps [mustache](https://github.com/janl/mustache.js ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/janl/mustache.js/releases )
- [Changelog](https://github.com/janl/mustache.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/janl/mustache.js/compare/v4.0.0...v4.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 04:18:19 +00:00
dependabot-preview[bot]
87a455db89
build(deps): bump @sentry/node from 5.14.1 to 5.14.2 in /backend
...
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript ) from 5.14.1 to 5.14.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.14.1...5.14.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 04:15:39 +00:00
dependabot-preview[bot]
18a260ec91
build(deps): [security] bump acorn from 6.3.0 to 6.4.1 in /backend
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-15 14:02:50 +00:00
mattwr18
71cae25cd4
Merge pull request #3265 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-7.2.0
...
build(deps): bump graphql-shield from 7.1.0 to 7.2.0 in /backend
2020-03-13 13:43:10 +01:00
mattwr18
8b1bfc91da
Merge pull request #3264 from Human-Connection/dependabot/npm_and_yarn/backend/sanitize-html-1.22.1
...
build(deps): bump sanitize-html from 1.22.0 to 1.22.1 in /backend
2020-03-13 13:42:51 +01:00
dependabot-preview[bot]
06c5411526
build(deps): bump graphql-shield from 7.1.0 to 7.2.0 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v7.1.0...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 04:17:32 +00:00
dependabot-preview[bot]
602fc0722d
build(deps): bump sanitize-html from 1.22.0 to 1.22.1 in /backend
...
Bumps [sanitize-html](https://github.com/punkave/sanitize-html ) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/punkave/sanitize-html/releases )
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/master/CHANGELOG.md )
- [Commits](https://github.com/punkave/sanitize-html/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 04:17:01 +00:00
dependabot-preview[bot]
1d74d94eb3
build(deps): bump @sentry/node from 5.14.0 to 5.14.1 in /backend
...
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript ) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.14.0...5.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 04:16:29 +00:00
mattwr18
f49a113496
chore: Update to v0.4.2
2020-03-12 12:42:11 +01:00
mattwr18
9a16e891c8
Merge pull request #3260 from Human-Connection/dependabot/npm_and_yarn/backend/sentry/node-5.14.0
...
build(deps): bump @sentry/node from 5.13.1 to 5.14.0 in /backend
2020-03-12 11:12:47 +01:00
dependabot-preview[bot]
cc099efc0a
build(deps): bump @sentry/node from 5.13.1 to 5.14.0 in /backend
...
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript ) from 5.13.1 to 5.14.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.13.1...5.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-12 04:17:09 +00:00
dependabot-preview[bot]
3327f1dfb0
build(deps): bump graphql-shield from 7.0.14 to 7.1.0 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 7.0.14 to 7.1.0.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v7.0.14...v7.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-12 04:16:18 +00:00
Robert Schäfer
9b0ecbda9f
Merge pull request #3254 from Human-Connection/dependabot/npm_and_yarn/backend/nodemailer-6.4.5
...
build(deps): bump nodemailer from 6.4.4 to 6.4.5 in /backend
2020-03-11 14:16:22 +01:00
dependabot-preview[bot]
3526b3cd13
build(deps): bump nodemailer from 6.4.4 to 6.4.5 in /backend
...
Bumps [nodemailer](https://github.com/nodemailer/nodemailer ) from 6.4.4 to 6.4.5.
- [Release notes](https://github.com/nodemailer/nodemailer/releases )
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.4.4...v6.4.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 04:19:24 +00:00
dependabot-preview[bot]
f196c2a9f7
build(deps-dev): bump eslint-plugin-jest in /backend
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 23.8.1 to 23.8.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.8.1...v23.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 04:18:57 +00:00
roschaefer
da165906e2
DRY user.spec.js
2020-03-10 18:28:41 +01:00
ogerly
07ded7419f
test: deleting a user is tested with a foreign user, a moderator, an admin
2020-03-10 18:21:45 +01:00
ogerly
b23328a211
docs(setup): changes undone and set in own branch
2020-03-10 18:21:45 +01:00
ogerly
3983612c56
test deleteuser as admin, moderator, another user and as I myself, fix lint
2020-03-10 18:21:45 +01:00
ogerly
5f8d58f46a
test deleteuser as admin, moderator, another user and as I myself
2020-03-10 18:21:45 +01:00
ogerly
84c154798e
feature: test delete user as admin
2020-03-10 18:21:45 +01:00
ogerly
3d8fe4d850
feature: Delete_user_as_admin_through_API_only
2020-03-10 18:21:45 +01:00