Commit Graph

69 Commits

Author SHA1 Message Date
dc24bb7e37 fix PHP 8.0 TypeError: Unsupported operand types: int + string 2021-11-10 11:28:30 +01:00
42f8c9182e Resources: Fix display of old category icons in resource list 2021-04-01 11:12:44 -06:00
81e918d010 Resources: Support custom category icons 2021-03-31 13:41:31 -06:00
ab9c089f70 fix PHP 8 Fatal error Array and string offset access syntax with curly braces is no longer supported 2021-03-21 21:13:07 +01:00
8bc5b22b5e Add ignore_acl flag for read and checkUsable methods 2020-12-15 13:11:17 +01:00
b612e26790 Add ignore_acl flag to save method 2020-12-07 14:14:26 +01:00
78768ecf7e Fix documentation 2020-12-07 13:15:04 +01:00
5ef339dc9b Add a method to fetch useable quantity of a resource 2020-11-05 17:36:59 +01:00
f76af52e2b fix warning about undefined constant 2020-06-28 07:51:29 +02:00
979c96b854 * Resources - Fix resources not displayed in calendar if there's more than 20 in a category 2019-01-17 09:45:39 -07:00
07b24b2a60 Commit session right after we store the state 2018-12-20 10:45:11 -07:00
e10905988a - Change resources preference option back
- Fix default to be resources with conflicts
2018-11-28 09:40:09 -07:00
a999e6e94f * Calendar - Remove option to skip resource detection, we always do it now. 2018-11-23 10:01:58 -07:00
8979e5efe1 Correct the field name from res_owner to res_creator
In database has only the res_creator column.
2018-09-25 02:03:37 +02:00
736b22ddde Add space to resource quantity in participant search result 2018-08-09 09:56:46 -06:00
92df7d3376 * Resources - add (usable / quantity) for bookable resources in calendar participants results 2018-08-07 13:00:52 -06:00
ee5aba82f4 * Resources - fix 'Too few arguments' error when changing category of resource with accessories 2018-05-09 09:48:26 -06:00
2a29ab5808 * Resources: fixed image upload failed for some browsers (Picture type not supported)
caused by reporting application/octet-stream instead of image mime-type
2018-03-20 18:00:57 +01:00
7cc280ac5f fix use of old egw_vfs class instead of new Api\Vfs 2017-01-19 15:30:12 +01:00
6abb75cd5c Add conflict check when listing resources in a category for calendar owner / participan 2016-09-28 11:01:10 -06:00
16b131c883 Fix resource booking conflict indication 2016-09-12 11:42:27 -06:00
25ccd1134f Avoid &nbsp in resource subcategory name when searching for calendar 2016-08-18 11:42:50 -06:00
b10c2d68fa Fix resource categories to work when first added from search results 2016-07-20 12:01:07 -06:00
b039cccab5 Add a check to make sure $data is safe 2016-07-20 09:22:10 -06:00
6d5f820b97 Add resource categories to owner / participant search results
In the sidebox menu, resource categories are returned and selectable and will show events for all resources in that category.
In the edit popup, if the category name matches the search string, all resources of that category are returned and user can select them as if they would have searched for the name of the resource.
2016-07-19 14:10:15 -06:00
4b75ed5e7f fix Scrutinizer "bugs" 2016-06-29 10:50:20 +02:00
3253cce632 Update resources ACL UI 2016-05-26 15:32:00 -06:00
f550d4a503 In link_query conflict check decrement quantity available with real quantity used by calendar 2016-05-09 20:27:46 +00:00
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
cedab0ab00 Move resources to new API 2016-05-05 20:22:04 +00:00
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
14cb62a7db Change resource selectbox in calendar side menu to a tree 2015-12-08 00:59:01 +00:00
6abaf60a22 Fix click on resources picture in edit dialog doesn't open expose view 2015-04-09 10:48:45 +00:00
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
047ee13253 Fix some missed details and simplifications in resource search options 2015-03-12 16:50:47 +00:00
255494fc20 Fix resource participant search conflict checking 2015-03-12 16:24:55 +00:00
76830f71af * Resources/list: Fix thumbnails size in resources' listview 2014-08-27 08:12:57 +00:00
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
431f0f5168 Fix gen_src radio-button not beingable to be selected in resources edit popup 2014-03-18 14:14:00 +00:00
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
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
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
8e55f99ec2 When purging deleted resources, respect answer to accessories dialog - purge accessories too 2013-01-08 17:27:00 +00:00
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
81a674cd8c Change delete handling to avoid purging accessories when delete+hold resources 2013-01-02 22:15:26 +00:00
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
fcda447798 Delete & hold accessories when deleting a resource 2012-12-31 21:57:14 +00:00
cb84d313e8 Fix importing when accessory_of is missing 2012-12-19 20:23:40 +00:00
f25232ad32 Give deleted resources a deleted icon instead of thumbnail 2012-12-19 18:12:42 +00:00
1c4f15078d Fix usable vs useable. Both are right, but seems useable is more frequent in code. 2012-12-18 16:35:24 +00:00