Skip to content

Generate fixed link for activity emails#3611

Merged
luka-nextcloud merged 1 commit intomasterfrom
bug/generate-fixed-link-for-activity-emails
Mar 9, 2022
Merged

Generate fixed link for activity emails#3611
luka-nextcloud merged 1 commit intomasterfrom
bug/generate-fixed-link-for-activity-emails

Conversation

@luka-nextcloud
Copy link
Copy Markdown
Contributor

@luka-nextcloud luka-nextcloud commented Feb 28, 2022

Signed-off-by: Luka Trovic luka@nextcloud.com

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

Copy link
Copy Markdown
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small comments on the code style and naming, otherwise seems good 👍

Comment thread appinfo/routes.php Outdated
Comment thread lib/Controller/PageController.php Outdated
Comment thread lib/Controller/PageController.php Outdated
Comment on lines +69 to +70
$this->cardMapper = $cardMapper;
$this->urlGenerator = $urlGenerator;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are not needed anymore now, as the url generation has been moved to the CardService 😉

Copy link
Copy Markdown
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@luka-nextcloud Can you have a look at the one comment in regards to the unused code and make sure that the tests pass?

@juliusknorr
Copy link
Copy Markdown
Member

Seems the tests were somehow failing due to a server change in the TestCase class, I've moved that over to the phpunit one, so we can get this in, but likely something that might occur elsewhere as well

@juliusknorr juliusknorr force-pushed the bug/generate-fixed-link-for-activity-emails branch 2 times, most recently from ed7d8c8 to a24c77e Compare March 9, 2022 14:13
Signed-off-by: Luka Trovic <luka@nextcloud.com>

fix: generate fixed link for activity emails

Signed-off-by: Luka Trovic <luka@nextcloud.com>

Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the bug/generate-fixed-link-for-activity-emails branch from a24c77e to 165375f Compare March 9, 2022 15:57
@juliusknorr
Copy link
Copy Markdown
Member

/backport to stable23

@juliusknorr
Copy link
Copy Markdown
Member

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate fixed link for activity emails

2 participants