You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
6543 c5193a8481
In Render tolerate not being passed a context (#16842) (#16858)
* In Render tolerate not being passed a context

It is possible for RenderString to be passed to an external renderer if markdown
is set to be rendered by an external renderer. No context is currently sent to these
meaning that this will error out.

Fix #16835

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add Context to Repo calls for RenderString

All calls from routers can easily add the context - so add it.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
analyze Speed up `enry.IsVendor` (#15213) 4 years ago
auth Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16570) 4 years ago
avatar Add Image Diff for SVG files (#14867) 4 years ago
base Fixed assert statements. (#16089) 4 years ago
cache Add LRU mem cache implementation (#16226) 4 years ago
charset Refactor renders (#15175) 4 years ago
context Pass down SignedUserName down to AccessLogger context (#16605) (#16616) 4 years ago
convert Add option to provide signature for a token to verify key ownership (#14054) 4 years ago
cron Fix archive error when rename repo or user (#16399) 4 years ago
csv Refactor renders (#15175) 4 years ago
doctor Restore creation of git-daemon-export-ok files (#16508) (#16514) 4 years ago
emoji Run processors on whole of text (#16155) 4 years ago
eventsource Hold the event source when there are no listeners (#15725) 4 years ago
generate Switch to maintained jwt lib (#16532) (#16533) 4 years ago
git Prevent NPE on empty commit (#16812) (#16819) 4 years ago
gitgraph Fix bug on commit graph (#15517) 4 years ago
graceful Support HTTP/2 in Let's Encrypt (#16371) 4 years ago
hcaptcha
highlight Ensure empty lines are copiable and final new line too (#16678) (#16692) 4 years ago
httpcache Add ETag header (#15370) 4 years ago
httplib Second attempt at preventing zombies (#16326) 4 years ago
indexer Fix data race in bleve indexer (#16474) (#16509) 4 years ago
lfs Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
log Fix race in log (#16490) (#16505) 4 years ago
markup In Render tolerate not being passed a context (#16842) (#16858) 4 years ago
matchlist
metrics
migrations If PatchURL is empty, skip pull patch download when migrating (Partial #16356) (#16681) 4 years ago
nosql Fix setting redis db path (#15698) 4 years ago
notification Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
options Add StatDir and replace com.StatDir (#14099) 4 years ago
password Fixed assert statements. (#16089) 4 years ago
pprof
private Second attempt at preventing zombies (#16326) 4 years ago
process Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
public Improve assets handler middleware (#15961) 4 years ago
queue Fix race in log (#16490) (#16505) 4 years ago
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
references Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
repofiles Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
repository Report the correct number of pushes on the feeds (#16811) (#16822) 4 years ago
secret Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
session Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
setting Add LRU mem cache implementation (#16226) 4 years ago
ssh Second attempt at preventing zombies (#16326) 4 years ago
storage Retry rename on lock induced failures (#16435) 4 years ago
structs Add option to provide signature for a token to verify key ownership (#14054) 4 years ago
svg
sync
task Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
templates Report the correct number of pushes on the feeds (#16811) (#16822) 4 years ago
test Move middlewares to web/middleware (#14480) 4 years ago
timeutil Fix display since time round (#14226) 4 years ago
translation Use index of the supported tags to choose user lang (#15452) 4 years ago
typesniffer Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
upload
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
user
util Handle too long PR titles correctly (#16517) (#16549) 4 years ago
validation Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
web Restore CORS on git smart http protocol (#16496) (#16506) 4 years ago