Page MenuHomePhabricator

Simplify amount of domain configuration
Closed, ResolvedPublic

Description

So while configuring a new instance today, it struck me how many times I have to put some version of the domain where my instance is hosted into the configuration. By my count, that domain appears no less than 12 times.

  • metamta.reply-handler-domain
  • metamta.default-address
  • metamta.domain
  • metamta.maniphest.reply-handler-domain
  • metamta.maniphest.public-create-email
  • metamta.paste.public-create-email
  • metamta.pholio.reply-handler-domain
  • metamta.macro.reply-handler-domain
  • metamta.differential.reply-handler-domain
  • metamta.diffusion.reply-handler-domain
  • metamta.files.public-create-email
  • phabricator.base-uri

It would be nice to have to set my domain in only one place - I'd imagine that for most installs, these values will be largely the same.

For the properties above that are public-create-emails, I'd suggest having a separate configuration item that's something like metamta.paste.public-create-email-user, with a sensible default (like 'paste') that would construct the email address configured-email-user@reply-handler-domain, and perhaps have a separate flag that indicates if this functionality is enabled or not.

Event Timeline

wotte raised the priority of this task from to Needs Triage.
wotte updated the task description. (Show Details)
wotte updated the task description. (Show Details)
wotte added a subscriber: wotte.

HAHAHA THERE ARE WAY MORE THAN THAT BWAHAHAHA

chad renamed this task from The number of places in the configuration I have to populate with various versions of my domain is truly absurd to Simplify amount of domain configuration.Jul 24 2014, 5:58 PM
chad triaged this task as Normal priority.Jul 26 2014, 9:46 PM
chad added projects: Setup, Phabricator.

Support Impact This doesn't really create much of a support burden but is confusing and stupid.