Commit Graph

2152 Commits

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