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

Enable invitation plugin #787

Merged
merged 9 commits into from
Aug 21, 2019
Merged

Enable invitation plugin #787

merged 9 commits into from
Aug 21, 2019

Conversation

benrubson
Copy link
Contributor

@benrubson benrubson commented Apr 27, 2019

Hi,

This PR closes #746, closes #655, enabling invitation by mail.
Admin can configure From mail address used thanks to the BAIKAL_INVITE_FROM option.

Thank you 👍

@ByteHamster
Copy link
Member

Hi, thanks for your PR! It would be great if this could be enabled/disabled from the admin interface. Adding notifications might break something unexpectedly, so this should be disabled when upgrading existing installations and enabled when doing a fresh install.

I have not yet tried that but I think when upgrading Baikal instead of reinstalling, the definition is not added to the config file in the specific folder.

@benrubson
Copy link
Contributor Author

Thank you for your feedback @ByteHamster :)

It would be great if this could be enabled/disabled from the admin interface.

I agree, not sure though I will have time to dig into this right now :|

I think when upgrading Baikal instead of reinstalling, the definition is not added to the config file in the specific folder.

This should be the case now as per my last commit.

This should be disabled when upgrading existing installations and enabled when doing a fresh install.

This is what should happen now :)

@ByteHamster
Copy link
Member

I think it might be enough to add the following to Baikal/Core/Frameworks/Baikal/Model/Config/Standard.php:

    $oMorpho->add(new \Formal\Element\Text([
        "prop"  => "BAIKAL_INVITE_FROM",
        "label" => "Email invite sender address",
        "help"  => "Leave empty to disable sending invite emails"
    ]));

@benrubson
Copy link
Contributor Author

You're right, pushed, thank you 👍

@ByteHamster
Copy link
Member

ByteHamster commented Apr 27, 2019

Sounds like Travis failed due to some internal errors, not related to the code itself.

Just triggered a rebuild, it has passed now. I will try your PR in the next few days. Thanks for adding the setting!

@ByteHamster
Copy link
Member

I tried this PR and confirmed that it works fine. Before merging, we need sabre/dav to be updated.

@benrubson
Copy link
Contributor Author

Good news sabre-io/dav#1150 has been merged 👍

@ByteHamster
Copy link
Member

We still need to wait for a sabre/dav release so we can include the change in the Baikal dependencies

@Tntdruid
Copy link

Any eta?

@ByteHamster
Copy link
Member

No, I don't know anything about the sabre/dav release schedule. As soon as we have the release, we can create a Baikal release, too.

@Tntdruid
Copy link

Tntdruid commented Jul 5, 2019

Dav 4.0 is out now

@mc-buckets
Copy link

Excited for this!

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

Successfully merging this pull request may close these issues.

How to implement invitations in macOS/iOS Invitations via Mail
4 participants