Commit Graph

253 Commits

Author SHA1 Message Date
andryyy
d03083f8e7
[Web] Add IP to autodiscover log 2021-10-21 19:39:33 +02:00
andryyy
f5eb57568a
[Web] Add IP to autodiscover logs 2021-10-21 11:34:51 +02:00
Kristian Feldsam
0b64967ec5
[web] implemented twig templating system (#4264)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-22 20:47:10 +02:00
andryyy
e616755072
[Web] Fix app password editing, fixes #4239 2021-09-01 18:11:00 +02:00
Kristian Feldsam
54c4d7e49c
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
* [imapsync] - check for errors in returned_text

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [imapsync] parse and save exit status

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [dovecot] updated image version

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:29:11 +02:00
andryyy
7ab1405b00
[Web] Remove blocking user_details function request in bcc list for faster loading with many mailboxes 2021-08-19 20:27:59 +02:00
andryyy
2cd0b56b14
[Web] Various PHP 8 fixes, partly fixes #4219 2021-08-09 08:28:22 +02:00
andryyy
fc8ac2de1f
[Web] Do not try to init spam slider as domain admin 2021-08-04 12:41:01 +02:00
Kristian Feldsam
f6ca438cf4
[Web] Various i18n strings updated or added (#4196)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-24 18:51:19 +02:00
Kristian Feldsam
dd5bc26b26
[Web] enhaned responsive design (#4187)
Fixed buttons with long titles

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-12 09:47:39 +02:00
Kristian Feldsam
f73ac284e5
[Web] Improve responsive design (#4171)
Complete styling for mobile devices

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-09 08:21:09 +02:00
Kristian Feldsam
7bc8781db8
[Web] added translations for various strings (#4173)
* [Web] translated synchronization "open logs" str

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [Web] translated selectbox "nothing selected" str

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [Web] translated Check against haveibeenpwned.com

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-07 06:39:29 +02:00
andryyy
8b08d09ca2
[Web] Remove XMPP options
[Web] Add Rspamd preset #4
[Web] Do not show failed SASL logins (and also remove them from db)
2021-06-30 10:13:29 +02:00
andryyy
f4de39b4a4
[Web] Minor style fix for checkbox in /user 2021-06-23 14:12:36 +02:00
andryyy
d156a93a84
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip 2021-06-22 07:17:55 +02:00
andryyy
6bc0ad1604
[Web] Change SASL IP link to BGP HE 2021-06-15 11:40:39 +02:00
andryyy
47b57df3a2
[Web] Show users last PW change, allow to select n days for last logins 2021-06-09 07:19:57 +02:00
andryyy
da20d5dc38
[Web] Replace country flags, improve flags for last logins, add info about last password change of a user 2021-06-08 13:16:10 +02:00
andryyy
08d666985f
[Web] Improve last logins, switch to country name (workaround, fix in progress) 2021-06-06 21:00:48 +02:00
andryyy
a89fe53e4a
[Web] Show country of sasl ips 2021-06-06 11:57:15 +02:00
andryyy
2d55b54904
[Web] Show users the last known connections for SASL authentication
[Web] Feature: Log SASL authentication
2021-06-04 14:29:39 +02:00
andryyy
735bcb2f55
[Web] Allow to select aliases for BCC 2021-06-03 08:00:59 +02:00
andryyy
839e9bd91c
[Web] Improve alias domain table 2021-05-30 16:07:57 +02:00
andryyy
8a83587800
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
[Web] Small fixes
2021-05-28 10:40:41 +02:00
andryyy
5065667ae4
[Postfix] Allow to set and override a relayhost per mailbox
[Web] Replace recycle icon with trash (this one made me a bit sad)
[Web] Various small fixes
[Web] Allow or disallow a domain admin to change relayhost settings (default is off, as previous default)
2021-05-26 14:02:27 +02:00
andryyy
82f7df9165
[Web] Fix created date for temp aliases in Safari 2021-05-25 21:07:42 +02:00
andryyy
bbb1d7aa39
[Web] Small UI fixes 2021-05-23 23:09:37 +02:00
andryyy
e6d5516c7f
[Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses
[Web] Various style fixes
[Web] Remove unused or unnecessary dependencies
2021-05-23 13:18:52 +02:00
andryyy
beda649ecf
[Dovecot] Quota notifications: Allow to send to external address (BCC via mailcow UI) 2021-05-23 09:49:36 +02:00
andryyy
9c075af2d9
[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility; 2021-05-22 12:13:37 +02:00
andryyy
e21e0b9dbf
[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time
[Web] Replace spam score slider by nouislider and rework table a bit
2021-05-21 12:48:24 +02:00
andryyy
d6a3094bcc
[Web] pwgen.js will now use lower and uppercase chars 2021-05-18 21:28:42 +02:00
andryyy
423ccb9ba9
[Web] Fix XSS in app password names 2021-05-07 14:49:21 +02:00
andryyy
5ea649b292
[Web] Feature: Add password policy 2021-04-09 13:46:17 +02:00
andryyy
dd198747b7
[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table 2021-03-19 16:33:50 +01:00
andryyy
b82bf5073b
[Web] Feature: Expand alias over alias domains 2021-03-19 09:28:45 +01:00
andryyy
9c4cb21df6
[Web] Show JID example when editing a domain 2021-02-14 10:48:18 +01:00
andryyy
fee4b50b9b
[Web] Do not print invalid date 2021-02-12 21:22:05 +01:00
andryyy
06c89bac7d
[Web] Implement XMPP
[Web] Various small fixes and enhancements
2021-02-11 09:34:21 +01:00
ValdikSS
93da3d407c
Remove breakpoints for small screens for "Recipient" and "Action" columns (#3938)
Action buttons in quarantine are completely hidden if browser window is small, making the user confused.
Make action buttons and recipient column visible all the time.
2021-01-16 16:20:28 +01:00
andryyy
39f1b0368e
[Web] Remove 36f296d9d6, fixes #3926 2021-01-12 20:54:43 +01:00
andryyy
e25cd47c2f
[Web] Keep state of quarantine table in session 2020-12-07 07:38:05 +01:00
Balázs Dura-Kovács
36f296d9d6
Set domain to filter by default when creating new mailbox (#3887) 2020-12-04 09:37:39 +01:00
andryyy
96616e6973
[Web] Remove qid details in overview when an error occured 2020-12-03 22:35:59 +01:00
andryyy
2d8d227bfa
[Web] Fix wrong element release/download/delete in quarantine details 2020-11-30 19:38:25 +01:00
andryyy
ba20db2e08
[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL 2020-11-28 17:41:48 +01:00
andryyy
4a355f242f
[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject 2020-11-17 13:38:28 +01:00
andryyy
c150ac7b37
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators 2020-11-15 19:32:37 +01:00
andryyy
5d9c40b8b4
[Rspamd, Web] Add rewrite subject to known soft quarantine actions 2020-11-13 21:26:42 +01:00
andryyy
6d56ef6435
[Web] Fix invalid encodings with json_encode, fixes #3847 2020-11-09 14:42:26 +01:00
andryyy
b9a8b8a3e7
[Web] More custom_params 2020-11-06 14:26:48 +01:00
andryyy
fd462f67e1
[Web] Do not use connectors for debug filters, fixes #3833 2020-10-31 09:32:52 +01:00
andryyy
0165c9d26b
[Web] Show fuzzy hash of rejected mail, if any 2020-10-24 16:27:31 +02:00
andryyy
5ead886fd6
[Web] Escape To field in Rspamd history log 2020-10-18 19:44:56 +02:00
andryyy
c718f085e0
[Web] Same color for all last login indicators 2020-10-17 10:15:30 +02:00
prey87
8dd8c7b3eb
Update quarantine.js (#3767)
* Update quarantine.js

changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format

* Update debug.js

changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format

* Update debug.js

missed two old toLocaleString()
2020-09-21 18:29:30 +02:00
andryyy
c54fa76beb
[Web] Add quick toggle for imap/pop3/smtp access; small rework of buttons on /mailbox; Minor fixes and changes 2020-09-18 15:53:01 +02:00
andryyy
d9b91fc04f [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
[Web] Feature: Allow to toggle protocols (imap, pop3, smtp) per user (defaults can be configured using vars.local.inc.php, see vars.inc.php)

Signed-off-by: andryyy <andre.peters@debinux.de>
2020-09-17 19:49:15 +02:00
andryyy
1f36ae28d4
[Postfix, Web] Feature: Show last SMTP login 2020-09-15 11:02:53 +02:00
Denis Teyssier
477e4dab13
Removed typo when adding a row (#3741)
When adding row the button it's name is  `"> lang.remove_row` instead of just `lang.remove_row`
2020-09-07 21:21:31 +02:00
andryyy
877b9b7054
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI 2020-08-27 20:43:33 +02:00
andryyy
48b74d77a0
[Web] Fix PHPMailer, minor style change for quarantine rcpts 2020-06-07 10:45:40 +02:00
andryyy
b93371ca0a
[Web] Add smtp and header from to quarantine items, add more info to qhandler, allow to open qhandler links from qitem details 2020-06-06 13:25:32 +02:00
andryyy
07ee440211
[Web] Show textarea for queue item; [Web] Add lang string for "regex maps"; [Web] Add lang string for "loading" when opening queue item 2020-05-20 12:19:52 +02:00
andryyy
21a153c2a7 [Web] Fix symbol options encoding in rspamd item view
[Web] Feature: Allow to view mailq item content via postcat
[Web] Fix Rspamd not drawing
2020-05-19 20:24:40 +02:00
andryyy
c93b320be6
[Web] Remove sidebars from admin 2020-05-12 18:29:36 +02:00
andryyy
aef15f004a
[Web] Allow CIDR as allowed API networks; other minor fixes 2020-05-04 07:51:50 +02:00
andryyy
6c28ebfc87
[Web] Async Rspamd graph loading to prevent races (todo: changeme) 2020-04-27 20:48:32 +02:00
andryyy
b666c7664b
[Web] ays dialog for PO deletion 2020-04-18 10:15:03 +02:00
andryyy
11a9315f0d
[Web] Minor style fixes, Pushover UI fixes 2020-04-17 16:56:28 +02:00
andryyy
59a2ea0959
[Web, Dovecot] Show last IMAP and POP3 logins, toggle via vars.inc.php SHOW_LAST_LOGIN 2020-04-13 20:34:39 +02:00
andryyy
ffd23476fc
[Web] Date formats 2020-04-10 21:00:46 +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
ac454ea870
[Web] 2-digit date for @patschi 2020-04-08 21:54:40 +02:00
andryyy
92f8b4a091
[Web] Add domain statistics 2020-04-06 08:52:27 +02:00
andryyy
0095388f27 [Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP) 2020-04-05 11:35:37 +02:00
andryyy
fd73bbc201
[Web] Show warning, when domain exhausted and only an unlimited mailbox could be created 2020-04-03 08:44:10 +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
andryyy
e1897b0631
[Web] Allow to set global sieve filters 2020-03-19 12:23:48 +01:00
andryyy
d629170b95
[Web] Fix tooltips in quarantine 2020-03-05 13:09:38 +01:00
andryyy
c785c8f700
[Dovecot] Show last mail (pop3, imap) login in web interface 2020-02-25 19:38:20 +01:00
andryyy
26e2a1230a
[Web] Implement table size to quarantine, implements #3325 2020-02-22 19:23:57 +01:00
andryyy
15ab633d80
[Web] Allow to change page size in table header for /mailbox tables 2020-02-22 10:12:39 +01:00
andryyy
6efe8b7bde
[Web] Fix mail validation for quota sender address 2020-02-21 09:21:03 +01:00
andryyy
4dbd2bbf4f
[Web] Fix DNS check for relayed domain 2020-02-18 11:30:20 +01:00
andryyy
0ac4281f0e
[Web] Allow to skip IP check for API 2020-02-16 20:08:36 +01:00
andryyy
c96fc8e91d
[Web] Add icon to indicate relayed domain 2020-02-15 16:35:23 +01:00
andryyy
ec1dce508e
[Web] Minor changes 2020-01-10 20:49:54 +01:00
andryyy
f2ae0db9a2
[Web] Minor fixes, some style adjustments 2019-12-23 14:46:57 +01:00
andryyy
78c501ecee
[Web] Make mobile usage less annoying; anchors for maps; sidebar for maps 2019-12-23 10:19:49 +01:00
andryyy
e47e54f3de [Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231) 2019-12-22 21:26:15 +01:00
andryyy
eb350d48c0
[Web] Add moore password generator links 2019-12-07 21:41:15 +01:00
Max
2c9cd365d1 debug page: disable refresh button, while refreshing (#3199)
* Fix missing username in username_invalid message

Fix missing username in username_invalid message

* Fix missing username in username_invalid message 2

Fix missing username in username_invalid message

* Disable refresh button, while refreshing

Disable the refresh button, like in mailbox.js, while refreshing the table. Prevents empty view if the user clicks too fast.
2019-12-05 15:35:10 +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
tinect
51a8d58e3d show whether user has been notified yet (#3058)
* show wether user has been notified yet

* add translations
2019-11-11 16:59:39 +01:00
tinect
79053742ca Add better preset management (#3119)
* add rspamd-presets

* add sieveMailbox-presets

* adding new translations
2019-11-11 10:38:56 +01:00
Max
3243bf42cd Include domain-admins in domain-table (#3136)
Adds a listing of the domain-admins to each domain in the domain listing.
2019-11-11 09:55:15 +01:00
tinect
36bd55ee5e add charts.js, remove googlecharts (#3137)
* add charts.js, remove googlecharts

* change to doughnut

* show percentage on donut
2019-11-11 08:14:02 +01:00
andryyy
78f5ac34dd
[Web] Validate Regex in browser 2019-10-29 21:56:35 +01:00
andryyy
b52ee0a706
[Rspamd] Fix map permissions for www
[Web] Allow to manage global maps in UI (WIP)
2019-10-29 08:39:57 +01:00
Samy
e329bff7da
Update admin.js 2019-10-17 11:17:29 +02:00
friedPotat0
fbb800a783 fix rspamd 1.47 missing time_virtual value 2019-10-12 23:42:23 +02:00
friedPotat0
d2d520336b change sorting of rspamd symbols in quarantine 2019-10-12 15:35:57 +02:00
friedPotat0
5f777a1b25 remove obsolete lines 2019-10-12 15:35:49 +02:00
friedPotat0
84617b0d6b sort rspamd symbols in debug log 2019-10-12 15:35:40 +02:00
friedPotat0
c97b91503b change rspamd option delimiter 2019-10-12 15:35:32 +02:00
friedPotat0
31ceb54732 change text color of neutral rspamd symbol scores 2019-10-12 15:35:13 +02:00
andryyy
71994b1bcd
[Web] Use panel instead of tab-pane to find panel-heading, fixes #3022 2019-10-11 08:51:40 +02:00
friedPotat0
cb17d71c61 Add score, symbols to quarantine detail view 2019-10-09 22:07:26 +02:00
andryyy
4c952dda3b
[Web] Remove old transport-map from mailbox.js 2019-10-04 08:44:31 +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
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
Tobias
70187836e8
Update admin.js
Fix "→" is not displayed when username is save with uppercase
See bevor:  https://i.tobias.bayern/9XGMoS5g.png
See after change: https://i.tobias.bayern/QvupZ23j.png
2019-09-05 19:08:41 +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
ab42540769
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated 2019-08-30 18:54:38 +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
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
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
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