Commit Graph

1138 Commits

Author SHA1 Message Date
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
Hadi Nategh
aa6a362f16 WIP EGroupware Tutorial:
- Add tutorials hook into other apps sidebar
2015-10-16 10:39:38 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Nathan Gray
d8487a7507 Fix refresh & updates when working on personal categories 2015-10-05 20:02:11 +00:00
Nathan Gray
c4861e1194 Only admins can delete super-global or app-level global categories, regardless of owner. 2015-09-30 16:24:08 +00:00
Nathan Gray
f1837813a4 Fix ACL error allowing regular users to delete global categories 2015-09-29 15:15:45 +00:00
Nathan Gray
8e657aeb0e Do not die if select custom field is not fully set up 2015-09-21 19:43:36 +00:00
Nathan Gray
91750f46c9 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-15 23:59:31 +00:00
Nathan Gray
5a950ae8dc Give some indication that the action is being done for Admin / Clear cache & Wiki / Rebuild links 2015-09-09 23:57:07 +00:00
Nathan Gray
31a23f0dbd Add filemanager custom field type using vfs-upload 2015-09-02 19:52:47 +00:00
Ralf Becker
b5b6784ec1 * Admin/PostgreSQL: shorten ACL labels used to limit admin rights to 16 char and fixed stalled 14.3 update for PostgreSQL 2015-08-04 09:55:29 +00:00
Ralf Becker
0cf1bd1452 fix nothing to change found, if admin-cli was called with root_admin and config-password 2015-07-24 11:42:55 +00:00
Ralf Becker
a5b36d48e0 show nonav icon in admin tree too, if app has not navbar icon 2015-07-03 12:43:26 +00:00
Ralf Becker
b57d51138e make sure keys in admin tree are unique, as we overwrite tree entries otherwise 2015-07-03 12:27:15 +00:00
Ralf Becker
1723f6235e * Admin: bulk password reset: fixed missing password from email and csv, csv download is working again
also changed all et2 actions to not use an iframe with ajax=true
2015-07-01 18:35:24 +00:00
Ralf Becker
56c5db4fbc visualize not existing ability to unset "must change password on next login", by making it readonly 2015-07-01 14:58:07 +00:00
Nathan Gray
a602dd3e86 Fix custom field order renumbering to keep at multiples of 10. 2015-06-18 16:48:16 +00:00
Nathan Gray
1beba97dcf Fixed custom field select options removed empty label if there was white space after options 2015-05-19 19:58:43 +00:00
Nathan Gray
27e2f787a1 Date widget:
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
7c2b6a44f8 Customfields:
- fix saving of @filename style options got automatically converted to label=@value style
2015-04-21 16:13:10 +00:00
Nathan Gray
a627dea3d6 Customfields:
- fix options/attributes not saved under some cirumstances
- fix subsequent changes not saved if you click Apply the first time
2015-04-20 22:54:58 +00:00
Nathan Gray
25a9811121 Customfields:
- add missing delete button confirm
- fix some js bugs when changing type
- add accidentally removed check for overwriting an existing field
- make cf_name read-only after it is set
2015-04-20 21:49:05 +00:00
Nathan Gray
b8af138e79 Avoid warning from applications with no data (sambaadmin) 2015-04-13 19:27:28 +00:00
Ralf Becker
a0b6dc0ea1 fix width of phpinfo popup to not have a scrollbar under PHP 5.6 2015-04-09 07:05:08 +00:00
Nathan Gray
577c4afaef Fix add category button 2015-03-23 18:57:33 +00:00
Nathan Gray
55d5bd98f8 Custom fields editing:
- Fix length, rows & values fields were not properly enabled on first load
- If label was not provided, use name
2015-02-18 18:23:35 +00:00
Ralf Becker
426f9e0f84 * Admin: add a description to stock groups Admins, Default and NoGroup, allow to edit that description for LDAP and ADS 2015-02-18 11:40:26 +00:00
Nathan Gray
b2d1fa70d2 Fix bug where old image directory was re-scanned when changing it, instead of the new image directory 2015-02-17 18:45:14 +00:00
Ralf Becker
c822b48e7c remove hook and translations from old update check 2015-02-17 08:47:19 +00:00
Ralf Becker
b4ef509c03 removed not used remote administration, use json serialization for new admin_cmd data and (secured) json_php_unserialize for existing data 2015-02-14 17:05:16 +00:00
Hadi Nategh
a9522e71cd Fix user can not delete its own categories from nextmatch context menu 2015-02-11 09:40:01 +00:00
Nathan Gray
fd0b513bbb Keep appname through actions, fixes blank after action 2015-01-27 22:41:13 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Ralf Becker
ab57cbefad make sure admin tree displays following toplevel order: admin, user, groups, apps by returning admin hooks first, despite alphabetical sorting of apps 2014-12-19 07:49:04 +00:00
Ralf Becker
d71fa725e5 * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:34:48 +00:00
Nathan Gray
bdcf3df195 Floats don't have rows 2014-12-08 22:13:25 +00:00
Ralf Becker
7ecc088c35 sort apps alphabetic and open external links with a target _blank 2014-11-28 12:43:10 +00:00
Nathan Gray
81ef504361 - Disable options according to type too
- Start options, value & rows disabled according to type when popup opens
2014-11-27 16:58:11 +00:00
Nathan Gray
7f7e013ecf UI for customfields edit dialog:
- More space
- Show type specific help in options tooltip
- Disable length & rows when not needed
2014-11-24 21:58:07 +00:00
Nathan Gray
5a2c3a530d Set some styles for customfields
- Limit cf option size in nextmatch row to max of ~10 lines
- Limit type option size to max of 300 px
2014-11-24 17:06:06 +00:00
Ralf Becker
89c02707e9 * Admin: fix fatal error in admin >> bulk password reset 2014-11-20 13:53:30 +00:00
Nathan Gray
4da6635a51 Fix missing infolog custom types 2014-11-19 21:15:48 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Ralf Becker
e6dffefdd0 sessions with status blocked or wrong password could not be deleted from access log (to unblock an account) 2014-11-10 16:49:21 +00:00
Hadi Nategh
686d424e58 Open customfields edit dialog as popup 2014-10-30 15:24:05 +00:00
Ralf Becker
8d52ecd059 not show apps and context-menu entries for apps not available to user, hooks->single() did not check apps for new method-hooks 2014-10-30 15:12:37 +00:00
Ralf Becker
dd6ddebb80 delete user by account_id, not account_lid, as there might be a group with same name 2014-10-29 16:03:22 +00:00
Nathan Gray
629c66d00e Use egw_customfields::update() instead of so->save(), since it handles the arrays and cache already. 2014-10-27 16:31:24 +00:00
Nathan Gray
bcbf679f64 More custom field UI work
- Application sub-type options
- Tracker & Infolog now use common UI
2014-10-23 17:33:03 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Ralf Becker
bc864c4103 * Admin: if group was selected only active accounts were shown and show primary group in LDAP 2014-10-22 17:10:12 +00:00
Ralf Becker
1df5500d28 * Admin/LDAP: LDAP extra attributes homedirector and loginshell were not stored (home set to /dev/null) 2014-10-21 08:58:08 +00:00
Ralf Becker
e2d6d75607 fix async jobs with scalar data (strings, int) got quoted over and over again 2014-10-17 13:51:28 +00:00
Ralf Becker
fa11f01258 * Admin/LDAP: show LDAP extra attributes shell/homedir, if enabled in setup 2014-10-14 08:52:11 +00:00
Ralf Becker
4e89ed6520 allow to set $query[session_list]="active" to filter out sync sessions 2014-10-09 07:45:59 +00:00
Ralf Becker
3093cb6b85 fixed not working refresh of user category list called via top-menu after adding/editing a category 2014-09-25 16:03:28 +00:00
Ralf Becker
1465d5065b * Admin/PostgreSQL: adding new accounts failed
because they were added with account_id=0, which is stored literaly in postgres but created a new auto-id in mysql, unsetting it works of cause for both
2014-09-24 06:55:44 +00:00
Nathan Gray
76a76beb69 Fix a few more redirects resulting in unwanted iframes. 2014-09-22 15:25:23 +00:00
Nathan Gray
9743c19318 Change redirect after save/cancel custom fields, fixes unwanted iframe after save 2014-09-18 18:45:46 +00:00
Nathan Gray
2ab51680be Fix access UI to take user's permissions into account, and not let them try to edit run rights 2014-09-18 15:01:08 +00:00
Ralf Becker
d0ac7525b6 * Preferences: non-admin user was able to give himself run-rights to any app incl. admin 2014-09-18 13:53:34 +00:00
Ralf Becker
3dc11e4037 fixed check for extra ldap attributes to take into account current account-repository, to not show them for migrated instances 2014-09-05 12:23:36 +00:00
Ralf Becker
0d63cbbd93 only generate default email address for new accounts, allows to set empty email address for existing accounts or by emptying it before save for new accounts 2014-09-04 07:41:30 +00:00
Ralf Becker
ed89a1b10b * Addressbook/Tracker/other apps: custom-fields were not saved (existing custom-fields and InfoLog worked) 2014-08-26 09:30:38 +00:00
Ralf Becker
e4a80cbfc6 exclude login failures from session list 2014-08-19 17:15:50 +00:00
Nathan Gray
687ed8746c Fix sort by account created or modified gives SQL error 2014-08-06 14:30:18 +00:00
Ralf Becker
35e5ff6d6e * Admin: restore from admin was not working (worked only from setup) 2014-07-25 09:13:19 +00:00
Ralf Becker
cf519cb666 re-add "Deny access" to groups 2014-07-22 13:48:57 +00:00
Ralf Becker
dcf585a116 fixed statistic submit to show, but ignore, tree 2014-07-17 14:02:11 +00:00
Hadi Nategh
16c5a62ed4 Use similar Global category's delete confirmation dialog as it is used in edit popup too 2014-07-15 09:52:00 +00:00
Hadi Nategh
2e2d48ff1f Disable "Change Owner" item from category context menu if it is a private one 2014-07-14 13:30:26 +00:00
Hadi Nategh
025f31872f Fix delete confirmation dialog in Global categories edit popup 2014-07-14 10:19:32 +00:00
Hadi Nategh
49789bcf09 Fix Gloabl categories owner_popup actions 2014-07-11 09:47:43 +00:00
Hadi Nategh
fb37282a2c Fallback to admin index after save/cancel from edit Custom fields or Site configuration 2014-07-08 14:15:48 +00:00
Ralf Becker
f864753113 * Admin/all apps: fix refresh of admin after calling site configuration, categories, etc from apps 2014-07-08 13:52:48 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
7cc924c74e disable old EGroupware error_log, as it is not used anymore 2014-07-04 14:11:32 +00:00
Ralf Becker
2b01b2aa50 * Admin: fixed user statistic submit to work in 14.1 2014-07-02 16:47:38 +00:00
Hadi Nategh
609e909eef Make sure the content[owner] is an array because lisbox widget expects to receive an array 2014-06-30 08:59:19 +00:00
Ralf Becker
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +00:00
Ralf Becker
c5ec3245d3 fixed disabled apps were shown in run-rights, removed not anymore used admin_acl::acl function and its template, also added still commented observer method ment to replace app_refresh 2014-06-25 10:47:26 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
27bc31456e fixed error-message for password change containing "%" instead of "%1" 2014-06-18 08:03:13 +00:00
Ralf Becker
8e5adb50f7 fixed contact modified by other use warning, if changing account relevant details in a contact (eg. email-address) 2014-06-05 08:42:45 +00:00
Ralf Becker
632a7cc18d * Admin: accounts could not be deactivated 2014-06-04 20:02:01 +00:00
Ralf Becker
07cd6838f5 * Admin/Filemanager: creating groups did not create group directory, but damaged VFS (can be repaired with "Check virtual filesystem") 2014-06-04 09:26:29 +00:00
Nathan Gray
5aee5a7b44 Give minimum height to otherwise empty sidebox to make sure scrollbars get triggered 2014-05-26 22:46:49 +00:00
Nathan Gray
135b6cda37 Fix invalid actions on session/access log still enabled 2014-05-26 17:39:59 +00:00
Nathan Gray
9bb8bed02b Fully implement select all for access log 2014-05-20 19:04:50 +00:00
Hadi Nategh
8605c025ec Get "Group" and "Account" message correct and translated 2014-05-16 15:50:52 +00:00
Hadi Nategh
a4a3f7b61f Fix the wrong message for edit and delete group in admin 2014-05-16 13:32:49 +00:00
Nathan Gray
254dab429a Avoid error about missing placeholder action 2014-05-13 23:19:34 +00:00
Klaus Leithoff
70c0f8e64c handle problem on not set [alt_loginid] but displayed as var-name 2014-05-13 10:42:45 +00:00
Nathan Gray
8dfea11106 Make sure primary group is in group list
Fixes Default group always added if primary group is not Default
2014-05-05 14:46:01 +00:00
Ralf Becker
9e4a03c59c fix validation of email in account creation to allow to manually enter an email and never automatic add an invalid one 2014-05-05 13:08:25 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +00:00
Nathan Gray
7c5db56d61 Use AJAX to load app list for selected account, fixes usually empty dialog for user run rights since they usually came from a group 2014-04-30 15:20:32 +00:00
Nathan Gray
4db673c6af Changes to ACL dialog
- Keep client-side app list up to date so dialog is correct
- Fix app run rights not being updated
2014-04-28 17:40:25 +00:00
Nathan Gray
a8a578962c Changes to ACL dialog based on list filter:
- If '... run rights to other applications', show current apps with run rights for the account
- For others, restrict application selectbox options to just applications that support ACL
2014-04-28 16:19:39 +00:00
Ralf Becker
df8f6b9460 change validation of configuration to return existing validation functions, not running arbitrary ones 2014-04-23 14:36:08 +00:00
Hadi Nategh
a2b7a44b08 Add "Add new button" to Admin ACL index page 2014-04-22 07:58:04 +00:00
Hadi Nategh
d0c3f48031 Add the "AddPlus button" to admin user and group index page 2014-04-17 15:40:16 +00:00
Ralf Becker
27ebbd6bad fixed initially wrong sorted accounts, because account_id is used as key 2014-04-10 11:29:20 +00:00
Ralf Becker
f349506191 fixed not working change of memberships 2014-04-03 08:34:12 +00:00
Ralf Becker
04d1682cba fixed not working opening of an apps site configuration, if admin tab was not yet open 2014-04-03 07:23:27 +00:00