Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add silverstripe/session-manager #47

Closed
21 tasks done
brynwhyman opened this issue Jul 30, 2021 · 1 comment
Closed
21 tasks done

Add silverstripe/session-manager #47

brynwhyman opened this issue Jul 30, 2021 · 1 comment

Comments

@brynwhyman
Copy link

brynwhyman commented Jul 30, 2021

On enhancing the session-manager module, it's something that's likely to provide broad benefit and is almost a baseline feature for any CMS or tool where software users manage their profile.

When considering the path of least resistance on making this module available to projects, this recipe was considered the best place to add it.

Other options that were considered were, from widest distribution to least distribution:
a) require as part of silverstripe/admin (aka "add it to core")
b) require as part of silverstripe/recipe-cms (not recipe-core, that does not include admin)
c) require as part of silverstripe/installer
d) require as part of silverstripe/silverstripe-security-extensions (not even sure what uses this?)
e) manually add to project (this is always an option)

Questions of stability

The silverstripe/session-manager module has been out in the wild for some time with a 0.x tag while early testing and feedback is sought.

We've been managing a bit of testing and user feedback internally, which will help us confirm confidence in tagging the module as stable and including it in this recipe.

Implementation tasks

Tasks required as part of this issue could be:

  • Tag the module as stable
  • Add the module to recipe-cms
  • Tag session-manager version 1.1.0 when all PR's merged and create 1.1 branch
  • After PR adding module to recipe-cms has been merged, ensure that session-manager pre-stable is removed from project skeleton
  • Ensure the next changelog reflects this change
  • Move userhelp docs into core (and out of the 'optional modules' section). See: Add session-manager docs to core silverstripe-session-manager#85

PRs - update unit tests to use logInAs()

PRs - follow up

PR - update recipe-cms

PRs - Docs

PRs - Sink (remember to merge-up)

SwiftMailer v6 not allowing spaces at start or end of email addresses

TODO

  • Probably skip some framework tests related to RememberLoginHash if session-manager is present and rely on the session-manager unit tests instead - see comment below
@emteknetnz emteknetnz self-assigned this Aug 3, 2021
@emteknetnz emteknetnz removed their assignment Aug 4, 2021
@emteknetnz emteknetnz removed their assignment Aug 4, 2021
@maxime-rainville maxime-rainville removed their assignment Aug 18, 2021
@emteknetnz
Copy link
Member

emteknetnz commented Aug 20, 2021

https://travis-ci.com/github/silverstripe/silverstripe-installer/jobs/532576643
https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/jobs/532563593

https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/jobs/532563590

  • Fixed with PR to gridfield extensions

https://travis-ci.com/github/silverstripe/cwp-recipe-kitchen-sink/jobs/532563602

  • Swiftmailer, not session-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants