9123 Commits

Author SHA1 Message Date
mattwr18
b08b2da0a1 chore: upgrade to v0.5.0 2020-03-20 12:35:20 +01:00
mattwr18
576b511d03
Merge pull request #3297 from Human-Connection/2143-search-for-hashtags
feat: Search for Hashtags
2020-03-20 12:25:47 +01:00
mattwr18
8f99851492
Merge pull request #3300 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.11.7
build(deps): bump metascraper-soundcloud from 5.11.6 to 5.11.7 in /backend
2020-03-20 10:42:10 +01:00
mattwr18
255bc5e128
Merge pull request #3299 from Human-Connection/dependabot/npm_and_yarn/backend/validator-13.0.0
build(deps): bump validator from 12.2.0 to 13.0.0 in /backend
2020-03-20 10:41:55 +01:00
dependabot-preview[bot]
4e32ab7e6c
build(deps): bump metascraper-soundcloud in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.11.6 to 5.11.7.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases)
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 04:17:58 +00:00
dependabot-preview[bot]
42c8754e88
build(deps): bump validator from 12.2.0 to 13.0.0 in /backend
Bumps [validator](https://github.com/chriso/validator.js) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/chriso/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chriso/validator.js/compare/12.2.0...13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 04:17:19 +00:00
Moriz Wahl
fa7f1bb111 use watchQuery to watch query in URL instead of watch 2020-03-19 20:16:25 +01:00
Moriz Wahl
7d29400ef9 tag fulltext index added to store 2020-03-19 15:44:30 +01:00
Moriz Wahl
4e3705f607 specs for Search for Hashtags 2020-03-19 15:10:52 +01:00
Moriz Wahl
7024ea0b30 specs for Search for Hashtags 2020-03-19 15:09:43 +01:00
Moriz Wahl
e7d0e1b61e removed console statement 2020-03-19 14:30:32 +01:00
Moriz Wahl
1c43d5fe6f Search for Hashtags works due watching route in pages/index.vue 2020-03-19 14:19:13 +01:00
Moriz Wahl
07fbe92fa8 fixed locales after mistakes in rebase 2020-03-19 13:26:08 +01:00
Moriz Wahl
014be6e7f8 partially working, index page does not update when route is changed 2020-03-19 12:59:15 +01:00
Moriz Wahl
16ad565ec8 partially working, index page does not update when route is changed 2020-03-19 12:55:59 +01:00
Moriz Wahl
e236838523 migration added for index for fulltext tag search 2020-03-19 12:55:59 +01:00
mattwr18
054a96776b
Merge pull request #3283 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-a11y-5.3.17
build(deps-dev): bump @storybook/addon-a11y from 5.3.14 to 5.3.17 in /webapp
2020-03-19 08:37:11 +01:00
Robert Schäfer
b325681442
Merge pull request #3294 from Human-Connection/dependabot/npm_and_yarn/cross-env-7.0.2
build(deps-dev): bump cross-env from 6.0.3 to 7.0.2
2020-03-19 02:05:22 +01:00
dependabot-preview[bot]
bb399079c9
build(deps-dev): bump cross-env from 6.0.3 to 7.0.2
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 6.0.3 to 7.0.2.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v6.0.3...v7.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 23:31:19 +00:00
dependabot-preview[bot]
83039ec112
build(deps-dev): bump @storybook/addon-a11y in /webapp
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y) from 5.3.14 to 5.3.17.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.17/addons/a11y)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 23:29:07 +00:00
Robert Schäfer
6ca0df8c51
Merge pull request #3285 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/vue-5.3.17
build(deps-dev): bump @storybook/vue from 5.3.14 to 5.3.17 in /webapp
2020-03-19 00:26:28 +01:00
Robert Schäfer
dba7c4eff0
Merge pull request #3288 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-7.2.0
build(deps): bump graphql-shield from 7.0.14 to 7.2.0 in /backend
2020-03-19 00:26:13 +01:00
Robert Schäfer
81d69e1bd2
Merge pull request #3291 from Human-Connection/dependabot/npm_and_yarn/webapp/nuxt-2.12.0
build(deps): bump nuxt from 2.11.0 to 2.12.0 in /webapp
2020-03-19 00:26:04 +01:00
Robert Schäfer
c7f74505ea
Merge pull request #3289 from Human-Connection/dependabot/npm_and_yarn/webapp/cookie-universal-nuxt-2.1.3
build(deps): bump cookie-universal-nuxt from 2.1.2 to 2.1.3 in /webapp
2020-03-19 00:25:55 +01:00
dependabot-preview[bot]
1003d5ad8a
build(deps): bump nuxt from 2.11.0 to 2.12.0 in /webapp
Bumps [nuxt](https://github.com/nuxt/nuxt.js) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.11.0...v2.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 20:48:50 +00:00
dependabot-preview[bot]
a69c26bb25
build(deps): bump cookie-universal-nuxt from 2.1.2 to 2.1.3 in /webapp
Bumps [cookie-universal-nuxt](https://github.com/microcipcip/cookie-universal) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/microcipcip/cookie-universal/releases)
- [Commits](https://github.com/microcipcip/cookie-universal/compare/v2.1.2...v2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 20:47:59 +00:00
dependabot-preview[bot]
8c0a63a580
build(deps-dev): bump @storybook/vue from 5.3.14 to 5.3.17 in /webapp
Bumps [@storybook/vue](https://github.com/storybookjs/storybook/tree/HEAD/app/vue) from 5.3.14 to 5.3.17.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.17/app/vue)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 20:47:32 +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
cd3e02abcf
Merge pull request #3199 from Human-Connection/spec-for-searches
feat: Specs For Searches
2020-03-18 21:40:09 +01: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
4a2d250854 cypress test data adjusted to new search mechanism 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
mattwr18
9ecf5ac33e
Merge pull request #3292 from Human-Connection/fix_travis_caching
chore(ci): Follow cypress docs to cache libraries
2020-03-18 16:00:08 +01:00
roschaefer
871aaed06d chore(ci): Disable yarn cache 2020-03-18 14:57:01 +01:00
mattwr18
35f6f33bc3
Merge pull request #3287 from Human-Connection/dependabot/npm_and_yarn/cypress-4.2.0
build(deps-dev): bump cypress from 4.1.0 to 4.2.0
2020-03-17 10:26:12 +01:00