Adam Cooke
aa76aae232
chore: suppress config location on default-dkim-record
2024-03-13 19:06:37 +00:00
Adam Cooke
1da1182c23
fix: unescape in URLs which are stored for tracking
...
closes #2568
closes #907
closes #115
2024-03-04 16:52:36 +00:00
Adam Cooke
0163ac3d10
feat: new configuration system (and schema) ( #2819 )
2024-02-26 12:41:57 +00:00
Adam Cooke
a2eb70edf1
feat: add health server and prometheus metrics to worker
2024-02-23 22:51:38 +00:00
Adam Cooke
ecd09a2445
chore: upgrade rails to 7.0 and other dependencies
2024-02-23 22:51:37 +00:00
Adam Cooke
64b2704b02
refactor: move lib/postal/user_creator to app/util/user_creator
2024-02-23 22:51:37 +00:00
Adam Cooke
321ab95936
refactor: move lib/postal/smtp_server to app/lib/smtp_server
2024-02-23 22:51:36 +00:00
Adam Cooke
6eb16c3fab
chore: add script for generating smtp TLS certificates
2024-02-23 22:51:33 +00:00
Adam Cooke
dc8e895bfe
feat: new background work process
...
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
2024-02-23 22:51:33 +00:00
Adam Cooke
42ab5b3a6b
fix: explicitly disable TLS & starttls for unknown SSL modes
...
closes #2564
2024-02-13 15:57:48 +00:00
Adam Cooke
ec636661d5
style(rubocop): remaining offences
2024-02-12 09:55:20 +00:00
Adam Cooke
a5d5ba5326
style(rubocop): Layout/MultilineMethodCallBraceLayout
2024-02-10 17:25:45 +00:00
Adam Cooke
919a60116c
style(rubocop): Naming/FileName
2024-02-10 17:24:37 +00:00
Adam Cooke
0cf35a8392
style(rubocop): Layout/EmptyLines
2024-02-10 17:23:24 +00:00
Adam Cooke
12a5ef3279
style(rubocop): Lint/RedundantStringCoercion
2024-02-10 17:22:59 +00:00
Adam Cooke
0966b44018
style(rubocop): Lint/ShadowedException
2024-02-10 17:21:54 +00:00
Adam Cooke
e142d0da5f
style(rubocop): Layout/LineLength
2024-02-10 17:18:23 +00:00
Adam Cooke
59f299b704
style(rubocop): Layout/LeadingCommentSpace
2024-02-10 17:18:23 +00:00
Adam Cooke
b4cc81264c
style(rubocop): Style/StringLiterals
2024-02-10 17:18:23 +00:00
Adam Cooke
0e4ed5ca03
style(rubocop): Layout/EmptyLineAfterMagicComment
2024-02-10 17:18:23 +00:00
Adam Cooke
6ab36c09c9
style(rubocop): Style/FrozenStringLiteralComment
2024-02-10 17:18:22 +00:00
Adam Cooke
8794a2f447
chore: add script to send html emails to a local SMTP server
2024-02-01 13:54:05 +00:00
Charlie Smurthwaite
1e3622c49a
Consistently treat tinyint(1) fields in message database as booleans ( #2380 )
...
* Update mysql2 query call to cast booleans
* Treat messages:held field as boolean
* Treat messages:inspected field as boolean
* Treat messages:spam field as boolean
* Treat messages:threat field as boolean
* Treat messages:bounce field as boolean
* Treat messages:received_with_ssl field as boolean
* Treat deliveries:sent_with_ssl field as boolean
2023-03-22 13:49:48 +00:00
Charlie Smurthwaite
fd289c46fd
style(rubocop): fix all safe auto correctable offenses
2023-03-16 15:50:53 +00:00
Adam Cooke
9bcb5993fa
chore: remove old scripts
2021-07-30 19:20:44 +00:00
Adam Cooke
5cd06e126b
fix: remove a few leftover fast server artifacts
2021-07-29 16:10:53 +00:00
Adam Cooke
17dd7cc757
refactor: remove the fast server
2021-07-29 11:20:47 +00:00
Blake Patton
9b98339829
Ubuntu 18.04 script for quickstart ( #1173 )
2020-10-01 10:24:34 +01:00
Charlie Smurthwaite
113b11952f
update distribution server paths
2020-07-17 11:57:21 +01:00
Georgi Ganchev
7cfbda4426
adds missing ssl package
2019-11-27 17:28:22 +00:00
Adam Cooke
7fa457008e
update process concurrency script to include root & user
2018-03-29 14:39:32 +01:00
Charlie Smurthwaite
965956e7a1
update to monitoring script
2018-03-23 11:16:28 +00:00
igerzog
41d9014d47
Certificate file name extensions unified ( #354 )
...
* Fix for default smtp certificate name
This fixes the defaut smtp certificate file name from smtp.crt to smtp.cert as it is used throughout the postal code.
2017-09-11 20:50:59 +01:00
Adam Cooke
464bf21e2a
fixes queue size script
2017-06-14 09:37:13 +01:00
Adam Cooke
126a59200a
add script to return current queue size (for monitoring)
2017-06-14 09:30:23 +01:00
Adam Cooke
6e009f16b9
use explicit autoloads rather than from paths
2017-06-02 15:29:54 +01:00
Adam Cooke
3fb4ac3804
require assets for precompilation of assets
2017-06-02 12:42:02 +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
7d2484d47f
make sure nano & wget are installed on the quick install
2017-05-18 12:28:38 +01:00
Adam Cooke
525fd8cc05
update ubuntu 16.04 script
2017-05-18 12:24:16 +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
0ef7d4c0e4
only compile assets on upgrade if they aren't prebuilt
2017-05-18 12:01:05 +01:00
Adam Cooke
bf35d207d6
fixes build script
2017-05-18 10:58:51 +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
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
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
9c1349a844
remove iptables and use setcap in ubuntu install script
2017-05-05 12:07:41 +01:00