Commit Graph

82 Commits

Author SHA1 Message Date
nathangray
afa19c7d30 Allow changing category owner via context menu for application categories 2017-02-13 10:52:31 -07:00
Ralf Becker
29d34bcc6c fix PHP Fatal in 16.1 minimal install caused by usage of old categories:: constants 2016-06-27 18:38:04 +02:00
Ralf Becker
6c47da8f64 we need to set a different dom-id for each application and also global categories of that app
otherwise eT2 objects are overwritter when a second categories template is shown
2016-06-13 16:04:11 +02:00
Hadi Nategh
5e4412aea5 Run applications categories with ajax=true
- Fix categories colors not showing up
- Fix categories list refresh does not work
2016-06-13 12:30:21 +02:00
Ralf Becker
251de1dc54 move category images to api, fixes PHP Fatal in admin_categories, if phpgwapi is not installed 2016-05-09 10:05:57 +00:00
Ralf Becker
d17701345d fix PHP Fatal of using deprecated, and therefore not existing in Api, get_list method of accounts object 2016-05-06 07:38:23 +00:00
Ralf Becker
01c396e5d3 using new api for admin, though 3 classes still use old etemplate 2016-04-27 19:12:20 +00:00
Ralf Becker
d8fe729ffd remove unnecessary check, stalling moving eT2 to api 2016-03-19 12:58:20 +00:00
Nathan Gray
625cc51c59 Fix categories would not always refresh
Fix calendar categories would never refresh
2015-10-27 16:55:57 +00:00
Nathan Gray
035570018a Put nm readonlys into nm namespace to avoid conflict with add button 2015-10-26 18:32:40 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Nathan Gray
d8487a7507 Fix refresh & updates when working on personal categories 2015-10-05 20:02:11 +00:00
Nathan Gray
c4861e1194 Only admins can delete super-global or app-level global categories, regardless of owner. 2015-09-30 16:24:08 +00:00
Nathan Gray
f1837813a4 Fix ACL error allowing regular users to delete global categories 2015-09-29 15:15:45 +00:00
Ralf Becker
b5b6784ec1 * Admin/PostgreSQL: shorten ACL labels used to limit admin rights to 16 char and fixed stalled 14.3 update for PostgreSQL 2015-08-04 09:55:29 +00:00
Nathan Gray
577c4afaef Fix add category button 2015-03-23 18:57:33 +00:00
Hadi Nategh
a9522e71cd Fix user can not delete its own categories from nextmatch context menu 2015-02-11 09:40:01 +00:00
Nathan Gray
fd0b513bbb Keep appname through actions, fixes blank after action 2015-01-27 22:41:13 +00:00
Ralf Becker
3093cb6b85 fixed not working refresh of user category list called via top-menu after adding/editing a category 2014-09-25 16:03:28 +00:00
Hadi Nategh
16c5a62ed4 Use similar Global category's delete confirmation dialog as it is used in edit popup too 2014-07-15 09:52:00 +00:00
Hadi Nategh
2e2d48ff1f Disable "Change Owner" item from category context menu if it is a private one 2014-07-14 13:30:26 +00:00
Hadi Nategh
025f31872f Fix delete confirmation dialog in Global categories edit popup 2014-07-14 10:19:32 +00:00
Hadi Nategh
49789bcf09 Fix Gloabl categories owner_popup actions 2014-07-11 09:47:43 +00:00
Hadi Nategh
609e909eef Make sure the content[owner] is an array because lisbox widget expects to receive an array 2014-06-30 08:59:19 +00:00
Nathan Gray
c983e02c9e Send category sel_options each time to fix category colors not being updated.
Use update types to refresh just the changed row or whole nextmatch contents, as needed.
2014-03-05 17:33:42 +00:00
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