Commit Graph

237 Commits

Author SHA1 Message Date
andryyy
6e41fa9fc1
[Web] Update JQuery, todo: dont use migrate 2019-08-16 18:20:24 +02:00
Patrik Kernstock
409ecf7fd5
[Web] Fixed one more possible XSS
XSS might be possible when using a specific-crafted request (harder than previous ones). Might also easily cause JS errors and making the "mailcow UI"-logs not accessible anymore
2019-08-14 22:19:50 +02:00
Patrik Kernstock
4f25a3646e Fixed several other XSS's 2019-08-14 00:22:40 +02:00
andryyy
fab23cec2b
[Web] Fix XSS in call field 2019-08-13 21:12:24 +02:00
andryyy
cb9a63ec4d
[Web] Fix CSS, thanks to @irgendwr 2019-08-09 14:14:41 +02:00
André Peters
2061181d82
Merge pull request #2810 from friedPotat0/quarantinetable
Minor adjustments to tables in UI
2019-07-27 19:40:43 +02:00
friedPotat0
c48ae234ce Restrict toggle for tbl with specific breakpoints 2019-07-27 19:07:01 +02:00
friedPotat0
d1153b470f Restrict row toggle for remaing tables 2019-07-27 18:57:58 +02:00
friedPotat0
1b54d75716 Prevent event propagation for remaining tables 2019-07-27 18:56:51 +02:00
friedPotat0
abf0548ca4 Prevent event propagation for footable toggle 2019-07-27 17:14:56 +02:00
friedPotat0
581f8c77c7 Restrict quarantine table row toggle 2019-07-27 16:49:53 +02:00
andryyy
45f31ba931
[Web] Handle score as string 2019-07-23 19:52:46 +02:00
friedPotat0
d4f3e87a2f Add spam score to quarantine table 2019-07-23 04:22:28 +02:00
andryyy
f35bc07a30
[Web] Generate readable passwords 2019-06-20 10:18:09 +02:00
andryyy
ffb008f72a Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2019-06-09 16:50:04 +02:00
andryyy
5ce6688c78
[Web] Show resource alias 2019-06-09 16:49:17 +02:00
Timo N
9325bb6f4e
Merge pull request #2594 from FELDSAM-INC/domain-default-mailbox-quota
Default quota for mailbox
2019-06-09 10:49:43 +02:00
andryyy
5bb23a2664 [Web] Fix null ua in debug.js - fixes #2615 2019-05-18 15:35:00 +02:00
Kraeutergarten
7417dd3a85 Check if domain value is undefined or null. 2019-05-16 10:15:37 +02:00
Kraeutergarten
84a78dbd0d Adds only existing domains in table to the filter and removes additional ajax request. 2019-05-16 08:20:21 +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
andryyy
bf3fb0c9d4
[Web] Fix some breakpoints 2019-05-09 11:30:14 +02:00
andryyy
cf4c5df427
[Web] Disable refresh button on reload, re-enable after table init 2019-05-05 20:59:59 +02:00
andryyy
acd8860efa
[Web] More minor css fixes 2019-05-05 20:49:13 +02:00
andryyy
9529b7a542
[Web] Various UI fixes 2019-05-05 20:44:29 +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
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
André Peters
987e884407
Merge branch 'master' into admin-login 2019-03-31 15:49:18 +02: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
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
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
Marcel Hofer
cac67db203 add config ALLOW_ADMIN_EMAIL_LOGIN and implement password-less SOGo login admins 2019-02-23 17:59:18 +01:00
andryyy
78d0deed94
[Web] Lang updates
[Web] Minor fixes
2019-02-05 10:37:28 +01:00
andryyy
21741dc061
[Web] Update bootstrap slider javascript
[Web] Minor JS changes and fixes
2019-02-05 00:07:34 +01:00
andryyy
d7f169cc2f
[Web] Further improvments, minor fixes 2019-01-31 17:07:24 +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
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
af49a41ff6
[Web] Remember FooTable settings by using state plugin, fixes #2122 2019-01-19 08:25:05 +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
b99820d011 [Web] Allow to set transport maps, rename relayhosts to sender-dependent transports 2018-12-20 11:23:35 +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
root
d445d7d2e7 [Web] Allow actions in quarantine modal, fixes #1991
[Web] Fixes for Source Sans Pro font
[Rspamd] Add global rcpt blacklist and whitelist
[Compose] New Rspamd image
2018-11-27 10:20: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
b8b9e6ef57 [Web] Fix sieve validation, fixes #1960 2018-10-28 12:46:08 +01:00
andryyy
ea4e92a362 [Web] Fix mailq styles in /admin 2018-10-25 22:42:20 +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é
e304860408 [Web] Fix empty domain dropdown in race condition, fixes #1849 as workaround 2018-10-06 22:09:05 +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é
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
André
d64a89473e [Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
[Web] Duplicate DKIM keys from a single domain to a single or multiple domains
[Web] WIP: Started Ratelimit rework
[Web] Show RL in overview of mailbox and domains
[Web] Move RL function out of mailbox functions file
[Web] Some language fixes/changes
2018-08-21 17:41:04 +02:00
André
1791383eab [Web] Fix duplicate success message after editing a domain as domain administrator
[Web] Add "login as" button for domain admin table
2018-08-15 00:05:18 +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é
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é
e3f73f26f1 [Web] Add u2f api from bitwardens repository to skip u2f when it is browser-provided 2018-07-29 23:01:51 +02:00
André
8934a3a68b [Web] Allow spam/ham "traps"
[Web] Changes to docker functions
[Web] List all containers of compose project name
2018-07-29 00:38:45 +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é
4d393d9265 [Web] Remove title from Rspamd graph 2018-07-25 01:09:19 +02:00
Phoenix Eve Aspacio
5cb8df3f11
[Web] Minor fixes on the new rspamd graph...
* Reloads graph on window resize
* Reloads graph on tab change
2018-07-24 20:03:16 +08:00
Phoenix Eve Aspacio
fd91692335
[Web] Replace jqPlot with Google Charts (#1604)
* [Web] adjust height...

for mobile responsiveness.

* Delete jqplot.donutRenderer.js

* Delete jquery.jqplot.min.js

* Create google.charts.loader.js

* [Web] Add google charts loader

* [Web] New pie graph design
2018-07-24 18:46:17 +08:00
Phoenix Eve Aspacio
68fa438a3f
[Web] Minor UI Fix 2018-07-23 19:33:52 +08:00
André
3f0aca7a35 [Web] Add refresh button and counter to mailbox tables
[Web] Fix multiple "no results" rows when refreshing an empty table
[Web] Remember page when going back to a table with pagination, fixes #1598
2018-07-22 11:03:32 +02:00
André
649ab6c6fc [Web] Update footable to 3.1.6
[Web] Add domain filter to some tables
[Web] Fix lost focus when filtering elements
[Web] Alsmost remove input lag on table filter
2018-07-21 22:31:20 +02:00
André
853b924fe1 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-07-15 11:56:26 +02:00
André
c372b01909 [Rspamd] Use old ratelimit LUA until custom rl is fixed
[Web] Updated settings preset: Ratelimit was NOT applied when preset for settings map was used (added "RATELIMIT_UPDATE", "RATELIMIT_CHECK" to symbols_enabled)
[Rspamd] v1.7.8
2018-07-13 11:40:37 +02:00
Phoenix Eve Aspacio
4b988a2e48
[Web] table header width fix (#1564)
* Mobile fix for tables

* mobile fix for tables
2018-07-13 17:02:46 +08:00
André
ca7ad2942a [Web] Minor fix to api.js 2018-06-25 22:32:46 +02:00
André
7d2f1f3dd7 [Web] Minor style fixes 2018-06-24 11:52:25 +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é
43a6e24b81 [Web] Fix alias table - fixes #1467 2018-06-08 10:26:19 +02:00
André
e13c519ecb [Web] Fix Rspamd plot, again - fixes #1467 2018-06-08 10:17:57 +02:00
André
82209196f5 [Web] Fix Rspamd plot 2018-06-08 09:13:26 +02:00
André
dbaddc562e [Web] Fix sorting by 'in use' 2018-06-01 14:32:27 +02:00
André
d2f9919a4d [Web] Fix sorting by 'in use' 2018-06-01 14:19:42 +02:00
André
7c1795c497 [Web] Fix initial drawing of Rspamd plot 2018-05-31 17:58:51 +02:00
André
e70c269998 [Web] Replot graph immediately 2018-05-26 23:07:26 +02:00
André
ab561139fe [Web] Replot graph after drawing tables 2018-05-26 23:02:18 +02:00
André
4451b7406f [Web] Show minimal Rspamd action graph in Rspamd history tab 2018-05-20 23:30:17 +02:00
André
4f53763698 [Web] Add jqplot for future graphs 2018-05-20 23:29:15 +02:00
André
2ee983c1a1 [Web] Fix implementation of multiple bookings for resources, fixes #1358 2018-05-06 21:51:00 +02:00
Phillip Koch
db25a6f89f
removed encoding for data attribute to fix deletion 2018-03-08 20:46:43 +01:00
André Peters
5106eea86f [Web] Fix sorting by returning a number, fixes #1092 2018-02-27 15:45:08 +01:00
André Peters
618be3bf14 [Web] Even more fixes for #1017 2018-02-10 22:42:46 +01:00
André Peters
8e1ac0bfbb [Web] More fixes for #1017 2018-02-10 21:00:00 +01:00
André Peters
4163f08009 [Web] Fixes #1017 2018-02-10 18:16:01 +01:00
André Peters
64dbd54478 [Web] Fix urlencoded objects in api 2018-02-09 22:45:04 +01:00
André Peters
a50036477e [Web] Mind was set to french, reverting to english 2018-02-08 20:13:36 +01: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
1a97137ee9 [Web] Remove FA js 2018-01-27 12:26:36 +01:00
andre.peters
dc024331c7 [Web] Slight css changes; Simple loading overlay... 2018-01-25 13:22:43 +01:00
andre.peters
855e93ef65 [Web] Slight css changes; Simple loading overlay... 2018-01-25 13:22:17 +01:00
Michael Kuron
e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00