gitea/modules
Giteabot cc95def2d2
Some NuGet package enhancements (#30280) (#30324)
Backport #30280 by @KN4CK3R

Fixes #30265

1. Read second type of dependencies
2. Render `Description` and `ReleaseNotes`

old:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/abac057c-11cd-4d25-b196-01ff899d948e)

new:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/35302273-740c-481a-a031-1f80d2d7d336)

The NuGet spec does not specify what kind of text can be stored in the
description but we can best guess markdown. The official NuGet registry
just [converts the newlines to html
lines](https://www.nuget.org/packages/rb.Firefox#readme-body-tab).

3. Extract and render the readme. This is the new and better place to
store larger text than in the description. The content is markdown.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/f442264e-3735-4b55-92c4-3b89a8ebafb0)

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Benjamin Heemann <benjamin.heemann@raith.de>
2024-04-07 17:13:36 +00:00
..
actions Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
activitypub
analyze
assetfs
auth Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
avatar Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
badge Implement actions badge svgs (#28102) 2024-02-27 18:56:18 +01:00
base Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
cache
charset Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
container
csv Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
dump Refactor "dump" sub-command (#30240) (#30260) 2024-04-03 02:47:06 +00:00
emoji
eventsource
generate Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
git Include encoding in signature payload (#30174) (#30182) 2024-03-30 00:03:11 +01:00
gitgraph
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
graceful Remove unused error in graceful manager (#29871) 2024-03-18 21:14:51 +00:00
hcaptcha
highlight
hostmatcher
html
httpcache Also match weakly validated ETags (#28957) 2024-01-29 16:18:40 +00:00
httplib Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
indexer Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
issue/template Extend issue template yaml engine (#29274) 2024-03-04 01:37:00 +01:00
json
label
lfs Close file in the Upload func (#30262) (#30270) 2024-04-03 15:29:49 +00:00
log
markup Fix code block style for code preview (#30298) (#30306) 2024-04-06 12:34:38 +00:00
mcaptcha
metrics
migration Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
nosql
optional migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
options
packages Some NuGet package enhancements (#30280) (#30324) 2024-04-07 17:13:36 +00:00
paginator
pprof
private Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
process
proxy
proxyprotocol
public
queue Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) 2024-03-02 16:07:54 +00:00
recaptcha
references Fix issue link does not support quotes (#29484) (#29487) 2024-03-02 09:54:46 +00:00
regexplru
repository Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
secret Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
session
setting Refactor startup deprecation messages (#30305) (#30312) 2024-04-07 09:43:54 +08:00
sitemap
ssh
storage
structs Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
svg Refactor markdown attention render (#29984) 2024-03-22 12:16:23 +00:00
sync
system
templates Render code tags in commit messages (#30146) 2024-03-28 10:42:31 +00:00
test
testlogger
timeutil Refactor "dump" sub-command (#30240) (#30260) 2024-04-03 02:47:06 +00:00
translation Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
turnstile
typesniffer
updatechecker
uri
user
util Clean up log messages (#30313) (#30318) 2024-04-07 11:44:09 +00:00
validation
web Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
webhook Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00