Commit Graph

161 Commits

Author SHA1 Message Date
andryyy
155dfc66ee
[Web] Create ACL to toggle permission of a domain administrator to change a domain desc 2020-08-19 15:31:54 +02:00
andryyy
11d003c985
[Web] Change c_o to varchar 500 2020-07-14 16:11:36 +02:00
Miro Rauhala
6bff958ab4
[Web] Clean PHP code by removing unused variables (#3646)
* [WEB] $lang is not used in this context

* [Web] $stmt variable is not used
2020-07-11 13:20:38 +02:00
andryyy
2d049f37da
[Web] Allow mins_interval of max 1 month for sync jobs, fixes #3642 2020-07-08 19:36:05 +02:00
andryyy
a37b4c1b1c
[Web] Set appointment c_uid to 1000 2020-05-12 18:29:24 +02:00
andryyy
ecebfe15df
[Web] Remove External as standard subfolder for sync jobs
[Web] Disallow a domain admin to set intersecting user ACLs
[Web] Allow Pushover and SOGo EAS cache reset by default, disallow profile reset by default
2020-04-19 14:41:55 +02:00
andryyy
47a15c21aa
[Rspamd] Pushover, check sender by regex 2020-04-16 21:58:30 +02:00
andryyy
c67bb75071
[Rspamd] More pushover options 2020-04-16 11:32:53 +02:00
andryyy
8f4540d5d9 [Web] r/o API keys, Pushover integration (can be limited by ACL), other minor changes 2020-04-10 21:00:23 +02:00
andryyy
ef0b40085b
[Postfix] Allow to relay only non-local mailboxes 2020-04-03 20:39:53 +02:00
andryyy
7a4560ee28
[Web] CSS fixes; Add OAUTH2_FORGET_SESSION_AFTER_LOGIN to vars.inc.php (wip); Do not run initdb on non-master cow 2020-03-24 18:46:11 +01:00
André Peters
dcc9dd08a5
Aliases in SoGO will be sorted this way (#3386)
* Aliases in SoGO will be sorted this way

The sender drop down list when writing a new email in SoGO will be sorted with this patch. Currently they are in a pretty random order. I had to manually drop and recreate the view, not sure how to trigger this in Mailcow.

* Update init_db.inc.php

Co-authored-by: André Peters <andre.peters@debinux.de>
2020-03-05 07:16:26 +01:00
andryyy
0ac4281f0e
[Web] Allow to skip IP check for API 2020-02-16 20:08:36 +01:00
andryyy
aa5128997e
[Web] Fix data type for port1 in imapsync 2020-02-16 13:05:55 +01:00
andryyy
cbe4f4ce70
[Web] Minor changes 2020-01-29 10:37:55 +01:00
andryyy
4a72cda789
[Web] Minor hint for future todo 2020-01-12 12:22:57 +01:00
andryyy
653c058e33
[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user) 2019-12-02 11:02:19 +01:00
andryyy
e03cd5f082
[Web] Create events in docker entrypoint of PHP-FPM 2019-11-06 21:02:35 +01:00
andryyy
8783ec4415
[Web] Remove dangling domain admins after deleting domain, fixes #3027 - again 2019-10-11 16:47:39 +02:00
andryyy
6213d6ee02
[Web] Remove dangling domain admins after deleting domain, fixes #3027 2019-10-11 08:25:23 +02:00
André Peters
be9af6fb2a
Update init_db.inc.php 2019-10-09 22:31:41 +02:00
heavygale
a049a1ffac Undo automatic whitespace cleanup 2 2019-10-06 18:59:54 +02:00
heavygale
a997a2e462 Undo automatic whitespace cleanup 2019-10-06 18:56:24 +02:00
heavygale
2e42cfbd5f Added sogo_access acl for domain admin
- new sogo_access acl is added for domain admins
- changing sogo_acces on a mailbox is only allowed if attempted by admin or by an domain admin with sogo_access acl.
- new Mailboxes are created with SOGo access if "$MAILBOX_DEFAULT_ATTRIBUTES['sogo_access'] = true;" AND if created by admin or domain admin with sogo_access acl. Otherwise sogo_access is forbidden for the new mailbox.
2019-10-05 17:29:16 +02:00
andryyy
1c35002505
[Web] Do not allow to add domain admin for non existing domain
[Web] oAuth2 implementation (wip)
2019-10-02 19:00:36 +02:00
andryyy
7a85abdb42
[Web] Prepare for oauth2
[Web] Some lib updates
[Web] Allow to add a footer
2019-09-28 20:00:04 +02:00
andryyy
c3be04560b
[Web] mailbox.php uses dropups
[Web] Allow to set visibility of aliases in SOGo
[Web] Refresh window when session timed out
[Web] Increase default log lines and pagination trigger
[Web] Increase delay when filtering tables
2019-09-22 15:10:56 +02:00
andryyy
893ce5a789
[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default 2019-09-02 11:11:41 +02:00
andryyy
0d8a92a365
[Web] Show ratelimit inheritance
[Web] Do not allow TLS-wrapped next shops (SMTPS) in transports
[Web] Minor fixes or preparations
2019-08-25 16:02:58 +02:00
andryyy
d8dfd5061b
[Web] Minor fixes and changes 2019-08-10 15:57:07 +02:00
Aiko Appeldorn
1634a486fc
[web] increased db version 2019-06-09 12:08:23 +02:00
Kristián Feldsam
b8b6450753 Default quota for mailbox
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2019-05-11 11:16:40 +02:00
hunter-nl
99eb61a449
Update init_db.inc.php
imapsync table column "returned_text" changed into type "longtext". "mediumtext" is to small for imapsync output on large mailbox.
db version value updated.
2019-05-04 12:13:51 +02:00
andryyy
14e57cf80f
[Web] Add ACL for unlimited quota (default 0) 2019-03-30 19:14:24 +01:00
andryyy
07392b7437
[Watchdog] Use stackoverflow.com for DNS check
[Git] Ignore mail_plugins*
[Dovecot] Read mail_plugins from dynamically generated file
[Dovecot] Encrypt FTS
[Dovecot] Add break_imap_seach option to Solr
[Web] Add ability to send quarantine notification mails
[Web] Minor style fixes
[Web] Add new MAILBOX_DEFAULT_ATTRIBUTES (doc updates, anyone? :-( )
[Web] Use rcpt_smtp if rcpt_mime is not set
[Web] Other minor fixes
2019-01-29 00:20:39 +01:00
andryyy
d6efc2fcd3
[Rspamd] Fix metadata_exporter
[Web] Show subjet in quarantine
[Compose] Update Rspamd image
2019-01-17 22:00:18 +01:00
andryyy
8dde735a0a
[Web] Allow to turn off GAL for each domain 2019-01-16 23:41:02 +01:00
André Peters
f3dfe346bf [Dovecot] Allow setting ACL_ANYONE in mailcow.conf 2019-01-16 19:08:19 +01:00
andryyy
b99820d011 [Web] Allow to set transport maps, rename relayhosts to sender-dependent transports 2018-12-20 11:23:35 +01:00
andryyy
77ce1bf43a [Web] Fix init_db, init json when attributes are null
[Web] Do not fail when _sogo_static_view fails to update
2018-11-27 20:00:54 +01:00
root
09a2b2d16d [Web] Fix init_db, init json when attributes are null 2018-11-27 12:51:42 +01:00
andryyy
2515a91ac3 [Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)
[Web] Edit alias domains: use select menu
[Web] Minor fixes
2018-11-14 08:20:56 +01:00
andryyy
d82c2bfdb7 [Web] Adjust mailbox format
[Web] Include IMAP lib for future use
[Web] Fix default exception handler
[Web] Fix sync job edit forms
[Web] Other minor fixes
2018-11-12 10:03:50 +01:00
andryyy
f8ff0afbc6 [Web] Fix init_db for older mailcow installations, fixes #1961 2018-10-28 20:57:21 +01:00
André Peters
3094dd3822
[Web] Cleanup _sogo_static_view and memcached 2018-10-24 22:32:05 +02:00
André
e30dfd6751 [Web] Queue manager for Postfix
[Web] Add sogo_access mail attribute
[Web] Allow to wipe SOGo profiles
2018-10-23 21:14:57 +02:00
André
9f0be1d8a8 [Web] Fix require_once to always include document root
[Web] Add system mails (send mails to all mailboxes via LMTP)
[Web] Allow to add more administrators
[Web] Fix domain administrator editing
[Web] Remove some foreign keys
[Web] Remove username from API
[Web] Remove more .php extension from code
[Web] More minor fixes
2018-10-11 11:59:23 +02:00
André
f5799faf6d [Web] Feature: TLS policy maps
[Web] Avoid php extensions in links
[Web] Minor fixes
2018-10-04 14:38:12 +02:00
André
0fb43f4916 [Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
André
a5488d4ba6 [Web] Fix init db on fresh installations 2018-09-10 16:23:08 +02:00
André
c9554ca022 [Compose] Update watchdog image
[Watchdog] Fix IP detection with multiple networks
[Web] Show API field (no docs, no support, wip)
[Web] haveibeenpwned.com implementation
[Web] User and domain admin ACL (no docs, no support, wip)
[Web] Some minor fixes
2018-09-09 21:18:38 +02:00
Michael Kuron
140326012c
Fix length of remote column in logs table
Otherwise a full non-anonymized IPv6 address won't fit
2018-08-19 10:07:44 +02:00
André
6498fb0b39 [Web] Change alias to TEXT field 2018-08-16 12:42:12 +02:00
André
2c58323e36 [Web] Fix database init 2018-08-15 14:16:55 +02:00
André
a11cce6765 [Web] Fixes for BCC map input fields
[Web] Allow to edit alias address
[Web] $_SESSION['return'] now contains arrays and allows multiple returned messages and log entries
[Web] Some language string changes
[Web] General SQL exception handler, remove all try catch handlers
[Web] Alias table now has an ID as primary key
[Web] Be more aggressive with localStorage cleaning
2018-08-13 23:20:40 +02:00
André
73f880ffba [Web] Workaround for missing function when using API (fixes #1640)
[Web] Fixes SQL error on admin username change
2018-08-05 22:31:53 +02:00
André
7f86a80670 [Web] Fix log line handling
[Web] Add mailcow UI logs
[Web] Changes to _SESSION['return'] logic and logger (more to come)
[Web] Show last login
[Web, Postfix] Allow to disable sender check completely
[Web] Many minor fixes
[Web] Update some libs
2018-08-03 20:31:33 +02:00
André
6f656c39b4 [Web] Do not use hard-coded params in imapsync jobs
[Web] Allow custom parameters in imapsync
2018-07-27 22:19:59 +02:00
André
d4ce918b89 [Web] Add static view table for SOGo 2018-07-11 22:14:07 +02:00
André
02b1226312 [Web] Move Rspamd UI settings from debug to "Access" section
[Web] Move Rspamd settings map from debug to "Configuration" section
[Web] Some minor fixes to JS and PHP
[Web] Feature: Allow to set Rspamd settings from web UI (includes 2 presets)
[Web] Add missing primary keys
2018-06-23 23:50:22 +02:00
André
2ee983c1a1 [Web] Fix implementation of multiple bookings for resources, fixes #1358 2018-05-06 21:51:00 +02:00
André
60910c496c [Web] Fix init db 2018-05-06 14:30:06 +02:00
André
d13539a9ad [Web] Add primary keys for all tables 2018-05-06 09:15:12 +02:00
André Peters
39f289fc3c [Web, Dovecot, Postfix] Fix JSON attribute for login 2018-02-19 10:17:29 +01:00
André Peters
2284a35658 [Web] Apply fix for renaming quarantaine 2018-02-17 11:46:38 +01:00
André Peters
f29451f03c [Web] Further work on attributes 2018-02-17 10:40:20 +01:00
André Peters
090ef6dbc5 [Web] Further work on attributes 2018-02-17 10:34:18 +01:00
André Peters
0b4333ca6b [Web] JSON must not have a default value 2018-02-17 10:18:07 +01:00
André Peters
b81930e416 [Web] Database schema test 2018-02-17 09:50:39 +01:00
André Peters
1f09544f32 Fix conflict 2018-02-16 22:44:02 +01:00
André Peters
2865c892a6 [Multi] Fixes #1058 by including a 'force password update' option and also introduces a attributes json object to be used for further mailbox configurations in the future 2018-02-16 22:40:51 +01:00
André Peters
7a69586d91 [Web] Do not break init_db when switching branches 2018-02-11 15:59:58 +01:00
André Peters
a50036477e [Web] Mind was set to french, reverting to english 2018-02-08 20:13:36 +01:00
root
fae542534d Merge remote-tracking branch 'origin/master' into dev 2018-02-08 19:54:14 +01:00
André Peters
1226eecfa1
Update init_db.inc.php 2018-02-08 11:49:52 +01:00
Joshua Hesketh
2fc13bdfbe Fix imapsync for large mailboxes
Where there is a lot of folders in a mailbox the output may be larger
than TEXT will allow (64KiB). Instead use MEDIUMTEXT (16MiB) which
should be ample.

Additionally check that a sync isn't already running before starting
a new one.

Fixes: #1011
2018-02-08 15:24:04 +11:00
andre.peters
b2032c0e8a [Web] Hide up time of containers that are missing
[Web] Rename fail2ban logs to netfiter logs
[Web] Adding timeout to curl requests for dockerapi, fixes #981
[Web] Removed cow from favicon
2018-02-01 13:28:17 +01:00
Michael Kuron
c30448c4d8 Merge branch 'master' of https://github.com/andryyy/mailcow-dockerized into recipient_map
Conflicts:
	data/web/inc/init_db.inc.php
2018-01-27 17:22:08 +01:00
andre.peters
04f9d74339 [Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955 2018-01-24 12:59:11 +01:00
Michael Kuron
e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00
andre.peters
08c8976a95 [SOGo] Show shared aliases and "allow to send as" addresses as FROM fields in SOGo 2018-01-21 14:58:16 +01:00
andre.peters
34b7ab7104 [Web] Add DNS diagnostics as modal, some minor fixes, todo: Detect IPv4/6 by multiple sources and random selection 2018-01-02 18:17:27 +01:00
andre.peters
6c67b9df82 Replace name by IP, remove unused tables 2017-12-09 22:30:18 +01:00
andre.peters
adc23d86f9 Various... 2017-12-09 13:17:15 +01:00
André
ade4b9e7ae [Postfix, Web] Feature: BCC maps 2017-11-19 15:13:43 +01:00
André
a5abca4c34 [Web] Create new id on sieve filter update by using md5, fixes #750 2017-11-14 21:11:36 +01:00
André
d0df8b57d1 Remove space... 2017-11-14 19:54:31 +01:00
André
f368954418 [Web] Fix init_db, take 2 2017-11-14 13:29:02 +01:00
André
4d6ddc1db4 [Web] Fix init db 2017-11-14 12:37:08 +01:00
André
60e97503f7 [Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values 2017-11-08 11:07:32 +01:00
André
85d1ee2f49 [Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute 2017-11-03 20:37:24 +01:00
André
db5a3ae47f [Web] Start work on ACL; [Helper] Nextcloud helper script 2017-10-26 10:21:12 +02:00
andryyy
a837c9ab53 [Web] Better fkey handling in init_db; set body font size to 11pt instead of 14px; Changes to autodiscover functions 2017-10-02 15:58:55 +02:00
andryyy
c63fb8b11a [Web] Init db fix for c_location 2017-09-15 07:55:23 +02:00
andryyy
c75f16c97c [Web] Fix initial admin creation 2017-09-14 22:45:17 +02:00
andryyy
71070fbe86 [Web] Fix admin injection query 2017-09-12 22:48:12 +02:00
andryyy
3ab6fc21c6 [Web] Init user_acl after mailbox table 2017-09-10 13:48:53 +02:00
andryyy
08d6b97ffa [Dovecot] New Dovecot and Pigeonhole versions; include delete2 option in imapsync 2017-08-31 10:36:10 +02:00
andryyy
66ae588445 [Web] Started work on ACL, fix notifications 2017-08-18 22:18:14 +02:00
andryyy
83d485dd94 [Web, Postfix, Compose] Allow to add relayhosts per domain (+ plain and login authentication) 2017-07-22 20:39:54 +02:00