Commit Graph

968 Commits (14a2a266a1388b195c7cdf419f6ec65c046069a6)

Author SHA1 Message Date
emericklaw 12d46cf072
Updated to not convert quotes
I missed using ENT_NOQUOTES since XML only needs & and <> to be replaced in tags, spotted by @mkuron
2019-05-03 17:54:33 +01:00
emericklaw 472a99ff00
Handle mobileconfig display names with special characters
If the account display name contained special characters like & the mobileconfig would fail to import on the iOS device.
2019-05-03 13:31:10 +01:00
Geitenijs 9dc7d05fa4
Update lang.nl.php 2019-05-01 17:54:27 +02:00
André Peters 48984270dd
Merge pull request #2569 from Howaner/quarantine-domain-alias
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
2019-05-01 15:54:46 +02:00
Howaner 5bb7b5b368 Fixed XSS 2019-05-01 01:03:16 +02:00
Howaner 17918b3e21 Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
If a mail is sent to a domain alias domain and rejected, mailcow does not currently store the mail in quarantine.
This commit adds domain alias handling to the reject code and should fix this behavior.

Also added displaying of recipient addresses into the quarantine mail dialog to be able to see what mail address was "leaked".
2019-05-01 00:56:12 +02:00
andryyy 59a8a3864a
[Web] Minor fixes 2019-04-30 22:51:17 +02:00
André Peters 18729e2b49
Merge pull request #2567 from Howaner/mailpreview-fix
Updated php-mime-mail-parser library to 5.1 to really fix webui html preview
2019-04-30 22:49:25 +02:00
Howaner 9ce80d0eb5 Updated php-mime-mail-parser library to 5.1 to really fix webui html preview 2019-04-30 21:41:56 +02:00
André Peters 7c5094b8ec
Update 014-mailcow.js 2019-04-29 20:24:35 +02:00
André Peters b6607e090e
Update 014-mailcow.js 2019-04-29 19:43:30 +02:00
Howaner 4bac1da451 Updated php-mime-mail-parser library to 5.0 to fix webui html preview
Preview versions of php-mime-mail-parser uses iconv for the most cases and iconv isn't properly supported in alpine php
2019-04-28 20:22:37 +02:00
andryyy 3e3e526568
[Dovecot] Update to 2.3.5.2
[Compose] Update Dovecot image
2019-04-25 18:10:28 +02:00
andryyy 9b303dcc0e
[Dovecot] Set default_vsz_limit = 1024 M
[Web] Form cache for user passwd change modal disabled
2019-04-24 14:46:45 +02:00
Kristián Feldsam be2877c875 JSON API Consume json in request body.
Draft docs https://feldhostmailhosting.docs.apiary.io

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2019-04-20 21:57:39 +02:00
andryyy c8047b9555 [Web] Change session timeout handling
[Rspamd] Add missing spamassassin.conf
2019-04-14 13:01:47 +02:00
andryyy e94c9e1ca6
[Web] Fix class for full mailbox 2019-04-05 13:08:16 +02:00
Carlos Ferreira 5ddd37956f
Fix HTML bug with French language 2019-04-04 21:03:50 +02:00
andryyy 82f7cab259
[Web] Fix totp qr code, fixes #2490 2019-04-01 22:17:44 +02:00
andryyy 79bde4f702
[Web] Fix UTF-8 symbol 2019-03-31 19:44:24 +02:00
André Peters 987e884407
Merge branch 'master' into admin-login 2019-03-31 15:49:18 +02:00
andryyy 14e57cf80f
[Web] Add ACL for unlimited quota (default 0) 2019-03-30 19:14:24 +01:00
andryyy 67d6957265
[Web] Show unlimited quota in user view 2019-03-28 23:04:24 +01:00
andryyy 49492dff61
[Web, Dovecot] Allow empty/unlimited quota 2019-03-28 22:05:12 +01:00
andryyy 31f59eb2db
[Web] Update bootstrap slider 2019-03-25 12:34:53 +01:00
andryyy 3c4c760e29
[Web] Allow logout with broken session
[Web] Try to set aria hidden to false when a modal opens
2019-03-25 12:33:58 +01:00
Marcel Hofer 7d2289c3a7 Merge branch 'master' into admin-login
# Conflicts:
#	data/web/js/site/mailbox.js
2019-03-23 21:17:02 +01:00
andryyy 6a13609bf0
[Web] Fix slow UI by switching QR provider and only generating qr image on demand 2019-03-19 08:45:08 +01:00
andryyy 1fcecd0350
[Web] Fix js when adding resource
[Web] Reload view and memcached when changing a resource
2019-03-18 10:16:33 +01:00
André Peters 3d8a46357b
Merge branch 'master' into admin-login 2019-03-18 02:03:59 +01:00
andryyy d8dbcfac92
[Web] Continue when a check in add_alias fails
[Web] Fix "null" output in mailbox table when comments are missing
[Update] Remove obsolete check/replace command
2019-03-14 01:46:15 +01:00
Kristián Feldsam 9d57583624 Quarantine - Enhanced JS + Show btn fix event binding
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2019-03-12 21:56:59 +01:00
André Peters ae19d81f2d
Merge branch 'master' into admin-login 2019-03-10 10:38:42 +01:00
andryyy a70663d64e Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-03-10 10:27:00 +01:00
andryyy 78b2bde942
[Web] Change core to dovecot-fts 2019-03-10 10:20:49 +01:00
André Peters 216451ed43
Merge branch 'master' into admin-login 2019-03-10 09:51:12 +01:00
andryyy c7c115d63a
[Solr] Use fixed, recommended schema but add EdgeNGramFilterFactory 2019-03-10 09:40:04 +01:00
Faisal Misle 184f27701c
Update vars.inc.php
Updated SOGo access default explanation
2019-03-09 16:17:11 -06:00
andryyy 15970ab8dc
[Postfix] Fix sasl_passwd query from alias domain, fixes #2410
[Web] Major fix, added a line break!
[Compose] Update Postfix image
2019-03-09 11:22:39 +01:00
andryyy c792bbcbab
[Rspamd] make upstream an object 2019-03-07 00:05:55 +01:00
andryyy ac6e379f09
[Web] Fix bootstrap pathes 2019-03-06 15:11:40 +01:00
andryyy 52890e113f
[Web] Update bootstrap to 3.4.1, fixes #2381 2019-03-03 12:07:33 +01:00
andryyy 1e79ea6c7e
[Web] Fix transport_check over port 465, fixes #2386 2019-03-02 20:32:12 +01:00
Marcel Hofer 6a7b4387eb allow multiple concurrent admin logins 2019-03-02 12:32:10 +01:00
Marcel Hofer 965577c5d8 fix path check 2019-02-27 23:16:23 +01:00
Marcel Hofer fa80d66d6c match EAS and SOGO/dav case insensitive 2019-02-27 23:14:30 +01:00
Marcel Hofer a110378000 always check basic auth against user database for EAS and SOGo if ALLOW_ADMIN_EMAIL_LOGIN is enabled 2019-02-27 23:06:19 +01:00
Marcel Hofer e2f39df7d8 remove obsolete code, use openssl instead of `cat /dev/urandom` 2019-02-26 20:44:53 +01:00
andryyy 97adcbe5f8
[Web] Strip < and > from start/end of full name 2019-02-26 09:23:16 +01:00
Marcel Hofer dd6d253ac0 add random masterpass for sogo admin login
add required headers for sogo proxy auth with password
add SOGoEncryptionKey
add SOGoTrustProxyAuthentication only conditionally if feature is enabled
2019-02-26 09:02:35 +01:00
André Peters 4482aee747
Update sogo-auth.php 2019-02-24 00:15:09 +01:00
André Peters 88fbc6bf16
Update sogo-auth.php
Consistency again. :)

I moved the prerequisites require_once to the top, ok?
2019-02-23 22:26:41 +01:00
Marcel Hofer cac67db203 add config ALLOW_ADMIN_EMAIL_LOGIN and implement password-less SOGo login admins 2019-02-23 17:59:18 +01:00
gummipunkt 4e4ed9c1aa
Update lang.de.php 2019-02-21 21:58:03 +01:00
andryyy 30153f29cc
[Web] Changes to user interface (using tabs now) 2019-02-15 20:20:14 +01:00
vain90 d7aaa67e2e
Move unset https_port after include of vars local inc 2019-02-14 23:10:46 +01:00
André Peters 343e5e2cb1
[Web] Update lang.nl.php 2019-02-13 21:03:29 +01:00
andryyy 54dfb5c450 [Web] Unset https_port after vars local inc
[Compose] New Dovecot image
2019-02-12 19:01:37 +01:00
André Peters d29adbae02
Update autodiscover-json.php 2019-02-11 13:52:24 +01:00
eXtremeSHOK d3f382c558
Fix: AutoDiscover issue with Outlook 2019
Fixes #2300
2019-02-11 14:50:37 +02:00
Geitenijs 8b3b3a8b31
Update lang.nl.php 2019-02-10 19:53:36 +01:00
Geitenijs 86c830e1e6
Update lang.nl.php 2019-02-10 19:49:30 +01:00
Geitenijs 037c62be3a
Update lang.nl.php 2019-02-10 19:41:21 +01:00
Geitenijs c1b3cb662e
Update lang.nl.php 2019-02-10 19:36:07 +01:00
Geitenijs 5a3f2c9d67
Update lang.nl.php 2019-02-10 15:59:38 +01:00
andryyy a91aeb2500 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-02-09 23:50:16 +01:00
andryyy 38c939c4d2
[Web] Fix quota notificate html template saving 2019-02-09 23:49:06 +01:00
Geitenijs 131cc00d5d
Update lang.nl.php 2019-02-09 20:32:42 +01:00
André Peters 99bcd218ba
Merge pull request #2229 from heavygale/patch-5
Forward mailcow-ui-domain to the docs
2019-02-08 20:58:10 +01:00
andryyy 4252164487
[Web] Remove E_ALL error reporting 2019-02-08 20:56:26 +01:00
andryyy ff9113b35f
[Web] Fix for last value of array in vars
[Compose] Update Solr and Unbound images
2019-02-08 20:55:05 +01:00
Timo N c1c2dc302a
[WEB] Update Yubico lib 2019-02-08 06:49:12 +01:00
andryyy a908b2da6e
[Web] Fix shared alias displain in user view, fixes #2274 2019-02-07 22:37:26 +01:00
andryyy d60c6a4e56
[Web] Fix shared alias displain in user view, fixes #2274 2019-02-07 22:37:11 +01:00
andryyy 5efdf71120
[Nginx] Add qhandler rewrite
[Web] Move theme header include, fixes #2267
2019-02-06 10:14:56 +01:00
andryyy 030d5068f3
[Web] Add quick actions handler for quarantine, add trigger 2019-02-06 09:29:00 +01:00
andryyy e140979aac
[Web] Add quick release/delete functions 2019-02-06 09:28:22 +01:00
andryyy c111c4e429
[Web] Delete from quarantine and user_acl when deleting mailbox 2019-02-06 09:24:13 +01:00
andryyy 4a1362fc4d
[Web] Minor alias overview fix 2019-02-06 09:23:44 +01:00
andryyy b74226a9dc
[Web] Fix return for unban/ban actions via API 2019-02-06 09:23:01 +01:00
andryyy f8d26d9415
[Web] Remove broken logger examples 2019-02-06 09:22:13 +01:00
andryyy 243389a9d5
[Web] Update lang 2019-02-06 09:21:10 +01:00
andryyy 499c426b97
[Web] Allow to mass-change TLS policy and quarantine notifications in /mailbox 2019-02-06 09:20:58 +01:00
andryyy 78d0deed94
[Web] Lang updates
[Web] Minor fixes
2019-02-05 10:37:28 +01:00
andryyy 1e764009bf
[Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !)
[Web] Some PHP fixes (warnings, notices)
[Web] Add quota notification tools
2019-02-05 00:10:21 +01:00
andryyy 21741dc061
[Web] Update bootstrap slider javascript
[Web] Minor JS changes and fixes
2019-02-05 00:07:34 +01:00
andryyy 9eafde0b3b
[Web] Add woff2 PT Sans font file
[Web] Fix minor font issues
[Web] Update bootstrap slider
2019-02-05 00:06:34 +01:00
andryyy 9f2a6f13a5
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-02-04 23:45:54 +01:00
andryyy a599536499
[Web] Various session fixes 2019-02-04 22:34:03 +01:00
André Peters 0cd412d25b
Merge pull request #2255 from Geitenijs/patch-2
Update lang.nl.php
2019-01-31 23:42:30 +01:00
andryyy 635e694ffa
[Web] Fix quarantine subject 2019-01-31 22:25:17 +01:00
andryyy d7f169cc2f
[Web] Further improvments, minor fixes 2019-01-31 17:07:24 +01:00
andryyy f5ca46f6d8 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-01-31 15:52:13 +01:00
andryyy ea83f72981
[Web] Minify more resources, fix missing JS 2019-01-31 15:45:31 +01:00
Guilherme Capanema de Barros 6f7e47ee40
Adds missing values to alias INSERT statement.
public_comment and private_comments were missing from the VALUES array in PDO prepare statement.
2019-01-31 09:38:18 -02:00
Geitenijs 37d43acc65
Update lang.nl.php 2019-01-31 11:50:09 +01:00
andryyy d17d823e0d Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-01-30 22:59:52 +01:00
andryyy 5249942121
[Web] Remote SourceSansPro, remove css style 2019-01-30 22:46:25 +01:00
andryyy ad0df77d28
[Web] Minify css and js via PHP
[Web] Use PT Sans
[Web] Update some libs
2019-01-30 12:10:26 +01:00
Tii 40061ff6af Don't check for firefox, only check for u2f browser API 2019-01-30 00:16:30 +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
heavygale de72ef065a Forward mailcow-ui-domain to the docs
We need a additional variable for the mailcow-ui-domain, if the domain used for the mailcow ui differs from the hostname. Otherwise our users will get the login promt, when they try to access the mobileconfig file.
2019-01-26 22:31:28 +01:00
andryyy 520a3f94cc [Web] Update lang 2019-01-23 10:46:06 +01:00
André Peters 6b89927f6e
[Web] Lower compose project name, fixes #1994 2019-01-23 10:29:58 +01:00
Dirk Weise f7f6584e3a
Fix german lang glitch
There is no adjective "klartext".  🤓
![grammar police](https://i.imgflip.com/1j57fn.jpg)
2019-01-22 14:27:33 +01:00
andryyy 4235d8a1d1 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-01-19 11:58:32 +01:00
andryyy fb49385e55 [Web] Lang updates 2019-01-19 11:58:30 +01:00
André Peters 38391d2cc3
Merge pull request #2197 from Geitenijs/patch-1
Update lang.nl.php
2019-01-19 11:58:03 +01:00
André Peters ba06810b84
[Web] Fixed typo in lang.de.php 2019-01-19 11:53:11 +01:00
andryyy af49a41ff6
[Web] Remember FooTable settings by using state plugin, fixes #2122 2019-01-19 08:25:05 +01:00
Geitenijs 77111353ba
Update lang.nl.php 2019-01-18 18:06:19 +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
andryyy 6dbfa4cf6f
[Web] Update lang strings 2019-01-16 22:20:01 +01:00
andryyy f924f9b5cd
[Web] Minor fix in return 2019-01-16 19:11:23 +01:00
andryyy 2d07a0d6e6
[Web] Delete index data from Solr when deleting mailbox 2019-01-16 19:10:47 +01:00
André Peters f3dfe346bf [Dovecot] Allow setting ACL_ANYONE in mailcow.conf 2019-01-16 19:08:19 +01:00
andryyy b685499b22
[Web] Delete network from whitelist when adding it to the blacklist 2019-01-10 22:17:09 +01:00
andryyy 7686171905 [Web] Revert password policy, fixes #2163 2019-01-09 08:43:56 +01:00
andryyy 53e8bf537b
[Web] Save filter objects 1:1 to database 2019-01-08 13:00:34 +01:00
Samy c2432ef28f
Fixed typo in lang.de.php 2019-01-08 10:20:48 +01:00
andryyy 75d5de016a Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-01-02 21:28:52 +01:00
andryyy ca9c610460
[Web] Apple mobileconfig enhancements by @feldsam 2019-01-02 21:28:22 +01:00
Phoenix Eve Aspacio 37cd8963da
do not overflow.
use horizontal scrollbars instead.
2018-12-31 18:56:08 +08:00
André Peters a77493bda3
Merge pull request #2133 from mseed/cs-lang2
Language support update
2018-12-30 10:27:34 +01:00
andryyy c1eed1d406 [Web] Hide self-edit passwords of domain admins, fixes #2135 2018-12-29 15:11:32 +01:00
Radek Tříška fec89cbc19 Language support update 2018-12-28 21:40:58 +01:00
andryyy ebaa441f0e [Web] Fix for the fix of transport map checks 2018-12-23 14:16:55 +01:00
andryyy 69447da1fe [Web] Remove unnecessary check for transport maps 2018-12-23 13:10:37 +01:00
Radek Tříška 2c2cd62307
Update lang.en.php 2018-12-22 02:34:19 +00:00
Radek Tříška e58fac9657
Update lang.cs.php 2018-12-22 02:33:09 +00:00
andryyy 161a72dc8e Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-12-21 13:17:20 +01:00
andryyy f17a4025ea [Web] Add more details for transport maps 2018-12-21 13:12:06 +01:00
andryyy 6dc2a0ee1a [Web] More checks and fixes for transport maps 2018-12-21 12:48:30 +01:00
andryyy 232d4770bc [Web] Fix some language strings 2018-12-21 10:48:55 +01:00
andryyy ad90496169 [SOGo] Add logo to config dir
[Web] Add missing lang strings for transport maps
2018-12-20 19:02:47 +01:00
andryyy b99820d011 [Web] Allow to set transport maps, rename relayhosts to sender-dependent transports 2018-12-20 11:23:35 +01:00
Patrik Kernstock 59301decab
[Web] Add hint to DKIM key import for RSA PKCS#8
Adding hint to explicitly provide a RSA Private key in the newer PKCS#8 format, as the webinterface denies the key with a cryptic error message otherwise: `Private key error: error:0EFFF06C:configuration file routines:CRYPTO_internal:no value`. To prevent frustrated users I'd add a simple notice which format is expected. PKCS#8 is also the default format when generating keys directly in the webinterface.

Some interesting resources:
https://stackoverflow.com/questions/20065304/differences-between-begin-rsa-private-key-and-begin-private-key
https://stackoverflow.com/questions/17733536/how-to-convert-a-private-key-to-an-rsa-private-key
2018-12-18 21:00:16 +01:00
Patrik Kernstock 5dad2dded1
[web] Duplicating DKIM key corrupts private key
Missing base64_decode() corrupted private key when duplicating, as `$from_domain_dkim['privkey']` returns the public key base64-encoded.
2018-12-18 20:50:24 +01:00
andryyy 5b5976ba23 [Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket 2018-12-15 21:24:39 +01:00
Geitenijs 92b9b2413e
Update lang.nl.php 2018-12-12 10:00:23 +01:00
andryyy d627934bd9 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-12-10 19:24:36 +01:00
andryyy 0825560764 [Web] Remove a divider 2018-12-10 13:27:19 +01:00
andryyy 236be46b4a [Web] Small css fixes 2018-12-10 13:26:39 +01:00
André Peters 1916655db7
[Web] Fix missing string in modal dialog 2018-12-06 22:22:23 +01:00
andryyy 40500ae5b9 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-12-06 18:20:45 +01:00
Radek Tříška fe660908fc
Fix missing string in modal dialog. 2018-12-06 16:03:23 +00:00
Radek Tříška 2ba90e0946
Fix missing string in modal dialog. 2018-12-06 16:02:35 +00:00
andryyy 28be09f3d7 [Web] Allow to toggle release format of quarantine msgs 2018-12-06 16:51:11 +01:00
Geitenijs 22e1ba4bec
Update lang.nl.php 2018-12-05 13:14:50 +01:00