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

[API] times Add filters #9373

Merged
merged 14 commits into from Jan 8, 2020

Conversation

6543
Copy link
Member

@6543 6543 commented Dec 16, 2019

extend #9200

@6543 6543 changed the title [WIP] Api times add filter [WIP] [API] times Add filter Dec 16, 2019
@6543 6543 changed the title [WIP] [API] times Add filter [WIP] [API] times Add filters Dec 16, 2019
@6543
Copy link
Member Author

6543 commented Dec 16, 2019

note for me: found query arguemt for time based filtering: https://developer.github.com/v3/activity/notifications/#parameters

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 16, 2019
@6543 6543 mentioned this pull request Dec 16, 2019
19 tasks
@6543 6543 force-pushed the api-times-add-filter branch 3 times, most recently from 7bd25a2 to b69f116 Compare December 17, 2019 16:45
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 19, 2019
routers/api/v1/repo/issue_tracked_time.go Outdated Show resolved Hide resolved
@6543
Copy link
Member Author

6543 commented Dec 22, 2019

@zeripath done :D

@zeripath
Copy link
Contributor

Sorry last bit just need to update the comment to match Swagger.

@zeripath
Copy link
Contributor

Could you add a test or two too?

@6543
Copy link
Member Author

6543 commented Dec 22, 2019

@zeripath thats why its still WIP ;)

(extend go-gitea#9200)
 * add query param for GET functions (created Bevore & after)
 * add test
 * generalize func GetQueryBeforeSince
Copy link
Member

@gary-kim gary-kim left a comment

Choose a reason for hiding this comment

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

Looks good to me

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 7, 2020
@6543
Copy link
Member Author

6543 commented Jan 8, 2020

ready to merge 🚀

@6543
Copy link
Member Author

6543 commented Jan 8, 2020

ping lgtm

@techknowlogick techknowlogick merged commit 14a9687 into go-gitea:master Jan 8, 2020
@6543 6543 deleted the api-times-add-filter branch January 8, 2020 21:14
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants