Commit Graph

2568 Commits

Author SHA1 Message Date
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