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
b79ae68318
User factory can override slug
2019-03-26 13:52:56 +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
16e60e540f
Fix typo
...
Cypress tests currently fail because we cannot override `slug` in
factories.
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
51ca20335a
Sketch 🥒 for #240
2019-03-26 13:52:56 +01:00
Robert Schäfer
58938dc2d8
Merge pull request #249 from Human-Connection/another-fix-of-activity-pub-implementation
...
Another fix of activity pub implementation
2019-03-26 09:17:35 +01:00
Robert Schäfer
fca2fcf713
Fix lint
2019-03-26 01:41:58 +01:00
Robert Schäfer
c9dfd0d294
Merge remote-tracking branch 'origin/master' into another-fix-of-activity-pub-implementation
2019-03-26 01:37:15 +01:00
Robert Schäfer
b1101bc03d
Merge pull request #239 from Human-Connection/238-default-feed-order
...
Order all resources by createdAt descending (as default)
2019-03-26 01:35:00 +01:00
Robert Schäfer
b78296a546
Fix cucumber features
2019-03-26 01:28:32 +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
Robert Schäfer
17fdbf4389
Send status 500 instead of not-responsiveness
2019-03-26 00:21:14 +01: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
Robert Schäfer
46aecd6120
Merge pull request #246 from Human-Connection/234-fix-again
...
Apparently this change got overlooked
2019-03-25 20:59:43 +01:00
Robert Schäfer
87ad26ce09
Add CLIENT_URI to the to-be-tested server
...
Our ActivityPub service needs to know the public URI how 3rd party
servers can reach the server.
At the moment, we have this configuration:
https://nitro-staging.human-connection.org/activityPub (external)
=> http://nitro-backend.human-connection:4000 (internal)
So, when the backend generates links, they will have the external URI as
a prefix.
This commit might be a little dirty, because CLIENT_URI will be
different now for frontend and backend during testing. I hope this does
not add extra confusion. It seems that our cypress tests are not
affected by this change.
2019-03-25 19:07:58 +01:00
Robert Schäfer
5aa2bcf28e
Merge pull request #245 from Human-Connection/fix_rollout_deployment
...
Trigger rollout with a change to spec.template
2019-03-25 19:00:25 +01:00
Robert Schäfer
6d4ac65a92
Apparently this change got overlooked
2019-03-25 17:46:44 +01: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
09b6cbaba5
Trigger rollout with a change to spec.template
...
The documentation clearly says:
```
Note: A Deployment’s rollout is triggered if and only if the
Deployment’s pod template (that is, .spec.template) is changed, for
example if the labels or container images of the template are updated.
Other updates, such as scaling the Deployment, do not trigger a
rollout.
```
Read: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
2019-03-25 16:47:08 +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
ebb1c283b7
Refactor: Use URL.host instead of hostname
...
This way, we don't have to manually add the port number.
cc @Mastercuber
Documentation: https://nodejs.org/api/url.html#url_urlobject_host
2019-03-25 15:52:34 +01:00
Armin
a55b253784
Fix for previous commit
2019-03-25 15:37:05 +01:00
Armin
f2735e6275
Use host instead of hostname
2019-03-25 15:33:53 +01:00
Armin
b6b8f073b8
Second fix
2019-03-25 13:50:34 +01:00
Armin
5e4ff7cf9b
Fix tests
2019-03-25 13:34:02 +01:00
Armin
1d5a8d3917
Should fix #234 + refactor domain to hostname
2019-03-25 13:15:37 +01:00
Martin Döring
ecbdfdfb55
Merge pull request #233 from Human-Connection/212-change-password
...
[User profile] Change password
2019-03-25 13:11:21 +01:00
Robert Schäfer
dce9a3eea2
Better use defaultOrder only for posts
...
E.g. comments should be ordered exactly the opposite way.
2019-03-24 22:50:29 +01:00
Robert Schäfer
4d70ba68c5
Fix lint
2019-03-24 22:48:44 +01:00
Robert Schäfer
1cbab2a5c4
Implement #238
2019-03-24 19:58:17 +01:00
Robert Schäfer
b9a03b9b8e
Expose #238
2019-03-24 16:58:54 +01:00
Robert Schäfer
16c58b77ba
Fix cypress test, green 🥒
2019-03-23 02:04:17 +01:00
Robert Schäfer
22367417de
Implement component test
2019-03-23 01:37:36 +01:00
Robert Schäfer
47e67fe334
Merge pull request #194 from Human-Connection/dependabot/npm_and_yarn/backend/@babel/core-7.4.0
...
Bump @babel/core from 7.3.4 to 7.4.0 in /backend
2019-03-22 20:41:50 +01:00
Robert Schäfer
369669012f
Merge pull request #198 from Human-Connection/dependabot/npm_and_yarn/backend/helmet-3.16.0
...
Bump helmet from 3.15.1 to 3.16.0 in /backend
2019-03-22 20:41:21 +01:00
Robert Schäfer
8827add1c7
Improve 🥒 *must* fail if not implemented
...
cc @mattwr18
2019-03-22 20:03:25 +01:00
Robert Schäfer
26ab3b9bbe
Oops, moved the components to a wrong folder
2019-03-22 16:03:34 +01:00
Matt Rider
eb2552c9a9
Add cypress test, update variables
...
- change to confirmPassword to be more consistent with oldPassword, newPassword
- change to validate, $t is used for a function for translation
2019-03-22 15:53:01 +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
51a1678a38
[ChangePassword] Implement disabled property
2019-03-22 15:53:01 +01:00
Robert Schäfer
a900435d58
Sketch ChangePassword component + spec
2019-03-22 15:53:01 +01:00
dependabot[bot]
e676a8fa1d
Bump @babel/core from 7.3.4 to 7.4.0 in /backend
...
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 14:51:22 +00: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