Commit Graph

2537 Commits

Author SHA1 Message Date
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
Ralf Becker
d95894d530 use etemplate-exec-id as CSRF token for ajax requests 2020-01-29 11:08:44 +01:00
Ralf Becker
e3aeb0487c pending changes from our translation server 2019-12-20 08:42:01 +01:00
Ralf Becker
7b30bb7b0d * Admin: optional session-action column in access-log and sessions
also no longer update access-log in session-class destructor, as it fails with skipping permanent logging for WebDAV and others
2019-12-14 13:09:22 +02:00
Hadi Nategh
77dba49f9e Fix double scrollbar in edit acl dialog 2019-11-27 13:57:17 +01:00
Hadi Nategh
2e43fecd66 Commit new translations from translation server 2019-11-25 16:44:58 +01:00
nathangray
8b503dbae3 Admin: change delete user filemanager hook to move home dir, but only search /home for other files
- Translation from Birgit
2019-11-19 10:19:04 -07:00
nathangray
a39d257eac Admin: change delete user home directory back to special case, getting actual file count takes way too long. 2019-11-18 14:02:38 -07:00
nathangray
94a9290776 Use defined tree constants instead of strings 2019-11-18 09:18:06 -07:00
nathangray
d8faef3503 Admin: Extend Vfs::deleteAccount hook to all the files it can find, not just home dir. 2019-11-07 13:46:14 -07:00
nathangray
1eda093753 * Admin: Add filemanager (home directory) as an option to move to new user when deleting an account 2019-11-06 09:49:51 -07:00
nathangray
b8a7c64301 * Admin: Fix some hooks got missed when deleting a user 2019-11-04 14:13:23 -07:00
Ralf Becker
ebf2cd8601 pending translations from our translation server 2019-10-31 12:55:11 +01:00
Hadi Nategh
3d05c69495 * Admin: fix deleting of customfields type not working 2019-10-31 12:18:30 +01:00
Ralf Becker
5d8afa96c9 * Statistik: add maintenance release version and docker install type 2019-10-29 13:09:06 +01:00
Ralf Becker
45a62a3b5d Make sure we have lid for hook even if not changed, some backend require it 2019-10-10 16:04:11 +02:00
nathangray
4e67569b14 * Admin: Fix adding custom type status or setting type owner was not saved 2019-10-09 13:09:27 -06:00
Ralf Becker
9e1b9f041d * CE-Groups: fix error deleting groups 2019-09-26 22:31:52 +02:00
nathangray
a1251b528f Admin - fix user accounts not displayed after submitting or canceling statistic
nm needs to start enabled or its initialization is skipped
2019-09-16 09:34:11 -06:00
nathangray
923cc0b01b Admin - Fix keyboard shortcuts not properly loaded for customfields for some apps
Infolog & tracker at least, maybe others.
2019-09-03 14:50:36 -06:00
nathangray
60ab28fd0e Missing translations reported by Stefan Unverricht 2019-08-27 15:43:58 -06:00
Hadi Nategh
a76dd729be Hide groups template on initialization (since it's getting disabled on et2_ready after nm resized) otherwise nm resize takes its raw height into account which breaks users list size 2019-08-06 10:45:36 +02:00
Ralf Becker
fad3064498 German translation for "remember me" token and other missing ones 2019-08-05 14:46:16 +02:00
Ralf Becker
507d5cc80a fix phrase "config" 2019-08-05 14:46:16 +02:00
Ralf Becker
2776d215e2 * Login: RememberMe token for either automatic login or as 2. factor for 2-Factor-Auth 2019-08-03 18:37:18 +02:00
Ralf Becker
6435eb1293 * Api: fix error adding/editing catgories or custom fields 2019-07-29 11:21:54 +02:00
nathangray
374ebecb2e Admin - better sizing on delete account popup to avoid scrollbar 2019-07-22 15:45:25 -06:00
nathangray
f160c697e4 Admin - When deleting a user, separately list apps that cannot handle it through hook 2019-07-22 15:11:09 -06:00
Ralf Becker
6aaec6438f * Admin: fixed Site config did not store ("Error: 1") 2019-07-22 13:03:12 +02:00
nathangray
aefa8258a1 Admin - Ask which apps to transfer (others are discarded) when deleting account 2019-07-19 14:31:27 -06:00
Ralf Becker
8520b0ba15 do NOT save config, if there is an error, also let config hook know if it is called initially or after an apply 2019-07-17 11:16:07 +02:00
Ralf Becker
efcb0471b3 bump version to 19.1 2019-07-16 10:46:59 +02:00
nathangray
0731731e27 Admin - fix missing/incorrect filter options in user export definition 2019-07-10 15:50:31 -06:00
nathangray
4592a81958 Admin - Make delete warning bold 2019-07-08 14:03:18 -06:00
nathangray
23c8e659ce Fix translation typo 2019-07-08 14:01:12 -06:00
Ralf Becker
d9ec6bf3e1 pending translations from our translation-server 2019-06-29 10:42:47 +02:00
nathangray
065fa2f78d * Admin - Fix deleting custom field from list's context menu changed the modified date on all fields 2019-06-24 11:35:30 -06:00
nathangray
2a0415561d Admin - German translations for account delete dialog from Birgit 2019-06-24 09:43:52 -06:00
nathangray
2737ae2b99 Admin - delete account - add missing lines about mail & filemanager 2019-06-24 09:17:22 -06:00
nathangray
7306cc36ab Admin - Add warning about deleting all records if nobody is selected to account delete popup 2019-06-21 09:36:07 -06:00
nathangray
e08247d60a Admin - show a count of how many entries a user owns in delete dialog 2019-06-19 10:34:09 -06:00
nathangray
759fcbca51 Admin - Record old values for change history when import updates an existing account 2019-06-17 16:30:07 -06:00
Ralf Becker
f11827a8f3 pending changes from our translation server 2019-06-17 16:18:08 +02:00
nathangray
4d8164bb77 Clear & reset content, modifications & readonlys when resetting the request. 2019-06-13 10:14:08 -06:00
nathangray
c259893926 Admin - remove a few more fields we don't want in periodic child jobs 2019-06-12 14:00:45 -06:00
nathangray
c500403e63 Admin - remove a few more fields we don't want in periodic child jobs 2019-06-11 14:37:06 -06:00
nathangray
82065a25ca Admin - Fix group changes sometimes not showing properly in history 2019-06-10 09:55:36 -06:00
Ralf Becker
ad3576903a allow to disable or require 2-Factor-Auth 2019-06-07 20:28:49 +02:00
Ralf Becker
914de29859 improve user-agent formatting and use is also for accesslog 2019-06-05 18:18:23 +02:00
nathangray
8f2339e67c Fix sometimes missing admin translations 2019-06-05 09:41:40 -06:00
nathangray
e8227348b4 Fix sometimes missing admin translations 2019-06-05 09:15:40 -06:00
nathangray
ffa1102687 Change delete group handler to accept documentation data 2019-05-28 09:59:55 -06:00
Ralf Becker
5cf5ed74a8 also mask openid secrets 2019-05-27 14:11:51 +02:00
Ralf Becker
7f18d059dd allow to call PSR-4 admin-cmds classes with admin-cli.php 2019-05-27 14:11:51 +02:00
nathangray
e62e27b179 Fix some missing translations found by Stefan Unverricht 2019-05-23 11:25:06 -06:00
nathangray
34efaaa274 Add documentation tab when deleting custom application type 2019-05-22 09:35:20 -06:00
nathangray
0c9ef3811e Import user - Remove conditions on account_id, backends don't support search by it 2019-05-21 10:41:50 -06:00
nathangray
edfd5fd24d Etemplate - also submit action data 2019-05-14 16:43:15 -06:00
nathangray
e71bbd8abe Store requester and comment into command history when importing users 2019-05-10 13:33:04 -06:00
nathangray
aee79a4d1b Document set & old properties 2019-05-09 15:31:57 -06:00
nathangray
c5ea38f551 Fix admin_cmd_account_app new value sometimes had string keys when removing access 2019-05-09 14:54:21 -06:00
nathangray
7d07d00a0b Fix delete access bug 2019-05-09 13:49:45 -06:00
nathangray
2d6807f2b5 admin_cmd_change_account_id changes to get nice command history 2019-05-09 11:48:12 -06:00
Hadi Nategh
84e4a6d1ce WIP of admin cmds template:
- Fix splitter bar background
2019-05-09 15:50:10 +02:00
Hadi Nategh
73eda7ec30 WIP of admin cmds template:
- fix template for admin cmds
2019-05-09 12:24:45 +02:00
Hadi Nategh
1a69912a9c WIP of admin cmds template:
- fix wrong class name
2019-05-09 11:50:28 +02:00
nathangray
a6c1ff4f92 admin_cmd_account_app bugfixes
- Fix old/new apps not properly saved for history
- Fix documentation not saved
2019-05-08 15:47:10 -06:00
nathangray
4fe4e0a553 Fix deleting category from edit dialog didn't work 2019-05-08 14:32:53 -06:00
nathangray
d046cf67fd Fix deleting category from edit dialog didn't work 2019-05-08 14:31:50 -06:00
nathangray
f2ae317771 Keep ID out of customfield history change list 2019-05-08 10:48:19 -06:00
Hadi Nategh
ff84674275 WIP of admin cmds template 2019-05-08 18:42:37 +02:00
nathangray
7915bfd5b2 Add documentation tab to deleting ACL 2019-05-07 15:23:34 -06:00
nathangray
25f073a0b7 Changes for Policy
- Add tab to edit category dialog
- Change delete context menu action to use popup instead of dialog
2019-05-03 14:45:40 -06:00
Hadi Nategh
787561592e Make active as a filter for getting list of active accounts 2019-05-03 11:42:49 +02:00
nathangray
e5b3aea258 Fix forced preferences stored nulls 2019-04-29 14:43:18 -06:00
Ralf Becker
609554a862 missing translation 2019-04-26 17:13:37 +02:00
Ralf Becker
bf2de7f653 * Admin: white-list IP addresses from blocking or set higher number of attempts 2019-04-26 17:11:54 +02:00
nathangray
f44a26432c Some changes to tests, maybe they pass
Mostly about getting a session for Sharing, even though we're on the command line
2019-04-24 14:14:35 -06:00
nathangray
6f59d825a5 Fix missing types from admin queue and history filter 2019-04-10 14:13:14 -06:00
nathangray
e44b302609 Add documentation tab to customfield edits 2019-04-09 14:48:44 -06:00
nathangray
529007483b Admin - allow empty values (=Select one) as first option for custom select 2019-04-09 11:59:31 -06:00
nathangray
9ec214160a Admin - fix some more missing command history 2019-04-09 11:45:53 -06:00
Ralf Becker
f5882ddd8d Add some translation 2019-04-08 15:55:28 +02:00
Hadi Nategh
08ac18c4db Apply new style for row selection and hover 2019-04-03 11:26:32 +02:00
nathangray
1c8db476f3 Missing or not translated phrases from Stefan Unverricht 2019-03-29 09:22:06 -06:00
nathangray
480a1ade81 Fix parent command filter 2019-03-29 09:22:06 -06:00
Ralf Becker
6434455bab fix not able to set invite rights for groups in calendar
if invite enabled only for groups
2019-03-29 15:09:09 +01:00
nathangray
a5402ad4b6 Admin - Make statistics locked only when date requires it, access through sidebox menu does not lock 2019-03-27 11:57:20 -06:00
Hadi Nategh
44d81664cd Add some translations 2019-03-27 15:07:01 +01:00
Hadi Nategh
266d4ebd70 Some more styling changes:
- Add png version of app icons
- Add nm header column selection icon
2019-03-26 12:21:33 +01:00
nathangray
5110e999b5 Admin - some documentation suggestions from Scrutinizer 2019-03-25 08:49:48 -06:00
nathangray
05d60ba27a Admin - add ability to filter command history on parent 2019-03-22 11:59:27 -06:00
nathangray
b8bbe81022 Admin - admin_cmd_account_app
Translate app names, slightly better toString()
2019-03-22 09:48:35 -06:00
nathangray
30fe3d588b Scrutinizer suggestions 2019-03-21 14:52:56 -06:00
nathangray
c2ee1cc1e0 Correct default command result 2019-03-21 14:36:46 -06:00
nathangray
f7abe770bd Admin - Keep the result of running the command (eg: how many rows affected, etc) 2019-03-21 14:29:33 -06:00
nathangray
674b63f77b Admin - App refresh now just refreshes nextmatch if present, reloads if not 2019-03-21 13:54:41 -06:00
nathangray
9741205576 Fix broken locking on statistics page 2019-03-21 13:14:56 -06:00
nathangray
9213a0c7a6 Documentation fix 2019-03-21 11:39:06 -06:00
Hadi Nategh
f3b0362653 Remove extra navbar icons from mobile template 2019-03-21 16:43:23 +01:00
nathangray
d45070f322 Property and type handling improvements from Scrutinizer 2019-03-21 09:08:42 -06:00
Hadi Nategh
d8d6d4d247 Apply new app color codes 2019-03-21 11:53:37 +01:00
nathangray
de54fdb084 Store proper account ID if called with account_lid, prevents displaying as "Change password for 0 (Current user)" 2019-03-20 15:36:20 -06:00
nathangray
0aedde6b64 Fix some Scrutinizer warnings 2019-03-20 14:45:03 -06:00
nathangray
b2404ba895 Fix some Scrutinizer warnings 2019-03-20 14:40:36 -06:00
nathangray
6aea0844ba Customfield command (admin_cmd_customfield) history 2019-03-20 14:03:32 -06:00
Ralf Becker
4be62b63ee labels, options and widgets for admin_cmd_preferences 2019-03-20 18:15:02 +01:00
nathangray
6afccb215b Category command
- Save original name for tracing if category is later deleted
- Skip some internal values (level, app_name)
- Nice history for delete category command
2019-03-20 10:33:10 -06:00
nathangray
8c4cfeb7f7 Avoid saving msg when deleting category 2019-03-20 10:30:54 -06:00
Ralf Becker
858f2c0119 getting admin_cmd_config history finished:
- deprecate app="phpgwapi" and appname, using now "store_as_api" and changed app
- update script to fix database
- use "config" hook to load application specific options
2019-03-20 11:54:49 +01:00
nathangray
2844045d90 Get changes showing up for admin_cmd_category 2019-03-19 16:03:52 -06:00
nathangray
72de1b2852 Skip some more widgets 2019-03-19 16:00:04 -06:00
nathangray
0079b0683a Get changes showing up for admin_cmd_acl 2019-03-19 14:57:25 -06:00
nathangray
83252a6e47 Ignore selects too 2019-03-19 14:33:09 -06:00
nathangray
53b8d9fbbe Skip some unneeded and invalid status widgets 2019-03-19 11:10:07 -06:00
Ralf Becker
15fc8323e6 dont store or overwrite with empty labels 2019-03-19 17:31:20 +01:00
Ralf Becker
c6c40022df fix admin_cmd_edit_group 2019-03-19 17:19:34 +01:00
Ralf Becker
602f3093b5 translate labels like "{something} {else}" 2019-03-19 17:19:10 +01:00
Ralf Becker
fa8ee606b3 WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values 2019-03-19 15:34:44 +01:00
Ralf Becker
e1d4341ebf pending German translation from our translation server and Stefan Unverricht 2019-03-19 10:16:28 +01:00
nathangray
ff5957947e Admin - Add history display stuff for edit group command 2019-03-18 17:13:58 -06:00
nathangray
ee70e699e2 Get a nice history for admin_cmd_edit_user 2019-03-18 16:32:54 -06:00
nathangray
fa48e1db3c Fix unconditional insert of users failed with invalid action 2019-03-18 16:11:16 -06:00
nathangray
e7b06de719 Api - automatically find labels for int or floats too 2019-03-15 16:01:43 -06:00
Ralf Becker
8c6fc0f4d5 WIP admin history 2019-03-14 18:57:07 +01:00
Ralf Becker
6ba3dbbd33 fix unable to (re-)activate account 2019-03-14 15:14:25 +01:00
Hadi Nategh
3304322c6c Revert commit 39135d8d42 and use nextmatch-customfilter instead 2019-03-14 09:51:30 +01:00
Hadi Nategh
39135d8d42 Fix Application column selection for admin queue and history 2019-03-13 10:55:48 +01:00
Ralf Becker
21962bdfe4 WIP admin history 2019-03-12 17:13:36 +01:00
Hadi Nategh
16ea4e6e8d Fix upload header logo label and translations 2019-03-08 15:06:02 +01:00
Ralf Becker
ab2d5e4c66 pending changes from our translation server 2019-03-07 10:33:16 +01:00
Hadi Nategh
1ec869538d Allow style tag in content of main/login messages 2019-03-05 14:08:19 +01:00
Alexandros Sigalas
b328bf151a Fixed, PHP Warning: count(): Parameter must be an array or an object that implements Countable in 2019-03-03 15:16:43 +01:00
Ralf Becker
d44cffbf8b new admin-cli.php --delete-user parameter --not-existing to delete all no longer existing accounts 2019-02-27 11:59:33 +01:00
Ralf Becker
89235e643d fix not working listing of exit-codes incl. assigning distinct ones 2019-02-26 16:38:16 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
fd519b3c39 disable omitting of unchanged fields for non SQL account backends
as existing backend code then tries to remove the value, which fails with an error from LDAP server, as eg. last name is required
2019-01-30 17:28:42 +01:00
nathangray
03aead70e8 Do not recreate deleted periodic execution async jobs 2019-01-28 15:32:17 -07:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
nathangray
05ce70f1a8 Fix missing types in admin queue and history 2019-01-23 10:41:52 -07:00
nathangray
231946ae58 Cancel async job when deleting command 2019-01-23 09:37:42 -07:00
Ralf Becker
218af30b7c allow space in CF selectbox values and warn about other not supported values 2019-01-17 18:09:51 +01:00
Hadi Nategh
e90808ac2b Move minifying option into general tab 2019-01-15 11:41:10 +01:00
Ralf Becker
4a9b88468a moving all logic to admin_cmd::get_rows and only leave session stuff in admin_cmds::get_rows 2019-01-14 15:26:04 +01:00
Ralf Becker
f09ffe0036 pending translations from our translation server 2019-01-12 21:00:32 +01:00
Ralf Becker
cba3e713b4 fix saving of group preferences 2019-01-10 15:08:11 +01:00
Hadi Nategh
4e59184d00 Fix translations for Home screen 2018-12-20 16:06:12 +01:00
Hadi Nategh
938ebae39a Fix some translations 2018-12-17 11:09:36 +01:00
nathangray
65efa72cc0 Add admin logging for customfields 2018-12-11 10:10:24 -07:00
nathangray
f559a87289 Add admin logging for categories 2018-12-11 10:10:24 -07:00
Hadi Nategh
d9e1ddf506 W.I.P. of modern theme with SVG icons enabled:
- add colored svg navbars
2018-12-11 16:52:55 +01:00
Ralf Becker
c2179355d7 submitting to https://www.egroupware.org/usage-static (no more http!) 2018-12-10 15:42:15 +01:00
Ralf Becker
fc95580c05 pending spanish translations from our translation server 2018-12-10 12:29:14 +01:00
Ralf Becker
3552afa91c converting turkish translations to utf-8 2018-12-10 10:59:43 +01:00
Ralf Becker
a26e0717b5 remove he and rw translations, as they contain (nearly) nothing and are not selectable 2018-12-06 14:11:42 +01:00
nathangray
c83d30512e Import/Export - change signature of method that gets options to allow definition-specific values
Do export too, for consistency
2018-11-29 10:33:56 -07:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
924d03e7e0 Check that account passwords are the same, and fail if they aren't 2018-11-13 15:57:20 -07:00
Hadi Nategh
ec1c6360f0 Switch main and login screen positions and add some description regarding default page 2018-11-06 17:12:32 +01:00
Hadi Nategh
60be39ec2c W.I.P. migration of mainscreen to et2:
- Fix not saving data when the content is empty
2018-10-30 15:42:18 +01:00
Hadi Nategh
28f270e98c W.I.P. migration of mainscreen to et2:
- Delete no longer used old template
2018-10-30 12:07:05 +01:00
Hadi Nategh
e6735f635d W.I.P. migration of mainscreen to et2:
- Fix extra space added when save the entry
- Fix htmlarea not getting a right height when is in inactive tab
2018-10-30 12:02:55 +01:00
Hadi Nategh
631e554d56 W.I.P. migration of mainscreen to et2:
- Fix data not being loaded on initiation
2018-10-29 17:50:55 +01:00
Hadi Nategh
c9ec548a53 W.I.P. migration of mainscreen to et2 2018-10-26 16:39:55 +02:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Ralf Becker
610f44559f fix PHP 7.2 Warning: Use of undefined constant in xet files: {$cont[nm][something]} --> {$cont['nm']['something']} 2018-10-19 09:46:54 +02:00
nathangray
522b30c62e Add type and comment columns to command log 2018-10-09 11:54:50 -06:00
Ralf Becker
0d5eba3d7d log exception, if (periodic) run throws one / fails 2018-09-28 12:59:01 +02:00
nathangray
cf28dbecbe Display command result in list 2018-09-25 15:08:25 -06:00
nathangray
d7c5dc71cf Admin - add filter for periodic runs
- Store & display exec results for periodic runs
2018-09-25 13:17:52 -06:00
Ralf Becker
d7b1179eae fix PHP Warning: Use of undefined constant account_id - assumed 'account_id'
also nicer formatting of data with json and pretty-printed tooltip
2018-09-20 11:46:15 +02:00
Ralf Becker
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02:00
nathangray
d29cd78a7c Use correct admin command object to set run rights 2018-09-13 10:32:26 -06:00
nathangray
f5b9aa3992 Fix not possible to add run permissions via group->access permissions 2018-09-13 10:20:07 -06:00
nathangray
bf49f67782 Add tests to check changing account's groups 2018-09-06 11:01:56 -06:00
nathangray
75e1a8bb3f Cast extra to array to avoid error if documentation tab is not there 2018-09-06 10:42:33 -06:00
nathangray
ccbb0f4d56 Resize delete user popup to fit documentation tab better 2018-09-06 10:42:05 -06:00
Ralf Becker
3161444d09 fix group memberships got lost editing primary-group of an account 2018-09-06 15:23:32 +02:00
nathangray
87ff796a09 Got tests to pass, cleanup debug 2018-09-05 12:33:37 -06:00
nathangray
c90927a306 Trying to get tests to pass
- Intermediate variable throughout
2018-09-05 12:04:09 -06:00
nathangray
d98930a4e8 Trying to get tests to pass
- Try using an intermediate variable
2018-09-05 11:49:10 -06:00
nathangray
7a53eba1a5 Trying to get tests to pass
- Need the app on the intermediate variable
2018-09-05 11:33:40 -06:00
nathangray
4a6e01a217 Trying to get tests to pass
- Try using an intermediate variable
2018-09-05 11:31:29 -06:00
nathangray
6b0e71a644 Trying to get tests to pass
- More debug on the post-change type array
2018-09-05 11:06:34 -06:00
nathangray
bc23882395 Trying to get tests to pass
- Debug the post-change type array
2018-09-05 10:44:36 -06:00
nathangray
ec9a219186 Trying to get tests to pass
- Better message for not having the preference type
- Fix missed in_array() typo
2018-09-05 10:27:19 -06:00
nathangray
cf1f99a828 Trying to get tests to pass
- Cast type array to array
- Try explicitly disconnecting db after test
2018-09-05 09:53:57 -06:00
nathangray
91b5782e5f PHP 5 array syntax 2018-09-05 09:23:28 -06:00
Ralf Becker
a4b4bae571 fix creation of new accounts failed 2018-09-05 17:17:59 +02:00
nathangray
5c3ac9e836 - Fix bug with setting & deleting default & forced preferences
- Add tests
2018-09-04 14:05:58 -06:00
nathangray
afd97a449b Some documentation updates 2018-08-30 11:12:15 -06:00
nathangray
79af5c31fd Add test for delete account command 2018-08-30 11:11:48 -06:00
nathangray
407d3bd3fb Add test for config command 2018-08-30 11:11:19 -06:00
nathangray
be6903b074 - Tests for user & group commands
- Count the admin history to check if commands are logging
2018-08-29 16:30:33 -06:00
nathangray
9681982ff0 Clean out test debug 2018-08-29 13:53:11 -06:00
nathangray
2dc59bc807 Some more test for ACL test on user now 2018-08-29 13:40:16 -06:00
nathangray
7b8387fd28 Some more debug for ACL test on group now 2018-08-29 13:31:48 -06:00
nathangray
532bcc5b07 Trying test on group now 2018-08-29 12:58:28 -06:00
nathangray
fe2f769e63 Come on Travis... Test works now? 2018-08-29 12:48:41 -06:00
nathangray
dc607edee4 Test works now? 2018-08-29 12:01:49 -06:00
nathangray
0b56d0b17f Some debug for test 2018-08-29 11:49:40 -06:00
nathangray
58b70c2d08 Test works now? 2018-08-29 11:37:05 -06:00
nathangray
0ff33ce751 Some more debug for test 2018-08-29 11:28:11 -06:00
nathangray
41f116c3e5 Some debug for test 2018-08-29 11:10:33 -06:00
nathangray
bc13945b7b Try reading the repository before checking.
I'm guessing here...
2018-08-29 10:47:57 -06:00
Ralf Becker
05541e5d9c adding own columns for admin_cmd attributes app and account and add columns to periodically run (and log) admin_cmds (db schema only so far) 2018-08-28 17:07:38 +02:00
nathangray
73b3354b12 Automatic tests for admin_cmd_acl 2018-08-27 16:00:04 -06:00
nathangray
63fddef20b Run ACL changes through an admin_cmd 2018-08-24 12:03:19 -06:00
Hadi Nategh
b4b2b9d5d2 Implement an admin-config setting to be able to disable PGP encryption feature 2018-08-23 16:58:14 +02:00
Ralf Becker
620e20f0e4 fix admin_cmd_user_preferences to use values given and not global preferences object 2018-08-23 15:25:49 +02:00
Ralf Becker
c93719bc02 allow to document group deletion 2018-08-23 15:25:49 +02:00
Ralf Becker
51166dc338 allow to document account deletion 2018-08-23 12:11:33 +02:00
nathangray
5a7c65d0f7 Make sure account_lid is there for hooks, even if not passed in 2018-08-22 09:53:54 -06:00
Hadi Nategh
886bc915cf Preserve the old values to be used in values comparison 2018-08-22 12:27:17 +02:00
Ralf Becker
030eb89f84 using standard site-configuration plus some hooks 2018-08-22 12:15:42 +02:00
Ralf Becker
a53560a546 try fixing "Unsupported operand types" reported by Alexandros
Probably cause by Policy app not being installed.
2018-08-22 11:10:11 +02:00
Ralf Becker
613455a784 fix not stored multiselect / array-values in site-configuration
also added optional appname for apps storing their config under "phpgwapi" like eg. addressbook
2018-08-21 17:29:02 +02:00
Hadi Nategh
563a356eaa Implement admin_cmd for preferences 2018-08-21 14:42:56 +02:00
Ralf Becker
1115db478f using new admin_cmd_config to log and document config changes 2018-08-21 10:23:25 +02:00
Ralf Becker
b1b31e2b0b fix not working admin >> site configuration 2018-08-20 17:27:11 +02:00
nathangray
bfdc1ca966 Admin - Changes for edit group to only log changed fields 2018-08-17 14:53:40 -06:00
Ralf Becker
e50ef193a5 allow application config to use tabs and fall back to (empty) tabs widget in admin.site-config 2018-08-17 14:39:27 +02:00
nathangray
4b354022cb Admin - make sure correct tree leaf gets selected when loading 2018-08-09 15:33:10 -06:00
Ralf Becker
e53482289a fix not displayed requrested and comment 2018-08-03 15:38:34 +02:00
Ralf Becker
7e4c23ca56 fix not being able to change memberships (array_diff_assoc compares everything as string) 2018-08-03 12:41:53 +02:00
Ralf Becker
7f662f8f70 fix edit user to log old values and only run if there is any change 2018-08-03 11:56:34 +02:00
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02:00
nathangray
0e1d21e427 Admin - get category colors properly updating by doing a full reload
Also maybe squashing a bug where admin would switch to iframe
2018-07-31 09:31:11 -06:00
nathangray
459f55d556 Also reload the colors for app category if color changes 2018-07-27 10:10:38 -06:00
Ralf Becker
484ea5cc60 * Admin: fix admin-cli.php to understand bcrypt hashes in header.inc.php 2018-07-09 15:45:31 +02:00
Hadi Nategh
5333be69b3 Fix acl dialog gets scrollbar when editing rights 2018-07-06 14:33:40 +02:00
Hadi Nategh
f586b9e6e9 Add more rows to category selection in global category edit dialog 2018-06-18 11:50:37 +02:00