Commit Graph

87 Commits

Author SHA1 Message Date
Ralf Becker
8cfef6746d added several checks for account editing in addressbook: doublicate account name, passwords match, set email for new accounts according to policy 2014-03-28 16:56:35 +00:00
Ralf Becker
fe83c07b50 get group actions from edit_group hook 2014-03-27 19:00:52 +00:00
Ralf Becker
1b13b10bf6 deleting of groups 2014-03-19 15:24:54 +00:00
Ralf Becker
08c67c8eed update accounts list and fix "add account" action on tree 2014-03-18 18:31:52 +00:00
Ralf Becker
3c4abb37c8 preferences ACL is runing in jdots in application tab 2014-03-12 13:50:16 +00:00
Ralf Becker
64f4989004 fixed not working setting of ACL, if user has no access to admin app 2014-03-12 12:49:28 +00:00
Nathan Gray
22c1738b0a Try for intelligent etemplate2 refresh inside iframe 2014-02-27 18:48:48 +00:00
Ralf Becker
8e0dea8316 only set this.iframe and this.splitter if et2_ready is called for admin.index template 2014-02-17 15:00:06 +00:00
Nathan Gray
a45bc7f4a4 Register an app_refresh function to handle the special case of framwork detecting same URL = simple refresh on egw_refresh(), and reload iframe. Fixes open admin tab not re-loading a link that was used to open the tab. 2014-02-06 16:55:38 +00:00
Nathan Gray
d7284e4bd1 Fix admin JS destructor not called when tab closed.
Fixes empty window when opening admin tab after close.
2014-02-05 22:31:46 +00:00
Nathan Gray
f049892993 Make sure admin iframe is there before trying to redirect it, fixes error blocking close of unviewed Admin tab 2014-02-03 16:27:17 +00:00
Hadi Nategh
eefc115767 Consider pop up the group difference message in gategories, only if they are less than original 2014-01-28 11:13:48 +00:00
Hadi Nategh
e4285b67f4 Fix categories not able to change groups 2014-01-28 10:48:23 +00:00
Hadi Nategh
fd7aab0996 Move check_owner and change_icon functions from global_category.js to app.js in admin. In addition, fix check boxes deselection issue 2014-01-16 16:21:17 +00:00
Nathan Gray
ba106526b1 Manually trigger resize on splitter after load, prevents scrollbar in global categories. 2013-12-23 17:24:40 +00:00
Nathan Gray
bc4857c376 Avoid errors for personal categories 2013-12-10 22:21:36 +00:00
Nathan Gray
7c33488596 More changes to get category list working using etemplate2 2013-12-10 00:03:36 +00:00
Nathan Gray
9d929dac60 Switch to use prop() for checked, which works (jQuery version difference) 2013-12-02 17:00:51 +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
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
Nathan Gray
1355f66fd0 Change to jsapi egw.json() 2013-09-10 19:45:08 +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
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
b2f733c4d5 a few more steps towards a new admin 2013-07-03 16:27:18 +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
Nathan Gray
e92163ef31 Get category edit working in et2 2012-04-24 23:13:57 +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
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
a555588dbe Use the same code for categories for preferences & admin, add context menu 2011-06-21 20:14:56 +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
13ff6543cf replacing admins own openwindow with egw_openWindowCentered2 2010-06-02 18:28:27 +00:00
Lars Kneschke
8a71c08150 strip js code from template
fix for bug [ 892893 ] "phpinfo" sometimes doesn't work
2004-02-26 09:03:20 +00:00