Adam Cooke
fda0cfafc6
rename admin to advanced settings & add help text
...
closes #163
2017-06-02 12:11:19 +01:00
Adam Cooke
4e7cec443c
ensure IP addresses are unique
...
fixes #165
2017-06-01 14:41:38 +01:00
Adam Cooke
c3f71b0d2a
don't use moonrope from repo
2017-06-01 14:26:58 +01:00
Adam Cooke
ce90a1d4f5
don't use acme-client from the repo
2017-06-01 14:25:00 +01:00
Adam Cooke
e443a3addb
improvements to the auto upgrade script
...
* change how the channel is passed
* restart rather than stop/start when upgrading
* add safe mode for forcing a stop/start on upgrade
2017-06-01 14:07:25 +01:00
Adam Cooke
42ba1bb9f2
configurable database pool sizes
2017-06-01 13:49:29 +01:00
Adam Cooke
132078f84f
multi-threaded workers
2017-06-01 13:48:50 +01:00
Adam Cooke
26ca38c2e1
only update links if there's a message ID
2017-06-01 10:45:32 +01:00
Adam Cooke
96f190ae25
fixes style issue on error when no messages found
2017-05-30 15:16:01 +01:00
Adam Cooke
47d78b0725
rename the session from _deliver_session to _postal_session
2017-05-26 13:18:45 +01:00
Adam Cooke
1e62f9bd0e
re-add postal signatures to outgoing http requests
2017-05-26 10:36:31 +01:00
Adam Cooke
7d2484d47f
make sure nano & wget are installed on the quick install
2017-05-18 12:28:38 +01:00
Adam Cooke
3f8c52501b
put postal version in footer
2017-05-18 12:25:28 +01:00
Adam Cooke
525fd8cc05
update ubuntu 16.04 script
2017-05-18 12:24:16 +01:00
Adam Cooke
2a5d8034ae
pass the channel along with auto-upgrade
2017-05-18 12:23:41 +01:00
Adam Cooke
3485cd7229
update auto upgrade script to work with packages plus direct from repo
2017-05-18 12:08:04 +01:00
Adam Cooke
58a8b96611
don't compile assets on initialization if they already are built
2017-05-18 12:02:16 +01:00
Adam Cooke
0ef7d4c0e4
only compile assets on upgrade if they aren't prebuilt
2017-05-18 12:01:05 +01:00
Adam Cooke
965d9a7ec6
require fileutils
2017-05-18 11:51:33 +01:00
Adam Cooke
91de111946
use the log_root for the puma log redirection
2017-05-18 11:48:00 +01:00
Adam Cooke
73b4edd92e
put rails logging through the app logger
2017-05-18 11:47:59 +01:00
Adam Cooke
76e1f6e9f7
update procodile logging to be outside of the app root
2017-05-18 11:45:43 +01:00
Adam Cooke
b1048b6986
attempt to make the log directory if missing
2017-05-18 11:44:52 +01:00
Adam Cooke
90d534574d
add a configurable log root
2017-05-18 11:41:02 +01:00
Adam Cooke
bf35d207d6
fixes build script
2017-05-18 10:58:51 +01:00
Adam Cooke
df72f5e2b9
upgrade nokogiri
2017-05-18 10:46:25 +01:00
Adam Cooke
734c8781c3
add a script to build & upload postal packages
2017-05-17 19:30:33 +01:00
Adam Cooke
fde35add28
update version to include revision & channel
2017-05-17 19:25:48 +01:00
Adam Cooke
cb0e3a4f4e
support for a null send limit for unlimited
...
part of #144
2017-05-16 15:52:43 +01:00
Adam Cooke
8b7bcd9a6a
remove some nbsp
2017-05-16 15:35:13 +01:00
Adam Cooke
36db40cfe7
fixes issue with query string parsing when a z exists
...
closes #127
2017-05-16 15:25:35 +01:00
Adam Cooke
4106ac6c7e
fixes bug with receiving messages to the return path
...
treats all messages sent to the return path and any domain with the return path prefix the same
2017-05-16 14:49:56 +01:00
Adam Cooke
9a76538f11
remove IP pool rules when deleting an IP pool
2017-05-15 10:43:44 +01:00
Adam Cooke
d33994ce0f
fixes bug with IP rules list
...
closes #136
2017-05-12 17:06:35 +01:00
Adam Cooke
5e13d7d052
hold incoming messages when in development mode
...
(not very dry but this unqueueing logic could do with some tidying)
2017-05-12 15:07:56 +01:00
Adam Cooke
9bea99e633
verify new users straight away
...
users who signup will have received a link to do so which means their address is already verified
2017-05-12 14:47:16 +01:00
Adam Cooke
e9b03987fe
only allow users with an invite to create accounts
2017-05-12 14:45:42 +01:00
Adam Cooke
5cd0e4dc04
add option to not provision databases for servers
2017-05-08 16:41:37 +01:00
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
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
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
Adam Cooke
698b580db4
remove types from ip pools
...
closes #24
2017-04-28 16:40:53 +01:00
Adam Cooke
88974cee85
use standard config style for accessing relay properties
2017-04-28 16:27:51 +01:00
Adam Cooke
1adedc6343
support for smtp relay hosts
2017-04-28 16:26:59 +01:00
Adam Cooke
695bdf90f9
improvements to ip monitoring on worker
2017-04-28 16:09:39 +01:00
Adam Cooke
6d27787a2e
don't bother looking up local IPs
2017-04-28 15:53:24 +01:00
Adam Cooke
1be135a5d9
fixes issue with ip addresses that don't have an ipv6 pair
2017-04-28 15:50:26 +01:00
Adam Cooke
0a25fe986d
fixes header when server has no IP pools but ip pools are enabled
2017-04-28 15:40:48 +01:00
Adam Cooke
8d235fd569
remove unused helpers.coffee
...
fixes #46
2017-04-28 15:30:02 +01:00
Adam Cooke
488dffd04b
don't generate self signed smtp certificates
2017-04-28 15:17:06 +01:00
Adam Cooke
caacaa7f92
disable SMTP TLS by default and add custom paths for SMTP key/cert
...
TLS can be enabled by setting 'smtp_server.tls_enabled' to true.
2017-04-28 15:12:56 +01:00
Adam Cooke
1b58cb853b
remove a stray new line
2017-04-27 22:16:42 +01:00
Adam Cooke
dde2669110
keep using github wiki for now
2017-04-27 19:18:03 +01:00
Adam Cooke
396f0a3966
update readme
2017-04-27 19:14:42 +01:00
Adam Cooke
709e82c06e
rename MyOps to Postal in auto upgrade
...
fixes #29
2017-04-27 18:05:03 +01:00
Adam Cooke
6af7f332bf
hide IP rules & IPs when ip pools aren't available
2017-04-27 10:36:30 +01:00
Adam Cooke
3ed9438a00
fixes issue with creating new organizations when there are no ip pools
2017-04-27 10:34:22 +01:00