Commit Graph

1154 Commits

Author SHA1 Message Date
nathan
2e3784ea54 Admin: Remove missing content types from custom field type2 to avoid validation errors on submit 2023-04-25 08:08:44 -06:00
ralf
6ef78f1d64 stop Chrome from autofilling passwords and do NOT display a password for OAuth when editing an account 2023-03-14 10:20:10 +01:00
ralf
7d121f8215 fix TypeError and missing padding after OAuth authentication in wizard 2023-03-08 11:08:53 +01:00
ralf
b4132ebf49 fix some typos or ancient syntax 2023-03-07 08:20:00 +01:00
ralf
28f9f15d0d fix not generally not working display multiple groups in status and also not displayed avatar pictures in that case 2023-02-28 15:50:10 +01:00
ralf
40dffb2f91 disable usage statistic for now, as there is no more backend 2023-02-27 12:57:57 +01:00
ralf
3fbd2dcdc8 fix not working changing password for account in SQL 2023-02-21 14:34:36 +01:00
ralf
178047d8d6 * Mail/OAuth: fix mail account creation failed for regular EGroupware users / non-admins 2023-02-20 15:37:06 +01:00
ralf
b0f5cfbcdb improve OAuth mail authentication by not opening wizard multiple time
also avoid authentication loop, if there is an error
2023-01-25 13:38:40 +01:00
ralf
dc3e8c5b7d fix OAuth to also be triggered by name of imap-server, eg. for custom domains 2023-01-23 21:11:33 +01:00
ralf
c49f7849bb * Mail: OAuth authentication for Microsoft (Office365, outlook.com, ...) and GMail 2023-01-16 16:56:51 -06:00
ralf
4a70021f41 WIP Oauth authentication for Office365:
- add all Microsoft email domains
- using login.microsoftonline.com/common as OAuth provider URL
- use mail-server name to detect custom mail domains
--> auth with IMAP agains outlook.office365.com still NOT working, probably needs some kind of further verification / being an Microsoft partner
2023-01-12 19:33:31 -06:00
ralf
71aabaea73 WIP OAuth for mail:
fixing some typos to test with Office365
2022-12-25 15:19:14 -06:00
ralf
14b6a9a5ab WIP OAuth authentication for mail: working now with Gmail 2022-12-25 14:49:37 -06:00
ralf
f85aa4dcbb Adding GMail to supported OAuth providers, thought the app is not (yet) approved by Google 2022-12-24 15:39:11 -06:00
ralf
dc832ce12b WIP OAuth/OpenIDConnect authentication for mail / Office365 mail services
Mail wizzard triggers on a *.onmicrosoft.com domain and then automatically uses Office365 servers with OpenIDConnect authentication
- access- and refresh-token get acquired with https://outlook.office.com/IMAP.AccessAsUser.All scope
ToDo:
- find out why Microsoft denies access with the returned access-token
- store access-token for its lifetime in the cache
- store refresh-token instead of password, to get a new access-token, if it's expired
--> add OAuth logic to mail client (not just wizard)
2022-12-23 14:33:19 -06:00
nathan
0ad1934afc Show "EPL Only" for quota in edit account & group dialogs 2022-12-19 13:26:22 -07:00
ralf
f61ce9eae8 fix installation under PHP 8.1 2022-12-05 15:55:30 +01:00
nathan
e57e81f5ea * Resources: Customfields can now be per category 2022-11-16 14:10:34 -07:00
nathan
ad3a2472e8 Admin: Remove refresh, push will handle it 2022-11-14 13:17:04 -07:00
ralf
9188b04256 fix PHP 8.x Fatal changing languages 2022-11-11 13:28:41 +01:00
nathan
104680c477 Fix hidden nm with no initial rows were requesting data too early 2022-11-07 14:51:42 -07:00
ralf
5b1fe16e9e New method Api\Accounts::isHuge() is used to NOT query members and (not yet working) disable the column in group-list 2022-11-05 09:12:43 +01:00
nathan
166168b5bf Admin: Push for categories 2022-10-27 11:13:41 -06:00
nathan
71c1282a8b Admin: Do not send groups again just for readonly 'Primary group' column 2022-10-21 11:45:44 -06:00
nathan
c985338a11 Admin push update fixes
- Implement for categories
- Fix some account update duplication
2022-10-18 11:29:22 -06:00
ralf
1d50c1ca91 fix Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given 2022-09-30 14:46:27 +02:00
Hadi Nategh
69893e891b WIP Ui: fix more dialogs initiation pop up & tab size 2022-08-30 13:46:18 +02:00
Hadi Nategh
067b6402a1 Make initial height bigger for emailadmin popup 2022-08-16 16:00:40 +02:00
ralf
9cd65f1aa4 move group administration from EPL into mainline 2022-08-14 13:55:45 +02:00
ralf
711eac8934 fix Admin > Mail account to work in master:
- using <et2-select-account multiple="true"
- convert from account_id=0 --> [] and back for saving
- remove TS code switching multiple on and off via previously removed button
--> must not be back-ported to 21.1!
2022-07-20 19:12:12 +02:00
ralf
d94bdb24a6 fix empty account-data (caused by wrong expression) breaking mail accounts when storing 2022-07-18 14:10:30 +02:00
ralf
94e74f8db4 * Mail/Dovecot: allow to use admin credentials to access mail when no session password is available, e.g. for SSO 2022-07-05 15:16:01 +02:00
ralf
12b3d9016c rename "readonly" policy to "readonlys", as "readonly" is a reserved word from PHP 8.1 on 2022-04-22 00:41:22 +02:00
nathan
50bb44d3ff Admin: Remove time limit when deleting a user
all those records could take a while and we don't want to fail
2022-04-05 15:14:53 -06:00
ralf
e5a6f195dc fix delete-account did not show 0 entries for InfoLog, also give a total per InfoLog type 2022-03-15 10:50:57 +02:00
Ralf Becker
d40a1d992a fix not working multiple users for single mail account
replaced legacy-options and type attribute with the actual ones
2021-11-27 11:21:54 +02:00
Ralf Becker
be7fbf35fa fix PHP 8.0 TypeError: EGroupware\Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given 2021-11-16 20:53:20 +01:00
Ralf Becker
e89aaf7bc9 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given 2021-11-15 14:58:54 +01:00
Ralf Becker
519114ea1a fix PHP 8.0 TypeError: strlen(): Argument #1 ($str) must be of type string, array given 2021-11-10 15:23:25 +01:00
Ralf Becker
7792c706a6 fix PHP 8.0 error: Undefined constant "__ALL__" 2021-11-08 11:25:42 +01:00
Hadi Nategh
dd42733393 Fix PHP8.0 (TypeError): array_diff(): Argument #2 must be of type array, null given 2021-11-04 15:50:48 +01:00
Ralf Becker
6a3df9355c fix PHP 8.0 error creating a new mail-accounts
"new" > 0 === true :(
2021-10-25 14:44:40 +02:00
Ralf Becker
8604fc3181 fix PHP 8.0 TypeError:
- array_combine(): Argument #1 ($keys) must be of type array, null given
- count(): Argument #1 ($value) must be of type Countable|array, null given
2021-10-12 11:44:24 +02:00
Ralf Becker
4495bb56c4 fix PHP 8.0 error reading identity "new", when trying to create a new identity 2021-10-11 15:10:27 +02:00
Ralf Becker
59b684bb1d fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-10-09 08:42:02 +02:00
Ralf Becker
c8547466a4 fix empty labels in application selection in ACL dialog 2021-10-08 13:24:08 +02:00
Ralf Becker
7c4914d8db fix PHP 8.0 error "array_key_exists(): Argument #2 ($array) must be of type array, null given" when creating a category 2021-10-07 16:16:12 +02:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
cb8cac15dc fix mail account creation under PHP 8.0
PHP 8.0: "new" > 0 === true
PHP<8.0: "new" > 0 === false
2021-10-06 12:31:23 +02:00