Commit Graph

662 Commits

Author SHA1 Message Date
nathangray
8599464e3b Handle show calendar if user did select all - fetch all IDs first 2016-10-18 11:09:39 -06:00
Ralf Becker
ae7211af6d replace deprecated session->appsession with Api\Cache::(s|g)etSession() 2016-10-12 17:52:30 +02:00
nathangray
6abb75cd5c Add conflict check when listing resources in a category for calendar owner / participan 2016-09-28 11:01:10 -06:00
nathangray
16b131c883 Fix resource booking conflict indication 2016-09-12 11:42:27 -06:00
nathangray
25ccd1134f Avoid &nbsp in resource subcategory name when searching for calendar 2016-08-18 11:42:50 -06:00
Ralf Becker
3752c35a5a add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:35:30 +02:00
Ralf Becker
fdd2ac22c3 fix German translation 2016-08-11 18:03:06 +02:00
nathangray
b10c2d68fa Fix resource categories to work when first added from search results 2016-07-20 12:01:07 -06:00
nathangray
b039cccab5 Add a check to make sure $data is safe 2016-07-20 09:22:10 -06:00
nathangray
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
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
Hadi Nategh
2ae5097326 Mobile template:
- Fix alignment of resources picture in view template
2016-07-04 15:01:47 +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
83f2109e40 Mobile template:
- Fix resources view template
- Add general avatar class for view mode
2016-06-21 17:05:29 +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
c9cdf453fc Change cancel icon to match other dialogs 2016-06-15 09:27:06 -06: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
Ralf Becker
0e212815bf fix deprecated warnings because of constructor named as class 2016-05-30 20:42:14 +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
Hadi Nategh
62b3632073 Mobile theme:
- Implement resources edit dialog
- Fix resources picture is not styled
- Fix mail subject column lost its width
- Implement new id representation for entries both on view and edit dialogs
2016-05-04 10:02:16 +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
a6a3dc5250 Styling dialogs W.I.P.:
- Remove all "Create new links" from link tabs
2016-04-11 14:30:30 +00:00
Hadi Nategh
50aae863b6 Edit dialogs style W.I.P.:
- Give tab widget new look
- Style grid header different
- Re-design calendar edit dialog
- Some fixes for multi et2_taglist
2016-04-06 16:43:51 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Hadi Nategh
f5a6d52ae2 Mobile theme:
- Implement apps color code
2016-03-09 11:55:26 +00:00
Ralf Becker
45d4076798 fix resource to have new NM look 2016-03-08 15:49:30 +00:00
Hadi Nategh
34c2ed32b9 Mobile theme W.I.P:
- Fix fontsize for infolog, timesheet, resources and addressbook
- Migrate mobile specific css classes into mobile theme for resources
2016-03-04 13:27:07 +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
Hadi Nategh
845e37e66d SVG images W.I.P.:
- Add svg icons
- Implement color change for stylesheet2svg script
2016-02-23 18:49:14 +00:00
Hadi Nategh
9332ce4a80 Mobile theme WIP:
- Add plus button for all apps list views
2016-01-14 10:56:48 +00:00
Hadi Nategh
358ac3e525 Mobile theme W.I.P.:
- Fix resources image field
2015-12-17 12:46:21 +00:00
Hadi Nategh
216aaeac17 Mobile theme W.I.P.:
- Implement listview template for resources
2015-12-15 14:34:58 +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
Nathan Gray
f0730feff1 Adapt resources view calendar action to work with et2 converted calendar 2015-08-11 22:32:05 +00:00
Ralf Becker
9ede2c0b70 WIP image upload via drag into ckeditor 4.5 2015-08-07 14:18:07 +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
Hadi Nategh
b0a4822a5b Fix the tab_height and historylog resize 2015-03-05 13:19:49 +00:00
Hadi Nategh
e844e1c77f Remove nm-sortheader from resources-image column 2015-02-24 16:43:47 +00:00
Ralf Becker
d432642f1a add encoding, eTempalte2 DTD and svn propset svn:keywords Id to all eTemplates 2015-02-17 09:55:05 +00:00
Ralf Becker
18fafed2a4 pending translations from our translation server 2015-02-17 08:52:58 +00:00
Ralf Becker
c54e69977a fix alignment of favorites in resources list 2015-02-14 08:36:41 +00:00
Hadi Nategh
ca44f843c3 Remove tag css specification for et2_container in resources 2015-02-06 14:12:11 +00:00
Ralf Becker
9b093562b4 remove div.et2_container in favor of just .et2_container, as we use a from now 2015-02-04 08:35:40 +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
Hadi Nategh
8d0857f9bf Fix expose view in for thumbnails in resources app
- Remove image_toolbar; image_toolbar is deprecated, and replaced by expose_view feature.
2015-01-20 15:11:45 +00:00
Hadi Nategh
4fa44e6482 Reorder and add missing phrases in lang files 2015-01-15 14:53:34 +00:00
Nathan Gray
d51c83402d Set default columns 2015-01-12 19:59:25 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +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
0f9adabe4a * Resources: Avoid clicking on images on the list view to not opening images in an extra window/tab but in a tooltip popup inside the list 2014-09-29 16:34:16 +00:00
Hadi Nategh
43e0818df1 Give recources thumbnail auto height as pixelegg has fixed height and it causes to deform the image size 2014-08-27 09:12:54 +00:00
Hadi Nategh
76830f71af * Resources/list: Fix thumbnails size in resources' listview 2014-08-27 08:12:57 +00:00
Ralf Becker
94afafae11 * all apps: fixed column sizes and stretch (change when window size changes) 2014-08-22 11:08:21 +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
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +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
Nathan Gray
89f045a5c1 - Fix reservation not finding any resources
- Hide planner close button when reserving
2014-05-15 15:59:27 +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
76f84c4378 Implement to select own_src radio-button option automatically when upload a file in resources edit popup 2014-03-18 13:38:38 +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
bcf8bb8c07 Remove overflow from details tab in resources 2014-03-17 17:57:01 +00:00
Hadi Nategh
2dffbb22a4 Fix not arranged fields of resources in edit popup, regarding pixelegg template 2014-03-17 11:42:54 +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
Klaus Leithoff
1b95f843ec translations from Stefan 2014-02-11 09:21:30 +00:00
Hadi Nategh
70c3ab98af Set the "Allow ignore conflicts" default option to "Yes, only users with direct booking permission", therefore this would be the selected as first time installation, unless it set to another choice from Resources site configuration 2014-01-29 08:28:53 +00:00
Hadi Nategh
8147adcb95 Add "Allow ignore conflicts" feature for resources 2014-01-28 16:26:18 +00:00
Ralf Becker
0d8051837c translations from Stefan 2014-01-28 13:40:16 +00:00
Hadi Nategh
a9416b2ce9 Fix resources duplication of 'accessory of' menulist 2014-01-20 18:18:55 +00:00
Hadi Nategh
bad85f749a Missing changes for resources setup after run it in et2. Make sure that update resources in setup 2014-01-20 14:16:35 +00:00
Hadi Nategh
a71da98483 Add favorites to resources 2014-01-18 17:54:08 +00:00
Hadi Nategh
2a36bb6972 Fix resources image column 2014-01-18 17:00:16 +00:00
Ralf Becker
d2ad25a928 pixelegg changes 2014-01-17 11:53:31 +00:00
Hadi Nategh
c1322442a5 Disable history tab in resources for new entries 2014-01-17 10:52:12 +00:00
Klaus Leithoff
387035f76d new translations from translation.stylite.de 2014-01-17 10:48:19 +00:00
Ralf Becker
96e0c77fce pixelegg changes from thursday 2014-01-17 08:10:46 +00:00
Hadi Nategh
0e4ef27dd4 Remove an extra add button from resources list view. Additionally, fix category and account 2014-01-16 14:47:00 +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
6a920c5e38 Replace old delete confirmation with new et2_dialog in resources edit popup 2014-01-16 14:29:05 +00:00
Hadi Nategh
0756463e96 Fix resources show rghit header template 2014-01-16 09:10:27 +00:00
Ralf Becker
7cc91b0046 new&modified images from pixelegg 2014-01-15 18:04:11 +00:00
Hadi Nategh
5197487512 Add app.js to resources 2014-01-15 15:58:09 +00:00
Hadi Nategh
7de85d97c9 Migrate Reources app from etemplate old to et2 2014-01-15 15:52:53 +00:00
Klaus Leithoff
60bb090278 pixelegg changes from wednesday, new/changed images and styles 2014-01-15 13:46:14 +00:00
Ralf Becker
629bd6f2ee added pixelegg/less/svg.css stylesheet and id reflecting their name to all svn image 2014-01-14 16:14:51 +00:00
Klaus Leithoff
e5acab5fb9 pixelegg changes from tuesday 2014-01-14 16:04:20 +00:00
Ralf Becker
21bb9ef481 pixelegg changes from monday 2014-01-14 08:20:32 +00:00
Klaus Leithoff
841afa5ba0 translations from translation server; thanks to thoose that contributed 2013-12-18 09:17:12 +00:00
Klaus Leithoff
3219eccec4 translation work provided by ingo, michael and other stylite staff 2013-12-06 08:05:58 +00:00
Klaus Leithoff
68f2605cf4 translations generated/retrieved on translation site: Thank you for your contributions 2013-12-04 10:31:41 +00:00
Ralf Becker
f8752688e0 pixelegg changes from today 2013-11-15 17:09:58 +00:00
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +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
Klaus Leithoff
a519fc099c commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-30 07:09:22 +00:00
Klaus Leithoff
cdd7fe57f5 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:54:08 +00:00
Klaus Leithoff
dae7123c77 commit some lang file stuff; mostly french 2013-08-26 09:39:33 +00:00
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +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
Nathan Gray
a9db128b70 Change custom resources icon so clicking it opens the image. Category / general icons do nothing when clicked. 2013-07-08 15:07:48 +00:00
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +00:00
Klaus Leithoff
4e13e7b504 italiann translations provided by Ilias Chasapakis (webtrain.it) 2013-06-17 11:08:37 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Ralf Becker
26f9fb5cd0 remove old pre 1.8 preferences.php 2013-05-10 16:38:18 +00:00
Ralf Becker
b46770872e new German translations from Stefan 2013-02-18 15:52:43 +00:00
Ralf Becker
4e77413fe9 new english phrases 2013-02-18 15:36:57 +00:00
Ralf Becker
4f247b26f8 merged translations and other uncommited ones 2013-02-08 19:03:20 +00:00
Nathan Gray
6de7ab7faf Hide message line in edit popup when there is no message, as the other apps do it 2013-02-08 12:47:54 +00:00
Nathan Gray
087ea097b6 Default display filter to resources 2013-02-07 11:00:42 +00:00
Nathan Gray
d47c508190 Dump a missing xet file, update resource_select.xet 2013-02-05 10:19:30 +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
Ralf Becker
be6845b4d0 * All apps: merged missing translations from other apps or branches 2013-01-18 13:48:34 +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
67e4e8a6cb Missed translations usable -> useable 2013-01-15 16:17:50 +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
b283bbfb9f Turn on delete protection by default 2013-01-14 16:57:58 +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
7459e6ca27 If a resource has accessories, you can't change Accessory of and make it an accessory of something else - add message to template 2013-01-08 17:09:24 +00:00