forgejo-federation/routers/api/v1
wxiaoguang a6450494c3
Fix unclear IsRepositoryExist logic (#24374)
There was only one `IsRepositoryExist` function, it did: `has && isDir`

However it's not right, and it would cause 500 error when creating a new
repository if the dir exists.

Then, it was changed to `has || isDir`, it is still incorrect, it
affects the "adopt repo" logic.

To make the logic clear:

* IsRepositoryModelOrDirExist
* IsRepositoryModelExist
2023-04-28 14:14:26 -04:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
misc Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
notify Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
org Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
packages Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
repo Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
user Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
utils Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
api.go Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00