gotosocial/testrig
Terin Stock f9b351438b
[feature] allow absolute path to templates (#507)
Only attempt to join the `WebTemplateBaseDir` with the current working
directory if the user has not configured an absolute path to the
template directory.

This changeset also makes a similar change to the testrig, allowing
tests to configure an alternative location for the templates directory.

Fixes #411

Signed-off-by: Terin Stock <terinjokes@gmail.com>
2022-04-29 11:00:25 +02:00
..
media [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
config.go [feature] Add log-db-queries config option (#465) 2022-04-18 16:47:11 +02:00
db.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
email.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
federatingdb.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
federator.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
log.go [bugfix] Trim log entries to 1700 chars before they enter syslog (#493) 2022-04-26 17:55:24 +02:00
mediahandler.go test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
oauthserver.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
processor.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
router.go [feature] allow absolute path to templates (#507) 2022-04-29 11:00:25 +02:00
storage.go pass reader around instead of []byte 2022-01-16 18:52:55 +01:00
testmodels.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
transportcontroller.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
typeconverter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00