forgejo/routers
sillyguodong 0e82cf121d
chore(refactor): partial port of Add API for Variables (#29520)
The commit has, in addition to the implementation of the API, a few
function refactor that are useful in backports.

---

close #27801

---------

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 62b073e6f31645e446c7e8d6b5a506f61b47924e)

Conflicts:
	- modules/util/util.go
          Trivial resolution, only picking the newly introduced function
	- routers/api/v1/swagger/options.go
          Trivial resolution. We don't have UserBadges, don't pick that part.
	- templates/swagger/v1_json.tmpl
          Regenerated.
(cherry picked from commit 16696a42f5)
2025-02-08 07:50:19 +00:00
..
api fix: don't show private forks in forks list 2024-11-15 11:58:58 +01:00
common Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-24 15:15:07 +02:00
private fix(sec): use constant time check for internal token 2024-10-28 06:17:16 +00:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web chore(refactor): partial port of Add API for Variables (#29520) 2025-02-08 07:50:19 +00:00
init.go s/Gitea/Forgejo in various log messages and comments 2024-04-22 14:41:17 +00:00