Skip to content

Conversation

@brunoocasali
Copy link
Member

Create the generate_tenant_token following the specification meilisearch/specifications#89

@brunoocasali brunoocasali force-pushed the feature/tenant-token branch 2 times, most recently from 6612ff4 to fc2bc24 Compare April 18, 2022 16:41
@brunoocasali
Copy link
Member Author

For the reviewers: this branch is breaking because I'm waiting for #261 to be merged :)

@brunoocasali brunoocasali changed the base branch from main to bump-meilisearch-v0.26.0 April 18, 2022 16:55
@brunoocasali brunoocasali changed the base branch from bump-meilisearch-v0.26.0 to main April 18, 2022 16:59
Copy link
Contributor

@irevoire irevoire left a comment

Choose a reason for hiding this comment

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

Hey @brunoocasali thanks for your PR 😁

I think we should add a test with an api-key containing an utf-8 string with a multi-byte character around the 8th byte just to ensure we don't break our code later.

And maybe also a test that try to get a tenant token from meilisearch to see if we deserialize correctly our date?

bors bot added a commit that referenced this pull request Apr 22, 2022
267: fixed formatting with clippy and removed Document trait r=brunoocasali a=irevoire

# Pull Request
Since `@honne23` doesn't seem available currently, and we have #262, #263, and #264 waiting for this PR to be merged, I took back on it.

But thanks a lot, `@honne23;` you wrote most of the code, and I just applied the few left comments.
Thanks for contributing!

## What does this PR do?
Fixes #255 
Closes #261

<!-- Please link the issue you're trying to fix with this PR, if none then please create an issue first. -->

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Co-authored-by: Adrian Coutsoftides <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit that referenced this pull request Apr 22, 2022
267: fixed formatting with clippy and removed Document trait r=brunoocasali a=irevoire

# Pull Request
Since `@honne23` doesn't seem available currently, and we have #262, #263, and #264 waiting for this PR to be merged, I took back on it.

But thanks a lot, `@honne23;` you wrote most of the code, and I just applied the few left comments.
Thanks for contributing!

## What does this PR do?
Fixes #255 
Closes #261

<!-- Please link the issue you're trying to fix with this PR, if none then please create an issue first. -->

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Co-authored-by: Adrian Coutsoftides <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
@brunoocasali brunoocasali force-pushed the feature/tenant-token branch 2 times, most recently from 0c02f35 to d4523a2 Compare April 22, 2022 02:02
@brunoocasali brunoocasali changed the base branch from main to bump-meilisearch-v0.26.0 April 22, 2022 02:02
@brunoocasali brunoocasali force-pushed the bump-meilisearch-v0.26.0 branch from e780e28 to d241a7e Compare April 22, 2022 02:03
@brunoocasali brunoocasali requested a review from irevoire April 22, 2022 02:10
Copy link
Contributor

@irevoire irevoire left a comment

Choose a reason for hiding this comment

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

Hey, I think we’ll be able to merge the PR right after these last changes!

Thank you 🎉

@bidoubiwa bidoubiwa added the enhancement New feature or request label Apr 25, 2022
@brunoocasali brunoocasali force-pushed the feature/tenant-token branch from d4523a2 to bc8c3b7 Compare April 25, 2022 16:45
@brunoocasali brunoocasali requested a review from irevoire April 25, 2022 16:47
@brunoocasali brunoocasali force-pushed the feature/tenant-token branch from bc8c3b7 to f3570f2 Compare April 25, 2022 16:48
@brunoocasali brunoocasali force-pushed the feature/tenant-token branch from f3570f2 to f694815 Compare April 25, 2022 17:40
Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

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

LGTM 🔥🔥

@brunoocasali brunoocasali merged commit a6352ed into bump-meilisearch-v0.26.0 Apr 25, 2022
@brunoocasali brunoocasali deleted the feature/tenant-token branch April 25, 2022 17:45
bors bot added a commit that referenced this pull request Apr 25, 2022
272: Update version for the next release (v0.16.0) r=brunoocasali a=brunoocasali

### Release notes:

## ⚠️ Breaking changes

* Use an `OffsetDateTime` on the `ClientStats` (#244) `@irevoire`
* Fixed formatting with clippy & Removed `Document` trait (#267) `@irevoire`

## 🚀 Enhancements

* Add methods to automatically add/update documents in batches (#262) `@abhizer`
* Feature/Tenant Token (#263, #264) `@brunoocasali`

## Misc

* Create an example showing how to update the Settings (#245) `@irevoire`

Thanks again to `@abhizer,` `@bidoubiwa,`  `@brunoocasali,` `@irevoire,`  and Adrian Coutsoftides! 🎉


Co-authored-by: Bruno Casali <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants