Commit Graph

1054 Commits

Author SHA1 Message Date
Nathan Gray
7c33488596 More changes to get category list working using etemplate2 2013-12-10 00:03:36 +00:00
Nathan Gray
e008bd63bb Change categories to use et2 2013-12-04 21:51:20 +00:00
Ralf Becker
3a3227bc27 fixed not found images in admin tree, by using static method knowing templated image path and calculating a relative path for images returned by common::image 2013-11-15 19:12:36 +00:00
Ralf Becker
574fccb9c9 action to add a new user 2013-11-08 07:48:24 +00:00
Ralf Becker
e94502515d * Admin/Preferences: changepassword hook was called twice
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:24:01 +00:00
Ralf Becker
6e76361736 open all sidebox admin link in admin vi admin.admin_ui.index loader 2013-10-15 16:53:43 +00:00
Ralf Becker
915183f787 allowing inline js for old apps site configuration 2013-10-08 09:54:21 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Ralf Becker
d6b2155dc2 using eT2 for acl editing 2013-09-11 13:52:38 +00:00
Ralf Becker
ed0abde9ae simplyfied UI and taking into account that not all apps use group acl in same way 2013-09-04 09:48:18 +00:00
Ralf Becker
991980ac3a fixed ACL was wrong way around and made use termenology more clear: data from, access by, ... 2013-09-02 09:19:49 +00:00
Ralf Becker
b48e6b2531 admin ACL more or less finished (pending eT2 auto-repeat bug requiring to use old eTemplate for acl popup) 2013-08-28 12:52:47 +00:00
Ralf Becker
5a801bbb67 next step for new ACL management 2013-08-27 17:58:38 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Ralf Becker
85b2f5f642 allow apps to hook into "Admin >> Clear cache and register hooks" 2013-08-15 10:03:14 +00:00
Ralf Becker
596a01a76d remove "admin_" prefix from et2 ids 2013-08-01 11:44:44 +00:00
Ralf Becker
2d899c0ed1 group context menu 2013-07-31 14:01:12 +00:00
Ralf Becker
77be8da21c * Admin/SambaAdmin: fixed not set sambaNTPassword and sambaLMPassword hashes in LDAP (hook changepassword was called without password) 2013-07-30 18:13:22 +00:00
Ralf Becker
d63ee993b3 AD requires to activate account AFTER setting pw 2013-07-16 14:58:38 +00:00
Hadi Nategh
014d5cd416 Fix displaying wrong number of deleted logs from accesslog in the message bar. 2013-07-15 09:30:09 +00:00
Ralf Becker
d6459fec8a fixed warning 2013-07-15 08:08:49 +00:00
Ralf Becker
6898ee9cdb * Admin/Preferences/Active Directory: more understandable password policy errors and using windows defaults only, if admin has not configured something else 2013-07-14 13:05:24 +00:00
Ralf Becker
6e6835ca8f disable "account_lid" input, if backend (eg. AD) does not allow changing it 2013-07-13 08:34:04 +00:00
Ralf Becker
cb523f8400 * Admin/Active Directory: fixed not working display, setting and removing of "must change password upon next login" 2013-07-13 07:50:36 +00:00
Hadi Nategh
86dfe42104 replace no longer existing depricated egw_info->user email and fullname 2013-07-04 17:45:20 +00:00
Hadi Nategh
0f7a28d437 fixed unrecognised property name "email"in egw_info->user in Asynchronous services, replaced with "account_email" 2013-07-04 13:29:22 +00:00
Ralf Becker
b2f733c4d5 a few more steps towards a new admin 2013-07-03 16:27:18 +00:00
Ralf Becker
9afb974d44 loading actual groups now via callback 2013-07-02 18:26:53 +00:00
Ralf Becker
ffceaf445a prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache) 2013-07-01 17:07:07 +00:00
Ralf Becker
c5246d90c9 run addaccount hook for new accounts and set account_id in menuclass links (left menu) after account-creation 2013-06-26 19:55:20 +00:00
Ralf Becker
52933ba6c3 fixed lost active account-status, if an error happend (disabled permanent error_log) 2013-06-26 10:48:37 +00:00
Ralf Becker
aa1426b8de * Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures 2013-06-25 16:37:44 +00:00
Nathan Gray
509482e81c Fix custom types shown on all apps 2013-06-18 15:51:46 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Nathan Gray
770ef196fc Get sub-types working for et2 2013-06-10 20:17:41 +00:00
Ralf Becker
0a22f09523 * Admin/All apps: enable private custom-fields
can be explicitly disabled via GET parameter use_private=0
2013-06-06 17:05:56 +00:00
Ralf Becker
76e9d68121 fix header templates missing essential parts like display of validation errors 2013-06-05 07:37:08 +00:00
Ralf Becker
30b3f407d2 2 more cases for r42550: only check for matching system users, if a new account get added, as existing accounts can be reported - depending on configuration - as system users too 2013-05-27 14:30:22 +00:00
Ralf Becker
7806f183a9 * Admin: fixed fatal error when creating new users 2013-05-21 18:03:44 +00:00
Ralf Becker
9454438a77 experimenting with new ideas for admin UI 2013-05-12 13:44:46 +00:00
Klaus Leithoff
8262dc54e7 use cache invalidation on inital read before edit too; add missing translation 2013-04-24 13:05:37 +00:00
Ralf Becker
5c71e6916e invalidate account, before reading it, to code with changed to DB or LDAP outside EGw 2013-04-23 13:47:20 +00:00
Ralf Becker
17b807e4a1 preg of domain must allow empty and allow to change only domain 2013-04-05 14:22:42 +00:00
Ralf Becker
c655ab1e7f allow to change mail domain 2013-04-05 14:15:40 +00:00
Ralf Becker
697d8931eb allow to change mail domain 2013-04-05 14:13:41 +00:00
Ralf Becker
e9604992a7 mass account de/activation or quota setting 2013-04-05 13:08:08 +00:00
Nathan Gray
237c5ffcdf Fix missing category colors for app specific categories 2013-03-15 14:49:02 +00:00
Klaus Leithoff
d4d2096a39 handle/fix missed ckeditor3 calls 2013-03-15 11:50:48 +00:00
Ralf Becker
2841317b08 * all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again) 2013-01-25 13:21:31 +00:00
Klaus Leithoff
c7ddc16820 enable admin.uiconfig.index to be called by ExecMethod (app parameter not passed via _GET) 2012-12-04 09:36:48 +00:00
Klaus Leithoff
ba56cef6d4 clean up of cache after using (admin) connection via forceEAProfileLoad 2012-11-19 15:56:57 +00:00
Klaus Leithoff
0925ea6313 use new functionality (forceEAProfileLoad) in hooks and uiaccounts 2012-11-19 13:53:15 +00:00
Ralf Becker
26de26873b if EGroupware manages a mail server, allow setting an email address for groups 2012-11-16 10:36:34 +00:00
Ralf Becker
17ad37d302 remove not used in a long time ldap_mgr code 2012-11-15 14:47:12 +00:00
Nathan Gray
2218fd8956 Fix category search missing when result is a child, but parent does not match too 2012-11-05 17:56:03 +00:00
Ralf Becker
b514745d01 * Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-10-31 13:56:40 +00:00
Ralf Becker
110ad12bb6 delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password 2012-08-08 16:25:03 +00:00
Nathan Gray
369993d439 Make customfield page not fail in et2 2012-07-05 20:11:06 +00:00
Nathan Gray
f8fbafd086 Fix typeOptions to get appname in the right place 2012-05-29 15:23:12 +00:00
Nathan Gray
bdbd2af3e8 Send category information for colored rows in et2 2012-05-22 19:53:58 +00:00
Ralf Becker
06729148dd * Addressbook: skip letter of deleted type, when creating new contact types, as it gives SQL error 2012-05-08 08:50:19 +00:00
Ralf Becker
eeaa7a90ac quiten warnings, if file are outside open_basedir 2012-04-26 07:12:41 +00:00
Nathan Gray
ebdc207ff5 Apply no_acl_check to global categories too 2012-04-16 16:37:18 +00:00
Nathan Gray
2bb445453e Fix missing parent category when adding a child when parent has acl 2012-04-11 16:58:30 +00:00
Nathan Gray
c4b2fd4a64 Default owner to same as parent category when adding a child category 2012-04-05 18:33:49 +00:00
Ralf Becker
9954e7b42e Show icon based on icon-selectbox, hide placeholder (broken image), if no icon selected 2012-04-05 12:32:07 +00:00
Nathan Gray
2d6569414b - Allow adding a child category to a restricted category
- Show filter for application global categories
2012-04-02 16:29:13 +00:00
Ralf Becker
a3ada52adf * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:33:33 +00:00
Ralf Becker
23fcaf904e * Admin: view sessions and view access log was not using user-timezone but server, also causing display of wrong idle-time 2012-03-15 13:46:45 +00:00
Ralf Becker
1d12d66870 moved sqlfs filesystem check from Admin to Admin >> Filemanager, as most people seem to expect it there 2012-02-29 14:55:25 +00:00
Ralf Becker
2553ad1bcc some fixes for sqlfs fsck: caseinsensitive GROUP BY for MySQL, deleting files direct in DB, as self::unlink() fails if fs_active=0, and some more 2012-02-27 14:33:42 +00:00
Ralf Becker
fd19c672c8 * Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories 2012-02-27 13:18:52 +00:00
Ralf Becker
f2e2c60c04 cat_owner can be groups too (cat_owner < 0) 2012-02-17 11:01:56 +00:00
Ralf Becker
0b3f4a04f0 switch filter (all|global|own) and access column off for all global categories 2012-02-15 10:25:41 +00:00
Ralf Becker
0d5d839b30 fixed app >> categories filter "all" to contain private categories too, also added a private column for easier identification 2012-02-15 09:40:05 +00:00
Klaus Leithoff
2a7d39d3cf adapt regarding postgres requirements for typecasts and stuff, remove obsolet table egw_app_sessions 2012-01-31 08:16:40 +00:00
Nathan Gray
7c50df4d57 Better fix to handle non-exact search matching 2012-01-25 19:25:47 +00:00
Nathan Gray
0482bfb898 Double check that field matches, accounts search matches anywhere inside 2012-01-25 18:40:00 +00:00
Nathan Gray
abe6ce3482 Fix bug in condition matching on account ID, if account ID is not in file 2012-01-25 17:31:57 +00:00
Nathan Gray
7f866bdf8e Copy existing group info, needed for accounts->save() 2012-01-19 19:44:33 +00:00
Nathan Gray
f6a443a917 Add warnings to import plugin 2011-12-15 16:24:47 +00:00
Ralf Becker
f2d7c5c6c3 * Custom / instance-specific translations, eg. to rename an application 2011-11-17 12:43:59 +00:00
Nathan Gray
2b76256ecf Fix typo causing all added categories to be global 2011-11-03 14:37:43 +00:00
Klaus Leithoff
cc01eda69f try to set a logical default for ->can change passwords<- for new accounts. true if you force users to change passwords every x days, false if not 2011-10-06 15:46:43 +00:00
Ralf Becker
fc1b7cff3c fixed not shown navbar in configuration 2011-09-13 08:21:25 +00:00
Ralf Becker
64393ce7a2 calling framework->render() after parsing the template, to allow callbacks to register javascript files 2011-09-04 15:25:53 +00:00
Ralf Becker
54bf7a3d2d - fixed image map was empty created when not loged in (now directories are used and not $GLOBALS['egw_info']['apps'])
- fixed not working vfs-image-dir
- deleteing image-maps when:
  + apps get installed, updated or removed
  + admin >> register hooks
  + admin >> site configuration: vfs-image-dir get changed
- fixed not displayed validation errors (thought there were no validation) in admin >> site config
--> you need to register hooks, in order to get the admin >> site configuration validation hook ;-)
2011-08-31 10:16:12 +00:00
Ralf Becker
495632fc40 removed not used file 2011-08-17 09:32:55 +00:00
Nathan Gray
a24606739e Fix category list action buttons 2011-07-13 16:39:36 +00:00
Nathan Gray
765f486753 Can't edit a category that's not from the current app - open super-globals read-only 2011-07-07 18:54:59 +00:00
Nathan Gray
52f3dd9ed2 Use a different method of filtering out global categories 2011-07-07 18:34:33 +00:00
Nathan Gray
283a2a01ff Change how app filter works:
- Only list All and current app
- All shows app + globals, app shows just app categories
- App filter hidden when editing super globals
2011-07-07 17:19:04 +00:00
Nathan Gray
4515f24b85 - Clear owner popup after use
- Remove user if adding group to user category
2011-07-06 15:10:46 +00:00
Nathan Gray
d7372d5a60 Add app filter to category list 2011-07-06 14:44:23 +00:00
Nathan Gray
5740888427 - Add a hint/warning when admin edits user's category to change owner
- Change 'Change owner' to use add/remove, similar to other apps
2011-07-05 16:35:32 +00:00
Nathan Gray
3ac3cfeb24 Add 'Change owner' to category context menu 2011-07-04 21:16:44 +00:00
Ralf Becker
03e379e570 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Nathan Gray
9a9323e37d If an admin edits a user's category, it becomes a global category. 2011-06-27 20:44:43 +00:00
Nathan Gray
1500c4f739 Fix warning message again 2011-06-27 15:54:07 +00:00
Nathan Gray
00cbf4b6fb - Use full warning message for translation
- Rename phpgw to Global in app list
2011-06-27 15:49:42 +00:00
Nathan Gray
80c4d0d5c6 Fix owner selection:
- Make user's categories readonly in admin
- Fix display of group categories in preferences
2011-06-27 14:44:27 +00:00
Nathan Gray
fe7e8ef9ac Don't warn about losing access for a new category 2011-06-27 14:34:40 +00:00
Nathan Gray
ec158c5e5c Fix global filter excluding global cats limited to groups 2011-06-27 14:28:13 +00:00
Ralf Becker
25c3624caa ignore acl only for admins 2011-06-24 14:22:15 +00:00
Ralf Becker
e960b79570 fixed not working access to all non-private user categories (ACL was priviously allways taken into account) 2011-06-24 13:35:39 +00:00
Nathan Gray
3d09b732e3 Fix All categories / Global categories filter 2011-06-22 21:17:16 +00:00
Nathan Gray
94d0b7c780 Fix filter for private, now only shown to owning user with 'Own categories' 2011-06-22 20:58:53 +00:00
Nathan Gray
d15e738692 Fix filter for personal categories under a global category 2011-06-22 20:45:42 +00:00
Nathan Gray
a9cd9ed96d Restore 'All categories' for preferences 2011-06-22 19:59:22 +00:00
Nathan Gray
a7bccd968c Admins can't edit global categories if they're not in Admin app 2011-06-22 19:54:41 +00:00
Nathan Gray
e4737a38a5 Fix child rows displayed multiple times 2011-06-22 19:40:35 +00:00
Nathan Gray
5424423f49 - Use separate session storage for each app
- Disable filter for Admin -> Global categories, there can't be personal categories there
2011-06-22 19:23:31 +00:00
Nathan Gray
1a7f460628 If admin edits a (private) category, it will now become public 2011-06-22 19:03:21 +00:00
Nathan Gray
bef50c4dbc - Fix re-setting filter - set private to readonly if not in admin section, and user is not category owner 2011-06-22 19:01:00 +00:00
Nathan Gray
d9b12fd8ab Make sure default filter is always properly set 2011-06-21 21:30:26 +00:00
Nathan Gray
a555588dbe Use the same code for categories for preferences & admin, add context menu 2011-06-21 20:14:56 +00:00
Nathan Gray
1ab285100a - Only show user to user, admins pick from groups
- Don't allow empty owner, use 0 if empty
2011-06-16 15:51:42 +00:00
Nathan Gray
3d9a9fc9de Add filters for global / user to categories list 2011-06-15 22:27:40 +00:00
Nathan Gray
81f58ab129 - Change category group filtering to allow multiple groups
- Give warning when removing access from a group
2011-06-14 18:50:35 +00:00
Ralf Becker
e09444e4f6 - fixed silently not working statistic submit with Webkit browsers (Safari, Chrome, ...)
- changed submit url to https://www.egroupware.org/usage-statistic to overcome unsecure submit warnings
2011-05-31 09:25:36 +00:00
Klaus Leithoff
0b1e444325 do not use password on asetLastPwdChange in admin actions, as the use of passwords indicates the usage of the functionality in usermode; Handle params for egw_cache::getSession in the correct order 2011-05-19 10:32:46 +00:00
Ralf Becker
fe62956a96 allow to require custom fields to be filled out by users 2011-05-18 10:25:39 +00:00
Nathan Gray
ab63660111 Use default conversions, don't pass account_lid to create new groups 2011-04-26 14:43:57 +00:00
Ralf Becker
5495491e78 * Admin: session-list is generated now from egw_access_log table independent of readablity of sessions files in filesystem
- session_(dla|action) is stored in egw_access_log table
- notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log
- if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed
- new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email
--> REQUIRES DATABASE UPDATE / SETUP
2011-04-13 14:11:09 +00:00
Klaus Leithoff
5d41f54594 * Admin: fix for reported error regarding wrong count of lines in Admin -> view error log (note, not all errors are logged there, only some. Its only used for some error logging, most of error logging is done/directed to the webservers error log) 2011-04-13 10:07:42 +00:00
Nathan Gray
50296c519a Fix import / export available and exported fields 2011-04-12 22:23:40 +00:00
Nathan Gray
64e2ada353 Add export plugins for users and groups 2011-04-12 15:38:27 +00:00
Ralf Becker
b91ffb709c moved notify users via mail into action groupbox 2011-04-05 15:02:41 +00:00
Ralf Becker
972eb515c3 added "must change password" and "can change password" attribute to "Bulk password reset" command and added German translation 2011-04-01 18:49:42 +00:00
Ralf Becker
bab48aee0a * method to reset passwords of multiple users to a random password and notify them about that, also allows to change from plaintext passwords to a different hash 2011-04-01 13:35:16 +00:00
Ralf Becker
c801bdf99e identical lettersearch for etemplate and admin via central css file 2011-03-30 08:18:06 +00:00
Ralf Becker
4039fdf415 * give everyone implicit rights for home app, as taking them away makes to many support problems 2011-03-30 07:54:29 +00:00
Klaus Leithoff
9f5f60bd0f handle account_last_change is string and 0 2011-03-16 16:26:02 +00:00
Klaus Leithoff
710c403d7c read and evaluate auth systems password-last-changed information 2011-03-16 13:26:32 +00:00
Klaus Leithoff
8153a7ac98 read and evaluate auth systems password-last-changed information 2011-03-16 13:26:17 +00:00
Klaus Leithoff
4f0e104e27 more to the issue: fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered by auth system 2011-03-16 12:44:42 +00:00
Klaus Leithoff
a080404dab fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered from auth system. set password-last-changed info in authsystem on password change. when trying to force the user to change his password upon next login as admin from within egrouware, try to set the 0 value within the authsystem as well (in ldap rights are required for admin (or user) to set/alter the shadowlastchange attribute) 2011-03-16 11:00:16 +00:00
Ralf Becker
a26a899ea0 * fixed not working deleted of application-global categories via "admin >> global categories" in applications 2011-02-15 12:51:21 +00:00
Ralf Becker
920f40ef46 added EventMgr account_id columns to admin_cmd_change_account_id 2011-02-10 10:23:06 +00:00
Nathan Gray
cd817bf4ed Allow a key 'no_add' to turn off the ability to add a new [sub]type. If no add and no delete, the whole first line will be hidden. 2011-01-25 20:32:38 +00:00
Ralf Becker
938a999ab0 * dont give sql error in gathering statistic data, if table does not exists (eg. Gallery is not installed) 2011-01-05 08:32:16 +00:00
Klaus Leithoff
5144dd82e7 fix typo while checking old last-password-change 2010-10-25 15:30:01 +00:00
Klaus Leithoff
eb7143d8b9 checking for isset AND ==0 to determine if mustchangepassword is activated 2010-10-25 14:07:37 +00:00
Klaus Leithoff
249d2fb117 csv import of accounts: fix behavior for new accounts, after fix in rev.32587 2010-10-19 06:43:27 +00:00
Klaus Leithoff
e9e2312b06 csv import of accounts: fix behavior for new accounts, after fix in rev.32585 2010-10-18 16:32:45 +00:00
Klaus Leithoff
43e1f8b60c fix typo while initalizing cmd_account object 2010-10-18 14:01:02 +00:00
Klaus Leithoff
ada6c74efe allow the option mustchangepassword to be set via admin_cmd_edit_user 2010-10-18 13:09:38 +00:00
Klaus Leithoff
5c66c7d162 categories: better handling of editing/moving categories within the cat-tree 2010-10-14 15:33:10 +00:00
Nathan Gray
763e65e866 Change field mapping for groups to make more sense 2010-10-12 16:45:31 +00:00
Nathan Gray
e3e9c2085a Don't need 2nd password field when importing 2010-10-07 15:34:01 +00:00
Nathan Gray
cb7fb29b2e Basic support for importing groups from CSV 2010-09-29 17:31:36 +00:00
Nathan Gray
b1a6dd9732 Add basic support for importing users from CSV using admin_cmds 2010-09-28 22:45:57 +00:00
Klaus Leithoff
61812f4dc5 allow for forced passwordchange on next login at account creation time 2010-09-27 07:51:32 +00:00
Klaus Leithoff
3843c0b59b Feature: to allow admins a) to set an allowed password age, to require all users to change their password regularily; b) force password change for a given user on the users next login; c) better control about the password strength required; Funded by Cricket 2010-09-22 09:48:27 +00:00
Klaus Leithoff
553152fc80 fix for expected parameter for data must be an array in set_timer, when starting async testjob; handling array as adr in send when creating messages 2010-09-13 08:41:04 +00:00
Ralf Becker
442bdbe564 - new admin-cli command --add-user like --edit-user, but runs addaccount hook for existing accounts too
- using --add-user instead of --edit-user in setup_cmd_admin
2010-08-20 20:28:59 +00:00
Ralf Becker
cff42abd07 modernising uiconfig a little bit and fixed mulitiple levels for framework for framed templates 2010-07-29 17:02:20 +00:00
Klaus Leithoff
4e1f3f31e5 fix bug regarding the CKEditor view of Main/Loginscreenmessages 2010-07-02 10:06:44 +00:00
Ralf Becker
435e282efa propset svn:keywords Id 2010-06-25 13:51:22 +00:00
Klaus Leithoff
d862d80727 allow the ordering of applications again 2010-06-25 12:55:33 +00:00
Ralf Becker
13ff6543cf replacing admins own openwindow with egw_openWindowCentered2 2010-06-02 18:28:27 +00:00
Ralf Becker
29d273be1a - removed Admin >> Manage applications, as setup is the place and tool
to do that (changing something here breaks something in almost all cases)
- removed disabled apps from application list in:
  + edit user
  + view user
  + edit group
2010-04-27 17:23:30 +00:00
Ralf Becker
938b7cf391 fixed not working rename of account_lid with admin/admin-cli.php, corrupted sqlfs (overwrite /home) 2010-04-21 12:28:27 +00:00
Klaus Leithoff
4a1fec7207 set the default for global_cats parameter to true\nreset start to 0, if we come back or view another apps categories\ntake care that the global_cats param survives the edit 2010-04-13 11:45:22 +00:00
Klaus Leithoff
f6a2c159a1 accept global_cats param 2010-04-13 10:29:05 +00:00
Ralf Becker
0c31158d00 "Ignore not installed apps" 2010-04-12 06:45:33 +00:00
Ralf Becker
71960a6d02 Fixed some more php53 Warnings after latest fix_depricated.php
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Ralf Becker
1a5245e101 "only use posix_getpwnam to check for existing system user, if it's available (otherwise no more accounts can be created)" 2010-03-08 21:08:16 +00:00
Klaus Leithoff
e763d692c9 make sure the default type for addressbook is found if there is no entry in egw_config 2010-02-10 14:27:14 +00:00
Ralf Becker
8ad9d0cde5 dont start testjob, if user has no email address set 2010-02-03 03:40:32 +00:00
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
41d1d4b5a6 fixed a few typos / debug stuff 2010-01-31 03:29:32 +00:00
Ralf Becker
38da9368b4 fixed a few typos / debug stuff 2010-01-31 03:28:32 +00:00
Ralf Becker
5073a8b24e completly reworked admin >> global categories, in preparation for group specific global cats 2010-01-30 23:57:03 +00:00
Ralf Becker
7a948de39e do NOT allow to delete original contact content-type for addressbook, as it only creates support problems as users incidently delete it 2010-01-07 04:54:48 +00:00
Klaus Leithoff
cbdd9507ad check for systemusers as well and deny creation, when such a user already exists 2009-12-16 14:10:15 +00:00
Ralf Becker
8118ad3b0b "Ajax to construct homedirectory from specified directory name in setup and account_lid" 2009-12-09 08:23:04 +00:00
Klaus Leithoff
e903a8d0f0 call hooks with a proper hook array 2009-12-07 13:12:23 +00:00
Ralf Becker
31e3ee1dc2 "added epl version and fixed detection of debian/ubuntu version" 2009-12-03 09:48:21 +00:00
Ralf Becker
b7b64d103b bigger window for main- or login-screen messages, if using fck 2009-11-28 10:52:03 +00:00
Ralf Becker
7f06f12b1a fixed typos pointed out by Hans-Jürgen 2009-11-22 09:03:46 +00:00
Ralf Becker
04a01fccb0 fixed not working change of comma-separated accounts, eg. info_responsible 2009-11-20 15:07:26 +00:00
Ralf Becker
118a2e0874 "remembering admins previous selection for:
- country
- usage_type"
2009-11-17 20:31:48 +00:00
Ralf Becker
e9eb83b9e2 "fixed not transmitted install-type" 2009-11-17 12:47:39 +00:00
Ralf Becker
9a755daa24 Client to submit monthly statistical data 2009-11-17 09:24:10 +00:00
Klaus Leithoff
2278b9e582 display more info in admin-> accesslog, codealignment 2009-10-06 08:28:31 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
1bb3fadd1f "added simple callback for config templates, html eg. selectbox get created by using:
- {call_class::method} or 
- {call_app.class.method}
The returned selectbox or input has to be for \"newsettings[$name]\"!"
2009-08-18 16:07:39 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Klaus Leithoff
cf5fe6a101 making sure the apps for ACL Management are sorted in Group-view 2009-05-13 13:52:54 +00:00
Ralf Becker
b52d29b7a7 New access log (created during an eGroupware application development
workshop at Stylite GmbH for new developers)
2009-04-27 10:31:23 +00:00
Ralf Becker
9aed38299f "fixed fatal error: creating custom fields delete application config:
caused by a missing config::read_repository() before calling config::save_repository(), which then only stores the custom fields, but not the rest of the config"
2009-04-23 11:18:51 +00:00
Ralf Becker
b11d7fe912 "fix for \"bug\" #1954: greatings should be greetings
and a new file-header"
2009-04-03 07:02:08 +00:00
Ralf Becker
185f934852 Patch from jean-charles.passard@provectio.org to fix handling of account
prefixes
2009-02-16 08:22:22 +00:00
Klaus Leithoff
de231ebb28 adapted new tracker table structure; adapted new knowledgebase table names 2008-11-14 13:24:18 +00:00
Ralf Becker
3fe7919b92 "- fixed wrong call $ids2change instead of $this->change
- egw_vfs --> egw_sqlfs"
2008-11-03 11:03:39 +00:00
Ralf Becker
5cf4b6eedc "fix typo" 2008-10-30 11:35:13 +00:00
Ralf Becker
226df83e0b "fixed bug reported from David Ranking on the devel list: cat list looses status, while editing global cat" 2008-10-08 07:55:49 +00:00
Ralf Becker
c475f86147 - get session list for session.save_handler='files' working again
- sessions are sorted by default with session_dla DESC (newest updated
  sessions first)
2008-08-19 11:54:35 +00:00
Ralf Becker
563ac8c71c session list:
- fixed not working "go to start or list" button
- added start/total display
2008-08-14 12:45:19 +00:00
Klaus Leithoff
df933068b3 #improving edit-mode in admin composing welcome/start messages.
if you entered/saved text in WYSIWYG Mode, you will start editing the text in this mode, later on. If you choose to leave WYSIWYG mode HTML 
tags will be stripped completely. Switching back and forth, will display the saved content with mode selected (WYSIWYG/PLAIN), changes made are
lost if not saved. 
If you save in PLAIN Mode all former HTML formatting will be abondened.
2008-08-11 10:25:58 +00:00
Klaus Leithoff
c5a3178c77 if you switch from text to html, and back, or if you save the message in html mode, there is no way back to WYSIWYG but using the source button
of fck editor and pasting the content of the window. To enable this, call htmlarea with the style parameter 'advanced', wich will be used as 
editor-mode switch then.
2008-08-11 09:25:23 +00:00
Ralf Becker
0c0f74aae4 "new session methods to list and count" 2008-08-08 08:20:53 +00:00
Klaus Leithoff
c19f247316 -moved the emailadmin related strings to emailadmin
-removed the manual setting of the link to the emailadmin, and moved it to emailadmin's hooks
-support the (user/group id change for emailadmin table/fields
2008-08-07 10:31:54 +00:00
Klaus Leithoff
402c0308dd -missing german translations
#Usability feature: Link to access/create a User assigned emailadmin Profile when in edit/view mode of an existing user
2008-08-01 09:54:12 +00:00
Ralf Becker
4bca7982d6 moved rest of the addressbook group-acl code to addressbook 2008-06-30 16:46:01 +00:00
Ralf Becker
ff7325276e hook to register an app for group acl 2008-06-27 10:03:14 +00:00
Ralf Becker
8e1221940a fixed link to set (extended) acl for user or group dirs 2008-04-18 12:38:17 +00:00
Klaus Leithoff
8d9737dab9 added the account creation/modification information to the edit dialog of an account as well 2008-04-10 10:21:51 +00:00
Klaus Leithoff
5ae0e7de95 fixed typo 2008-04-10 09:56:41 +00:00
Klaus Leithoff
735fe90547 added fields created/modified to the display of the single account info as part of the account status.
added accountstatus/created/modified to the display of the account list
2008-04-10 09:08:51 +00:00
Ralf Becker
afe2795f2d removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:37:37 +00:00
Ralf Becker
f4b534904f fixed delete user: select new owner, was showing only the first maxmatches accounts 2008-03-06 09:03:27 +00:00
Klaus Leithoff
91e5c2ab9c deleting the obsolete hook_admin.inc.php file 2008-02-29 13:06:52 +00:00
Klaus Leithoff
e51e180478 resolving of problems regarding 2 classes responsible for the admin prefs_sidebox (admin_prefs_sidebox_hooks + hook_admin) 2008-02-29 13:05:22 +00:00
Klaus Leithoff
6f9e01d386 get the sidebox menue for admin working again; provided by Stefan Becker 2008-01-29 15:14:35 +00:00
Ralf Becker
5d4e591d19 new private custom fields visible only to certain users/groups, only used in addressbook at the moment, easy to add for other apps, only requires to modify the storage method to only save the available cfs, to not delete the hidden ones 2008-01-19 05:32:51 +00:00
Ralf Becker
fe08487fd8 allow to queue command objects, to be fetched by the client 2008-01-09 02:04:30 +00:00
Ralf Becker
86621d7fe2 moved randomstring method to admin_cmd 2007-12-22 03:21:07 +00:00
Ralf Becker
296e339f65 fix for a stupid bug in php5.1.2 2007-12-20 23:56:06 +00:00
Ralf Becker
b195b3cb8d - throwing an egw_exception_db_not_unique, if saving an remote location, violates a unique constrain
- fixed wired error in setup-cli.php, caused by the automatic setup of the static accounts object, in the setup enviroment
2007-12-20 02:47:37 +00:00
Ralf Becker
e195efadeb moved access checks into the class with a default implementation, so commands can override it, to be eg. anonymous or under other restrictions available 2007-12-18 23:11:53 +00:00
Ralf Becker
21238900c7 __isset() & __unset() methods for admin_cmd 2007-12-13 02:34:44 +00:00
Ralf Becker
b2640f0cec moved remote hash calculation to a function 2007-12-07 00:03:31 +00:00
Ralf Becker
cae8bb40a8 added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception 2007-12-06 08:00:41 +00:00
Ralf Becker
4f77162f64 first version of a setup command that can run via admins remote command execution 2007-12-05 02:27:49 +00:00
Patrick Bihan-Faou
bb20c359f2 The formated_list function in phpgwapi/inc/class.categories.inc.php was
renamed to formatted_list a while ago. There is no need to keep dead code
around.
2007-11-27 17:14:54 +00:00
Ralf Becker
71fc139a31 next step: all admin-cli commands are implemented now in the new structure, exist codes need to be reworked 2007-11-27 03:20:28 +00:00
Ralf Becker
007c46e729 next steps: UI to add remote sites, remote admin needs not to be configured/allowed on the remote side 2007-11-24 19:56:58 +00:00
Ralf Becker
912bbae120 next step admin-cli can send now commands to remote installs (defined direct in egw_admin_remote, no GUI yet) 2007-11-23 20:04:26 +00:00
Ralf Becker
462719d45e A very first step to remodel our current admin backend:
- all commands get loged and optional documented with requesting
  person and a comment
- all commands can be run immediatly or scheduled for a later execusion
- all commands can be run either from a command line (admin-cli), from
  the web GUI or via a remore administration from a different instance
current status: 
- command queue / history table created (need to be installed)
- base class for all comments
- one exemplary command to change application rights of users or groups
- admin-cli used the above comment and has additional parameters to set
  the requesting person, scheduled execution time and comment
- GUI to watch the queue / history
- URL to excute/schedule commands remote
More to come now on a daily basis
2007-11-22 00:57:12 +00:00
Pim Snel
a12070b61f add check to prevent compile error in translation tools
add initial kinyarwanda language
2007-11-12 00:47:59 +00:00
Ralf Becker
6ec9f61226 fixed problems pointed out by enricomilanese-AT-gmail.com 2007-09-16 06:51:13 +00:00
Ralf Becker
e91b4400b9 fix for bug #1172: values lost, if error in user-creation/validation 2007-08-30 15:29:34 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
0376f3d48f "removed no changable ACL for addressbook, if contacts are in LDAP" 2007-06-11 13:09:57 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Ralf Becker
9ff8985ae9 "cancel button was not working in delete user" 2007-05-07 08:06:03 +00:00
Ralf Becker
7ee3b19931 "bugfix: group-name (account_lid) could not be changed" 2007-05-04 14:18:47 +00:00
Ralf Becker
8d5370febe "fixed not working creation, rename and deletion of user- and group-dirs
--> it's done now via hooks from the vfs_home class for all types of vfs"
2007-04-29 12:07:43 +00:00
Ralf Becker
519c8e4e43 "bugfix: blank page when editing a user" 2007-04-26 13:54:21 +00:00
Miles Lott
f74693a09f Add missing (moved) public function 2007-03-09 12:09:54 +00:00
Miles Lott
d274143269 Updated to have all posts and gets go to the ui class. Bo class functions now take direct arguments and respond with true, false, or array of errors (for now). 2007-03-09 12:07:15 +00:00
Pim Snel
9467610549 implement topmenu hook
check if topmenu is enabled and then skip after navbar hook
2007-01-23 23:35:12 +00:00
Ralf Becker
6a0f1b67d3 fix for bug #221: config (admin.uiconfig) is not saved properly, if magic_quotes_gpc is on 2006-12-29 07:08:47 +00:00
Ralf Becker
f1b8c4ec2b Patch from Klaus Leithoff <kl-at-stylite.de> to sort the groups alphabetic while editing accounts 2006-12-19 13:24:09 +00:00
Ralf Becker
176554400a Patch from Klaus Leithoff <kl-at-stylite.de> to better deal with a big number of groups in edit accounts 2006-12-15 10:41:33 +00:00
Ralf Becker
343d5a6eac patch from Klaus Leithoff: implementing lettersearch for group-list 2006-12-06 15:15:42 +00:00
Ralf Becker
2e0e11d5a7 showing the query and keeping it when paging through the result 2006-10-28 09:38:20 +00:00
Ralf Becker
fd45860980 ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:58:58 +00:00
Ralf Becker
6396d1b235 new application customfields for the other (non-infolog) apps. If the application field should generate a link, it has to be done in the application itself. 2006-10-05 06:34:12 +00:00
Ralf Becker
ff9f3ebcbd passing the info also to method hooks 2006-09-19 06:58:25 +00:00
Ralf Becker
9d4ddba49b removed not used instanciation of old sbox class 2006-07-06 20:15:11 +00:00
Ralf Becker
e6e05e283c reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:28:47 +00:00
Ralf Becker
ec8bc31682 fix for empty webserver_url (eGW installed in docroot) 2006-06-22 05:38:31 +00:00
Ralf Becker
860ee3f50b fix to be able to set the email-address against the policy on add (update already worked) 2006-06-21 22:43:50 +00:00
Cornelius Weiß
4d200374a2 fix: load translation only if a gui is involved 2006-06-16 15:14:31 +00:00
Ralf Becker
c30d082ae6 changed editaccount hook to use the same values (with account_ prefix) as the addaccount hook 2006-06-09 00:05:14 +00:00
Ralf Becker
a3e859f85f quitent a debug message 2006-06-07 18:04:24 +00:00
Ralf Becker
6557128ec6 rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:56 +00:00
Ralf Becker
c71c53851f fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Ralf Becker
c730c82502 reading the custom fields and types in the constructor, otherwise save_repository would delete them 2006-04-26 21:26:34 +00:00
Ralf Becker
267015342a fix for register globals off, nextmatch was not working on egroupware.org 2006-04-25 19:10:39 +00:00
Ralf Becker
b6b3db5ed4 first version / step to the new 1.4 addressbook:
- User accounts are an own addressbook now
- every user and group (can) have an own addressbook
- for groups the accessrights no longer depend on the creator
- new acl for adding into an addressbook
- all addressbooks can be displayed together (eg. accounts mixed with personal and group AB's)
- some useful new fields (photo, private cellphone, ...) and some obscure ones have been removed
- db update puts all contacts in the owners personal addressbook (further manual migration tools will follow), thought the UI already allows to mass-move them into a group-addressbook
- group addressbooks in SQL are created by making a group-grant for addressbook (like filemanger)
- Warning: all import/export/xmlrpc/syncml stuff and other apps accessing the addressbook is broken until the contacts class in the API gets fixed!
- it depends on further updates of etemplate, phpgwapi, admin!
==> it's pretty cool (specialy the foto's), but NOT ready for a production server !!!
2006-04-23 14:40:31 +00:00
Ralf Becker
703f049b09 function to create email addresses after a configurable policy 2006-04-16 12:31:00 +00:00
Ralf Becker
fcd9a870b7 fixed not working validation hook 2006-04-06 10:46:59 +00:00
Ralf Becker
bae9cc6013 invalidate session cache on changes in egw_info 2006-04-06 07:53:44 +00:00
Ralf Becker
055c9f846f config ignored changes made in the hook config 2006-04-06 07:52:50 +00:00
Ralf Becker
7b4cdbb097 login- and home-message dealed wrongly with some special chars like: \ ' " < 2006-04-06 07:51:23 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
db1a32aa33 fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists 2006-03-10 09:53:10 +00:00
Ralf Becker
eb6d8504c1 fix for bug [ 1417178 ] Group membership after edit
--> negative indexes to arrays are treated different if represened as string or integer
2006-03-08 18:25:24 +00:00
Ralf Becker
e3c0783cee fix for bug [ 1345020 ] Need to un-escape form/html output...
--> happened with magic_quotes_gpc On
2006-03-08 16:53:16 +00:00
Cornelius Weiß
19d4484b7d fix: hook update_group wasn't processed 2006-01-04 19:19:11 +00:00
Ralf Becker
809768937d added timesheet to the apps with acl 2005-12-19 04:17:43 +00:00
Ralf Becker
dc8d6aa52b fixed not working group-selectbox 2005-12-14 23:27:17 +00:00
Lars Kneschke
a14cf00c50 some small layout fixes 2005-12-02 14:06:25 +00:00
Ralf Becker
f227e36362 fix for bug [ 1362733 ] Setting is ruining calendar display... 2005-12-01 20:21:16 +00:00
Miles Lott
a828b3cf85 remove superfluous globals, format 2005-11-26 14:04:40 +00:00
Miles Lott
2a44512e96 fix email address 2005-11-26 13:48:28 +00:00
Ralf Becker
50548b05f5 fix for bug [ 1257649 ] nextmatchs failed when listing categories with much sub-cat 2005-11-23 23:44:20 +00:00
Ralf Becker
5fa1bb109b fixed not working update of start and login-page message: eliminated direct access to the lang & languages table by using (new) functions from the translation class 2005-11-19 20:10:23 +00:00
Ralf Becker
1f37f024ca phpgw_access_log --> egw_access_log 2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
8a06c230c4 modernized and documented the hooks-class, phpgw_hooks --> egw_hooks 2005-11-13 06:58:38 +00:00
Ralf Becker
10ced8ebd5 using common::get_referer() 2005-11-09 12:46:52 +00:00
Ralf Becker
402b114918 quitened warning if there are no customfields defined yet 2005-11-08 14:26:36 +00:00
Ralf Becker
37a5d611c0 customfields working again ;-)
- uses admin.customfields for configuration
- and customfield widget in eTemplate
2005-11-08 13:51:43 +00:00
Miles Lott
6717a20a69 Fix spelling of quota 2005-11-04 13:06:02 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
65cd84bb4c sorry, acident happend 2005-11-02 10:05:57 +00:00
Cornelius Weiß
76692a6e28 upps, forgot to commit templates for customfields manager 2005-11-01 18:59:15 +00:00
Cornelius Weiß
21cdc2d1e7 added a general custiomfield definition module for admin-section 2005-10-28 18:27:06 +00:00
Ralf Becker
aac9ec7d10 phpgw --> egw 2005-10-14 17:03:16 +00:00
Lars Kneschke
1085534c94 modified the delete hooks to use $GLOBALS['hook_values'] 2005-09-20 10:11:38 +00:00
Ralf Becker
2ebf6f517e fixed old problem: changes in your account (eg. adding an app) happen with the next page-view only 2005-07-22 09:22:04 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
zhangweiwu
d2444ac288 further modification to replace typical phpgw style
<TD BGCOLOR="{ROW_ON}">
with egroupware style
<td class="row_on">
for more flexibility. most of these files are years old.
(pim proofread)
2005-07-06 02:26:44 +00:00
Ralf Becker
f5fefe3aff enable group ACL for projectmanager 2005-06-14 07:44:36 +00:00
Ralf Becker
483ad2cec4 patch from <tibolist-at-free.fr>:
code logic was wrong and it was using an API method that is
also buggy => in file /egw/phpwgapi/inc/class.common.inc.php the method
cmp_version_long().


1) the code logic:
it get versions for the current app and for the api from file
(app/setup/setup.inc.php) and from DB.
it loops over this 2 apps (app, and api), and set a $_current to true or
false. this variable value is defined by the last app check in the loop
(the API) => then if your API version is up to date, your application
version is also. which was wrong for me. Well in the attached file i
change the code logic.
2005-04-27 07:56:44 +00:00
Ralf Becker
ee9cf93b63 removed hack necessary because of the wrong call of the contructor of the application class 2005-03-30 14:46:37 +00:00
Ralf Becker
091af2e3b6 1) referer check to find out if called via admin or the sidebox menu of an app, in that case show the sidebox-menu of that app and not of admin and return to it
2) load the translations of the app to configure too, so it's phrases dont need to be in common, to have them in admin and the app
2005-03-03 16:57:07 +00:00
alpeb
6212ad3c78 Applied patches #1151626 from Regis Leroy that allow configuration of global ACL rights on a group level (before it was only possible on a user level). This will allow to control access to the admin and monitor sections of the workflow app using its new acl hook 2005-02-28 16:12:31 +00:00
alpeb
8299eb6aa4 added png support 2005-02-28 16:11:47 +00:00
Ralf Becker
d3d2ac11ee fixed bug reported on the devel-list: clicking on "Grand access" icons (pencil) while adding a new account results in an sql error
==> icon not longer shown, as we have no user-id yet
2005-02-15 08:18:27 +00:00
ak703
59392b4087 fix bug loosing email-entry after adding the user
thx to Thai Duong
2005-01-28 22:01:12 +00:00
ak703
c7c29c30aa fix group edit bug detected by Maanus, so after editing groups in combination
with LDAP, the remain with account type "g" and not getting "u".
2005-01-28 20:12:28 +00:00
ak703
0e6474592e it was nerving, being forced to have an icon for categories - many cat's dont
need an icon
2005-01-10 22:54:05 +00:00
ak703
ec7d20c4ae fixed error in last commit, changed overflow for select region to auto 2005-01-03 15:05:56 +00:00
ak703
3efeb8b62b implemented new style of multiple select (recommended by Mauro Donadello)
Items can now be selected by checkboxes instead of keeping CTRL key pressed, which
makes life easier for many users.
2005-01-03 10:41:07 +00:00
Lars Kneschke
cf3f10911e add email address also for new accounts
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270672
2004-10-18 05:15:58 +00:00
Ralf Becker
940deb08a9 finished DB backup and restore for eGW:
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
  + shedule repeating backups
  + up- and download of backups
  + creating and restoring backups
2004-10-15 23:06:34 +00:00
bgigon
7e1a268980 Increase visual 2004-09-28 12:26:05 +00:00
Ralf Becker
08089de0a6 enabled editing of user-ACL settings for admins 2004-08-28 13:48:32 +00:00
Ralf Becker
4eff10135f removed plugins, as they only work in selected languages 2004-08-28 13:35:02 +00:00
ak703
d2586ba500 improvements of the ui and some error checking for emtpy fields, implemented
tooltip info images for better explanation of the module. Started the README
2004-08-26 21:11:25 +00:00
Ralf Becker
2c62ea94b9 fix for bug [ 1011713 ] new user email address gone 2004-08-26 11:57:58 +00:00
ak703
eabf6925b5 Added an admin module for ldap based email settings (based on emailadmin)
but reduced to those functions, which are needed to manage ldap entries, which
rely only on standard schemas (core, qmail) which are not considered "experimental"
and without the need to add a separate schema.

This modul will be extended whenever possible and approved for more values.

Main goal here is: Ability to easily use eGW Admin for account management with
LDAP beackend and to comply with those schemas, the distros are delivering.

The link for this module will be shown in addition to Lars' EmailAdmin if LDAP
is used as account storage. So it will not break existing installation ;-)
2004-08-25 22:29:28 +00:00
Ralf Becker
45c0f356ef replaced all while-list-each with foreach, as requested in patch [ 1015863 ] Admin does not save ACL rights and Site Configuration 2004-08-25 11:21:23 +00:00
Ralf Becker
acc5c0dfb0 foreach instead of while-list-each 2004-08-24 19:59:31 +00:00
Ralf Becker
fb1f4f9d6b renamed html class in admin to html_tables, as the name clashes with the class html in the api 2004-08-24 19:57:47 +00:00
reinerj
ae5eb29bfe replace the crap 2004-08-08 21:29:14 +00:00
Ralf Becker
8ea4f68715 using new email address from the account 2004-08-01 17:09:26 +00:00
Ralf Becker
74fd47804a fixed asyncservices to run under the windows sheduler 2004-07-31 19:37:58 +00:00
Ralf Becker
faa4caa918 fix for bug [ 995944 ] Pass by reference in class.uicurrentsessions.inc.php 2004-07-22 14:35:38 +00:00
Ralf Becker
cf32369b5d stoping account or group creation process, if there is an error and therefor no id (else the acl or preference class assumes to change the current user) 2004-07-12 22:06:13 +00:00
Ralf Becker
05a7e6de3a fixed edit-user-form was loosing data, if an error occured 2004-07-12 19:54:44 +00:00
Ralf Becker
2d4a438533 fixed hook-values for add-user hook, new account id was not set, which gave an sql error in fudforum 2004-07-12 19:53:07 +00:00
Ralf Becker
e5d689cb9f added smtp-auth configuration to email and API's send-class (translations for that are moved to admin, as the config is now in Admin >> Site config and only for confinience accessible via Admin >> Email >> Site config too 2004-07-11 08:33:28 +00:00
Ralf Becker
31b3575448 reset start-value after each new search/selection 2004-07-09 16:08:59 +00:00
Ralf Becker
1992c6982b added email-address to the accounts-data and implemented a better account-selection (like the one in the new account-popup) 2004-07-04 17:33:13 +00:00
Ralf Becker
d9eb3ad604 not used anymore 2004-06-30 09:41:18 +00:00
Ralf Becker
889b6931f1 fixed call to accounts::save_repository not update for each user, but one time at the end 2004-06-23 13:19:38 +00:00
Ralf Becker
e8daf45b02 using account-selection widget 2004-06-12 09:48:59 +00:00
Ralf Becker
140a9fb5df added possibility to assign a color and an icon to a global category 2004-05-29 10:16:52 +00:00
Ralf Becker
7a89d5312d fixed loginscreen-message: was not updated if the performance patch was installed, as it changes the order of the columns in the phpgw_lang table and it did an insert without the column-names 2004-05-19 09:33:56 +00:00
Ralf Becker
f4361e3ca4 fixed not working scrolling and search for user-groups, fixed disabled search via admin-ACL's 2004-05-19 06:05:01 +00:00
alpeb
f75a66cc05 fix bug 948702. User won't be allowed to change an app name 'cause it breaks it. 2004-05-07 16:49:17 +00:00
alpeb
1dae93b363 partial fix to bug 948702: can't change apps names. Still more to do. 2004-05-06 15:29:33 +00:00
alpeb
6c6e2c445c added phpbrain to list of apps supporting ACL 2004-05-04 17:45:04 +00:00
Pim Snel
94822be83a implement htmlarea with plugins for testing and real use 2004-04-22 00:19:50 +00:00
Pim Snel
e20c2e2815 completly fix #921476 (Creating new account failes) The system now alerts that a group already exists with the userloginid which was attemted to create 2004-04-21 21:40:13 +00:00
Ralf Becker
b495aa7a0f implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 07:54:25 +00:00
Lars Kneschke
78443fcb63 fix things spoken about with ralf :) 2004-04-04 18:59:12 +00:00
alpeb
24e12a61dd Fixes bug #869805. When updating a group's name, in table phpgw_accounts only the account_lid field got updated, now account_firstname gets updated too. 2004-03-30 04:23:23 +00:00
Lars Kneschke
95ed13e717 second parameter was missing and generating a warning 2004-03-25 06:33:21 +00:00
Ralf Becker
7a47184f12 change icon for Group-ACL to use the standard/API edit-icon, changed the title/tooltip to "Grant access: edit group ACL's" 2004-03-23 13:45:23 +00:00
danbas
31d9bd59b6 fixed bug that I just introduced 2004-03-23 08:41:05 +00:00
danbas
ebe9a3354e idle times of more than 24 hours are now displayed 2004-03-23 08:34:00 +00:00
alpeb
9f17551049 when using popup for selecting users to add to a group, if there was only one member in the group new members added weren't shown in the select box because there was no scrolling bar, so now I made it at least five lines big 2004-03-02 04:08:59 +00:00
Miles Lott
ecd7fdb9ea fix banner 2004-03-01 00:57:01 +00:00
Ralf Becker
b074cbf924 fix for bug #843270: unkillable categories
sub-cats should either be delete or made mains if there parent get deleted
2004-02-26 12:18:44 +00:00
Lars Kneschke
28d5293d6e fix for bug [ 892893 ] "phpinfo" sometimes doesn't work 2004-02-26 09:01:42 +00:00
Miles Lott
2f32ca43b2 remove comment code which is not needed 2004-02-20 15:04:26 +00:00
reinerj
80ea30c5b1 changes from phpgw to egw dev group 2004-01-26 23:26:19 +00:00
Miles Lott
b66c1210c5 switch to _POST and _GET 2004-01-26 05:52:19 +00:00
Lars Kneschke
d96c9afac2 use a prefix for user accounts
can be set in setup
2004-01-12 06:22:20 +00:00
Miles Lott
9b3cb16bba add missing ) 2003-12-20 19:23:49 +00:00
Miles Lott
5a1f288b96 intval, ereg_, and gettype updates 2003-12-20 18:51:51 +00:00
Lars Kneschke
fb8e5b9f8a made adding categories working again 2003-11-28 07:56:30 +00:00
Lars Kneschke
c7c349b7c6 don't open a new windows anymore, when editing ACL's 2003-11-27 18:14:57 +00:00
shrykedude
9fc3c9b55b var check to make sure groups array is set before examining it, to eliminate PHP warning 2003-11-06 23:08:10 +00:00
shrykedude
b9f26e9216 Moved Add account item to same page location as other manager screens 2003-11-05 10:35:53 +00:00
shrykedude
79bae15b8d Correct off-by-1 error in app list 2003-10-29 04:36:43 +00:00
shrykedude
b6578a3c3d forgot to remove debug check 2003-10-22 05:18:45 +00:00
shrykedude
9798ccf162 Fixed bug in error log navigation.
Fixes for better HTML validation.
Match navigation button layout fixes.
2003-10-22 05:14:56 +00:00
Ralf Becker
57066401f5 Implemented for FUDforum/Ilia: changed the hooks addaccount, changepassword & editaccout to be called independent if the user is enabled for the app or not 2003-10-07 17:06:53 +00:00
Ralf Becker
1dfcc53846 sorted apps in user-manage after their titel and not after the not shown app-name 2003-10-05 23:16:03 +00:00
Ralf Becker
8e9ea3667f disabled peer-servers 2003-09-24 16:50:10 +00:00
Ralf Becker
2c3c764d9f fix to call {edit|view]_user_hooks again: ACL-manager and access-control 2003-09-24 16:48:04 +00:00
Ralf Becker
3261633231 sort the apps by title in admin->applications 2003-09-22 11:14:21 +00:00
Ralf Becker
27497d4f21 fix to show title of disabled apps 2003-09-22 10:58:05 +00:00
Lars Kneschke
39e3d2b965 don't call the deleteaccount hook twice anymore 2003-09-20 04:48:34 +00:00
Lars Kneschke
2f986a6667 fixed a problem with the primary group
fixed german translation
2003-09-19 20:43:04 +00:00
Ralf Becker
724b097301 pgSql fix, patch von Shryke Dude (shrykedude) 2003-09-16 21:55:22 +00:00
Lars Kneschke
0086593cb6 add stripslashes if needed 2003-09-14 16:30:27 +00:00
Lars Kneschke
9cf40e6797 can't delete class with members 2003-09-14 08:34:03 +00:00
Ralf Becker
850b3f6b4f set primary group to the first group of the user or the Default group, if it is not set 2003-09-13 19:06:10 +00:00
Ralf Becker
9cb610ad6d - adding primary group automaticaly to the groups of the user
- adding the user-data as parameters to the hooks: adduser, edituser, changepassword (old global var still works)
2003-09-13 19:00:41 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Ralf Becker
35674f5ca3 reverted kneckes exidential changes 2003-09-13 14:39:30 +00:00
Lars Kneschke
437b960836 adding a primary group to the admin pages 2003-09-13 14:09:41 +00:00
Ralf Becker
f4fd01dd10 added possebility to remove the crontab-line 2003-09-06 10:50:35 +00:00
Ralf Becker
5422ee6beb disabled the peer servers 2003-09-02 13:28:38 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
1b1329661f admin/cats: changed logic and look to apply with the style-guide 2003-08-30 10:59:32 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +00:00
Ralf Becker
e35efb3f53 merged asyncservices from .16 2003-07-21 18:21:30 +00:00
ceb
782fdf7c2d fix bug #3861 2003-06-24 13:32:25 +00:00
Ralf Becker
a09ccfb730 merged sesson-functions for .16, incl. the brute-force stuffe and cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:18:58 +00:00
ceb
aeb4efaae8 removed countryset 2003-04-29 22:10:16 +00:00
gugux
cce7e20b2b Changed all x's into %'s in lang files and lang calls, added missing english phrases and french translations. 2003-04-29 21:58:12 +00:00
ceb
cb2dec5dbe update 2003-04-28 00:41:55 +00:00
ceb
bde09a37ec update 2003-04-28 00:31:33 +00:00
ceb
4f6fc8d85a update 2003-04-27 23:16:15 +00:00
Ralf Becker
4e1cd7d1f5 new type of hooks via methodes instead of separate files:
- allows to parse arguments ot the hook and return content
- all access to the hook-table is now handled by the hook-class (for admin and setup too)
- all existing hooks continue to work of cause
2003-04-27 22:26:04 +00:00
ceb
9e5ae9f83b update 2003-04-27 20:28:34 +00:00
ceb
0349874425 update 2003-04-27 19:28:13 +00:00
ceb
a6764066ce update xslt 2003-04-27 00:47:33 +00:00
ceb
a2bce3e3a2 update xslt 2003-04-27 00:17:58 +00:00
Ralf Becker
90ceda0ed1 added some compatibility, by allowing to still use the old display_section function 2003-04-26 08:56:28 +00:00
ceb
91757ddabd update 2003-04-24 01:20:52 +00:00
ceb
26897b98c7 update 2003-04-24 00:48:23 +00:00
ceb
bf3affb467 porting admin to xslt 2003-04-23 21:52:22 +00:00
ceb
60079f0e17 started updating to xslt and rework accounts classes 2003-04-23 01:08:32 +00:00
gugux
1fbdbaa96c Changed a x into %1 2003-04-22 20:22:06 +00:00
gugux
661edeac5a Begin translation of x's to %'s ... 2003-04-22 20:09:01 +00:00
Ralf Becker
54036d56b3 fixed ACL-labels and group-ACL 2003-04-06 22:29:57 +00:00
Ralf Becker
d948f09973 moved generation and translation of app-title into applications-class 2003-03-22 12:29:42 +00:00
Ralf Becker
f9c53875eb Moved list_sessions and total from admin.socurrentsessions into the session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the number of loged-in-users.
Aktivated the accesslog f�r php4-sessions too.
2003-03-21 00:47:18 +00:00
Ralf Becker
c7e95eabee *** empty log message *** 2003-03-13 00:28:22 +00:00
Ralf Becker
5f0ea8e766 Added a note (with link to setup) to admin/applications/add, to use setup to install new apps 2003-03-09 15:09:35 +00:00
ceb
a77d47cd5f moved all the setup mess to its right place 2002-12-07 02:12:15 +00:00
Ralf Becker
fa68a06371 knecke's fix for the usergroups with no title set any more, plus my headerline from .14 2002-11-23 23:55:13 +00:00
ceb
6f6e06b39f removed var from hook_admin 2002-11-03 01:03:07 +00:00
Ralf Becker
dba23ea4e2 removed some references to the old themes 2002-10-27 15:56:16 +00:00
Ralf Becker
d491a1d212 small fix to get edit-app working without app-title 2002-10-27 09:46:59 +00:00
ceb
405e2b5c65 removed app_title 2002-10-26 22:40:09 +00:00
skeeter
510aeaca5f Fix to display correct time for current sessions. 2002-10-14 14:26:03 +00:00
ceb
23edad505e update 2002-10-13 22:04:55 +00:00
ceb
fd64b8f0f8 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:32:10 +00:00
ceb
5cc3837622 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:03:35 +00:00
ceb
be05bc6e25 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 21:18:23 +00:00
ceb
6b1588ada5 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 20:45:27 +00:00
ceb
edc9286de9 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:43:58 +00:00
ceb
22ff2988c7 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:01:39 +00:00
ceb
aac6b5e5f4 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 17:23:56 +00:00
ceb
1e7e23d21c update delete cats 2002-10-12 00:48:36 +00:00
ceb
0ae563ca08 fix for bug 1286 2002-10-04 20:59:00 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
ceb
4e16995d6f update delete cats 2002-09-25 03:56:06 +00:00
ceb
557c3842f2 update delete cats 2002-09-25 01:10:26 +00:00
Zone
71ec2f0197 Updates needed for phpwebhosting -> filemanager name change 2002-09-21 05:15:32 +00:00
ceb
e4044935f0 update cats 2002-09-08 20:40:12 +00:00
ceb
aacd03d33f update cats 2002-09-04 01:58:34 +00:00
ceb
7d38b22ddb update cats 2002-09-04 00:30:50 +00:00
ceb
8ad7b856f8 update cats files to test new delete function 2002-09-03 02:22:32 +00:00
skeeter
83102bed0e GNU Patch #379. 2002-06-29 15:59:37 +00:00
Miles Lott
c0a1b434e9 formatting 2002-06-18 01:13:43 +00:00
Ralf Becker
9be495246f some changes to be compatible with seek3r new template-system
output is not longer print, but $GLOBALS['phpgw']->template->set_var('phpgw_body',$content);
2002-06-01 14:40:30 +00:00
seek3r
d2f00f43ce added password validation routines, as well as general improvements on sanitize function 2002-05-26 08:50:40 +00:00
seek3r
cf2a12ba1c made changes to the loading of the header, navbar, appheader, and footers 2002-05-24 10:38:03 +00:00
Miles Lott
b08b5717b1 Add in sha passwd crypt for ldap (requires mhash to configure and use) ...
Concept by Matt Pavlovich <mpav@algx.net>
2002-05-14 01:02:19 +00:00
Miles Lott
e73a5b57fc Fix spelling of matches 2002-05-07 12:42:50 +00:00
seek3r
2f75040773 minor correct to the hooks 2002-05-02 01:38:25 +00:00
seek3r
b834ae9638 updated hooks for add/delete accounts and update password 2002-05-01 23:55:51 +00:00
skeeter
3e3cf46972 Fix for mssql or ODBC support. 2002-04-14 14:51:25 +00:00
Miles Lott
5d9ec2d917 Testing ability to handle checkboxes in admin config class 2002-03-20 00:27:34 +00:00