forgejo-sdk/gitea
6543 c1cfc890f8 Refactor RepoWatch (#241)
Merge branch 'master' into refactor-repoWatch

Add ListMilestoneOption to ListRepoMilestones (#244)

use StateType

use PageSize

adjut test since gitea bug got fixed (#gitea/10047)

add TestMilestones

add optional ListMilestoneOption

format

Add ListOptions struct (#249)

same struct as in models/list_options.go

add mising license header

add ListOptions struct

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>

[README] add import path (#239)

add import path

add import path to readme

Changelog v0.11.0 (#235)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Add TestMyUser (#237)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/244
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Merge branch 'master' into refactor-repoWatch

Add ListOptions struct (#249)

same struct as in models/list_options.go

add mising license header

add ListOptions struct

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>

add TEST

fix GetMyWatchedRepos

[README] add import path (#239)

add import path

add import path to readme

Changelog v0.11.0 (#235)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Add TestMyUser (#237)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

refactor RepoWatch
 * add CheckRepoWatch
 * add GetMyWatchedRepos
 * minimize func_options on GetWatchedRepos
 * WatchRepo return nil/error
 * UnWatchRepo return nil/error

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/241
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-31 05:17:06 +00:00
..
admin_org.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
admin_repo.go Add CreateRepoOption alias to fix #182 (#184) 2019-08-02 15:44:35 +00:00
admin_test.go Add TestAdminOrg (#236) 2020-01-28 05:45:53 +00:00
admin_user.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
attachment.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
client.go [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
doc.go ask for go get from code.gitea.io/sdk/gitea 2016-11-11 21:52:21 +08:00
fork.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
git_blob.go [Add] GetBlob (#212) 2020-01-06 16:26:01 +00:00
git_hook.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
go.mod [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
go.sum [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
hook.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
issue.go Add ListMilestoneOption to ListRepoMilestones (#244) 2020-01-31 02:41:33 +00:00
issue_comment.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
issue_label.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
issue_milestone.go Add ListMilestoneOption to ListRepoMilestones (#244) 2020-01-31 02:41:33 +00:00
issue_milestone_test.go Add ListMilestoneOption to ListRepoMilestones (#244) 2020-01-31 02:41:33 +00:00
issue_reaction.go [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
issue_stopwatch.go [Extend] StopWatch struct & functions (#211) 2020-01-09 19:04:15 +00:00
issue_subscription.go [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
issue_test.go [Makefile] Add "test-instance"; Add "help" (#231) 2020-01-26 07:22:57 +00:00
issue_tracked_time.go [Add] TrackedTimes delete functions (#210) 2020-01-07 03:42:16 +00:00
list_options.go Add ListOptions struct (#249) 2020-01-30 14:02:52 +00:00
main_test.go Fix ListIssue Functions (now respect ListIssueOption's) (#225) 2020-01-26 02:46:38 +00:00
org.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
org_member.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
org_team.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
org_type.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
pull.go Fix ListRepoPullRequests (#219) 2020-01-16 03:52:26 +00:00
pull_test.go Fix ListIssue Functions (now respect ListIssueOption's) (#225) 2020-01-26 02:46:38 +00:00
release.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_branch.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_collaborator.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_commit.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_file.go Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs (#171) 2019-05-11 18:38:52 +03:00
repo_key.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_refs.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_tag.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_test.go Fix ListIssue Functions (now respect ListIssueOption's) (#225) 2020-01-26 02:46:38 +00:00
repo_topics.go [Add] GetBlob (#212) 2020-01-06 16:26:01 +00:00
repo_tree.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
repo_watch.go Refactor RepoWatch (#241) 2020-01-31 05:17:06 +00:00
repo_watch_test.go Refactor RepoWatch (#241) 2020-01-31 05:17:06 +00:00
status.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user_app.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user_email.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user_follow.go fix most of all the lint errors 2016-11-10 17:44:00 +08:00
user_gpgkey.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user_key.go Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem (#188) 2019-10-13 01:34:01 +00:00
user_search.go Add ListOptions struct (#249) 2020-01-30 14:02:52 +00:00
user_test.go Add TestMyUser (#237) 2020-01-28 06:11:26 +00:00
version.go [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00
version_test.go [Add] VersionCheck (#215) 2020-01-27 06:20:49 +00:00