Commit Graph

448 Commits

Author SHA1 Message Date
Niklas Meyer 1edd4012e4
[Web] escapehtml in mailbox.js ()
Co-authored-by: FreddleSpl0it <patschul@posteo.de>
2022-06-03 14:37:56 +02:00
FreddleSpl0it 8a86fa491e
[BS5] Replace FooTable with jquery Datatables 2022-05-20 12:03:12 +02:00
FreddleSpl0it 3e6a241c69
[BS5] Replace FooTable with jquery Datatables 2022-05-19 21:29:01 +02:00
FreddleSpl0it 160dceff3e
[BS5] Replace FooTable with jquery Datatables 2022-05-19 15:06:18 +02:00
FreddleSpl0it 0ece065cb0
[BS5] Replace FooTable with jquery Datatables 2022-05-17 14:08:22 +02:00
Niklas Meyer 353df6413f
[UI] Increase Mailadmin loading performance
Merge pull request  from marcojarjour/unblock_mailadmin_upstream
2022-05-16 19:30:50 +02:00
FreddleSpl0it fb7e00c158
[BS5] Replace FooTable with jquery Datatables 2022-05-16 11:26:49 +02:00
FreddleSpl0it a0567beee5
[BS5] Replace FooTable with jquery Datatables 2022-05-13 14:16:32 +02:00
FreddleSpl0it dfdd2dadb4
[Web] domain/mailbox tagging check for empty tags 2022-05-06 08:30:15 +02:00
FreddleSpl0it 549ff7d100
Add Domain and Mailbox tagging ()
* [Web] define tag tables

* [Web] add mailbox tag functions

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* Include new tags lang in language.en.json

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

* [Web] add domain/mailbox tagging

Co-authored-by: Niklas Meyer <62480600+DerLinkman@users.noreply.github.com>
2022-05-05 08:25:01 +02:00
Marco Jarjour 003a6342a5 Match also mobile id's 2022-04-27 17:43:40 +02:00
Marco Jarjour fb10764167 Execute API calls only when needed 2022-04-27 15:57:53 +02:00
FreddleSpl0it 96c8e01a3b
[BS5] change spinner icons 2022-04-14 10:22:06 +02:00
FreddleSpl0it 7075b9f0c0
[BS5] mobile navbar fix 2022-04-13 21:34:00 +02:00
FreddleSpl0it cdff1ba37b
[BS5] update bootstrap-select to v1.14beta 2022-04-13 12:34:14 +02:00
FreddleSpl0it f6a51f6b6f
[BS5] add gridjs lib 2022-04-13 12:32:48 +02:00
FreddleSpl0it e62069d3db
[BS5] change bootstrap in js 2022-04-01 08:25:47 +02:00
FreddleSpl0it c1792df819
[BS5] include dependencies 2022-03-30 07:54:07 +02:00
FreddleSpl0it 36944f8073
[BS5] remove dependencies 2022-03-30 07:08:24 +02:00
FreddleSpl0it 4d59cb0351
[BS5] remove u2f-api.js 2022-03-29 09:41:11 +02:00
andryyy 77281629b9
[Web] Show last 7 days per default in sasl logs table for user 2021-10-30 16:56:04 +02:00
jkellerer 9946bb3427
[Web] Display app password name in last login () 2021-10-30 16:51:26 +02:00
andryyy e391b054d3
[Web] Remove service chevrons 2021-10-29 06:49:32 +02:00
andryyy 15ce95e78d
[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords 2021-10-29 06:15:10 +02:00
andryyy e13bc242a4
[Web, Dovecot] Allow to define scope of services for app passwords 2021-10-28 21:57:19 +02:00
andryyy 4019dc5477 [Web] Fix missing IP in autodiscover logs 2021-10-24 12:53:31 +02:00
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 ()
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-22 20:47:10 +02:00
andryyy e616755072
[Web] Fix app password editing, fixes 2021-09-01 18:11:00 +02:00
Kristian Feldsam 54c4d7e49c
[Dovecot: Imapsync] Parse, save and show last run status ()
* [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 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 ()
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-24 18:51:19 +02:00
Kristian Feldsam dd5bc26b26
[Web] enhaned responsive design ()
Fixed buttons with long titles

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-12 09:47:39 +02:00
andryyy bdafb7ab2f
[Web] Reponsive: Scroll faster 2021-07-09 08:27:16 +02:00
Kristian Feldsam f73ac284e5
[Web] Improve responsive design ()
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 ()
* [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 
[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 ()
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 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 () 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 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 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 9d0d826337
[Web] Highlight select boxes with missing required attrs 2020-10-23 20:23:54 +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 ()
* 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 ()
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 d3d929222f
[Web] Rot announcements 2020-08-16 11:54:06 +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 18ba4d2c9c
[Web] ROT13 footer html 2020-05-16 12:51:01 +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 47a15c21aa
[Rspamd] Pushover, check sender by regex 2020-04-16 21:58:30 +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 2b1ff6c9a3
[Web] Fix sieve example insert 2020-03-19 12:46:39 +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 eb5d7f0609
[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items) 2020-03-01 11:21:23 +01:00
andryyy dd0c1438de
[Web] Allow empty bcc when saving quarantine settings, fixes 2020-02-26 13:58:41 +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 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 1abd0357d7
[Web] Keep modal data when adding a sync job 2020-02-06 07:03:03 +01:00
andryyy ec1dce508e
[Web] Minor changes 2020-01-10 20:49:54 +01:00
andryyy 157d2579e4
[Web] Complain about non-email email fields 2020-01-10 20:49:07 +01:00
andryyy c87fdd21c5
[Web] Revert some style changes, mobile view should be fixes/better with bootstrap 4 2019-12-25 10:30:49 +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 ) 2019-12-22 21:26:15 +01:00
andryyy 6e15420307 Merge branch 'presets2' 2019-12-15 22:05:39 +01:00
andryyy 8003f3b4b3
[Web] Small adjustments to presets 2019-12-15 22:04:22 +01:00
andryyy 0c8d9ff154
[Web] Generate longer passwords for app passwords 2019-12-07 21:55:37 +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 ()
* 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 9f754c95b9 add ability to get specific preset, defaulting to all 2019-11-14 22:07:49 +01:00
tinect fd63fba467 get sieve and rspamd-filter from new api-point 2019-11-14 20:47:27 +01:00
tinect 943b7c6bb2 + add api for presets
+ add yml-files for preset-definition
2019-11-14 20:23:58 +01:00
tinect 51a8d58e3d show whether user has been notified yet ()
* show wether user has been notified yet

* add translations
2019-11-11 16:59:39 +01:00
tinect 79053742ca Add better preset management ()
* 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 ()
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 ()
* 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
tinect 323ef5618a IE11 doesn't support optional parameters 2019-10-22 20:17:47 +02: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