Commit Graph

1713 Commits

Author SHA1 Message Date
Ralf Becker
574fccb9c9 action to add a new user 2013-11-08 07:48:24 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +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
55f9f02bbf setting new admin index page via version update to 1.9.001 2013-10-24 10:56:40 +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
0163442f37 changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS 2013-10-09 14:35:03 +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
0b3d3c132d use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr 2013-09-11 13:08:59 +00:00
Ralf Becker
855c04cb2c use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr 2013-09-11 13:06:00 +00:00
Nathan Gray
1355f66fd0 Change to jsapi egw.json() 2013-09-10 19:45:08 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +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
Klaus Leithoff
5a807858d7 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:53:55 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Klaus Leithoff
dae7123c77 commit some lang file stuff; mostly french 2013-08-26 09:39:33 +00:00
Klaus Leithoff
10d0680fe0 add new lang strings 2013-08-26 09:28:29 +00:00
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +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
59c683c359 removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV 2013-07-25 12:18:08 +00:00
Ralf Becker
de5a0c0378 setting a white background to work around transparency 2013-07-19 09:48:53 +00:00
Ralf Becker
d63ee993b3 AD requires to activate account AFTER setting pw 2013-07-16 14:58:38 +00:00
Ralf Becker
10436d5e41 fixed not being able to switch "forbid password to contain name" off again, after it has been switched on (caused by name "passwd_forbid_name") 2013-07-16 14:50:12 +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
Ralf Becker
92e0ee86a5 * All apps: allow to log user-agent and action of all changes in history-log of entries (enable in Admin >> Site configuration) 2013-07-11 13:09:23 +00:00
Nathan Gray
b46eb9a72c Fix custom fields header Length <br> Rows using an hbox 2013-07-10 18:36:38 +00:00
Ralf Becker
a57e1c76cf setting different std image for tree, old one was only found with Styite template 2013-07-09 15:02:02 +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
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +00:00
Klaus Leithoff
4e13e7b504 italiann translations provided by Ilias Chasapakis (webtrain.it) 2013-06-17 11:08:37 +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
Klaus Leithoff
6204999b19 allow better config options for spell checking in ckeditor (add BrowserBased only) 2013-03-18 15:36:27 +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
4f247b26f8 merged translations and other uncommited ones 2013-02-08 19:03:20 +00:00
Klaus Leithoff
38a3d0eb3f russian translations provided by Vladimir N. Gavrilov 2013-02-01 12:05:36 +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
b1a2db3394 translations provided by Stefan Becker and others 2013-01-23 09:17:04 +00:00
Ralf Becker
be6845b4d0 * All apps: merged missing translations from other apps or branches 2013-01-18 13:48:34 +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
a709f6104f * Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache 2012-11-05 12:18:22 +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
23a97f6ab8 allow to switch minification of JS or CSS files off via Admin >> Site configuration, it is switched on by default 2012-10-16 09:40:05 +00:00
Ralf Becker
6db28c5a1a spanish translations from Rafael 2012-08-16 14:42:33 +00:00
Ralf Becker
4c3c423b3d more German translations from Gudrun 2012-08-09 12:57:19 +00:00
Ralf Becker
b181ab1f3f allow to use a setup user and password by prefixing it with 'root_', eg. 'root_admin' for setup user 'admin' 2012-08-09 08:16:17 +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
Ralf Becker
e913a6a263 pending translations from translation.stylite.de 2012-08-08 12:11:04 +00:00
Ralf Becker
52eba48ac8 removed not used php files from lang-directory 2012-07-11 09:48:32 +00:00
Nathan Gray
369993d439 Make customfield page not fail in et2 2012-07-05 20:11:06 +00:00
Ralf Becker
0b185c91f4 * Admin: View sessions / access log allows to sort by login ID, IP, last action 2012-07-03 14:03:57 +00:00
Klaus Leithoff
670cea582a try to switch off autocompletion of passwords when handling accounts 2012-06-06 15:19:13 +00:00
Klaus Leithoff
4973f0114d update of italian translations provided by Ilias Chasapakis, Webtrain Services 2012-06-06 10:09:45 +00:00
Ralf Becker
0c6d80d778 * API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history 2012-06-01 13:13:06 +00:00
Nathan Gray
f8fbafd086 Fix typeOptions to get appname in the right place 2012-05-29 15:23:12 +00:00
Ralf Becker
a1f6f70330 * Admin: remove session timeout from EGroupware config and read it via ini_get("session.gc_maxlifetime") as config fails for many reasons, if different from php.ini setting 2012-05-29 14:43:33 +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
e92163ef31 Get category edit working in et2 2012-04-24 23:13:57 +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
fb69cfcb34 Show icon based on icon-selectbox, hide placeholder (broken image), if no icon selected 2012-04-05 12:41:00 +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
508c3c5517 * Admin/Setup: button to mount backup directory under /backup into VFS 2012-03-27 11:20:08 +00:00
Klaus Leithoff
5954d668d0 * translations: Italian translation improvements for admin and API; provided by Ilias Chasapakis, Webtrain Services 2012-03-16 11:43:03 +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
965b381a92 translations for "Custom translation" 2011-11-17 13:01:16 +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
7cbff78854 config for export limit excepted users/groups, need backend work from nathan 2011-08-17 09:36:51 +00:00
Ralf Becker
495632fc40 removed not used file 2011-08-17 09:32:55 +00:00
Ralf Becker
17a41103d5 Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
Ralf Becker
39fd95dbcc fixed not working edit of categories using legacy icon 2011-08-03 14:08:43 +00:00
Ralf Becker
1043425e36 fix problem reported by Fabio Ciuffani / John Leitch <john@autosectools.com> 2011-08-03 07:17:15 +00:00
Klaus Leithoff
11475a41cd * admin: allow to choose which kind of spellchecking you would like to employ when using the CK Editor (Options now: Yes, No, Without SpellCheckAsYouType, WebSpellChecker) 2011-08-02 11:39:59 +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
3b3850eb22 Change owner selectbox back to single selection until all the backend stuff gets tested 2011-06-27 21:14:25 +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
ca227eda32 Missed template & lang changes for previous commit - changed access warning message, changed phpgw to Global in app list 2011-06-27 15:51:31 +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