Commit Graph

56 Commits

Author SHA1 Message Date
Nathan Gray
b8bf2f7b2d Don't set icon_url if icon is not set.
Fixes browser displaying missing image if Icon = 'none'
2014-01-20 14:25:18 +00:00
Nathan Gray
f9b34a4c56 Fix save does not close category popup 2013-12-16 20:11:58 +00:00
Nathan Gray
4f46394b71 Need to update opener before closing the window, or it won't work... 2013-12-10 22:38:36 +00:00
Nathan Gray
de840c2d7d The category template starts with 'admin', so we refresh admin or etemplate2 won't find it. 2013-12-10 22:23:05 +00:00
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
Nathan Gray
237c5ffcdf Fix missing category colors for app specific categories 2013-03-15 14:49:02 +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
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
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
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
Nathan Gray
2b76256ecf Fix typo causing all added categories to be global 2011-11-03 14:37:43 +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
a26a899ea0 * fixed not working deleted of application-global categories via "admin >> global categories" in applications 2011-02-15 12:51:21 +00:00