Commit Graph

155 Commits

Author SHA1 Message Date
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
942ddcc212
[Web] Fix U2F authentication, fixes #3468 2020-04-13 09:36:51 +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
e1897b0631
[Web] Allow to set global sieve filters 2020-03-19 12:23:48 +01:00
André Peters
0dcc230114
Update json_api.php 2019-12-23 19:55:44 +01:00
ntimo
d65d6a3704
[API] Make Solr API return data if Solr is enabled 2019-12-23 19:12:18 +01:00
ntimo
2ab73da2cf
[API] Added new status route to get some system infos 2019-12-23 18:45:45 +01:00
andryyy
aece2558df
[Web] Various fixes for app passwd functions 2019-12-21 22:25:09 +01:00
andryyy
0b224d1e07
[Web] Get all app passwd ids for a single user by using get/app-passwd/all/user@domain 2019-12-21 16:57:58 +01:00
andryyy
9b6d915160
[Web] Show hint when SOGo admin login is enabed, fix sieve preset in API 2019-12-18 06:48:46 +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
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
943b7c6bb2 + add api for presets
+ add yml-files for preset-definition
2019-11-14 20:23:58 +01:00
André Peters
d28e0f2be0
Update json_api.php 2019-11-09 09:59:07 +01:00
Gamal Abdul Nasser
cf1e633b1a list mailbox, alias/forwarder by domain using extra parameter 2019-11-07 10:37:09 +07: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
ntimo
af13ae455c
[API] Invalidate session after api call is done 2019-10-08 19:30:01 +02:00
ntimo
8a87dd4254
[API] Removed unsets that are not needed 2019-10-05 18:14:36 +02:00
ntimo
2c7e9f49d5
[API] Added comments to defaults 2019-10-04 09:01:31 +02:00
ntimo
6372df21fe
[API] Replaced die(); with exit(); due to code conventions 2019-10-04 08:37:30 +02:00
ntimo
08350d9a95
[API] Added missing route not found error for /get/logs/ 2019-10-03 20:58:56 +02:00
ntimo
2da55296b5
[API] Catch more cases where no api route exists 2019-10-03 20:52:09 +02:00
ntimo
b9c244b746
[API] Only allow POST method for edit apis 2019-10-03 18:14:27 +02:00
ntimo
5fa456770f
[API] Removed hard coded status code 200 2019-10-03 17:25:56 +02:00
ntimo
416d5a12f8
[API] Unset POST when only GET is allowed 2019-10-03 15:06:08 +02:00
ntimo
ab298741e3
[API] Added comments 2019-10-03 15:04:25 +02:00
ntimo
877c48db58
[API] Added missing die() 2019-10-03 14:42:30 +02:00
ntimo
c4c9d2a3b4
[API] Fixed broken if 2019-10-03 14:39:38 +02:00
ntimo
f393049273
[API] Make add and delete routes POST only 2019-10-03 14:36:10 +02:00
ntimo
948137b4b4
[API] Fixed only allow GET logic 2019-10-03 12:56:01 +02:00
ntimo
c67e86756f
[API] Better check for GET method 2019-10-03 12:54:06 +02:00
ntimo
796853cae5
[API] Replace exit with die(); 2019-10-03 12:50:58 +02:00
ntimo
72f8c0a5bd
[API] Added proper status codes to API 2019-10-03 12:48:19 +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
885b79f06f
[Web] Add function to read F2B data via API 2019-05-17 11:21:25 +02:00
andryyy
06193ca625
[Web] Write API logs when format is data binary 2019-05-12 15:22:00 +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
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
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
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
andryyy
48047a364c [Web] Move 'get' method to mailq functions file 2018-10-25 22:41:57 +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é
4459b773f1 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-10-12 19:24:41 +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
Jérôme Groven
34ddde82c4 [Web] New /get/dkim/{domain} method to retrieve DKIM keys 2018-10-09 17:40:06 +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é
4396be2938 [Rspamd] Place socket in _rspamd home and fix permissions
[Compose] Remove volume for Rspamd socket
[Web] Do not exit loop on fuzzy errors when learning a message as spam
2018-09-30 09:53:25 +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é
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é
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é
9cf8dab021 [Web] Fix adding resources, fixes #1545 2018-07-05 22:40:21 +02:00
André
5e590ea119 [Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic 2018-07-03 23:27:00 +02:00
André
82209196f5 [Web] Fix Rspamd plot 2018-06-08 09:13:26 +02:00
André
69d5790130 [Web] Add rsettings to API 2018-06-05 00:32:09 +02:00
André
0a44ea1a4c [Dovecot] Lz4 compression sometimes leads to strange EOF errors when replicating
[Web] Cleanup JSON API
2018-06-05 00:31:27 +02:00
André
3911ba0910 [Web] Add Rspamd stats export to API 2018-05-20 23:28:39 +02: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
e86565e283 Expose Postfix's recipient_canonical_maps through web UI 2018-01-23 20:02:31 +01:00
andre.peters
5c3a2888a0 [Web] Fix u2f I previously messed up, sorry 2018-01-18 22:12:35 +01:00
andre.peters
7701660119 [Web] Skip passwords in API log 2018-01-16 22:09:25 +01:00
andre.peters
adc23d86f9 Various... 2017-12-09 13:17:15 +01:00
André
e1eb83ef87 [Web] Update libs, fix U2F for Firefox Quantum 2017-11-21 09:33:22 +01:00
André
ade4b9e7ae [Postfix, Web] Feature: BCC maps 2017-11-19 15:13:43 +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é
81775765d8 [Web] Customize app menu and logo; Fix #671 2017-10-21 10:07:06 +02:00
andryyy
6287a395b5 [Web] Revert some autodiscover changes, fix json_api for Postfix logs 2017-10-03 16:48:33 +02:00
andryyy
9c37cd76e5 [Web] Autodiscover logs 2017-10-02 21:47:31 +02:00
andryyy
998523bdfa [Web] Allow ratelimt per user, overrides domain tl 2017-09-12 20:57:54 +02:00
andryyy
66e06a0c0c [Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements 2017-07-29 10:32:17 +02:00
andryyy
5a49748dd5 [Web] Add graphs and stats to JSON api 2017-07-26 23:09:15 +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
andryyy
84ad579437 [Web] Initial ratelimit support, more API actions 2017-07-16 11:03:28 +02:00
andryyy
744784cb62 [UI] Initial: Import private keys for DKIM/ARC 2017-06-30 21:50:21 +02:00
andryyy
6c64ffbd49 [acme-mailcow] Auto-detect container ids for restart; Restart containers after restore 2017-06-29 10:29:56 +02:00
andryyy
4f93bfd04f Initial commit: Set fail2ban parameters in UI 2017-06-25 21:33:26 +02:00
andryyy
c75ce5124c Fixes: First line was missing in logs. Adds support for Fail2ban container 2017-06-24 00:07:53 +02:00
andryyy
5a95d2062c More changes to the UI, more API... 2017-05-29 21:51:06 +02:00
andryyy
ce6bf18c2f Web UI improvements 2017-05-26 23:02:04 +02:00
andryyy
56a9a09e2f Further migration 2017-05-23 22:23:46 +02:00
andryyy
fd5a59086b More structural changes 2017-05-23 09:36:59 +02:00
andryyy
c9184a9bad Various fixes and changes 2017-05-17 21:17:00 +02:00
andryyy
2291b4e121 Added SOGo logs 2017-05-13 22:58:29 +02:00
andryyy
14a9a1c616 A lot of changes... still not finished, use with caution.
Edit actions can be done with the internal API, trying to get rid of edit and add files
2017-05-11 23:10:32 +02:00
andryyy
a8e550244e Remove DKIM keys with api 2017-05-09 21:30:08 +02:00
andryyy
bbff045d04 Use API for forwarding hosts 2017-05-09 13:43:54 +02:00
andryyy
f77c40a179 Better log table, some MySQL to Redis migrations, API changes, other minor changes... 2017-05-08 15:41:05 +02:00
andryyy
8c8bfc0108 Add Json log parser for Dovecot and Postfix containers 2017-05-06 23:52:40 +02:00
andryyy
711fa922e6 Fail silent 2017-05-03 22:26:21 +02:00
andryyy
ea77f60dae Fixes U2F, fixes #231 2017-05-01 16:34:09 +02:00
andryyy
8f213e8df9 Changes to api path 2017-04-29 16:36:41 +02:00
andryyy
5586bd2bb5 Initial push or quick actions in alias table 2017-04-26 23:38:18 +02:00
andryyy
297674d256 Various CSS fixes, remove sorttable, better API format 2017-03-28 11:51:17 +02:00
andryyy
e72a28ebf6 Fix ajax errors on empty tables 2017-03-21 15:43:20 +01:00