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

ETag support for API endpoints #2245

Merged
merged 6 commits into from
Nov 10, 2020
Merged

ETag support for API endpoints #2245

merged 6 commits into from
Nov 10, 2020

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Aug 29, 2020

Implements a simplified version of #1650

  • ETag support for listing endpoints (board/stack)
  • ETag support for single object endpoints
  • Check individual modifying operations if they properly update the etag (last modified)
    • Comments do not update the last modified date yet

Follow up

  • ETag support for changing operations (ref Exclusive write access #925)
  • See if we need a separate field to store the etag so that it works somehow independent from the actual last modified date which is presented to the user
    • This would kind of make sense to not change the last modified date of a board, e.g. if a card was moved to the archive

cc @desperateCoder @stefan-niedermann

@juliusknorr
Copy link
Member Author

@stefan-niedermann sorry but I'll need to move this to the next minor since lots of other stuff blocked me from working on this

@juliusknorr juliusknorr modified the milestones: ⭐ 1.1.0, 1.1.1 Oct 2, 2020
@juliusknorr juliusknorr modified the milestones: 1.1.1, 1.1.2, 1.1.3 Oct 13, 2020
@juliusknorr juliusknorr modified the milestones: 1.1.3, 1.2.0 Nov 9, 2020
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr marked this pull request as ready for review November 10, 2020 16:18
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr merged commit 12ed9ae into master Nov 10, 2020
@juliusknorr juliusknorr deleted the enh/etag-api branch November 10, 2020 20:58
@stefan-niedermann
Copy link
Member

@desperateCoder let's rock 'n' roll 🤘 🎸 🎵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants