Rework publicreport addressing
This adds the ability to link a proper address in the database to the report and harmonizes the field names with the address table. It also migrates away from mapbox entirely. And I fixed the "pool" naming for the publicreports, which are supposed to be the more generic 'water'.
This commit is contained in:
parent
884634a2d7
commit
e932c2c473
60 changed files with 4511 additions and 5072 deletions
|
|
@ -26,7 +26,6 @@ var (
|
|||
ForwardEmailNidusAddress string
|
||||
ForwardEmailNidusPassword string
|
||||
ForwardEmailNidusUsername string
|
||||
MapboxToken string
|
||||
PGDSN string
|
||||
PhoneNumberReport phonenumbers.PhoneNumber
|
||||
PhoneNumberReportStr string
|
||||
|
|
@ -136,10 +135,6 @@ func Parse() (err error) {
|
|||
if ForwardEmailNidusPassword == "" {
|
||||
return fmt.Errorf("You must specify a non-empty FORWARDEMAIL_NIDUS_PASSWORD")
|
||||
}
|
||||
MapboxToken = os.Getenv("MAPBOX_TOKEN")
|
||||
if MapboxToken == "" {
|
||||
return fmt.Errorf("You must specify a non-empty MAPBOX_TOKEN")
|
||||
}
|
||||
PGDSN = os.Getenv("POSTGRES_DSN")
|
||||
if PGDSN == "" {
|
||||
return fmt.Errorf("You must specify a non-empty POSTGRES_DSN")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue