summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
Commit message (Collapse)AuthorAgeFilesLines
* Make GroupProject inherit from Projectissue/209Gauvain Pocentek2017-03-181-72/+75
| | | | Fixes #209
* 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
|
* Implement merge requests diff supportGauvain Pocentek2016-11-051-0/+15
|
* Remove deprecated methodsGauvain Pocentek2016-11-051-66/+13
| | | | | | Also deprecate {un,}archive_() in favor of {un,}archive(). Fix #115
* Implement __repr__ for gitlab objectsGauvain Pocentek2016-11-051-0/+5
| | | | Fix #114
* Fix tuples definitionGauvain Pocentek2016-11-051-13/+21
|
* pep8 fixGauvain Pocentek2016-11-051-0/+1
|
* Build managers on demand on GitlabObject'sGauvain Pocentek2016-11-051-27/+35
|
* fix line too longGauvain Pocentek2016-11-051-1/+2
|
* Move deploy key enable/disable to the objectGauvain Pocentek2016-11-051-9/+9
| | | | | To keep things consistent with other objects, action methods are available on the object itself, not the manager.
* Merge branch 'master-project-deploy-keys' of ↵Gauvain Pocentek2016-11-051-0/+12
|\ | | | | | | https://github.com/Asher256/python-gitlab into Asher256-master-project-deploy-keys
| * Project deploy key response code = 201Asher256@users.noreply.github.com2016-11-011-8/+8
| |
| * Fixing the response and project_id argumentAsher2562016-11-011-6/+6
| |
| * Documentation for enable/disable deploy key functionsAsher256@users.noreply.github.com2016-10-301-2/+2
| |
| * New exception for ProjectKey.enable_deploy_key and disable_deploy_keyAsher256@users.noreply.github.com2016-10-301-2/+2
| |
| * enable/disable deploy key methos moved to the class ProjectKey()Asher256@users.noreply.github.com2016-10-301-6/+6
| |
| * Delete is used for '/projects/%s/deploy_keys/%s/disable'Asher2562016-10-301-1/+1
| |
| * Feature: enable / disable the deploy key in a projectAsher2562016-10-281-0/+12
| |
* | ProjectHook: support the token attributeGauvain Pocentek2016-11-021-1/+1
|/ | | | Fix #170
* fix bug when retrieving changes for merge requestChristian2016-10-281-1/+1
| | | Erroneously a merge request would return its commit when being queried for its changes.
* Don't overwrite attributes returned by the serverGauvain Pocentek2016-10-241-1/+3
| | | | Fixes #171