githaven/routers/api/v1/repo
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335)
* Sleep longer if request speed is over github limitation

* improve code

* remove unused code

* fix lint

* Use github's rate limit remain value to determine how long to sleep

* Save reset time when finished github api request

* fix bug

* fix lint

* Add context.Context for sleep

* fix test

* improve code

* fix bug and lint

* fix import order
2019-12-16 23:16:54 -05:00
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
collaborators.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
commits.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
file.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
fork.go Move some repositories' operations to a standalone service package (#8557) 2019-10-26 14:54:11 +08:00
git_hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
git_ref.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
issue_comment.go Move webhook codes from service to webhook notification (#8712) 2019-10-30 12:02:46 +02:00
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_reaction.go [API] Add Reactions (#9220) 2019-12-07 17:04:19 -05:00
issue_stopwatch.go [API] extend StopWatch (#9196) 2019-12-11 23:23:05 -05:00
issue_subscription.go Refactor Issues Subscription (#8738) 2019-11-20 22:50:54 +08:00
issue_tracked_time.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue.go [API] extend StopWatch (#9196) 2019-12-11 23:23:05 -05:00
key.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
label.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Move PushToBaseRepo from models to services/pull (#9352) 2019-12-15 04:28:51 +01:00
release_attachment.go Fix API for edit and delete release attachment (#8285) 2019-09-27 10:24:06 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
repo.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
star.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
status.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
subscriber.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tag.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
topic.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tree.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00