Commit Graph

64 Commits

Author SHA1 Message Date
nathangray
12c315abbc Avoid xml parse error 2021-02-25 11:56:40 -07:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
ae7211af6d replace deprecated session->appsession with Api\Cache::(s|g)etSession() 2016-10-12 17:52:30 +02:00
Hadi Nategh
60f6f71430 Mobile template:
- Fix links are not shown in view mode for infolog
- implement timesheet and resources view mode
2016-06-21 16:37:35 +02:00
Nathan Gray
cedab0ab00 Move resources to new API 2016-05-05 20:22:04 +00:00
Nathan Gray
e88c3da6b8 Add missing placeholder (no rows) action 2016-04-26 23:11:29 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Ralf Becker
45d4076798 fix resource to have new NM look 2016-03-08 15:49:30 +00:00
Nathan Gray
96ba38dbf8 Remove resources from calendar sidebox, new calendar owner widget covers it all
(Also avoids the layout / sidebox size bug  on macs)
2016-03-01 20:40:49 +00:00
Nathan Gray
ceea9bd16c Dynamically load resources into tree when expanded 2015-12-09 16:53:26 +00:00
Nathan Gray
14cb62a7db Change resource selectbox in calendar side menu to a tree 2015-12-08 00:59:01 +00:00
Ralf Becker
7b0ba9fb95 adding a "None" to resource selection in calendar, to allow to remove all resources from view 2015-10-08 19:57:29 +00:00
Hadi Nategh
6abaf60a22 Fix click on resources picture in edit dialog doesn't open expose view 2015-04-09 10:48:45 +00:00
Hadi Nategh
8caca5580c Some Fixes for images view:
-Fix images in listview, clicking on icons does not show the icons in expose view
-Fix images always stored as thumbnail and opening them in expose view does not open them in original size
-Clicking on thumbnail in details tab, will open the image in a popup with its original size
2015-04-08 14:32:13 +00:00
Nathan Gray
244e859413 More Home progress:
- Add support for resources favorites
2014-11-28 19:43:37 +00:00
Hadi Nategh
431f0f5168 Fix gen_src radio-button not beingable to be selected in resources edit popup 2014-03-18 14:14:00 +00:00
Hadi Nategh
8e1a2d47a0 Re ordering resources edit popup template 2014-03-17 08:12:28 +00:00
Ralf Becker
3c91753e80 moving add-icon(s) from header_right to header_row 2014-03-12 10:12:29 +00:00
Hadi Nategh
a9416b2ce9 Fix resources duplication of 'accessory of' menulist 2014-01-20 18:18:55 +00:00
Hadi Nategh
a71da98483 Add favorites to resources 2014-01-18 17:54:08 +00:00
Hadi Nategh
c1322442a5 Disable history tab in resources for new entries 2014-01-17 10:52:12 +00:00
Hadi Nategh
fd3ed8d0c0 Change Whole query action item in resources context menu to Select all 2014-01-16 14:39:05 +00:00
Hadi Nategh
2b91721887 Fix refresh after delete from edit popup in resources 2014-01-16 14:35:31 +00:00
Hadi Nategh
0756463e96 Fix resources show rghit header template 2014-01-16 09:10:27 +00:00
Hadi Nategh
7de85d97c9 Migrate Reources app from etemplate old to et2 2014-01-15 15:52:53 +00:00
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Nathan Gray
d5d977d60b Hide deleted resources from calendar sidebox list 2013-09-24 15:28:59 +00:00
Klaus Leithoff
bd3e741905 wrap inline javascript with LAB to avoid runtime trouble 2013-07-20 07:53:47 +00:00
Nathan Gray
5a6ed7c407 Change history accessory_of widget to match current template 2013-07-08 21:34:02 +00:00
Nathan Gray
087ea097b6 Default display filter to resources 2013-02-07 11:00:42 +00:00
Nathan Gray
af4bdfb18d Formatting for long description in history 2013-01-16 21:58:25 +00:00
Nathan Gray
b1484c2a1d If un-deleting an accessory but not the parent resource, un-parent and make it a resource 2013-01-15 16:50:11 +00:00
Nathan Gray
eb104a9ee5 Nice handling for no read on any categories:
- Short-cut on link query to skip search - no categories means no results
- Hide add button - with no categories, user will not be able to save
2013-01-14 18:42:16 +00:00
Nathan Gray
207e94e8b4 - If purging a deleted resource & promoting accessories, restore accessories too
- Remove debug
2013-01-14 15:38:33 +00:00
Nathan Gray
19757ba8bf Add prompt to restore accessories too when restoring (un-deleting) a resource 2013-01-09 17:20:01 +00:00
Nathan Gray
8e55f99ec2 When purging deleted resources, respect answer to accessories dialog - purge accessories too 2013-01-08 17:27:00 +00:00
Nathan Gray
9279c25b1c If a resource has accessories, you can't change Accessory of and make it an accessory of something else 2013-01-08 17:05:55 +00:00
Nathan Gray
442c3d605e When changing a resource with accessories to an accessory, change existing accessories to resources, and give a message to the user 2013-01-07 16:21:08 +00:00
Nathan Gray
9b7da1f611 Include deleted/held accessories in change to resource 2013-01-03 16:35:02 +00:00
Nathan Gray
81a674cd8c Change delete handling to avoid purging accessories when delete+hold resources 2013-01-02 22:15:26 +00:00
Nathan Gray
f25232ad32 Give deleted resources a deleted icon instead of thumbnail 2012-12-19 18:12:42 +00:00
Nathan Gray
a3513a9797 Add history logging & delete protection 2012-12-17 22:14:32 +00:00
Nathan Gray
64c653f253 Remove selected accessories from checked list when deleting resource. Deleting the resource deletes all accessories, and gives an error if we try to delete it after that 2012-12-12 00:28:54 +00:00
Nathan Gray
f3f2f4d9ab Clear checked array before adding all resources - duplicates cause errors 2012-12-10 15:44:30 +00:00
Nathan Gray
d14337da40 - Always use chosen for calendar resource select
- Change sidebox/context add resource to always add a resource, never an accessory
- Fix link to calendar (planner) to open in calendar app/tab
2012-12-05 19:25:32 +00:00
Nathan Gray
59c35020e7 When viewing accessories of a resource
- Add button adds an accessory
- Allow context menu -> add accessory = add accessory to resource, _not_ selected accessory
2012-12-04 23:57:02 +00:00
Nathan Gray
e765fda60e Fix preset resource catagory from nextmatch 2012-12-04 23:42:56 +00:00
Nathan Gray
5aaaca3c81 - Disable custom tab if there are no cfs defined
- Use link_title for resource accessories in list
- Pre-set category according to list filter or parent resource
2012-12-03 20:20:42 +00:00
Nathan Gray
f5a4fa694c Remove debug 2012-11-27 18:10:55 +00:00
Nathan Gray
0fd3388221 Handle delete selection more intelligently, handling mixed selection of accessories and resources 2012-11-27 18:08:13 +00:00