Commit graph

4 commits

Author SHA1 Message Date
Micke Nordin
b0a523b999 feat(OCM-invites): Fix psalm issues
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
6ec00d3df8 feat(OCM-invites): Code style and formatting
Use more ideomatic code and use helper functions that exists where possible.
It seems notnull must be false for sqlite to store false Otherwise we get a chrash.

Co-authored-by: Anna <anna@nextcloud.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
a178acfa1c feat(OCM-invites): Add entity and mapper
This patch introduces an entity and a mapper for Invites

Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
5999d77893 feat(OCM-invites): Add invitation class and emit event
I realize that we need to be able to react to accepted invites
elsewhere, e.g. contacts app, so adding invite class and event for
that purpose.

Also rename the migration and bump the version so it will take affect correctly.

Co-authored-by: Navid Shokri <navid.pdp11@gmail.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00