Commit Graph

1971 Commits

Author SHA1 Message Date
Ralf Becker
cf61d38137 share loaded eTemplates with iframes and popups, this way they dont need to load templates in same EGroupware session again (unless main window get reloaded), also adding now a cache-buster by default, if server dont supply one 2015-01-23 14:32:47 +00:00
Hadi Nategh
d56b92af8b Fix the grid widget resize handler for grid_wrapper 2015-01-23 14:29:46 +00:00
Ralf Becker
8185324061 fixed 404 Not found caused by appending &thheight=... to mime-icon url 2015-01-23 12:39:37 +00:00
Hadi Nategh
75097c9cc2 Fix expose view always shows the first picture of the list without respect to the selected one 2015-01-23 09:25:18 +00:00
Ralf Becker
fcda7613f1 fix not working startup of gallery, as mediaContent has to be an array without gaps from non-media content 2015-01-22 09:01:58 +00:00
Nathan Gray
f27d39aeeb Got expose gallery to paginate/fetch images backwards and forwards 2015-01-21 23:41:26 +00:00
Ralf Becker
14a7dd38f3 style tile-view to show images on whole tile with file-name and comment on hover only 2015-01-21 18:59:12 +00:00
Hadi Nategh
b9da0b6d4c Set thumbnail size on expose to 128 height, and style them 2015-01-21 17:54:35 +00:00
Nathan Gray
a622113b0b Pass event in instead of using window.event, fixes exposé initialization to selected image in firefox 2015-01-21 16:17:19 +00:00
Hadi Nategh
847bc2ef15 Introduce thumb_mime_size to vfs-mime widget in order to specify thumb size for specific mime types 2015-01-21 15:03:59 +00:00
Hadi Nategh
9bd80cdfc4 Fix url for expose view thumbnails 2015-01-21 11:15:59 +00:00
Hadi Nategh
33cf3205fa Fix some issues in Expose view:
-Fix an error complaing of nm existance(eg.link widget)
-Some styling to thumbnail indicator
-Add hideControlsOnSlideshow to the blueimp gallery plugin to be able to hide the controls
2015-01-21 11:10:17 +00:00
Nathan Gray
6ffca62c3c Exposé [mostly] working with filemanager list (pagination goes forward, not back) 2015-01-20 23:58:38 +00:00
Ralf Becker
03b6b7a871 show hand cursor (et2_clickable class), if expose is available 2015-01-20 22:25:11 +00:00
Hadi Nategh
95007f20d6 Fix base_urls for expose view in vfs and image widget 2015-01-20 18:47:08 +00:00
Hadi Nategh
262c92558e Fix error apply is not available from the this._super in expose view 2015-01-20 18:32:51 +00:00
Ralf Becker
2fbc91c5d9 fixed not saved comment on an existing file/attachment 2015-01-20 17:36:09 +00:00
Hadi Nategh
511028f987 Some fixes of expose view for widget vfs-mime
- Introduce expose_view attribute for the widget
- Fix attach to DOM
- Fix get Media method
2015-01-20 15:07:09 +00:00
Hadi Nategh
40cc063500 Create links with et2_vfs-mime widget for links which have mime type
- Links with accepted media type will be opened in expose view
2015-01-20 14:59:28 +00:00
Hadi Nategh
4eb63d65ec Do not bind the expose view click handler if the media type is not supported 2015-01-20 13:14:23 +00:00
Hadi Nategh
fc5d0cab49 Introduce expose view to image widget
- The expose view only be shown if the image widget have href value
2015-01-20 11:56:51 +00:00
Nathan Gray
5d93df0fbd Clear slides after closing the gallery. Fixes showing the first image next time expose is opened. 2015-01-19 20:20:02 +00:00
Nathan Gray
ff2f486c3f Fix vfsMime & expose to use this.node instead of image 2015-01-19 19:42:03 +00:00
Hadi Nategh
cb439ffc55 Expose view work in progress 2015-01-19 18:59:35 +00:00
Hadi Nategh
811f24f9b7 Add expose plugin widget 2015-01-19 17:21:11 +00:00
Hadi Nategh
a4b8dabef5 Implement the lightbox view (expose) for mime widget 2015-01-19 17:18:01 +00:00
Hadi Nategh
1db3cc96ef Refresh nm rows which got linked after egw_link_drop action 2015-01-15 13:06:38 +00:00
Nathan Gray
06abca167d If a widget is transformed into a template, try to load and process that template too. 2015-01-14 20:10:34 +00:00
Nathan Gray
2b1a897718 Surpress labels on entry-templates 2015-01-14 17:22:29 +00:00
Hadi Nategh
f9e28d24e8 Make a delay before favorites sorting action starts in order to prevent accidental sorting action 2015-01-14 17:00:47 +00:00
Hadi Nategh
d5231d35bc Fix onFinishOne attribute and its handler 2015-01-14 09:05:34 +00:00
Nathan Gray
2404ebda6e Ignore some new attributes, preserve settings when value is not an object 2015-01-13 22:00:12 +00:00
Nathan Gray
abb02c7b40 Add ability to store view in favorites, so tiles can be put on home.
Still some bugs in resizing with this in the home portlet.
2015-01-13 21:56:54 +00:00
Hadi Nategh
04730c83fe Fix toolbar toggle buttons with Function are not getting executed 2015-01-13 15:51:30 +00:00
Hadi Nategh
01319d2704 Bind hover handler in file upload widget on input element as input always is on top and transparent 2015-01-13 13:25:12 +00:00
Hadi Nategh
1ad841f9d8 Set the action default for dropdown actions 2015-01-13 12:16:04 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Hadi Nategh
8ee3b4ccb1 Remove commented code from previous commit 2015-01-09 16:21:32 +00:00
Hadi Nategh
607677d9e7 Fix getting wrong initial excess_height 2015-01-09 16:19:52 +00:00
Hadi Nategh
e1b9b43f6c Fix toolbar dropdown actions set label 2015-01-09 14:45:39 +00:00
Hadi Nategh
eec3ebbc5d Correct stored toolbar's preferences with the wrong id 2015-01-08 14:02:21 +00:00
Nathan Gray
0eaa3e0896 Fix file drop stopped working after changing template 2015-01-07 22:35:21 +00:00
Hadi Nategh
7009ba1de0 Fix mail compose issues:
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF 
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
56d8947ccc Make sure the toJSON is not null before using string replace 2015-01-07 12:32:28 +00:00
Nathan Gray
33a0d1154a * Tile view for filemanager 2014-12-31 17:55:06 +00:00
Nathan Gray
eb0a91d3fe Don't pass settings when resizing, moving, or removing a portlet, they're not needed. 2014-12-29 17:35:50 +00:00
Hadi Nategh
733fd41a45 Implement toggle button in toolbar widget, representing checkbox actions in toolbar 2014-12-23 14:24:25 +00:00
Hadi Nategh
458aed9262 Open the select-file dialog with less height 2014-12-22 09:52:58 +00:00
Hadi Nategh
b34adb3108 Fix vfs upload select-file dialog 2014-12-22 09:42:04 +00:00
Nathan Gray
c48065f4c3 Add ability for admins to set home portlets as default, for groups, and forced for all. 2014-12-19 22:26:29 +00:00
Nathan Gray
aa526a3225 Fix bug where clearing the entered value would lose the selected application 2014-12-19 22:14:54 +00:00
Hadi Nategh
6138698b50 Add focus back to search input field after clicking on cross icon 2014-12-19 14:15:28 +00:00
Hadi Nategh
2021a8227e Fix nm_popup dialog does not display full content of button's label 2014-12-19 13:52:57 +00:00
Hadi Nategh
9e768dcaac Stop taglist's ancestor change event from bubbling on taglist 2014-12-16 17:06:42 +00:00
Hadi Nategh
0f32084f8d Bind onchange handlers of taglist options only to magicsuggest selectionchange, avoid unwanted triggered inputWidget parent change 2014-12-16 14:22:54 +00:00
Nathan Gray
bf89266ddc Only require one radiobox to be set, checked by ID 2014-12-15 20:54:30 +00:00
Ralf Becker
cc71329be0 fix categories in admin sometimes change color after search 2014-12-15 17:46:21 +00:00
Nathan Gray
4d34079576 Some more type checking before use to avoid errors 2014-12-11 18:02:08 +00:00
Ralf Becker
36699ed54b fix javascript error stalling Home for _val===undefined 2014-12-11 17:02:52 +00:00
Ralf Becker
012eee4594 fix javascript error stalling Home for _val===undefined 2014-12-11 16:59:46 +00:00
Nathan Gray
3474836244 Fix files selected from filemanager before entry is saved do not show in link list until entry is saved. 2014-12-10 17:58:42 +00:00
Hadi Nategh
dec43dd938 Fix typo from commit #49813 2014-12-10 15:59:34 +00:00
Hadi Nategh
a94f892219 Fix mobile framework popup not showing up the close botton 2014-12-10 15:53:28 +00:00
Ralf Becker
e2ad7fe20d * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:35:08 +00:00
Hadi Nategh
be3dff7c30 Implement framework specific get_excessHeight to be able to calculate excess height correctly for each framework window 2014-12-09 16:07:51 +00:00
Hadi Nategh
dfe03c8531 Resize the initial resize after everthing is loaded immediately 2014-12-09 11:20:38 +00:00
Nathan Gray
323d276fa6 Slight performance improvement on rendering elements with many children. 2014-12-08 20:38:48 +00:00
Nathan Gray
6eb5fead04 Fix multiselect/taglist values not properly set if value is an object instead of an array
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
Nathan Gray
68151ad8e7 Fix multiselect/taglist values not properly set if value is an object instead of an array 2014-12-08 18:14:00 +00:00
Hadi Nategh
0607b60bc9 Set a timeout to window resizer to make sure this happens after other resize events, hopefully fixes the timing issue 2014-12-08 17:04:41 +00:00
Ralf Becker
052a1e8d9f do NOT add default placeholder-action of "add", if there is no such action, stalls new apps using nextmatch by default 2014-12-08 15:58:22 +00:00
Ralf Becker
dbdb0b440d missing translation of blur text in textbox 2014-12-08 15:57:06 +00:00
Ralf Becker
173192f879 remove 0=off in NM column-selection, to show empty-label "Refresh" instead 2014-12-08 13:16:51 +00:00
Hadi Nategh
8203d5f695 Use appHeader outerHeight for resize calcualtion 2014-12-08 12:24:21 +00:00
Hadi Nategh
ee6754b75c Take AppboxHeader into account for dialog resize height calculation 2014-12-08 10:51:34 +00:00
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Hadi Nategh
14230d10f7 Make sure there's string to be replaced 2014-12-05 11:04:42 +00:00
Ralf Becker
9b5c68f743 hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager 2014-12-05 08:59:51 +00:00
Hadi Nategh
e8d1c874e6 Implement resize handler callback for widget in order to resize widget properly after the window size changes 2014-12-04 16:38:34 +00:00
Hadi Nategh
b4ad7f8543 Bind swipe handler on grid view in order to be able to select nm rows on touch devices via swipe left/right 2014-12-04 16:35:17 +00:00
Nathan Gray
46bcd3df8a Automatically set focus to first input 2014-12-03 23:43:34 +00:00
Nathan Gray
a2e0e45a64 Avoid invalid characters in DOM IDs.
Fixes missing comments, occasional errors in link comments.
2014-12-03 22:14:03 +00:00
Nathan Gray
ae257d8c98 Set focus to first input when loading a template into dialog 2014-12-03 22:11:24 +00:00
Nathan Gray
2eb7795061 Fix missing translation on Add current 2014-12-03 17:53:40 +00:00
Nathan Gray
e06e8d4c32 Fix sorting, needed to turn off order by branch. 2014-12-03 16:23:21 +00:00
Ralf Becker
e4ac846d2a add blur attribute to date-widget 2014-12-03 16:23:10 +00:00
Nathan Gray
65a9b4c79c Avoid errors if getWidgetById() is called on a cleared widget / template 2014-12-03 00:16:39 +00:00
Nathan Gray
fb4482afe6 Some more width for custom field textboxes so they're not so small 2014-12-02 22:37:15 +00:00
Ralf Becker
4d80104403 allow to disable date widget with set_readonly on run-time 2014-12-02 17:19:13 +00:00
Nathan Gray
fc66bfec63 Fix auto-selection of last used app (broken r48959) 2014-12-01 17:05:33 +00:00
Ralf Becker
8a9657541d moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:45:24 +00:00
Nathan Gray
f3c3fedf32 If the current application does not own the template, load the javascript for the current application and the application owning the template. (Gets actions working reliably in home) 2014-11-28 17:34:38 +00:00
Ralf Becker
010054bd97 fixed not working view_range (max. number of buttons to show incl. label) 2014-11-28 14:45:45 +00:00
Nathan Gray
8c5ea8eba9 More Home progress:
- Remove app header from addressbook
 - Always load app's CSS for single entry
2014-11-27 18:31:08 +00:00
Hadi Nategh
7c3f8d10d6 Missing code from commit r49612 2014-11-27 17:29:44 +00:00
Ralf Becker
5bed0cdf77 fix not working dragging images into CKEditor of mail compose in FireFox 2014-11-27 13:44:50 +00:00
Nathan Gray
dd0e95d232 More Home progress (favorites):
- Put show header button into header
 - Fix mixing columns between multiple favorites on home
 - Fix changing column spacing when hiding header
 - Fix add favorite from context menu didn't load properly
2014-11-25 21:50:42 +00:00
Nathan Gray
b967548cb5 More Home progress:
- Favorite now hides whole header
 - Link thumbnail now just setting width to avoid distortion
 - File thumbnail no longer limited, using full size thumbnail from site configuration or widget width, whichever is smaller
 - Fix links were using edit instead of view
2014-11-25 00:45:14 +00:00
Nathan Gray
f8b09fa7e8 Stop trying to set dataset directly, caused error in Firefox 2014-11-25 00:41:56 +00:00
Nathan Gray
fd191888bb Fix missing empty label when no value in readonly selectbox 2014-11-24 19:58:59 +00:00
Ralf Becker
0da238155c dont allow to insert html 2014-11-21 11:18:42 +00:00
Hadi Nategh
3e6a7a7ba4 Make sure the removing class of progress dropdown list is happening before customized onFinish called by et2_call, because it may loses its context after call 2014-11-21 08:58:58 +00:00
Nathan Gray
44595fe931 - Apply user's gantt sort preference
- Add sort by end date preference
2014-11-19 22:57:39 +00:00
Nathan Gray
b626fd1a88 Home progress:
- Fix missing size for new widgets
- Different styling for single entries
- Custom template for single addressbook entries
- Hideable nextmatch header
2014-11-18 23:46:58 +00:00
Nathan Gray
08708664b3 If one application uses a template from another, notify the application that loaded the template, not just the application that owns it. 2014-11-18 23:10:41 +00:00
Nathan Gray
370577e763 Make sure color doesn't get paths confused, be more specific about it 2014-11-18 22:42:48 +00:00
Nathan Gray
e75c584aad Fix resize dimensions off by padding amount (just added padding to resize grid) 2014-11-18 15:56:40 +00:00
Nathan Gray
ece1ccff43 Fix a bug in automatic drag and drop -> link support detection that gave DnD to apps that couldn't handle it. 2014-11-17 20:28:21 +00:00
Ralf Becker
275d733c22 fix customfield type "button" without any value stalls whole addressbook 2014-11-14 12:38:40 +00:00
Ralf Becker
e923931fda catch exception from unparsable date and display it empty instead 2014-11-12 19:23:47 +00:00
Nathan Gray
872a11bfdb Home progress:
- Fix some incorrect sizes on new portlets
- Fix mainscreen message
- Base for using other app favorites on home screen
2014-11-11 23:07:35 +00:00
Nathan Gray
af1bf822a9 Provide missing context, fixes unwanted unregister of all callbacks instead of just the ones for that nextmatch 2014-11-11 22:51:54 +00:00
Nathan Gray
4ed5c57364 Fix link list broken by r49319. 2014-11-10 16:24:09 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Nathan Gray
f0d4523de1 Add support for link change handler, better support for not saved links 2014-11-06 21:31:11 +00:00
Nathan Gray
2232895b39 Let color be cleared (null wouldn't be returned) 2014-11-05 23:24:02 +00:00
Ralf Becker
026e93a0c4 use template base url from initial template, to continue using webdav, if that was loaded via webdav 2014-11-05 13:07:13 +00:00
Hadi Nategh
975a3fd2d5 Fix placeholder in taglist 2014-11-04 13:18:20 +00:00
Nathan Gray
9a7d087824 Fix missing icon for link action 2014-10-30 22:14:07 +00:00
Ralf Becker
1c6524cf0b remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg 2014-10-30 13:20:04 +00:00
Nathan Gray
c917cbd865 Link enhancements:
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +00:00
Hadi Nategh
94a8b6e87b Get taglist working properly again with updated magicsuggest 2014-10-29 11:07:35 +00:00
Nathan Gray
2d149394ae * Add clear button to nextmatch search box for Firefox 2014-10-28 16:37:55 +00:00
Ralf Becker
4acbbf81c1 fix IDE warnings 2014-10-23 12:47:51 +00:00
Ralf Becker
5549dd1fd2 * InfoLog: "No filter" favorite was not resetting filters anymore 2014-10-23 12:42:24 +00:00
Nathan Gray
29f84a83f9 If link is missing needed information so it won't work, don't look like a link 2014-10-21 16:32:47 +00:00
Hadi Nategh
9b05ccc4ad Show both date and time for before today time.
- Fix mails in the list not showing date and time under date column.
2014-10-20 13:27:44 +00:00
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +00:00
Nathan Gray
24b5779210 Better styling for planned times so early tasks can be seen too. 2014-10-17 17:17:23 +00:00
Ralf Becker
15bc2f3ade change tab loading again to initialise visible tab immediatly and gard et2_color / jPicker against being initialised twice 2014-10-17 11:37:15 +00:00
Nathan Gray
bdecd27961 Show planned times on gantt chart while editing real times 2014-10-15 22:22:49 +00:00
Nathan Gray
ce65365049 * Support export Gantt chart to PDF and PNG using DHMTLX's service 2014-10-14 22:58:56 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Hadi Nategh
b542033f8d Make sure the class name used as identifier has no invalid chars 2014-10-13 10:06:30 +00:00
Ralf Becker
026347ba2f disabling immediate direct call to loadingFinished() for selected tab seems to have no recognisable impact
and some widgets, eg. color-picker have problems with calling doLoadingFinished twice
2014-10-13 09:07:23 +00:00
Hadi Nategh
b0e4655eff Give widget color dialog unique class in order to identify it later for binding click handler to picker span.
-Fix the bug, color picker opens other colorpickers dialog which are in the same template.
2014-10-10 12:40:41 +00:00
Ralf Becker
178bca7f7a fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:02:59 +00:00
Nathan Gray
2ca305b5cc Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:27:39 +00:00
Nathan Gray
5e9676e770 Fix broken relative width calculation after r48947. 2014-10-08 17:10:58 +00:00
Ralf Becker
76dbe08207 * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:45:55 +00:00
Ralf Becker
3edc0f3080 revert r48945, as it break for some conditions 2014-10-08 09:07:01 +00:00
Ralf Becker
1c9a14159e * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:01:51 +00:00
Nathan Gray
7fe36b289b Fix relative columns width preference not saved as relative width 2014-10-07 22:59:55 +00:00
Nathan Gray
7111e0bb83 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:27:27 +00:00
Nathan Gray
e674c5aa5b Partially revert r48812, seems it didn't help entry widgets but it did cause problems with preferences 2014-10-07 21:16:18 +00:00
Hadi Nategh
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +00:00
Nathan Gray
06369b922a Fix typo resulting in all not being processed. 2014-10-06 21:31:14 +00:00
Nathan Gray
fe4cdcb1d1 Trim email addresses to avoid validation errors 2014-10-06 21:17:37 +00:00
Nathan Gray
e4e869953f Save some processing by preventing API from fetching UIDs, which aren't applicable here. 2014-10-06 20:10:07 +00:00
Hadi Nategh
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +00:00