Commit Graph

1042 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
ec9bbf28d3 pending stuff to improve admin cmd log required by new addressbook policies 2018-06-04 11:49:24 +02:00
Ralf Becker
84b715c5af * Admin: allow to show last login, IP and password change in list 2018-06-01 14:46:52 +02:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Ralf Becker
3d1ef4512c * Admin: fix bulk password reset to work on minimal install / no longer require old phpgwapi 2018-05-25 15:09:38 +02:00
Ralf Becker
909d7e0228 do NOT update timestamps when migrating account_id eg. to LDAP or AD 2018-04-24 11:27:10 +02:00
Ralf Becker
104cae6081 fix smime key got immediatly deleted again 2018-04-10 14:52:14 +02:00
Ralf Becker
e72c7c76b6 * EMail/sMime: allow non-admin users to upload their keys 2018-04-10 13:15:09 +02:00
Ralf Becker
544dc160ca remove destination ID check, as it only makes sense on chaning single IDs, but might stall migration of whole instances 2018-04-10 12:45:40 +02:00
Ralf Becker
bb2b074963 untested code to make LDAP --> SQL migration work by automatically renumbering groups with identical nummeric ID as users 2018-04-07 12:20:00 +02:00
Ralf Becker
2e04407ed7 fix typo 2018-04-03 20:15:43 +02:00
Ralf Becker
dcb78d9776 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:50:46 +01:00
Ralf Becker
a1fa2246af hook to allow apps to migrate own config etc. in AD/LDAP account_id migration 2018-03-14 14:50:45 +01:00
Ralf Becker
ddd4127ee7 * AD/LDAP migration: change favorites and index states too 2018-03-12 21:22:12 +01:00
nathangray
17a759dbe1 Admin - Can't only delete categories for the selected app. Globals only deletable through Admin 2018-02-21 14:41:34 -07:00
Ralf Becker
ed68be0cdf * Mail/SMime: fix not working storage of public key in mail account
We failed silently, when browser reported something different then "application/x-pkcs12" eg. "application/octet-stream". Now we let OpenSSL decide if file contains a valid SMime key.
2018-02-15 14:45:47 +01:00
nathangray
cf2b759054 * Admin - fix group list filter & sort
- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
2018-01-30 11:28:27 -07:00
Hadi Nategh
a107d0a2ed Check only the appname cause not all apps may have title implemented 2018-01-23 12:33:48 +01:00
Ralf Becker
9b1cce9fcf warn if admin tries to rename user anonymous, as it breaks file sharing and Collabora 2018-01-22 12:42:09 +01:00
nathangray
0e019deb3b Admin - Fix bug limiting group nextmatch to 20 rows at a time 2017-11-16 11:27:59 -07:00
nathangray
42ca76e824 Add a column for run rights, each of which gets their own row 2017-11-02 10:24:47 -06:00
nathangray
1b64ccc996 Admin ACL export
- Suppress 'All customfields' field, it's not applicable
- Add default definition
2017-10-31 11:22:47 -06:00
Ralf Becker
5d6deed27d add token to deny access 2017-10-27 16:22:56 +02:00
Ralf Becker
c3ae6388ef fix warning 2017-10-21 12:29:46 +02:00
Hadi Nategh
1903025cc9 Allow folder notification on INBOX only for popup_only chain 2017-10-06 17:38:26 +02:00
nathangray
7e4570d46f Admin - Add a group list 2017-09-19 11:11:21 -06:00
nathangray
e456f7800c Admin - add ACL export 2017-09-18 14:48:24 -06:00
Hadi Nategh
1d24707143 S/MIME:
- Allow user to upload certificate even for readonly account
- Allow user to delete certificate
2017-09-13 16:05:43 +02:00
Hadi Nategh
3f06a89db5 S/MIME:
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Hadi Nategh
668cbaaacb S/MIME:
- Store email address associated with certificate into cred_email
2017-08-28 12:35:21 +02:00
Hadi Nategh
bbea403298 W.I.P S/MIME:
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
Ralf Becker
472a3a242e need to read identity first 2017-07-12 19:12:14 +02:00
Ralf Becker
d801769d52 if admin explicitly set a non-alias, we need to add it to aliases to keep it after storing signature by user 2017-07-12 18:58:47 +02:00
Ralf Becker
79c1d2e41c * Admin/EMail: allow admins to always add arbitrary aliases, even if not allowed for regular user 2017-07-12 18:43:05 +02:00
nathangray
b28610a626 Fix ACL dialog actions don't work on first load via top link 2017-06-12 13:14:41 -06:00
Hadi Nategh
11c03702dd Implement sub_app attribute for customfields widget, in order to be able to store sub-app's specific customfields 2017-06-07 17:54:09 +02:00
Ralf Becker
a9e750c8b2 WIP spam workflow and SpamTitian integration 2017-05-31 15:10:58 +02:00
Hadi Nategh
9f98d0fe56 WIP of background & logo image upload into instance dir:
- Add some translation
- Add filemtime timestamp into url
2017-04-28 16:30:01 +02:00
Hadi Nategh
5a2df924eb WIP of background & logo image upload into instance dir:
- Fix images with spaces in filename do not get loaded
2017-04-28 14:10:20 +02:00
Hadi Nategh
c55e0bdae3 WIP of background & logo image upload into instance dir:
- Generate url for anon_images.php
2017-04-28 12:40:33 +02:00
Hadi Nategh
cd72062f00 WIP of background & logo image upload into instance dir:
- Change images directory to unknown_images
2017-04-28 10:43:11 +02:00
Hadi Nategh
33bc6f6ce0 WIP of background & logo image upload into instance dir 2017-04-27 16:50:35 +02:00
Hadi Nategh
009682b949 * Mail: Make sure there's folder to notify before attempting to write the notifications 2017-04-24 14:28:08 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
Hadi Nategh
83768e932d * Mail: Fix create new identity can not save email address 2017-03-30 16:05:22 +02:00
Ralf Becker
4a147c74a1 fix no longer working db-creation after 6dfe752b7f allow to switch whole database readonly 2017-03-13 16:41:12 +01:00
Ralf Becker
23ac04df8d allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 12:08:00 +01:00
nathangray
afa19c7d30 Allow changing category owner via context menu for application categories 2017-02-13 10:52:31 -07:00
nathangray
33680d4467 * Admin: Save the bulk password reset notification email for next time 2017-02-02 08:45:58 -07:00
nathangray
eb51009ebd Remove unexecutable code
(to satisfy Scrutenizer)
2017-01-31 08:14:28 -07:00
Ralf Becker
7f8b81f45b * Admin: fix bulk password reset to pick only passwords having required strength 2017-01-27 14:27:58 +01:00
Hadi Nategh
dc4a825c54 WIP of SMIME support: Import certificate key into pkey in addressbook 2017-01-26 17:44:30 +01:00
Hadi Nategh
34e04a1315 WIP of SMIME support: Implement an interface for importing smime private key into mail account 2017-01-25 18:06:17 +01:00
Ralf Becker
f9bbcdeb86 * Timesheet/Resources/Filemanager/Calendar: customfields could not be deleted 2017-01-17 18:24:56 +01:00
nathangray
72fad2941f - Allow extending classes to easily override config index
- Allow config settings to be arrays
2016-12-14 11:51:58 -07:00
Ralf Becker
655e532ed4 fix SQL error when Db->Type is not "mysql", as it should be, but eg. "mysqli" and therefore PostgesSQL SIMILAR is used with MySQL/MariaDB 2016-12-01 13:00:47 +01:00
Ralf Becker
584ecf07ed * Admin: fix fatal error when using "Deny Access" from context menu on groups 2016-10-31 18:12:45 +01:00
Ralf Becker
fb5429992e need to set ident_email_alias selectbox too, if changing identity 2016-10-28 14:53:51 +02:00
Ralf Becker
7d02313af2 do not make ident_email_alias select-box readonly for regular users editing their sigature 2016-10-28 14:46:17 +02:00
Ralf Becker
74e2c62b48 * Admin/Mail: allow to limit users to only create identities for aliases 2016-10-28 14:27:59 +02:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
Ralf Becker
54a9ea87f1 * Admin: show "check ip address of all sessions": No (it was stored but always shown as Yes)
Caused by "" being deleted when stored and not set === null value picked first option Yes, now we send "" for a not set value to client-side
2016-10-04 14:29:31 +02:00
Hadi Nategh
aff9f0eba8 Fix Ctrl+A in context menu does not get translated 2016-09-09 12:54:52 +02:00
Ralf Becker
43432ca501 fix Scrutinizer errors 2016-08-15 11:57:13 +02:00
Ralf Becker
f987caa5c2 * Admin: warn admin if passwords for new accounts / password reset lack in strength 2016-08-12 13:47:01 +02:00
Ralf Becker
3752c35a5a add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:35:30 +02:00
Ralf Becker
3b18244106 * Admin: fix PHP Fatal error when editing custom fields in a minimal install 2016-08-09 11:25:49 +02:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +02:00
Ralf Becker
087cff7f25 * Admin: fix PHP Fatal Class jdots_framework does not exist in minimal install 2016-07-12 11:44:02 +02:00
Ralf Becker
d0030228e8 do not use jdots class not always installed by Api\Framework\Ajax, which is always available 2016-07-08 16:37:15 +02:00
nathangray
7c3d97ba12 Load app hooks with ajax=true into a div instead of an iframe 2016-06-29 09:48:54 -06:00
Ralf Becker
29d34bcc6c fix PHP Fatal in 16.1 minimal install caused by usage of old categories:: constants 2016-06-27 18:38:04 +02:00
leithoff
2b925a44af give more details about possible error 2016-06-24 14:28:49 +02:00
Ralf Becker
6c47da8f64 we need to set a different dom-id for each application and also global categories of that app
otherwise eT2 objects are overwritter when a second categories template is shown
2016-06-13 16:04:11 +02:00
Hadi Nategh
5e4412aea5 Run applications categories with ajax=true
- Fix categories colors not showing up
- Fix categories list refresh does not work
2016-06-13 12:30:21 +02:00
Ralf Becker
b17fd7004e * Admin: fix async service testjob to run on a default install (no phpgwapi) 2016-06-08 15:15:01 +02:00
nathangray
b466c327a5 Put cron timestamps into user timer format 2016-05-17 09:18:32 -06:00
Ralf Becker
dab7650dca using eT2 for about and moved code to api (api/src/Framework/About.php) 2016-05-16 16:27:33 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
a83f4a2483 fix not loaded header / CSS, renamed classes for autoloading and changed new admin_denyaccess to use new api 2016-05-14 21:04:03 +02:00
Ralf Becker
51731f2e9b fix admin_statistics to use eT2 2016-05-14 12:40:15 +02:00
Klaus Leithoff
4bf97ecf8c folders for taglist in folder-tab are preset with sel_options. acc_folder_archive was missing 2016-05-10 10:40:34 +00:00
Ralf Becker
251de1dc54 move category images to api, fixes PHP Fatal in admin_categories, if phpgwapi is not installed 2016-05-09 10:05:57 +00:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
08549368a0 fix custom translations to use eT2 2016-05-08 12:23:54 +00:00
Ralf Becker
b4148d1b5a port "Admin Queue and History" and "Remote Administration Instances" to eT2 2016-05-07 16:57:18 +00:00
Ralf Becker
e6ad65387e mask out passwords in admin queue 2016-05-07 16:55:15 +00:00
Ralf Becker
2a5c28fce1 admin was using non-pixelegg icon for applications and use of phpgwapi/nonav icon 2016-05-06 07:59:43 +00:00
Ralf Becker
d17701345d fix PHP Fatal of using deprecated, and therefore not existing in Api, get_list method of accounts object 2016-05-06 07:38:23 +00:00
Ralf Becker
6ce45b634c fix PHP Fatal, if etemplate is not installed 2016-05-05 17:59:31 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
d542785914 fix typo in 2. password 2016-04-29 11:45:01 +00:00
Klaus Leithoff
8e02180904 * Mail: allow to define an existing folder as archive folder and allow to move messages to the specified folder with either right-click action or EGW-shortcut 2016-04-29 11:23:05 +00:00
Ralf Becker
01c396e5d3 using new api for admin, though 3 classes still use old etemplate 2016-04-27 19:12:20 +00:00
Ralf Becker
37f61b1f03 move admin >> Site config to new et2 based site-config 2016-04-21 16:39:59 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Nathan Gray
07bae4d00b Add 'Add user' to user list placeholder actions 2016-04-13 16:22:19 +00:00
Ralf Becker
af5e0daa07 remove no longer necessary Admin >> Applications, used to change application order in templates before jdots 2016-04-07 07:03:55 +00:00
Ralf Becker
fd2bc6d7b7 fix problems with autoloading of etemplate_widget_tree 2016-04-04 08:48:04 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Ralf Becker
d8fe729ffd remove unnecessary check, stalling moving eT2 to api 2016-03-19 12:58:20 +00:00
Ralf Becker
c0e3684806 move [+ Add] button to left of NM header 2016-03-09 10:14:48 +00:00
Ralf Becker
0493ca041c nicer UI to select apps for mobile device and not storing default, to allow chaning it, when more apps become available 2016-03-09 09:29:13 +00:00
Ralf Becker
8b53703b40 fix an old class-name accounts_ldap 2016-03-08 08:26:14 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
49c45ff53a cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image) 2016-03-05 15:32:49 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
91f3671be4 fix [Add] button in ACL and render it as popup, needs fixing of scrollbars shown 2016-02-25 08:42:33 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
1f762e92b2 put an [Add] button left of nm-header 2016-02-15 12:00:26 +00:00
Ralf Becker
0261dd0b82 server-side adds now urls for extra tabs incl. cache-buster, so we dont rely on app-code to add it 2016-02-03 15:20:50 +00:00
Nathan Gray
91f9bb831b Fix ACL does not get removed when a group is deleted 2015-12-02 22:17:01 +00:00
Nathan Gray
edffbeea99 Remove custom statuses for the type when you remove a custom type 2015-12-02 21:40:05 +00:00
Nathan Gray
625cc51c59 Fix categories would not always refresh
Fix calendar categories would never refresh
2015-10-27 16:55:57 +00:00
Nathan Gray
035570018a Put nm readonlys into nm namespace to avoid conflict with add button 2015-10-26 18:32:40 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00