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
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
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
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
Lunny Xiao
09af79ce21
add commit file status ( #135 )
2018-12-31 17:34:11 -05:00
Harshit Bansal
140e9fcba7
Add organization
field to Team
struct. ( #134 )
2018-12-30 20:20:44 +02:00
Norwin
6abdddefe3
make Release.Target a required parameter ( #133 )
2018-12-04 18:03:21 -05:00
Norwin Roosen
bd7704a5f0
Client: handle 409 HTTP code
...
necessary as POST /api/v1/releases returns no HTTP body for a 409 request,
eg when the target_comitish already has a release.
The underlying problem is bigger:
The Client cannot handle error responses which do not contain a valid
JSON body.
2018-12-04 22:57:38 +01:00
Harshit Bansal
d9394234b9
Update SDK to include head_commit
in PushPayload
. ( #131 )
2018-11-28 00:56:25 +02:00
Kasi Reddy
d95a6e0392
added recursive support to git trees api ( #130 )
2018-11-26 10:37:07 +02:00
Lunny Xiao
545830e497
Add repo trees ( #94 )
...
* add repo trees
* Update copyright
2018-11-24 13:03:22 +02:00
Lauris BH
59ddbdc4be
Support for git refs listing API ( #129 )
2018-11-23 22:19:44 -05:00
Lunny Xiao
4f96d9ac89
add units for team ( #127 )
2018-11-07 16:26:53 +08:00
Peter Hoffmann
11c860c8e4
fix: Add secret to all webhook's payload where it has been missing ( #126 )
...
affects webhooks for:
* Delete
* Fork
* IssueComment
* Release
Resolves : go-gitea/gitea#4732 , go-gitea/gitea#5173
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
2018-10-27 22:55:26 +08:00
zeripath
2d00f9f4d4
Add deploy key changes ( #125 )
2018-10-24 17:58:56 +03:00
zeripath
86b999eaa8
Adjust keys api ( #121 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
2018-10-22 14:30:51 +03:00
kolaente
380b28413e
Added "archived"-flag to repo struct ( #122 )
2018-10-05 22:59:49 +02:00
BetaCat
8718470818
Fix a format problem in admin_user.go ( #118 )
...
* Prepare for Prioritize issues & update .gitignore for goland users
Signed-off-by: Outman9946 <outman99@hotmail.com>
* Fix issues
Signed-off-by: BetaCat0 <outman99@hotmail.com>
* Fix a format problem
2018-09-01 00:14:12 +03:00
BetaCat
aa2397dec8
Prepare for prioritize issues & update .gitignore for goland users ( #117 )
...
Prepare for Prioritize issues & update .gitignore for goland users.
Target on the [Issue](https://github.com/go-gitea/gitea/issues/2616 )
Signed-off-by: BetaCat0 <outman99@hotmail.com>
2018-08-30 22:29:03 +08:00
EnricoFerro
021567c9c1
Fix for missing field in EditUserOption ( #114 )
2018-08-23 17:32:09 +03:00
Jonas Franz
9c719de11f
Add GetMyUserInfo ( #111 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-06-24 14:13:26 +03:00
techknowlogick
ec80752c95
add ID as an output for token API and Delete token ( #110 )
...
* add ID as an output for token API
* add ability to delete token via SDK
2018-06-20 12:04:31 +03:00
Lunny Xiao
b2308e3f70
add release hook types ( #107 )
2018-05-18 14:06:32 +08:00
Lunny Xiao
7fa627fa5d
add more webhook types ( #106 )
2018-05-10 20:54:05 +08:00
kolaente
40e36e1d2f
Added deadline structs for api ( #105 )
...
* Added deadline structs for api
* fixed lint + fmt
2018-05-03 17:30:21 +03:00
kolaente
1c8d12f79a
Added user locale setting ( #104 )
2018-05-01 14:15:19 +03:00
kolaente
142acef5ce
Preparation for Issue due dates (go-gitea/gitea#2533) ( #103 )
...
* Added deadline for issue
* Added deadline for pull requests
* Added comment for swagger date format
2018-04-17 08:54:29 +08:00