Commit Graph

2568 Commits

Author SHA1 Message Date
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
Ralf Becker
50a7179fce using getDOMNode() instead of private node attribute (no longer existing in Et2Box 2021-09-14 09:44:41 +02:00
Ralf Becker
e20cea757a pending translations from our translation server 2021-09-10 10:19:57 +02:00
Hadi Nategh
1fd43b0bdd * Mail: fix updating/deleting mail accounts does not refresh the mail tree no more 2021-09-01 16:23:38 +02:00
Ralf Becker
eec16362dc amending commit 59ac3f4 "always name generated file app.min.js" 2021-07-19 11:50:33 +02:00
Ralf Becker
a5ad691757 deprecated egw.includeJS() in favor of es6 import statement
with egw composition happening in main window the used import statement happens in that context and NOT in the window (eg. popup or iframe) this module is instantiated for!
2021-07-09 17:27:22 +02:00
Ralf Becker
e03fb45b0e remove currently not supported/necessary development option debug_minify 2021-07-09 08:17:55 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
Hadi Nategh
7a00c3afe7 Fix broken admin 2021-06-10 16:02:07 +02:00
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +02:00
Ralf Becker
c51275fde3 got admin index incl. et2_tree and et2_date_ro working 2021-06-10 13:53:07 +02:00
Ralf Becker
5298336886 include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
nathangray
3173cbb103 Admin: Exclude some apps from transfer list, even though they support the needed hook 2021-05-18 09:19:59 -06:00
nathangray
b32727df9b Admin: Fix delete multiple user accounts did not display app options 2021-05-17 08:50:33 -06:00
Ralf Becker
765b95cd49 release session after accounts query was cached (in session) 2021-05-16 20:53:38 +02:00
nathangray
6d3ee808d6 Admin: Fix delete user account did not display existing records 2021-05-14 10:33:28 -06:00
Ralf Becker
1f010a4391 Bump version to 21.1 2021-05-08 15:02:24 +02:00
nathangray
3aa90c3fd5 Fix config header formatting was missing for some (infolog, projectmanager) apps 2021-04-08 16:53:06 -06:00
Ralf Becker
58d57b99f3 Fix not working delete of single accounts from admin 2021-04-07 14:35:37 +02:00
nathangray
a95f745018 API: Allow custom category icons 2021-03-31 10:52:57 -06:00
Ralf Becker
8fbcb8788e Admin: release session in get_(users|groups) to allow parallel requests to run for 2021-03-29 16:47:19 +02:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Ralf Becker
0b91532bf6 show error if anon-images directory could not be created 2021-03-15 09:45:34 +02:00
Ralf Becker
3fdf4057d6 replace eval with JSON.parse and egw.applyFunc 2021-03-15 08:56:58 +02:00
Ralf Becker
41346235ab pending translations from our translation server 2021-03-01 20:34:07 +01:00
Ralf Becker
a2efa8069c allow to pass the tab as get parameter and passing config object to final_validation hook too 2021-02-26 21:27:57 +02:00
Ralf Becker
f5b1e5a096 modernize config validation hooks a bit to allow to use static methods of namespaced classes 2021-02-26 12:16:00 +02:00
Ralf Becker
f115c63f8a prefer link-registry "entries" for data over app-name 2021-02-23 00:16:51 +02:00
nathangray
8b86b2cf05 Fix lingering cache after deleting multiple accounts 2021-02-22 08:53:08 -07:00
nathangray
4b6551c5a3 - Fix missing quote when updating shares with VFS changes
- Fix user delete entry search for single user
2021-02-16 11:53:32 -07:00
Ralf Becker
4702d51e21 allow site config templates to loop / reload to enable/disable rows 2021-02-16 17:37:35 +02:00
nathangray
e89fe55882 Admin: Fix errors when deleting accounts
- Fix error when deleting a single account
- Fix account cache did not get cleared, so they came back
- Defer actual delete until after response
2021-02-11 15:07:04 -07:00
nathangray
1e15a6efc7 * Admin: Allow deleting multiple accounts at once 2021-02-09 16:53:51 -07:00
Ralf Becker
c37581f43c * EPL/mail: support SpamTitan REST API to manage spam, requires an API token 2021-02-08 17:31:49 +02:00
nathangray
0021080641 Translation fixes from Stefan 2021-02-04 17:00:40 -07:00
Ralf Becker
0f69a5669f pending translations from our translation server 2021-02-03 08:25:50 +01:00
nathangray
42600c90fa * Preferences: Fix deleting multiple categories only removed the first 2021-01-22 14:06:44 -07:00
nathangray
2e5eda7eb9 Admin: Fix clear mail credentials to only IMAP, SMTP, SMIME 2021-01-15 13:54:40 -07:00
nathangray
e864fb9c5d Admin: split clear user's credentials into 2 actions, mail & all others 2021-01-11 11:53:04 -07:00
nathangray
52eb33b96f * Admin: Context menu action to clear user credentials 2020-12-17 13:12:21 -07:00
Ralf Becker
9cf16b7423 * Admin/EMail: display administrative IMAP actions folder ACL and vacation notice in IMAP tab too 2020-12-17 08:02:59 +01:00
nathangray
5246e34638 Admin: Reset created / modified when copying account 2020-11-23 09:32:00 -07:00
nathangray
1064cdeff2 Try to avoid error opening Addressbook policy 2020-11-02 09:17:00 -07:00
Ralf Becker
b8409a479e changes to implement policies on contact sharing 2020-10-26 10:44:40 +01:00
Ralf Becker
e166f4eff9 * Admin: fix IP address validation in site configuration 2020-10-24 09:53:23 +02:00
Ralf Becker
c0e347c155 remove limit in number of rows a multiline input can show 2020-10-20 10:14:11 +02:00
nathangray
05ee7eba37 Avoid some 'array_key_exists() expects parameter 2 to be array' warnings by checking first 2020-10-13 15:20:33 -06:00
Ralf Becker
77b1c0ac33 * Admin: fix session list did NOT show interactive sessions, if push is used 2020-10-06 11:59:19 +02:00
Ralf Becker
7db25dce5e * Admin: push server test to diagnose problems and improved recovery from failed requests / network problems 2020-10-02 20:28:02 +02:00
nathangray
b5ef5126c6 - Send push messages for account delete
- Send actual push type for contact changes
- Handle push deletes for admin
2020-09-22 13:53:08 -06:00
Ralf Becker
9556488db5 * Admin: fix some status filter gave empty rows for more then 50 accounts 2020-09-10 11:11:54 +02:00
Hadi Nategh
ed1be70235 Fix no application value gets set on acl edit dialog 2020-08-11 15:48:18 +02:00
Hadi Nategh
1624ceae07 Return an object for egw message in order to have access to it after display 2020-07-30 15:01:50 +02:00
Ralf Becker
47505cd6b2 translation for cookie SameSite attribute 2020-07-27 14:11:29 +02:00
Ralf Becker
ca73a54d89 * Security: allow to configure SameSite cookie attribute 2020-07-27 14:03:48 +02:00
nathangray
7c2ff113cb Admin: Turn on password suggest for admin edit account 2020-07-24 14:59:19 -06:00
Ralf Becker
361d5cb351 bump version to 20.1 2020-06-28 10:04:21 +02:00
nathangray
9463a0f395 Admin: Fix customfields UI did not use edit() from extending class 2020-06-25 13:06:20 -06:00
Ralf Becker
2c489ef5b8 change default for password attribute plaintext back to true, to not break every existing usage of that widget 2020-06-16 08:37:51 +02:00
nathangray
d7d5837ecf Nicer password widget on account edit dialog
- Added plain-text attribute to avoid encrypting password
- Suggest password now fills both fields the same
2020-06-15 16:08:24 -06:00
nathangray
aab5415873 * Etemplate: Password widget improvements - suggest password button, added as custom field type (stored encrypted) 2020-06-12 10:56:53 -06:00
nathangray
836a3b07e3 Mail: Only show EPL version needed blur if EPL is not available 2020-06-08 13:30:57 -06:00
nathangray
b398935fd6 * Preferences: Fix delete personal category required admin permission 2020-06-03 15:45:25 -06:00
nathangray
10494a0a86 Admin: Add an 'All' account status filter 2020-05-19 11:00:21 -06:00
nathangray
1936849bd7 * Admin: New account status filter (Enabled, Disabled, Expired, Expires, Not enabled) 2020-05-15 13:20:21 -06:00
nathangray
242d435252 Fix a few remaining usages of free(), which was removed as part of the TypeScript conversion 2020-05-15 09:50:38 -06:00
Ralf Becker
c299c82e09 chmod 644 2020-05-08 08:17:33 +02:00
nathangray
12759d7852 This was supposed to be part of 7462bd0177 2020-04-08 12:22:24 -06:00
nathangray
55c90c880c * Api: Fix missing translation when deleting an account 2020-04-07 12:01:59 -06:00
nathangray
7462bd0177 * Api: Fix missing translations in ACL dialog 2020-04-07 11:49:07 -06:00
nathangray
7e1da8d909 Fix some popups restricted to just one popup window
- Admin -> Edit user
- Mail -> View source & View header
2020-03-23 09:57:06 -06:00
Ralf Becker
28fb99ba51 fix typo preventing account creation or update: "password do not match" 2020-03-23 16:14:22 +01:00
Ralf Becker
f0f4fd2ee3 fix to allow setting "anonymous" flag for other accounts and try to fix Chrome autocomplete 2020-03-21 14:38:32 +01:00
Ralf Becker
e9c3533c93 avoid misconfiguration of user "anonymous" NOT flaged as such 2020-03-21 11:43:54 +01:00
nathangray
34ec346821 Fix favourites (& probably some more inherited stuff) broken by TypeScript conversion
Note that any properties declared in a sub-class aren't generally available until after the super() call is done, i.e. in the super constructor they're undefined.
2020-03-20 11:38:38 -06:00
nathangray
d4b9397d62 Refactor tests to avoid deprecated assertions 2020-03-10 15:54:02 -06:00
Hadi Nategh
4f9f699827 Merge branch 'typescript' 2020-03-05 15:00:21 +01:00
Hadi Nategh
0cc7ce12d0 merge master 2020-03-05 14:45:25 +01:00
Ralf Becker
8699957179 fix some warnings (in Travis and otherwise) 2020-03-05 13:39:57 +01:00
Ralf Becker
ce47208874 fix function signature in order to update to phpUnit 8 2020-03-04 18:47:48 +01:00
nathangray
8590939709 * Admin: Add copy account action 2020-03-02 16:00:58 -07:00
Hadi Nategh
b8d36ce2b0 Apply large title again to account delete dialogHeader 2020-02-18 11:41:57 +01:00
Hadi Nategh
b058051170 Rearrange admin delete dialog 2020-02-18 11:29:24 +01:00
Hadi Nategh
c9ccb313ba Fix delete user dialog style 2020-02-17 17:43:26 +01:00
Ralf Becker
20a3dd9fd0 use super.<name>(<arguments>) instead of super.<name>.apply(this, arguments) 2020-02-12 10:37:29 +01:00
Ralf Becker
5f804dd661 use super.<name>(<arguments>) instead of super.<name>.apply(this, arguments) 2020-02-11 17:40:33 +01:00
Ralf Becker
84dd286897 convert admin app.js to TS 2020-02-10 10:02:23 +01:00
Ralf Becker
46c66cc93e convert admin app.js to TS 2020-02-09 12:26:23 +01:00
Ralf Becker
d41bbf4a4b fix warning 2nd array_diff parameter is null, not array 2020-02-04 18:32:00 +01:00
Ralf Becker
4447e1a618 pending translations from our translation server 2020-01-30 13:47:32 +01:00
nathangray
7677461bf6 * Admin: Fix group email got lost on save 2020-01-29 10:13:22 -07:00