Langenfeld
f061e5a584
Merge pull request #31 from zion-networks/master
...
Added missing Team features
2024-08-22 16:17:25 +02:00
Langenfeld
5b4650734c
feat: added deleting topics from repositories
2024-08-22 16:06:36 +02:00
Langenfeld
3910c2638a
Merge pull request #28 from mikeperalta1/master
...
feat: add and get topics from repositories
2024-08-22 15:13:20 +02:00
Enrico Ludwig
103137686e
Added units_map to create_team function as it's part of the Gitea API at least for version 1.22.1
2024-08-01 17:44:21 +02:00
Enrico Ludwig
22bfab0c43
Allowing case-insensitive name in get_team
2024-08-01 17:40:47 +02:00
mike
6102ca7d30
Method to add a topic to a repository
2024-06-18 01:56:36 -07:00
mike
2716eef153
Actually just unwrap the topics
2024-06-18 00:45:14 -07:00
mike
4cbdbf51fa
apiobject: Add Repository.get_topics()
2024-06-17 23:46:42 -07:00
Langenfeld
3453b9b585
Merge branch 'weixinrui-fix-requests-get-error'
2024-05-27 10:38:11 +02:00
Langenfeld
73cb742053
feat: supporting api requests to be used for raw strings (e.g. diffs)
2024-05-27 10:37:42 +02:00
xinrui.wei
22b0a987dd
[BUG]: Fix requests_get() error for requesting /repos/{owner}/{repo}/pulls/{index}.{difftype}
2024-05-16 10:25:57 +10:00
Langenfeld
271d8bee2e
fix: add immutabledict to setup
2024-01-18 10:18:42 +01:00
Langenfeld
0ecb1ea2b9
chore: switch to immutabledict
2024-01-17 10:12:55 +01:00
Langenfeld
689b3bc7af
(chore) increase version
2023-08-21 18:54:35 +02:00
Langenfeld
df80317432
feature: ability to only get first n pages to increase performance with paginated requests
2023-08-21 16:52:08 +02:00
Langenfeld
5aaa641bde
Merge branch 'laromicas-migration-repository' into master
2023-08-21 16:04:50 +02:00
Langenfeld
ba4202fe6f
(fix) migrate function returns repository object with valid gitea, #22
2023-08-21 16:03:35 +02:00
Langenfeld
853b5b811b
(feature) Merge support for repository migration, #22
2023-08-21 15:33:13 +02:00
Langenfeld
9f6785cdee
(style) reformatted with python black for easier merges
2023-08-21 10:13:30 +02:00
laromicas
2a24932e24
Changed Repo to self
2023-03-29 11:14:27 -05:00
laromicas
91f75d8b2b
Fixed GITBUCKET name
2023-03-27 09:36:33 -05:00
laromicas
d96a040c33
Changed to default values
2023-03-26 21:01:13 -05:00
laromicas
75a9591b98
Support for migration of repositories
2023-03-22 20:49:53 -05:00
Langenfeld
3b8f04e31b
(version) fixed version entry
2023-02-02 23:05:28 +01:00
Langenfeld
37f40229a3
Merge pull request #19 from oyvindkolbu/update-team
...
Update Team class with new patchable fields, commit method and fixed the request method
2023-02-02 14:43:34 +01:00
Langenfeld
71d543bbfc
Merge pull request #20 from oyvindkolbu/update-repository-patch-fields
...
Update repository patch fields as of Gitea 1.18.1
2023-02-02 14:41:30 +01:00
Øyvind Kolbu
d0c665b3e3
(testing) Test Repository patching
2023-01-27 11:42:34 +01:00
Øyvind Kolbu
7a9866116d
(feat) Repository: Update patchable fields to Gitea as of 1.18.3
...
Also add a commit method to be able to perform patching.
2023-01-27 11:41:27 +01:00
Øyvind Kolbu
045566984b
(testing) Fix typo in string
2023-01-27 11:16:23 +01:00
Øyvind Kolbu
8407f47d31
(testing) Test patching of Team object and its new request method
2023-01-27 11:15:42 +01:00
Øyvind Kolbu
48c46cbbfd
(feat) Team: extend patchable fields and add commit and fix request
2023-01-27 11:14:28 +01:00
Langenfeld
b5f27f70bd
(bugfix) changing file content uses correct dictionary key
2023-01-25 18:05:23 +01:00
Langenfeld
e321c0bddd
(feat) adding file to repo by api ( closes #16 )
2023-01-25 17:51:54 +01:00
Langenfeld
0a620188ff
(gitea) extended put method to accept additional data (closes #17 )
2023-01-25 17:19:23 +01:00
Langenfeld
32c8d03f34
(testing) rudimentary uploading of files (see #16 )
2023-01-24 18:10:03 +01:00
Langenfeld
756759facc
(testing) extended test for requesting git-data through api
2023-01-24 17:39:28 +01:00
Langenfeld
5407ab2468
(cc) link to official api reference
2023-01-12 16:01:06 +01:00
Langenfeld
4808018f2a
Merge pull request #18 from highbiza/master
...
pytest dependency is only needed when running test.
2023-01-12 15:36:03 +01:00
Lars van de Kerkhof
eea3bf5d39
pytest dependency is only needed when running test.
...
Moved pytest to test extra, so it will not get installed on production servers.
2023-01-11 10:25:59 +01:00
Langenfeld
db9b136b93
(bugfix) update to gitea 1.18 api changes
2023-01-10 18:08:03 +01:00
Langenfeld
cd2fa45182
(bugfix) changed additional api requests to being paginated
2022-11-15 16:56:18 +01:00
Langenfeld
c40f7e5f71
Merge pull request #15 from stephenhouser/master
...
Retreive all paginated user repositories
2022-11-15 16:32:29 +01:00
Stephen Houser
4940f5ab24
Retreive all paginated user repositories
...
Fixes User.get_repositories() to fetch requests_get_paginated() instead of just requests_get() enabling the return of all user repositories.
2022-11-13 20:13:16 -05:00
Langenfeld
b7c9e9ab80
(bugfix) interation of paginated content does not crash anymore when iterating into an empty page answered by an error by gitea
2022-09-07 10:50:54 +02:00
Langenfeld
fe120be112
Merge pull request #13 from etienne-monier/additional-options
...
Additional options and methods
2022-03-29 10:53:54 +02:00
Etienne Monier
f9e4c68fa7
feat: Implement User and Organization repo creation
...
Until now, the repository creation was only possible using the
gitea.Gitea.create_repo function. Get, this only allows the admin to
create a repo for a user or an organization.
By implementing these two new functions:
1. a non-root user can now create an own repo,
2. an allowed user can now create a repo into an organization.
2022-03-11 11:36:39 +01:00
Etienne Monier
cfd1b7f42d
feat: Add full_name option to create_user
2022-03-10 09:29:07 +01:00
Etienne Monier
ad69de4b86
feat: Add some options when creating a team
...
These two options are:
- can_create_org_repo which allow the users to create organization
repositories
- include_all_repositories which allow the user to have access to all
repos
By default, these two rights are not provided for security reason.
2022-03-09 21:42:44 +01:00
Etienne Monier
4af5ce7ae9
feat: Set the default branch on repo creation
...
A new option is proposed for the gitea.Gitea.create_repo to set the
default branch.
2022-03-09 15:51:34 +01:00
Etienne Monier
507ac1de18
fix: Pass the auth arg as a tuple instead of str
2022-03-08 16:32:11 +01:00