5630 Commits

Author SHA1 Message Date
Robert Schäfer
40224ab18d Fix bug if id is undefined on post route
@itbsStefan this is the fix for the bug during our pair-programming. The
request to the server was returning *all* posts if `id` was undefined
and the post for redirecting was the most recently created.
2019-03-26 20:03:11 +01:00
Robert Schäfer
63d928e12e Change route post-slug to post-id-slug
And query `slug` and `id` everywhere
2019-03-26 16:21:39 +01:00
Robert Schäfer
bbdec39017 Implement redirect on posts 2019-03-26 16:09:26 +01:00
Robert Schäfer
203f2091de Implement id takes precedence over slug 2019-03-26 14:28:55 +01:00
Robert Schäfer
51cbc65f4b Rename profile-id to profile-id-slug route 2019-03-26 13:52:56 +01:00
Robert Schäfer
327bd037a0 Implement redirect for user profile 2019-03-26 13:52:56 +01:00
Robert Schäfer
46c0d0659a Fix routing/proxying of AP, works locally
RSA keys get seeded but not for tests
2019-03-26 01:24:52 +01:00
Matt Rider
7da9baf748 Update socialMediaIconUrl, display linked icons
- After successfully adding a socialMedia, update the sociaMeidaIconUrl, and iterate over them to display their icons, which link to the user's profile.

Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-25 20:18:49 -03:00
Robert Schäfer
f73198f9f2 Try/error: Add headers back
`git diff b32c85b2de014770d07df8a642616b016cf69b50..46aecd612018db490fb3d6f91572be848371b32e -- webapp/nuxt.config.js`
showed me that I removed headers because I didn't thought they are
relevant. Now the proxy route `/activityPub` is not reachable anymore.
2019-03-25 23:53:26 +01:00
Matt Rider
e409d6508f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts 2019-03-25 17:32:06 -03:00
Robert Schäfer
3526dc3de0
Merge pull request #243 from Human-Connection/234-fix
Should fix #234 + refactor domain to hostname
2019-03-25 17:05:58 +01:00
Robert Schäfer
dc85ed825d Fix lint 2019-03-25 16:39:45 +01:00
Robert Schäfer
aa8278d061 Proxy /.well-known/webfinger to backend
@Mastercuber I hope this does not interfere with anything that uses
`/.well-known`, too. Would you suggest to proxy everything related to
webfinger to the backend?

My motivation for proxying webfinger is that you can search for
`someuser@nitro-staging.human-connection.org` instead of `someuser@nitro-staging.human-connection.org/activityPub`. This is better user experience in my opinion.
2019-03-25 15:52:34 +01:00
Robert Schäfer
b32c85b2de Choose correct env var + proxy /activityPub 2019-03-25 15:52:34 +01:00
Robert Schäfer
22367417de Implement component test 2019-03-23 01:37:36 +01:00
Matt Rider
aca3562e22 Migrate PRs from archived repos to monorepo
Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-03-22 14:44:43 -03:00
Robert Schäfer
26ab3b9bbe Oops, moved the components to a wrong folder 2019-03-22 16:03:34 +01:00
Robert Schäfer
e0432b2fd9 Styleguide blocks development
cc @appinteractive

We're trying to cross-validate two form fields and don't know how.
We (ie. @kachulio1, @aonomike, myself) gave up after
we discovered https://github.com/Human-Connection/Nitro-Styleguide/issues/46
2019-03-22 15:53:01 +01:00
Robert Schäfer
3a768a66d5
Merge pull request #190 from Human-Connection/dependabot/npm_and_yarn/webapp/@vue/cli-shared-utils-3.5.1
Bump @vue/cli-shared-utils from 3.4.1 to 3.5.1 in /webapp
2019-03-22 15:49:48 +01:00
Robert Schäfer
53a2cc0429
Merge pull request #195 from Human-Connection/dependabot/npm_and_yarn/webapp/@babel/core-7.4.0
Bump @babel/core from 7.3.4 to 7.4.0 in /webapp
2019-03-22 15:48:49 +01:00
Robert Schäfer
073659b2a1
Merge pull request #200 from Human-Connection/dependabot/npm_and_yarn/webapp/vue-svg-loader-0.12.0
Bump vue-svg-loader from 0.11.0 to 0.12.0 in /webapp
2019-03-22 12:50:26 +01:00
dependabot[bot]
e1a0a9535b
Bump @babel/core from 7.3.4 to 7.4.0 in /webapp
Bumps [@babel/core](https://github.com/babel/babel) from 7.3.4 to 7.4.0.
- [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.4...v7.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 11:11:14 +00:00
dependabot[bot]
1e67976ade
Bump @vue/cli-shared-utils from 3.4.1 to 3.5.1 in /webapp
Bumps [@vue/cli-shared-utils](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-shared-utils) from 3.4.1 to 3.5.1.
- [Release notes](https://github.com/vuejs/vue-cli/releases)
- [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-cli/commits/v3.5.1/packages/@vue/cli-shared-utils)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 11:10:13 +00:00
dependabot[bot]
d8d0775308
Bump @babel/preset-env from 7.3.4 to 7.4.2 in /webapp
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.3.4 to 7.4.2.
- [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.4...v7.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 09:55:09 +00:00
dependabot[bot]
c222275ad6
Bump eslint-config-prettier from 3.6.0 to 4.1.0 in /webapp
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v3.6.0...v4.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 08:34:03 +00:00
dependabot[bot]
4cb24dc9f7
Bump eslint from 5.15.1 to 5.15.3 in /webapp
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.1 to 5.15.3.
- [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.15.1...v5.15.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 04:40:16 +00:00
dependabot[bot]
45b5040930
Bump vue-svg-loader from 0.11.0 to 0.12.0 in /webapp
Bumps [vue-svg-loader](https://github.com/visualfanatic/vue-svg-loader) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/visualfanatic/vue-svg-loader/releases)
- [Commits](https://github.com/visualfanatic/vue-svg-loader/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-21 21:19:26 +00:00
Robert Schäfer
c6d9ea052f Rollout deployment
* Replace BACKEND_URL with GRAPHQL_URI environment (DRY)
* Trigger rollout deployments by a simple label update
* DRY configmap and secret configuration
2019-03-21 21:42:20 +01:00
Robert Schäfer
44d1265681 Restructure for monorepo 2019-03-21 02:11:35 +01:00
Robert Schäfer
c91a61af89 Merging webapp to master 2019-03-20 21:06:17 +01:00