summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
Commit message (Collapse)AuthorAgeFilesLines
* Reorganise the code to handle v3 and v4 objectsGauvain Pocentek2017-05-231-2851/+0
| | | | | | Having objects managing both versions will only make the code more complicated, with lots of tests everywhere. This solution might generate some code duplication, but it should be maintainable.
* [v4] Update project search APIGauvain Pocentek2017-05-231-0/+6
| | | | | * projects.search() is not implemented in v4 * add the 'search' attribute to projects.list()
* Add 'search' attribute to projects.list()Gauvain Pocentek2017-05-231-0/+1
| | | | projects.search() has been deprecated by Gitlab
* Update URLs to reflect the github changesGauvain Pocentek2017-05-231-1/+1
|
* Fixed repository_tree and repository_blob path encoding (#265)Yosi Zelensky2017-05-221-2/+3
|
* MR: add support for time tracking featuresGauvain Pocentek2017-05-201-0/+52
| | | | Fixes #248
* Available services: return a listGauvain Pocentek2017-05-201-1/+1
| | | | | | The method returned a JSON string, which made no sense... Fixes #258
* Make GroupProjectManager a subclass of ProjectManagerGauvain Pocentek2017-05-201-1/+1
| | | | Fixes #255
* Add support for nested groups (#257)Matej Zerovnik2017-05-201-2/+4
|
* Add support for priority attribute in labelsGauvain Pocentek2017-05-201-2/+2
| | | | Fixes #256
* Support milestone start date (#251)James E. Flemer2017-04-121-1/+2
|
* Feature/milestone merge requests (#247)Ian Sparks2017-04-011-0/+16
| | | Added milestone.merge_requests() API
* Update User options for creation and updateGauvain Pocentek2017-04-011-6/+7
| | | | Fixes #246
* add time_stats to ProjectMergeRequestTim Neumann2017-03-291-0/+12
|
* Merge pull request #244 from gpocentek/issue/209Gauvain Pocentek2017-03-231-72/+75
|\ | | | | Make GroupProject inherit from Project
| * Make GroupProject inherit from Projectissue/209Gauvain Pocentek2017-03-181-72/+75
| | | | | | | | Fixes #209
* | Provide API wrapper for cherry picking commits (#236)Christian2017-03-211-2/+19
| |
* | add 'delete source branch' option when creating MR (#241)Christian2017-03-201-1/+1
| |
* | Change to correct logic of functionsDmytro Litvinov2017-03-201-2/+2
| |
* | Implement pipeline creation API (#237)Mond WAN2017-03-181-1/+5
|/
* Add support for merge request notes deletionGauvain Pocentek2017-03-171-1/+0
| | | | Fixes #227
* Add DeployKey{,Manager} classesGauvain Pocentek2017-03-171-0/+17
| | | | | | They are the same as Key and KeyManager but the name makes more sense. Fixes #212
* Make sure that manager objects are never overwrittenGauvain Pocentek2017-03-171-1/+5
| | | | | | | | Group.projects (manager) can be replaced by a list of Project objects when creating/updating objects. The GroupObject API is more consistent and closer to the GitLab API, so make sure it is always used. Fixes #209
* Time tracking (#222)savenger2017-03-031-0/+63
| | | | | | | | | * Added gitlab time tracking features - get/set/remove estimated time per issue - get/set/remove time spent per issue * Added documentation for time tracking functions
* {Project,Group}Member: support expires_at attributeGauvain Pocentek2017-02-211-0/+4
| | | | Fixes #224
* Handle settings.domain_whitelist, partlyGauvain Pocentek2017-02-181-17/+13
| | | | | | | The API doesn't like receiving lists, although documentation says it's what's expected. To be investigated. This fixes the tests.
* Merge pull request #216 from ExodusIntelligence/hotfix-issue_due_date-215Gauvain Pocentek2017-02-101-2/+2
|\ | | | | added due_date attribute to ProjectIssue
| * fixes gpocentek/python-gitlab#215James Johnson2017-02-081-2/+2
| |
* | Added pipeline_events to ProejctHook attrsAlex Widener2017-02-091-1/+2
|/ | | Ran tests, all passed.
* Deploy keys: rework enable/disableGauvain Pocentek2017-02-041-9/+8
| | | | | | | | | The method have been moved to the keys manager class as they don't make sens at all on the project keys themselves. Update doc and add tests. Fixes #196
* Add builds-email and pipelines-email servicesAndjelko Horvat2017-01-261-0/+4
|
* Add support for commit creationGauvain Pocentek2017-01-211-2/+4
| | | | Fixes #206
* Add support for project runnersGauvain Pocentek2017-01-211-0/+11
| | | | | | | This API allows to enable/disable specific runners for a project, and to list the project associated runners. Fix #205
* Support the scope attribute in runners.list()Gauvain Pocentek2017-01-211-0/+1
|
* Some objects need getRequires to be set to FalseGauvain Pocentek2017-01-021-0/+3
|
* Forbid empty id for get()Gauvain Pocentek2017-01-021-0/+2
| | | | Unless the class explicitly defines it's OK (getRequiresId set to True).
* sudo: always use stringsGauvain Pocentek2016-12-261-0/+2
| | | | | | | | The behavior seems to have changed on recent gitlab releases and providing an ID as int doesn't work anymore. Using a string seems to make things work again. Fixes #193
* Update known attributes for projectsGauvain Pocentek2016-12-261-14/+17
| | | | Fixes #181
* Snippet: content() -> raw()Gauvain Pocentek2016-12-261-4/+3
| | | | | Using the content() method causes conflicts with the API `content` attribute.
* SnippetManager: all() -> public()Gauvain Pocentek2016-12-261-14/+2
| | | | Rename the method to make what it does more explicit.
* Added support for Snippets (new API in Gitlab 8.15)Guyzmo2016-12-241-0/+61
| | | | | | cf [Gitlab-CE MR !6373](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6373) Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
* Add jira_issue_transition_id to the JIRA service optional fieldsMichal Galet2016-12-121-1/+1
|
* Fix JIRA service editing for GitLab 8.14+Michal Galet2016-12-121-2/+10
| | | | | | GitLab simplified the configuration for JIRA service and renamed most of the fields. To maintain backward compatibility all mandatory fields were moved to optional section.
* Fix `should_remove_source_branch`Pete Browne2016-11-211-2/+2
|
* Add support for triggering a new buildGauvain Pocentek2016-11-201-0/+21
| | | | Fixes #184
* Merge pull request #2 from GregoryEAllen/GregoryEAllen-patch-2Greg Allen2016-11-091-1/+1
|\ | | | | Add attr 'updated_at' to ProjectIssue
| * Add attr 'updated_at' to ProjectIssueGreg Allen2016-11-091-1/+1
| |
* | Add attr 'created_at' to ProjectIssueNoteGreg Allen2016-11-091-0/+1
|/
* Add support for templates APIGauvain Pocentek2016-11-061-0/+24
| | | | | | Add gitlab CI and gitignores APIs Rework the templates/license API docs
* Restore the Gitlab.user_projects managerGauvain Pocentek2016-11-051-24/+21
|