Skip to content

Eosc rebase v8.3.2.1#15

Open
redblom wants to merge 19 commits intov8.3.2.1from
eosc-rebase-v8.3.2.1
Open

Eosc rebase v8.3.2.1#15
redblom wants to merge 19 commits intov8.3.2.1from
eosc-rebase-v8.3.2.1

Conversation

@redblom
Copy link
Copy Markdown
Collaborator

@redblom redblom commented Feb 19, 2026

EOSC version 0.0.4 rebased on v8.3.2.1

antoonp and others added 19 commits February 13, 2026 13:52
…ion workflow

see https://github.com/cs3org/OCM-API/blob/v1.2.1/IETF-RFC.md
Features:
 - Button to invite remote users to exchange cloudIDs.
 - WAYF page allowing the receiver of the invite to open and accept the invitation.
 - Listing of open invitations.
 - Option to resend, revoke open invitations.

Signed-off-by: antoonp <antoon@redblom.com>
Co-authored-by: Micke Nordin <kano@sunet.se>
…ion workflow

see https://github.com/cs3org/OCM-API/blob/v1.2.1/IETF-RFC.md
Features:
 - Button to invite remote users to exchange cloudIDs.
 - WAYF page allowing the receiver of the invite to open and accept the invitation.
 - Listing of open invitations.
 - Option to resend, revoke open invitations.

Signed-off-by: antoonp <antoon@redblom.com>
Co-authored-by: Micke Nordin <kano@sunet.se>
- Replaced disallowed constant in cron job with member variable
- Fixed route to discovery endpoint and use of providerDomain param
- Use single source of truth for dialog route
- Added fallback for inviteAcceptDialog using default Nextcloud path
- Updated composer.json with "bamarni/composer-bin-plugin": "^1.8" to
  enable krankerl builds

Signed-off-by: Micke Nordin <kano@sunet.se>
- Add `OcmAcceptForm.vue` with `provider` and `token` inputs and
  Accept/Cancel emits.
- Wire icons, imports, and view state (`showManualInvite`).

Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
- Replace separate Provider/Token fields with one `invite` text field.
- Parse invite string as `token@provider`, splitting on the last `@`.
- Emit parsed `{ provider, token }` on accept.
- Show validation error if invite is malformed.
- Updated template and helper text accordingly.

Signed-off-by: Micke Nordin <kano@sunet.se>
- Inject IOCMDiscoveryService into FederatedInvitesController.
- Replace manual URL parsing and hardcoded endpoints with
  `discovery->discover($provider)` for capability-aware provider lookup.
- Use discovered capabilities (`invites` or `/invite-accepted`) to decide
  if provider supports invite acceptance.
- Send invite-accepted request to discovered endpoint.
- Replace manual `.well-known/ocm` / `/ocm-provider` probing with
  `getInviteAcceptDialog()` from discovery result.
- Simplify error handling and logging for unsupported providers.
- Fix cancel bug

Signed-off-by: Micke Nordin <kano@sunet.se>
- Use correct key `userID`
- Extract userId, email, and displayName once instead of inline.
- Add check to ensure recipientProvider, userId, email, and name are all set.
- Log error and return 404 JSON response if any required value is missing.
- Use extracted variables in payload for consistency and clarity.

Signed-off-by: Micke Nordin <kano@sunet.se>
- Refactor parsing into helper `tryParse`
- First attempt direct parsing with `@` separator.
- If parsing fails, attempt base64 decoding and retry.
- Throw error only if both attempts fail.
- Allows for handling encoded OCM invites.

Signed-off-by: Micke Nordin <kano@sunet.se>
Partial fix highlighting navigation item.
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.

4 participants