Commit Graph

2659 Commits

Author SHA1 Message Date
ralf
1fb543cb93 fix removing last user/group from valid-for in mail-account did not work
add a strong warning that selecting a user/group for a mail account for all users effectively deletes it for all other users
2023-09-15 09:27:40 +02:00
nathan
293657a48b Admin: Fix error editing export ACL definition
Cannot access offset of type string on string

/var/www/epl-trunk/admin/inc/class.admin_wizard_export_acl_csv.inc.php (51)
2023-08-18 09:48:03 -06:00
ralf
53022a39b4 finished WIP Mail REST API: regular user UI for application passwords 2023-07-11 22:46:37 +02:00
ralf
106ead2c8e WIP Mail REST API: regular user UI for application passwords 2023-07-11 13:39:46 +02:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
ralf
18b60c1638 WIP Mail REST API: fix token auth templates and translation 2023-07-07 13:59:04 +02:00
nathan
5c112f471b Fix wrong account type 2023-07-04 10:02:13 -06:00
ralf
333750587c WIP REST API: show checkbox in application password to (re-)generate new token and display it 2023-07-04 11:22:49 +02:00
ralf
ec664540fd WIP Mail REST API: application password fixes and translation 2023-07-04 10:39:23 +02:00
ralf
07300704bc WIP Mail Rest API: UI for application passwords/tokens for admin 2023-07-03 17:09:26 +02:00
nathan
3cfdca0ae9 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-06-29 13:36:28 -06:00
nathan
623ba146e4 Admin: Clicking 'Save' for custom translations forces a browser reload so translations are immediately available to the user 2023-06-09 13:52:14 -06:00
nathan
1d4bc10fbb Admin: Set a min-width in ACL dialog 2023-05-30 09:46:40 -06:00
Ralf Becker
68aaad7f87 pending translations from our translation server 2023-05-24 11:52:22 +02:00
ralf
d3ff4dc2e8 remove editModeEnabled as unnecessary 2023-05-17 17:57:57 +02:00
hadi
998039b464 Do not translate category names 2023-04-25 12:02:35 +02:00
nathan
e706b2fe05 Admin: Remove missing content types from custom field type2 to avoid validation errors on submit 2023-04-24 14:04:21 -06:00
Ralf Becker
de8824589e pending changes from our translation server 2023-04-12 11:17:25 +02:00
ralf
05c2896de9 make the actual content-column with aliases and forwarding addresses flex, not the last column with checkboxes 2023-04-11 18:27:51 +02:00
ralf
b3ea3c89cf implement onlyEmail attribute for et2-select-mail to only display email address, even if we have a full rfc822 address and use it for aliases and forwards in admin mail 2023-04-11 18:19:17 +02:00
Ralf Becker
d2d875d019 pending translations from our translation server 2023-03-28 10:10:20 +02:00
Ralf Becker
4caa637bd1 pending translations from our translation server 2023-03-23 21:18:45 +01:00
ralf
0c13bc863a stop Chrome from autofilling passwords and do NOT display a password for OAuth when editing an account 2023-03-14 10:18:46 +01:00
Hadi Nategh
7baab8b651 Fix mailaccount dialog with multiple account ident set breaks window sizing 2023-03-08 11:42:48 +01:00
ralf
f0a2a4608e fix TypeError and missing padding after OAuth authentication in wizard 2023-03-08 11:08:21 +01:00
ralf
cba93ad4ce fix some typos or ancient syntax 2023-03-07 08:19:15 +01:00
ralf
a94038163c fix not generally not working display multiple groups in status and also not displayed avatar pictures in that case 2023-02-28 15:15:23 +01:00
ralf
81d044d2a5 bump version to 23.1 2023-02-28 08:50:48 +01:00
ralf
f44363aad9 remove recaptcha_* config used by no longer supported SiteMgr 2023-02-27 13:39:08 +01:00
ralf
40dffb2f91 disable usage statistic for now, as there is no more backend 2023-02-27 12:57:57 +01:00
nathan
9fa67c22a1 Fix missing icon in category list 2023-02-23 15:06:13 -07:00
ralf
cf9a428e10 fix for EGw unusual position of Cancel button first 2023-02-23 12:13:10 +01:00
nathan
34cc0ff5be Switch vbox with details back to tabbox now that we have et2-tabbox_mobile 2023-02-22 12:37:06 -07:00
ralf
3fbd2dcdc8 fix not working changing password for account in SQL 2023-02-21 14:34:36 +01:00
Hadi Nategh
369bddef2f Adopt header's buttons in mobile templates 2023-02-21 13:39:50 +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 Becker
ce140e5eb6 pending translation from our translation server, thanks to Ministry of Post and Telecommunications Kambodscha for the Khmer translation 2023-02-17 15:48:17 +01:00
Ralf Becker
9af53cfab4 pending translation from our translation server, thanks to Ministry of Post and Telecommunications Kambodscha for the Khmer translation 2023-02-17 15:46:37 +01:00
Ralf Becker
7e1fdc4637 pending translation from our translation server, thanks to Ministry of Post and Telecommunications Kambodscha for the Khmer translation 2023-02-17 15:45:29 +01:00
nathan
8d58eefc0a Change side menu bullet icons to 16px 2023-02-15 14:58:10 -07:00
Ralf Becker
7343283e12 translations from our translation server 2023-02-09 16:18:01 +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
Hadi Nategh
d756268dbe Fix edit acl dialog fails on reload 2023-01-19 14:05:21 +01:00
Hadi Nategh
9e1b21e5e3 Cleanup "id=tabs" from all converted tabbox to et2-vbox which caused wrong namespace 2023-01-19 10:56:41 +01:00
ralf
f4f77e1642 Fix install instructions to also add /status to Nginx/Apache2 reverse proxy on the host 2023-01-18 14:37:46 -06:00
ralf
4298006e31 Fix comment on how to enable status page and fix PHP error caused by the comment :( 2023-01-18 08:39:56 -06:00
ralf
0f5fedfc5d * Admin: added PHP FPM status page and documented how to enabled it 2023-01-17 16:45:26 -06: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
8ec106f22b converting .xet files to new webcomponents-format 2023-01-04 11:28:10 -06:00
StefanU
ab0038a92d
Update admin app icon
Size adjusted: 28px => 32px, file optimised
2022-12-27 21:30:57 +01: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
nathan
d1e134677a Admin: Reduce sub-header font size 2022-12-14 08:56:01 -07:00
nathan
af5155661d Admin: Fix Site configuration sub-header style 2022-12-12 14:55:39 -07:00
nathan
9da38628a0 Admin: Make sure account is in select_options to avoid having to load it 2022-12-12 13:13:18 -07:00
nathan
513b1dd4f8 Fix missing class error 2022-12-09 13:13:53 -07:00
nathan
086d4c0620 Give icon a width in group edit Applications tab
Fixes OpenID icon was original size (300px)
2022-12-09 10:02:30 -07:00
ralf
f325e15108 change config template, to enforce only entering numbers, as the label suggested before 2022-12-06 10:10:51 +01:00
ralf
f61ce9eae8 fix installation under PHP 8.1 2022-12-05 15:55:30 +01:00
Ralf Becker
c28a8648d4 missed pending change from our translation server 2022-12-02 10:02:27 +01:00
nathan
390fbf3608 Dialog work
- Switch from LionDialog to SlDialog as base
- First input should get focus
- First button gets set as primary (if no default set), Enter key will act as a click on it
- Escape key closes dialog
2022-11-30 15:59:25 -07:00
nathan
a3f37c075e Fix category name indenting in category list 2022-11-28 09:20:06 -07:00
nathan
3402ed645a Quota changes
- nicer error message
- add quota for group directories with separate default
- support for more decimal places in human file size
- add some help_text to default quota
2022-11-23 13:53:47 -07:00
nathan
8434549ace Add quota for home directories
Set default quota amount in Admin -> Applications -> Filemanager -> Quota
2022-11-18 12:43:27 -07: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
98dc356d75 Admin -> Customfields: Reduce spacing between appname & "type" 2022-11-09 08:30:27 -07:00
nathan
104680c477 Fix hidden nm with no initial rows were requesting data too early 2022-11-07 14:51:42 -07:00
nathan
78333613fa Et2Select: Fix change event got fired too early
If fix_bad_value() made a change, that was triggering change event before Et2App.et2_ready() had been called
2022-11-07 09:57:00 -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
85cc58b32b Admin: App refresh now refreshes admin nextmatches again 2022-10-28 10:55:29 -06: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
3c4b709e52 Admin: Update 'User groups' in sidemenu tree when a group change is pushed 2022-10-19 11:14:49 -06:00
nathan
c985338a11 Admin push update fixes
- Implement for categories
- Fix some account update duplication
2022-10-18 11:29:22 -06:00
nathan
f2ebd369ef Admin: Fix user list was 100px tall when switching Global Categories -> User accounts 2022-10-17 10:52:28 -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
ralf
a7e4cdf3b4 fix editing mail-accounts removed all but the first alias (no multiple attribute set) 2022-09-21 08:50:44 +02:00
Ralf Becker
872aeaa95f pending translations from our translation server 2022-09-14 11:08:00 +02:00
Hadi Nategh
f7c8c09a4b Drop tutorials 2022-09-12 13:24:00 +02:00
Hadi Nategh
69893e891b WIP Ui: fix more dialogs initiation pop up & tab size 2022-08-30 13:46:18 +02:00
nathan
d521d2aa24 Admin: Fix some errors deleting a group
- use the minified app.js
- export the JS class
- include the PHP command class explicitly so it's always found
- Make sure to send all expected parameters to ajax_delete_group
2022-08-29 14:25:39 -06:00
Hadi Nategh
bf6f50f14e Adopt buttons used in mobile template to new buttonIcon widget 2022-08-23 13:14:34 +02:00
ralf
e08824b45b drop manual styling of placeholder icon and no longer used multiple account switch 2022-08-23 11:14:07 +02:00
ralf
ef599cb219 drop all size attributes (except SL size: small, large, medium), as it messes up too much
you can always set a width manually, if you don't want flex to share the width equally between input fields
Also removed automatic conversation of image to name attribute for new et2-button-icon, so our image setter can switch between our own icons and the SL icon library
2022-08-23 11:12:10 +02:00
Hadi Nategh
082d6aa791 WIP Mobile template: Fix some of apps add buttons 2022-08-22 16:19:23 +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
Hadi Nategh
9b7fe9403b Drop pixelegg template from admin 2022-08-11 13:15:30 +02:00
ralf
bcff7ab4dc fixing pixelegg less/css files to address images in default/images
remove no longer necessary pixelegg/images symlink to default/images
revert hint.png as the pixelegg one was never used
2022-07-31 10:49:35 +02:00
ralf
0113a93ffd move images from pixelegg to default and drop png or gif, if we have an svg 2022-07-28 17:56:34 +02:00
ralf
f5cf39f224 allow to disable installing EGroupware as mailto handler globally 2022-07-26 10:05:43 +02:00
ralf
817aba5af6 fix custom fields (somehow input widgets had no readonly) and some JS errors
Et2Number still misses styles, thought it extends Et2Textbox
2022-07-22 09:03:54 +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
789d2c9748 setting full_email for select-email widgets (aliases & forwards) and label-on-left for smtp&sieve port (does NOT yet work) 2022-07-20 08:56:18 +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
cbbe8c4400 remove some app-specific CSS f*cking up the alignments 2022-06-22 17:04:45 +02:00
ralf
2db52d939b improve automatic conversation from taglist, by setting multiple=true, allowFreeEntries=true and enableEditMode=true
fix Admin > Mail account by using et2-select-email instead of taglist, as et2-select-multiple does NOT yet support allowFreeEntries and enableEditMode
2022-06-22 16:28:34 +02:00
ralf
ace84d7953 fix not set image (if it was set to "") and missing onclick attribute
thought some button click-handler are still not working
2022-05-13 16:54:02 +02:00
ralf
8df2a2fc49 fix error in admin, when nothing is loaded in the ifram 2022-05-05 12:48:26 +02:00
ralf
97418862f4 fix not working [+Add] button in admin --> (onclick-)attributes must use double quotes 2022-04-29 15:16:19 +02:00
nathan
f8f04071be CSS / Layout cleanup
- Remove margin from input,button,select
- Fix some spacing issues
- Switch selects from display:inline-block to display:block so they take up all parent's space
- Let background (required) color show through select tag
- Some layout tweaks on mail account template
2022-04-22 13:07:22 -06: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
234684061d Et2Split: Bugfixes
- better handling of nested dynheight
- handling orientation property
- avoid resizing when not visible
2022-04-20 14:15:49 -06:00
nathan
2ba299f876 Change buttons that used to be just an image to be just an image
- Remove Et2ButtonImage, it's not needed.  Buttons without labels look the same
- Add Et2Image to take its place
- Change etemplate modifier to use Et2Image for buttononly
- Some styling for mail account placeholder button
2022-04-08 13:03:20 -06:00
nathan
3f86e98257 Deal with et2-button-image showing label 2022-04-07 16:24:45 -06: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 Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
ralf
238a22ba01 replace multiple="dynamic" with expand_multiple_rows="4" and remove button to switch to multiple 2022-03-18 22:27:33 +02:00
nathan
9087ea644b Admin: Switch from et2_dialog to Et2Dialog 2022-03-17 15:36:06 -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
1498a8f9e0 pending translations from our translation server 2022-02-07 07:58:11 +01:00
Hadi Nategh
dd1d62512f Revert "Add missing icons for buttons used in templates"
This reverts commit 528208dca8.
2022-01-24 12:44:27 +01:00
Hadi Nategh
528208dca8 Add missing icons for buttons used in templates 2022-01-24 11:04:06 +01:00
Hadi Nategh
4853cefa0c Add missing icons for applications add buttons 2022-01-20 13:32:27 +01:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
nathan
d69d57e6e9 Merge branch 'master' into web-components 2021-12-06 10:52:10 -07:00
Ralf Becker
af08ee1495 pending translations from our translation server 2021-12-04 15:44:14 +01:00
nathan
2545c8fde1 Merge branch 'master' into web-components 2021-12-01 15:31:45 -07: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
nathan
b91e1d8a5f Merge branch 'master' into web-components 2021-11-18 10:28:30 -07:00
Ralf Becker
f2af53e1c7 fix PHP 8.0 Error: Undefined constant "data" 2021-11-18 14:54:24 +01: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
nathan
ed66beaf8f Merge branch 'master' into web-components 2021-11-10 10:25:51 -07: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
nathan
f4ad6c6dbc Merge branch 'master' into web-components 2021-11-08 09:23:48 -07:00
Ralf Becker
7792c706a6 fix PHP 8.0 error: Undefined constant "__ALL__" 2021-11-08 11:25:42 +01:00
nathan
e03b8bbdc9 Merge branch 'master' into web-components 2021-11-05 11:08:31 -06: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
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06: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
nathan
fbbc466c78 Merge branch 'master' into web-components 2021-10-18 10:56:05 -06: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
Hadi Nategh
9af2806cc0 Fix account selection for category owner field 2021-10-11 16:48:21 +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
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -06: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
Ralf Becker
ddddc5ba05 next big chunk of fixed PHP 8.0 Warnings 2021-10-05 14:11:11 +02:00