Laurent Julliard
f0fbf639c6
Repository.delete_file function added
2025-01-08 16:41:08 +01:00
Langenfeld
5b4650734c
feat: added deleting topics from repositories
2024-08-22 16:06:36 +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
75a9591b98
Support for migration of repositories
2023-03-22 20:49:53 -05: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
Øyvind Kolbu
d0c665b3e3
(testing) Test Repository patching
2023-01-27 11:42:34 +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
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
cd2fa45182
(bugfix) changed additional api requests to being paginated
2022-11-15 16:56:18 +01: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
Langenfeld
9728169956
fixed long tests using a non-existent repository
2021-12-13 10:34:25 +01:00
Langenfeld
a14fda209f
fixed exidental overwriting of nested api objects by adding the writable properties
2021-11-16 16:57:26 +01:00
Langenfeld
0af5e71cbb
removed request fields from actual api object creation (this does not work with nested api objects anymore)
2021-11-16 15:04:42 +01:00
Langenfeld
94261487cf
improving editing api objects
2021-11-16 14:53:48 +01:00
Langenfeld
29e581f7dd
and further cleanup
2021-11-15 16:02:18 +01:00
Langenfeld
16f01d0e0a
fixing some of the hash functions
2021-11-12 14:21:54 +01:00
Langenfeld
690816f3d5
cont.
2021-11-11 17:04:13 +01:00
Langenfeld
54e51028da
implementation of getting git file listing and content
2021-11-11 13:45:24 +01:00
Langenfeld
53410b79e7
refactoring equals for api objects
...
adding access to repository files (non-gitea objects in general) requires a more granular comparison of api objects than the old hope that there is an id approach
2021-11-11 10:18:23 +01:00
Langenfeld
a0d1b6f80a
add apiendpoint to request file listing from repositories
2021-11-09 14:33:23 +01:00
Langenfeld
d83bb79bbd
added testing for user to org direction of repo transfer (see #9 )
2021-11-05 13:54:23 +01:00
Langenfeld
dd5b73e084
additional testing for moving repositories between orgs/users ( closes #9 )
2021-11-05 13:50:10 +01:00
Langenfeld
8f5f22842b
adding functionality to move repos to other orgs (see #9 )
2021-11-05 11:47:08 +01:00
Langenfeld
bd2371b1b6
added ability to request paginated gitea api endpoints; fixed listing paginated organisation repository listing
2021-10-27 17:47:37 +02:00
Langenfeld
79276e94d1
fix: require supplying login name and source id when updating users
2021-10-25 13:34:54 +02:00
Langenfeld
8a2a19739b
organisations now add ``name`` field consistently with same content as ``username`` to offer the same interface as ``User`` ( closes #6 )
2021-10-19 11:13:47 +02:00
Langenfeld
f9b35d5aa4
removed source_id from updating users as it seems to be not necessary
2021-10-19 09:54:26 +02:00
Langenfeld
5d1ed27c88
fixed listing user accessible repositories
2021-10-05 16:31:27 +02:00
Langenfeld
a4daea6f4a
User object is now able to list teams its a member of
2021-10-05 14:58:20 +02:00
Holger Frey
d0fe221e54
Fixed a bug in gitea.Gitea.get_accessible_repositories()
...
The method now uses `self` instead of `self.gitea` to access the connection.
2021-05-06 15:04:20 +02:00
Langenfeld
ac41c212b4
fixed problems with branch listing (see #4 )
...
request response for branches did behave strangely
2021-04-19 13:58:50 +02:00
Langenfeld
d0960a4b6f
fixed user patching (see #4 )
2021-04-19 13:44:33 +02:00
Langenfeld
a198a5382c
reverted naming
2021-01-12 11:10:32 +01:00
Langenfeld
575a554bcc
prepared project for pypi release
2021-01-12 10:24:53 +01:00
Langenfeld
1a3f93b33d
function for all changable fields to be correctly be added to the api objects
...
gitea does not return all fields that can be changed for an object together with the object. The api now generates all those fields without content, but with monitoring if they have to be added to the dirty fields
2020-11-07 18:55:40 +01:00
Langenfeld
cee702f6f9
added ability to create branches
2020-10-26 17:22:21 +01:00
Langenfeld
e1b499599d
updated tests file to use proper setup for the tests
2020-10-14 13:47:38 +02:00
Langenfeld
caed956b67
cc
2020-10-14 13:17:02 +02:00