Commit Graph
100 Commits
Author SHA1 Message Date
downtownallday 9a9a699be6 Merge branch 'reporting' into postgrey-whitelist 2021-04-09 07:35:13 -04:00
downtownallday 82e06a6f15 Include remote_host, remote_ip and failure_info with user's received mail details 2021-04-09 07:33:49 -04:00
downtownallday 0ec968c3b6 Fix model update on create and activate 2021-04-09 06:44:25 -04:00
downtownallday 606e5e0569 Better handling of timeseries containing just one value 2021-04-08 14:43:35 -04:00
downtownallday 26319ac59b Add 'today' and 'yesterday' to date range picker 2021-04-08 14:41:53 -04:00
downtownallday b4c2cdef7d Include IMAP connection records in overall db stats table 2021-04-08 13:29:04 -04:00
downtownallday 721dd1273f Add IMAP connection reporting
Fix binsizes and barwidths on timeseries charts
Fix timezone issue in timeseries scales
2021-04-08 12:53:32 -04:00
downtownallday ac811bcbd1 Add some test scripts 2021-04-07 18:11:21 -04:00
downtownallday 2b3c2fcc02 Fix slowness when typing in search box 2021-04-07 18:03:50 -04:00
downtownallday 33ea865d65 Capture Dovecot logs 2021-04-07 18:03:06 -04:00
Downtown Allday b92135a543 Merge pull request #12 from downtownallday/reporting
Additional pre-configured date ranges
2021-04-07 09:41:26 -04:00
downtownallday 87cc106574 Add 'last 7 days' and 'last 30 days' to report date range dropdown 2021-04-07 09:25:26 -04:00
downtownallday 3be7ba7c86 Set the default interface for bridged networks to avoid interactive 'vagrant up'.
Thx to https://stackoverflow.com/questions/33250304/how-to-automatically-select-bridged-network-interfaces-in-vagrant
2021-04-07 09:24:12 -04:00
downtownallday ff6cdf14f6 Merge branch 'master' into reporting 2021-04-07 08:28:31 -04:00
downtownallday 002c4edb88 Fix table alignment 2021-04-07 08:27:22 -04:00
downtownallday b7faafca6b Only consider messages that weren't rejected 2021-03-17 15:33:16 -04:00
downtownallday 8a6f962b3e Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	setup/management.sh
2021-02-28 12:47:10 -05:00
downtownallday e5d762da38 Don't report the api key to syslog 2021-02-19 05:22:35 -05:00
downtownallday 226e59415a Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2021-02-19 04:14:20 -05:00
downtownallday 3c676fd2c1 Merge branch 'master' into reporting 2021-01-31 17:16:34 -05:00
downtownallday 810bf15a43 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
#	setup/management.sh
2021-01-31 16:56:49 -05:00
Downtown Allday 511593ed71 Merge pull request #8 from downtownallday/reporting
This is working well. More features can be added over time.
2021-01-31 16:37:17 -05:00
downtownallday 2b44fe4a12 Only show alias if one 2021-01-14 15:00:29 -05:00
downtownallday 9b89a5c504 Better handling of mail addressed to an alias 2021-01-13 22:29:16 -05:00
downtownallday 523a63f776 Make the default table row limit 500 instead of 1000 2021-01-12 09:22:41 -05:00
downtownallday 3e2858f5de Change wording 2021-01-12 09:22:22 -05:00
downtownallday a392dca264 Merge branch 'master' into reporting 2021-01-11 21:50:58 -05:00
downtownallday a395b1c48f Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2021-01-11 21:30:10 -05:00
downtownallday 2a0e50c8d4 Initial commit of a log capture and reporting feature
This adds a new section to the admin panel called "Activity", that
supplies charts, graphs and details about messages entering and leaving
the host.

A new daemon captures details of system mail activity by monitoring
the /var/log/mail.log file, summarizing it into a sqllite database
that's kept in user-data.
2021-01-11 18:02:07 -05:00
downtownallday 73a2b72243 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-12-29 07:57:08 -05:00
downtownallday 3656ad9b9c Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	setup/dkim.sh
#	setup/spamassassin.sh
2020-12-26 08:16:22 -05:00
downtownallday e7c5a841aa Merge branch 'jvolk-spf-opendd' 2020-12-26 07:55:30 -05:00
downtownallday 86f3eee23f Removing Travis CI completely in favor of local vagrant/virtualbox tests.
See tests/pararlell.sh and tests/Vagrantfile for local tests.

There are several reasons for this change:

1. Travis is now charging for the service, even for open source projects, contrary to what they promised in the past
2. It has been problematic and difficult to debug/diagnose issues
3. Tests that involve upgrading the operating system itself (eg. Bionic to Focal) are not possible
2020-12-21 09:24:42 -05:00
downtownallday 3a98a993bd Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-12-21 09:22:58 -05:00
downtownallday f5521b45b5 Add tests for dmarc reject and spf softfail 2020-12-21 08:46:12 -05:00
downtownallday 4cc672e852 Modify the handling of SPF checks and spam rules for policyd-spf 2020-12-21 08:44:10 -05:00
downtownallday 4c9bae5176 Create a default "pre-commit" set of virtual machines 2020-11-27 16:51:10 -05:00
downtownallday 24c156c594 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	setup/management.sh
2020-11-27 16:50:12 -05:00
downtownallday a0dd58d29e Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-11-17 07:46:22 -05:00
downtownallday 74a2f89cff Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2020-11-14 12:44:09 -05:00
downtownallday 4661a29248 Merge remote-tracking branch 'jvolkenant/1755_spf_opendmarc_opendkim_sa' into jvolk-spf-opendd 2020-11-06 09:27:41 -05:00
downtownallday f81e0d0a85 syncing up box creation with ciab (prepping for focal) 2020-11-05 21:07:50 -05:00
downtownallday 679e660018 include miab vars 2020-11-05 17:44:48 -05:00
downtownallday 1a56495659 load qa/test dependencies 2020-11-05 17:36:12 -05:00
downtownallday 0f20b97709 looks like miab 'auto' setting won't work on travis 2020-11-05 16:48:36 -05:00
downtownallday 87142fb194 change comment 2020-11-05 16:33:44 -05:00
downtownallday 68ac593d7f load vars ahead of functions 2020-11-05 16:32:23 -05:00
downtownallday c8ab05ebf1 skip network checks 2020-11-05 16:31:50 -05:00
downtownallday e43c01e6fe Enable caching of Nextcloud downloads as well as downloading Nextcloud from github instead of Nextcloud servers 2020-11-05 16:19:42 -05:00
downtownallday 5a023f7868 Ensure system php is used 2020-11-04 14:26:20 -05:00
downtownallday 4fdbad5ef8 Be ciab-aware and use php version used by nextcloud 2020-11-04 14:13:59 -05:00
downtownallday aeb27f74e3 Break out MiaB-LDAP code from _init.sh so _init.sh can be shared with cloud-in-a-box 2020-11-02 12:59:59 -05:00
downtownallday 34d968a2cd Prep for ubuntu 20.
This file is shared with cloud-in-a-box, which will support ubuntu 20 before MiaB-LDAP.
2020-11-02 12:57:57 -05:00
downtownallday b634188ac0 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	management/daemon.py
#	management/mfa.py
2020-10-31 11:43:35 -04:00
downtownallday ad3174f08e Merge branch 'totp' 2020-10-31 11:39:35 -04:00
downtownallday 484ffd64ec do upgrade tests against maib master 2020-10-31 11:32:28 -04:00
downtownallday d1110c4c02 merge from upstream 2020-10-31 11:31:44 -04:00
downtownallday a7370beae0 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/daemon.py
#	management/mfa.py
2020-10-29 16:56:36 -04:00
downtownallday 521b72653c Fix #4 2020-10-26 15:46:19 -04:00
downtownallday 9057c12c38 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-10-16 21:07:36 -04:00
downtownallday 6589a31883 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-10-13 20:22:18 -04:00
downtownallday a78e6eb3fa Speed up vm creation 2020-09-30 13:33:40 -04:00
downtownallday f6b04b314f Add totpMruTokenTime to upgrade 2020-09-30 11:50:49 -04:00
downtownallday 100acb119b Add a totpMruTokenTime value to record the time when the mru token was used
Use the totpMruTokenTime as the id to uniquely identify a totp entry
2020-09-30 11:00:58 -04:00
downtownallday a5ebd07549 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/mfa.py
2020-09-30 09:05:03 -04:00
downtownallday 5deb88ab60 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/daemon.py
#	management/mfa.py
#	setup/mail-users.sh
2020-09-29 22:20:15 -04:00
downtownallday 60771b7615 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-09-29 09:12:25 -04:00
downtownallday e2dea39e5b Advance the x-ordered counter 2020-09-29 08:55:32 -04:00
downtownallday 75fb6d2a5d Rename a function 2020-09-29 08:55:04 -04:00
downtownallday 18d9cd99ea Restart management daemon in case it was already started 2020-09-29 08:54:16 -04:00
downtownallday 2bdcbc9b6c Run upgrade tests before default ones 2020-09-29 08:52:33 -04:00
downtownallday 37777ae904 Add a vagrant vanilla install with port forwarding 2020-09-29 08:33:57 -04:00
downtownallday 042e8b4a56 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp 2020-09-28 23:25:29 -04:00
downtownallday 00fc94d3c1 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/daemon.py
#	management/mailconfig.py
#	setup/mail-users.sh
2020-09-28 23:25:16 -04:00
downtownallday a79c7fce91 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2020-09-26 08:03:12 -04:00
downtownallday cf888d3f30 Set miab-ldap migration version during first-time setup 2020-09-16 09:39:49 -04:00
downtownallday 7c29628530 Separate miab and miab-ldap migrations
Add tests for migrating from miab w/totp (migration 13) to miab-ldap
2020-09-16 09:00:27 -04:00
downtownallday b3e789a4e2 Migrate TOTP secrets 2020-09-15 07:51:27 -04:00
downtownallday b6ba3a054c Fix regexp: \d => [0-9] 2020-09-12 20:07:50 -04:00
downtownallday d68a89af61 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/mailconfig.py
2020-09-12 19:44:22 -04:00
downtownallday 14b6ab4262 Add a simple command-line "authenticator app" for testing 2020-09-10 18:20:31 -04:00
downtownallday 752da93a37 Refactor: move code for obtaining totp tokens to tests/lib/totp.sh 2020-09-10 18:19:29 -04:00
downtownallday c0431474c9 Detect warning ahead of errors 2020-09-10 17:50:06 -04:00
downtownallday 445cd812e6 Check system logs for errors 2020-09-10 17:07:33 -04:00
downtownallday c6816d5641 Fix comment 2020-09-10 17:05:56 -04:00
downtownallday ba85b6fd7b Ignore named connection reset error and reduce reported slapd log output 2020-09-10 16:35:19 -04:00
downtownallday 5852a7aabb Add QA tests for TOTP 2020-09-10 15:24:47 -04:00
downtownallday 24ae913d68 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/daemon.py
#	setup/mail-users.sh
#	setup/management.sh
#	setup/migrate.py
2020-09-10 15:23:27 -04:00
downtownallday b10f82152a Add message regarding errors during roundcube carddav refresh 2020-09-06 09:26:42 -04:00
downtownallday caf90702cc Wording changes 2020-08-29 06:57:33 -04:00
downtownallday da7468a6b3 Fix unbound variable 2020-08-28 18:14:14 -04:00
downtownallday f49590d52a Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2020-08-26 16:17:28 -04:00
Downtown Allday 52aa77f624 Merge pull request #2 from downtownallday/user-displayname
Add a display name field to user accounts
2020-08-25 17:11:06 -04:00
downtownallday 07d83d1e5c Make installed state comparisons ignore new user and alias attributes when comparing MiaB to MiaB-LDAP 2020-08-25 16:36:01 -04:00
downtownallday 5eb008cae9 Skip system updates if SKIP_SYSTEM_UPDATE environment variable is set to "1" 2020-08-25 16:34:56 -04:00
downtownallday 2b2856b517 Fix wording 2020-08-25 16:33:20 -04:00
downtownallday 191b575ab2 Add a display name for users, saved as 'cn' in LDAP 2020-08-25 16:33:06 -04:00
downtownallday 05f4164793 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-08-25 12:37:37 -04:00
Downtown Allday 17048a624d Merge pull request #1 from downtownallday/alias-comments
Add comment/description for aliases
2020-08-25 12:36:42 -04:00
downtownallday 1fb9316904 spaces -> tabs 2020-08-25 12:21:11 -04:00