Commit Graph

112 Commits

Author SHA1 Message Date
Adam Cooke 87560c9edf only remove the global database if we actually made one 2017-05-08 16:40:20 +01:00
Adam Cooke eee01c9e15 a little more testing 2017-05-08 16:39:32 +01:00
Adam Cooke 61e3bad83f add method for cleaning the message database 2017-05-08 16:39:13 +01:00
Adam Cooke f023ff0bc1 don't check the dns on create if there already is a status 2017-05-08 16:38:29 +01:00
Adam Cooke 2bde75720c initial test suite 2017-05-08 14:48:15 +01:00
Adam Cooke 1758dc466a reset before pulling to avoid issues 2017-05-05 19:55:20 +01:00
Adam Cooke 88170af3cb add script for generating and publishing the api docs to github 2017-05-05 19:54:56 +01:00
Adam Cooke 553aedf031 name the authenticator 2017-05-05 19:54:52 +01:00
Adam Cooke dc44d1619a support for multiple bind addresses on the fast server 2017-05-05 14:24:04 +01:00
Adam Cooke bf2d26ca01 run an initial apt update to avoid potential issues 2017-05-05 12:59:33 +01:00
Adam Cooke 24048eda6b don't need iptables any longer 2017-05-05 12:59:23 +01:00
Adam Cooke 67f89ea196 remove a bracket 2017-05-05 12:56:33 +01:00
Adam Cooke 527f659886 quick install guide 2017-05-05 12:50:28 +01:00
Adam Cooke 9c1349a844 remove iptables and use setcap in ubuntu install script 2017-05-05 12:07:41 +01:00
Adam Cooke f75806b693 wording updates on the server limit page 2017-05-05 12:06:38 +01:00
Adam Cooke 0ee58b2b3e send limit email wording updates 2017-05-05 12:05:52 +01:00
Adam Cooke f7b1158199 leave nginx config as-is 2017-05-05 11:57:03 +01:00
Adam Cooke 308372d3fd update nginx config as it will need to know the IPs it can listen on to avoid conflict with the fast server 2017-05-05 11:54:39 +01:00
Adam Cooke d4fd6b9925 By default, we will now listen directly on various ports [breaking]
This allows us to avoid messing around with changes to iptables and generally makes installation easier for everyone.

If you have an instance of postal before this, you will need to do a couple of things to ensure your installation continues to work.

1. You will need to specify a `fast_server.bind_address` in your postal.yml configuration file. This is the IP that you dedicated to the fast server.
2. You will need to allow Ruby to listen on privileged ports (sudo setcap 'cap_net_bind_service=+ep' /usr/bin/ruby2.3).
3. You will need to remove any iptables rules that you may have added previously to accomodate the older way of doing this.
2017-05-05 11:45:27 +01:00
Adam Cooke f9b6485f22 a little extra thing for iptables 2017-05-05 11:27:33 +01:00
Adam Cooke fa95a3a713 well obviously nginx can only happen after the app has been cloned 2017-05-05 11:24:12 +01:00
Adam Cooke bc65feff46 some tidying on ubuntu1604.sh 2017-05-05 11:18:16 +01:00
Adam Cooke 5d0b8eb16d add some docs to ubuntu install script 2017-05-05 11:15:10 +01:00
Adam Cooke 2a606320be add a script to install postal on ubuntu 16.04 2017-05-05 11:05:19 +01:00
Adam Cooke 608b73afd4 add an example password to postal.example.yml 2017-05-05 10:49:44 +01:00
Adam Cooke 010e8c0e58 add a default certificate for the fast server 2017-05-05 09:57:39 +01:00
Adam Cooke 913190bce4 rename AM_CONFIG_ROOT to POSTAL_CONFIG_ROOT 2017-05-05 09:50:49 +01:00
Adam Cooke a3fe4a548d add sender to the param list for the send/message API method 2017-05-04 13:10:00 +01:00
Adam Cooke 3e281b576e global domains aren't supported any longer 2017-05-04 13:04:48 +01:00
Adam Cooke 22e0dd27ae attempt to renew track certificates more frequently for a better experience 2017-05-04 12:38:06 +01:00
Adam Cooke 3ba0a72779 log errors from cert verification 2017-05-04 12:37:16 +01:00
Adam Cooke e7b88842ca logging on certificate verification & issuance
closes #94
2017-05-04 11:18:44 +01:00
Adam Cooke 7ca4e74bbe initial logging for LE registration
part of #94
2017-05-04 11:12:28 +01:00
Adam Cooke 49faf73e66 fixes bug on credentials list 2017-05-02 13:44:32 +01:00
Adam Cooke f6784238d3 a sad sad day in postal-land, no more puns. 2017-05-02 13:33:17 +01:00
Alex Bouma b396920d47 Config to use local nameservers for DNS validation 2017-05-02 13:11:55 +01:00
Charlie Smurthwaite b90632b525 replace epoll and threaded servers with single nio4r evented server 2017-05-02 13:07:03 +01:00
Alex Bouma 594cff74a9 Add address endpoints to the routes UI (#71) 2017-05-02 13:06:46 +01:00
Adam Cooke 73cca62b93 verify the initial user 2017-05-02 08:10:57 +01:00
Adam Cooke 6af6e58d88 remove wildcard validation on routes
closes #57
2017-04-30 19:26:10 +01:00
Adam Cooke 2be702fac3 make sure resolv is required before it is used everywhere
closes #67
2017-04-30 19:25:03 +01:00
Alex Bouma ddf2a859bf Fix removed ip_pool type errors (#62)
* Fix undefined method description

Sice `:description` was removed from the IP pools it should display the IP pool `:name` instead of the `:description`.

* Fix using the removed ip_pool type
2017-04-29 19:42:29 +01:00
Adam Cooke f779e45f45 move espect into Postal::MessageInspection 2017-04-29 12:38:40 +01:00
Adam Cooke 45fd472f76 configurable maximum delivery attempts
closes #59
2017-04-29 11:56:25 +01:00
Adam Cooke 3333a7baf3 add script for testing app SMTP connections 2017-04-28 17:09:39 +01:00
Adam Cooke 6fc82b2049 remove the initial seeds 2017-04-28 17:01:37 +01:00
Adam Cooke a1aa173c51 add script to create an initial admin user 2017-04-28 17:01:11 +01:00
Adam Cooke cc04a57cf7 upgrade moonrope 2017-04-28 16:50:33 +01:00
Adam Cooke ff4687c2f7 update favicon
closes #47
2017-04-28 16:46:42 +01:00
Adam Cooke 759c68a43d remove some image assets that aren't used 2017-04-28 16:46:40 +01:00