6543
4f17bb0fbc
[Extend] StopWatch struct & functions ( #211 )
...
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-01-09 19:04:15 +00:00
6543
f0ac57ba0b
[Add] TrackedTimes delete functions ( #210 )
...
* code format
* add ResetIssueTime
* add DeleteTime
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-01-07 03:42:16 +00:00
6543
6491e1f565
[Add] reaction struct and functions ( #213 )
...
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-01-06 17:20:28 +00:00
6543
c42abc2e28
[Add] issue Un-/Subscription function ( #214 )
...
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-01-06 17:18:41 +00:00
6543
7bc5f30491
[Add] GetBlob ( #212 )
...
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-01-06 16:26:01 +00:00
6543
c7686bd633
update MergePullRequest ( #207 )
...
update license header
code format
enforce enum
Fix #137
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Thomas Loubiou <xabufr@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-01-03 06:22:50 +00:00
6543
f971aa81f4
README: add LICENCE and RELEASE badge ( #208 )
...
update as @lunny suggested:
https://gitea.com/gitea/go-sdk/pulls/193/files#issuecomment-57866
use SVG instead of PNG
drone badges dont support png
fix + add badge links
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-03 01:01:10 +00:00
Norwin
488204ae31
update TrackedTimes structs ( #196 ) ( #198 )
...
update TrackedTimes structs
for changes in https://github.com/go-gitea/gitea/pull/9200
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2019-12-31 04:01:26 +00:00
6543
c0e11b3ec4
prevent merge conflicts | gitattributes eol=lf ( #200 )
2019-12-30 20:16:29 +00:00
spawn2kill
b852d8dc49
Repo topics API Support ( #206 )
2019-12-30 19:27:25 +00:00
sauravhaloi
b374d7ccc4
Fix API path of server version ( #195 )
2019-11-24 16:30:40 +00:00
6543
e4082d89cc
Fix Links ( #193 )
2019-11-06 15:16:26 +00:00
Lunny Xiao
2a5a0e75e5
Fix NewClientWithHTTP ( #192 )
2019-10-30 14:43:01 +00:00
Lunny Xiao
e41e9ea72c
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
Lunny Xiao
a6d0aab593
Makefile for go mod ( #189 )
2019-09-15 14:27:08 +00:00
Lunny Xiao
bbad0d915e
Add CreateRepoOption alias to fix #182 ( #184 )
2019-08-02 15:44:35 +00:00
Lunny Xiao
15a0b727a9
Update go mod ( #183 )
2019-07-15 06:13:42 +00:00
lunny
fbae9e3aae
fix wrong url for edit and delete team API ( #178 )
2019-06-15 01:42:23 +00:00
lunny
7c9e05ef05
fix wrong url in delete org hook API ( #179 )
2019-06-14 03:05:32 +00:00
ngourdon
bd51a6c8a9
Change the deprecated url by the new one to edit and delete an issue comment ( #181 )
2019-06-14 02:12:43 +00:00
ngourdon
7e711e06b5
add missing methods in the org API ( #175 )
2019-06-02 11:39:54 -04:00
ngourdon
5619ee57ba
add AdminListOrgs to list all orgs ( #174 )
2019-06-02 14:01:10 +03:00
ngourdon
ac88dcdb23
Add API for teams ( #176 )
2019-06-02 14:00:48 +03:00
ngourdon
78721a4220
Adds missing methods in the admin user API ( #173 )
...
* add AdminListUsers to list all users
* add AdminDeleteUserPublicKey
2019-06-02 14:00:23 +03:00
ngourdon
82f69ae35a
Fix typo in pull requests API ( #172 )
2019-05-17 14:03:42 +08:00
Lunny Xiao
38803cbe75
Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs ( #171 )
...
* refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs
* fix testing
2019-05-11 18:38:52 +03:00
Richard Mahn
13ec4d170b
Feature - #5960 - SDK for editing a repo ( #170 )
2019-05-10 18:30:00 -04:00
techknowlogick
9251befd37
Switch back to sha1 as key ( #169 )
...
Fix https://github.com/bozaro/git-as-svn/issues/244
2019-05-10 07:15:17 +03:00
xuecanlong
1423c9f77d
fixed GetSingleCommit url bug ( #168 )
2019-05-02 22:58:37 +03:00
Lunny Xiao
13a7bf625b
move organization visibility from gitea to SDK and add it on CreateOptions ( #165 )
2019-04-24 08:58:01 +03:00
techknowlogick
2858b80da5
Struct changes to satisfy #3789 ( #160 )
...
* Struct changes to satisfy go-gitea/gitea#3789
* Update user_app.go
* update per feedback
* copyright header
2019-04-19 14:53:46 +08:00
Segev Finer
7d954d7754
Add API for manipulating Git hooks ( #156 )
...
Signed-off-by: Segev Finer <segev@codeocean.com>
2019-04-16 13:28:54 -04:00
Jonas Franz
ac8746b2cf
Add option for client with custom http client ( #159 )
2019-04-14 23:29:52 +03:00
Richard Mahn
a669487e86
Update MAINTAINERS ( #155 )
2019-03-21 15:40:58 +00:00
Richard Mahn
10ebef4a16
Adds structures for repo file and blob APIs ( #152 )
...
* Adds structures for repo file and blob APIs
* Updates Git Blob
* Moves IdentityOptions to Identity in repo_commit for reusability
* Formatting
* Fixed quote
* Fix to json variable
* Fixes to comments
* Adds copyright to header
* Removes unused code
* Makes author and committer pointers
* Removes Identity from being a pointer
* proper struct
2019-03-21 07:37:31 +00:00
techknowlogick
45516232e8
Update images used by drone for SDK ( #154 )
...
* Update images used by drone for SDK
* Update .drone.yml
2019-03-17 21:10:51 -04:00
Lanre Adelowo
e4effe4df2
add IsAdmin to user ( #151 )
2019-03-03 18:34:16 +00:00
John Olheiser
9c4f648599
MustChangePassword must be nillable ( #150 )
...
In order to enforce the same as CLI (default MustChangePassword true), the form option must be nillable so that it can default to true.
2019-02-26 14:44:19 +08:00
Segev Finer
4a15722a62
Increase Username MaxSize 35 -> 40 ( #149 )
...
Signed-off-by: Segev Finer <segev@codeocean.com>
2019-02-25 12:36:07 -05:00
John Olheiser
422568ae32
Add MustChangePassword field to add/edit user for API ( #148 )
...
Added JetBrains folder to .gitignore
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-02-25 07:08:46 +00:00
John Olheiser
62c4fab696
Add myself to maintainers ( #147 )
2019-02-19 14:13:42 -05:00
Serhii Kuts
ad9bcd6a96
Add method to set Sudo header ( #144 )
2019-02-15 17:32:08 -05:00
Lanre Adelowo
600c19aa03
add SDK methods for starting/stopping a stopwatch ( #142 )
2019-02-08 12:38:52 +02:00
Richard Mahn
b9e72373fb
Updates GitTreeResponse for pagination ( #141 )
...
* Updates GitTreeResponse for pagination
* Removes TotalPages
2019-02-04 23:58:10 -05:00
Lauris BH
d5a42771e7
Revert PR #133 ( #140 )
2019-01-27 13:35:53 +02:00
zeripath
417bfad07a
Handle HTTP status 409 and non-json errors better ( #132 )
2019-01-27 09:51:08 +00:00
Lunny Xiao
1b658526f2
add structs for list tags ( #139 )
2019-01-26 11:22:55 -05:00
Lunny Xiao
85039742e2
add commit structs ( #138 )
2019-01-25 11:43:49 +02:00
Jonas Franz
a07993ca46
Replace @JonasFranzDEV with @jonasfranz ( #136 )
...
* Replace @JonasFranzDEV with @jonasfranz
* Update MAINTAINERS file
2019-01-02 14:37:21 -05:00
Lunny Xiao
09af79ce21
add commit file status ( #135 )
2018-12-31 17:34:11 -05:00