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

reel: fixing meta and url scries, token rotation, and extra metadata #279

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

arthyn
Copy link
Member

@arthyn arthyn commented Sep 6, 2024

OTT, we weren't handling the grabbing the ID from the path correctly in the URL scries, and the metadata scry needed to be split between old and new versions. We previously weren't allowing you to rotate a particular group's token/metadata. This now correctly deletes the old data from the provider and gives new data, receiving a new token. There was also a small error in the set-ship thread where it had an extra slash. Finally we needed to include more metadata in the fields for invites and the DM we want to send.

@arthyn arthyn requested a review from Fang- September 6, 2024 20:49
Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Curious what the thinking/need for rotating the token is. Just to explicitly expire an old link?

Anyway, looks fine. Some questions/comments, but nothing hard-blocking.

``reel-metadata+!>(metadata)
::
[%x any %token-url token=*]
=/ =token:reel (crip (join '/' token.pole))
=/ =token:reel (crip +:(spud token.pole))
Copy link
Member

Choose a reason for hiding this comment

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

Is this meaningfully different from the +join implementation?

Copy link
Member Author

Choose a reason for hiding this comment

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

this was giving me errors I think? don't quite remember

desk/app/reel.hoon Outdated Show resolved Hide resolved
desk/app/reel.hoon Outdated Show resolved Hide resolved
Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Changes still look good. Thank you.

@arthyn arthyn merged commit c1751fe into develop Sep 9, 2024
1 check passed
@arthyn arthyn deleted the hm/small-reel-fixes branch September 9, 2024 20:37
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.

2 participants