Commit Graph

362 Commits

Author SHA1 Message Date
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
nathangray
94658a86fd Set ajax=true for resources global categories to load in div instead of iframe 2016-06-29 09:54:06 -06:00
Ralf Becker
4b75ed5e7f fix Scrutinizer "bugs" 2016-06-29 10:50:20 +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
nathangray
726d2c3a51 Fix resource categories:
- category admin is different from category owner
- fix error saving ACL
- fix missing column IDs, which prevented user from resizing or toggling some columns
2016-06-13 20:35:43 -06:00
Ralf Becker
6c87e540d6 * Resources: fix PHP Fatal call to undefined method Api\Accounts::get_list() when editing ACL 2016-06-13 14:52:49 +02:00
nathangray
3253cce632 Update resources ACL UI 2016-05-26 15:32:00 -06:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Nathan Gray
f550d4a503 In link_query conflict check decrement quantity available with real quantity used by calendar 2016-05-09 20:27:46 +00: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
Nathan Gray
cedab0ab00 Move resources to new API 2016-05-05 20:22:04 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Nathan Gray
40fbf3e2c9 Update for resource selection to re-enable conflict detection
- Remove account & contact options from default resource selection preference
- Edit dialog participant now passes selected start & duration, so conflict detection works again
2016-04-29 18:01:17 +00:00
Ralf Becker
38412a1149 use new api in home and portlets 2016-04-28 18:06:46 +00:00
Nathan Gray
e88c3da6b8 Add missing placeholder (no rows) action 2016-04-26 23:11:29 +00:00
Ralf Becker
540b59a711 use new et2 config 2016-04-24 13:53:24 +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
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Hadi Nategh
aa6a362f16 WIP EGroupware Tutorial:
- Add tutorials hook into other apps sidebar
2015-10-16 10:39:38 +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
047ee13253 Fix some missed details and simplifications in resource search options 2015-03-12 16:50:47 +00:00
Nathan Gray
255494fc20 Fix resource participant search conflict checking 2015-03-12 16:24:55 +00:00
Hadi Nategh
dd6a8f59bf Fix the sideboxmenu item "Resources list" opens nm in an iframe 2015-03-05 13:40:38 +00:00
Nathan Gray
5d36da8062 Check to make sure found resource is an array instead of a column flag.
Fixes fatal error when deleting a category.
2015-01-27 22:43:17 +00:00
Nathan Gray
d51c83402d Set default columns 2015-01-12 19:59:25 +00:00
Nathan Gray
244e859413 More Home progress:
- Add support for resources favorites
2014-11-28 19:43:37 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Hadi Nategh
76830f71af * Resources/list: Fix thumbnails size in resources' listview 2014-08-27 08:12:57 +00:00
Ralf Becker
349630ffa7 show calendars and ressource-calendars for user whos preferences are displayed, for "default" and "forced" we only display all and primary group calendars, but ressources of current user 2014-07-23 12:30:39 +00:00
Nathan Gray
98ff5bbce2 Change function signatures to match importexport r47281 2014-06-16 20:10:42 +00:00
Nathan Gray
12f5a2e577 Make sure jscalendar is still loaded 2014-05-15 16:17:30 +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
5e6e016375 * Resources: Add new "res_creator,res_created,res_modifier and res_modified" columns to the database, and also, set their values in resources_bo 2014-03-18 09:39:30 +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
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +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
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
Nathan Gray
d5d977d60b Hide deleted resources from calendar sidebox list 2013-09-24 15:28:59 +00:00
Nathan Gray
cf8714293e Open preferences in preferences tab 2013-08-13 17:37:15 +00:00
Ralf Becker
38056379a2 allways return an array, easier then copying with null in various places 2013-08-01 12:59:29 +00:00
Nathan Gray
36eae09fe0 Fix custom image being lost when you're in the edit dialog and click Apply, Save or Apply, Apply 2013-07-25 15:01:41 +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
Ralf Becker
26f9fb5cd0 remove old pre 1.8 preferences.php 2013-05-10 16:38:18 +00:00
Nathan Gray
087ea097b6 Default display filter to resources 2013-02-07 11:00:42 +00:00
Nathan Gray
2b8826c6ad Fix export 'Use search results' 2013-01-23 18:03:00 +00:00
Nathan Gray
12e7552569 Implement export filters for resources 2013-01-22 22:44:15 +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
38b6c1a500 Add fallback for accessory of links to try a match on just name, to get around the case when someone edits the CSV file and changes the short description, which is used as part of the link title 2013-01-08 15:56:48 +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
5564217b0c - Hide buyable & prize fields from import|export
- Hide customfields column if no customfields defined
- Fix export all breaks list view
2013-01-02 17:32:30 +00:00
Nathan Gray
fcda447798 Delete & hold accessories when deleting a resource 2012-12-31 21:57:14 +00:00
Nathan Gray
cb84d313e8 Fix importing when accessory_of is missing 2012-12-19 20:23:40 +00:00
Nathan Gray
f25232ad32 Give deleted resources a deleted icon instead of thumbnail 2012-12-19 18:12:42 +00:00
Nathan Gray
4fce430ef9 Add missed tracking file, required before history logging works 2012-12-19 17:24:49 +00:00
Nathan Gray
1c4f15078d Fix usable vs useable. Both are right, but seems useable is more frequent in code. 2012-12-18 16:35:24 +00:00
Nathan Gray
a3513a9797 Add history logging & delete protection 2012-12-17 22:14:32 +00:00
Nathan Gray
72b30aaf93 Add accessory_of field to import/export & update import plugin 2012-12-17 19:03:10 +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
Nathan Gray
a821b7a567 - Fix apply button clearing new resources
- Fix deleting accessories not actually removing them
2012-11-27 16:47:12 +00:00
Nathan Gray
147b926490 - Remove 'Add accessory button'
- Fix bug in delete confirm
- Fix link url
2012-11-26 21:04:31 +00:00
Nathan Gray
4b4308dcff Add missing accessory of selectbox, re-order context menu items 2012-11-20 21:30:35 +00:00
Nathan Gray
0f1b273cb1 - Add accessory of selectbox to move accessories between resources
- Remove 'back' button, viewing accessories of a resource now uses nm filter entirely
- Remove view, using read-only edit
2012-11-14 18:00:02 +00:00
Nathan Gray
052897fcd8 - Add display filter to view resources, accessories, or both
- Change view accessories activity to depend on the existance of accessories in DB, not links
- Add view accessories action to context menu
2012-11-13 17:26:31 +00:00
Nathan Gray
78011ed719 Ask what to do with accessories when deleting a resource 2012-11-06 23:17:26 +00:00
Nathan Gray
a4b71c7d3a Fix 12 hour afternoons 2012-05-03 02:15:35 +00:00
Nathan Gray
ab63063023 Restrict times to working hours, from calendar 2012-05-03 02:11:36 +00:00
Klaus Leithoff
2f4a486c10 * resources: fix for missing/not loaded pictures for resources in default/images/resource_icons/ 2012-04-24 06:56:43 +00:00
Nathan Gray
62a98e50be Allow to include an extra group in event participants 2012-04-12 23:04:49 +00:00
Nathan Gray
340628e721 Use sitemgr user's default appointment duration for booking time blocks 2012-04-12 22:20:21 +00:00