Commit Graph

2236 Commits

Author SHA1 Message Date
Hadi Nategh
9fd87f7816 Fix et2_button does not set image if the widget gets created via et2_createWidget
- Implement searchbox's image with image attribute
2016-02-16 15:23:14 +00:00
Hadi Nategh
db7e7135ea Fix searchbox button occupies so much space 2016-02-16 13:46:16 +00:00
Hadi Nategh
e06a8bc167 Mobile theme W.I.P.:
- Add some styling for searchbox
- Fix contextmenu is not coming on trees
- Add back handler for context menu in order to close it
2016-02-16 11:59:31 +00:00
Ralf Becker
f6e5a85c46 revert accidently commited stuff 2016-02-16 10:16:49 +00:00
Ralf Becker
6b33adcb7c quiten a warning, if apps return nothing 2016-02-16 10:14:02 +00:00
Hadi Nategh
d1186de773 Mobile theme W.I.P.:
-Fix nm header for new searchbox widget
2016-02-15 19:10:14 +00:00
Hadi Nategh
b26a2e6593 Implement nextmatch search using searchbox widget 2016-02-15 18:37:24 +00:00
Hadi Nategh
83d47aed72 Implement searchbox widget 2016-02-15 18:30:40 +00:00
Ralf Becker
40cb207afa fixed not detected number of autorepeated rows for id like "${row}@[name]" addressing first column, gave error "Problem in autorepeat fallback: too many rows" 2016-02-13 16:25:50 +00:00
Ralf Becker
ab3e235ed6 work in progress aligning nextmatch headers 2016-02-12 17:19:27 +00:00
Nathan Gray
5955705002 Owner widget changes:
- Now returns results with users, then groups, then other apps
- If a result is found in the static options, the server is not queried
- 2 character limit before searching
- Change event fires on blur, not change in selection
2016-02-11 20:30:55 +00:00
Nathan Gray
3ebfe5d650 Reduce back-to-back resize requests by cancelling the timeout before setting it again 2016-02-11 20:20:46 +00:00
Hadi Nategh
964db76cd6 Mobile theme W.I.P.:
-Avoid loop causing by expose click handler. Fixes expose in filemanager stalls browser
2016-02-11 13:58:11 +00:00
Ralf Becker
4f2ef55206 Adding support for set_min/max() arguments supported only by jQuery.Datepicker for HTML5/mobile browsers, thought it seems none of the browsers support them right now ... 2016-02-10 17:42:11 +00:00
Nathan Gray
c8cf2d30d8 Fix resize issues with etemplate2 / calendar 2016-02-10 16:50:42 +00:00
Ralf Becker
c25403bec7 inline calendar is not existing in html5, so allways use datepicker instead 2016-02-10 16:39:43 +00:00
Hadi Nategh
63b3009bb5 Implement category color column purely with css 2016-02-10 09:45:33 +00:00
Nathan Gray
61b2957124 Keep focus when selecting from the option list 2016-02-09 21:30:47 +00:00
Nathan Gray
3895b4ca0e Remove incorrect ajax stuff from selectbox, just enhance taglist to support static options as well as ajax 2016-02-09 20:19:16 +00:00
Hadi Nategh
710e8a7847 Add nextmatch-cat-header in order to add category color into nm rows 2016-02-09 17:11:44 +00:00
Nathan Gray
1d3e696676 Ajax fetching for chosen taglist style selectboxes - set tags & source attributes 2016-02-09 00:38:09 +00:00
Ralf Becker
88ea87fedb Using HTML5 input field for mobile browsers to get there native UI for date/time entry 2016-02-08 17:23:54 +00:00
Hadi Nategh
9e690d2304 Mobile theme W.I.P.:
- Translate appname indicator
2016-02-08 10:59:09 +00:00
Hadi Nategh
36c97ec7e9 Mobile theme W.I.P.:
- Add application name indicator for header
2016-02-08 10:25:58 +00:00
Ralf Becker
0261dd0b82 server-side adds now urls for extra tabs incl. cache-buster, so we dont rely on app-code to add it 2016-02-03 15:20:50 +00:00
Hadi Nategh
751a96feba Mobile theme W.I.P.:
- Avoid contextmenu confusion between applications
2016-02-03 10:48:40 +00:00
Hadi Nategh
beacb4fc01 Introduce vertical tabs 2016-01-28 11:26:22 +00:00
Hadi Nategh
eb9c599d00 Make url-email_ro widget a bit more intelligent about value representation 2016-01-26 15:36:16 +00:00
Hadi Nategh
1c4647492d Show caption if there's no icon available for toolbar actions
- Remove icon from today action in calendar
2016-01-26 13:43:00 +00:00
Nathan Gray
2a88ce69bd Remove focus class from toolbar More when user clicks somewhere else on the page 2016-01-25 21:20:28 +00:00
Nathan Gray
369a478733 Avoid duplication of global categories due to integer values 2016-01-25 19:16:19 +00:00
Ralf Becker
e8469227f6 remove everything but numbers and plus from links on telephon numbers, as telephone software might not like it 2016-01-24 08:38:33 +00:00
Hadi Nategh
6a50715f99 Do not take toolbar's preferences into account for mobile theme 2016-01-21 10:15:34 +00:00
Hadi Nategh
c4cfb8a8c0 Add click handler for details' title 2016-01-20 14:48:04 +00:00
Hadi Nategh
a0338f3398 Fix a wrong attribute name for details widget 2016-01-20 14:25:14 +00:00
Hadi Nategh
6137d17114 Introduce new widget called "details", in order to make collapsible area 2016-01-19 11:42:11 +00:00
Hadi Nategh
fe90e4256c Mobile theme WIP:
- Implement nm header for mobile theme
- Fix couple of styling issues
- Add a search icon
2016-01-15 16:54:42 +00:00
Hadi Nategh
e729fc39a5 Some more styling for toolbar widget and toolbar in calendar 2016-01-12 10:22:40 +00:00
Hadi Nategh
87fca58c0b Better styling toolbar widget and toolbar in calendar 2016-01-11 19:38:03 +00:00
Nathan Gray
863e64f0fd Allow slide toggles for checkboxes in toolbar if they specify toggle_on or toggle_off 2016-01-09 00:54:02 +00:00
Hadi Nategh
0ecad4641b Make precision option only for sum value 2016-01-08 14:52:51 +00:00
Hadi Nategh
24b7137b1c Add precision option to entry widget 2016-01-08 14:20:09 +00:00
Hadi Nategh
e8bc6dcd19 Fix not working subtraction option for infolog-value widget 2016-01-08 13:35:35 +00:00
Hadi Nategh
ab75fde5f3 Remove et2_date-timeonly_ro widget definition as it is already defined in et2_date_ro 2016-01-07 15:30:00 +00:00
Hadi Nategh
d9f3abf6de Mobile theme W.I.P.:
- Do not select nm row via up/down swipe touch
2015-12-17 09:27:19 +00:00
Nathan Gray
5b65b12b1e Avoid replacing an option that has been labeled while waiting for the response by checking to see if it is unchanged first. 2015-12-14 18:28:29 +00:00
Nathan Gray
1182ff70b5 Immediately set value, even if the label is not available. Fixes problems with setting then getting the value giving different results. 2015-12-11 23:32:55 +00:00
Nathan Gray
967882240a Make sure autoloading sets values as they are loaded 2015-12-08 00:26:08 +00:00
Nathan Gray
9117771ea2 Avoid errors for invalid account options 2015-12-04 19:59:05 +00:00
Nathan Gray
59d1f23bb0 Use select account filter nextmatch header for custom filters of type 'select-account' 2015-12-04 19:24:49 +00:00
Nathan Gray
12962b77b4 Fix bug where additional infolog columns get shown after changing selected columns 2015-12-02 21:03:45 +00:00
Nathan Gray
59fbccdfcb If account selectbox can expand (has + button) and user's preference includes a search popup, automatically expend when they open the popup. 2015-11-23 22:00:27 +00:00
Hadi Nategh
a74e79becc Fix broken checkbox caused by 54314 2015-11-19 09:03:10 +00:00
Hadi Nategh
3a5aa9ac5c Implement slide-switch, representing checkbox on/off status
- Replace calendar toggle weekend checkbox with slide-switch
2015-11-18 15:42:32 +00:00
Nathan Gray
b136d22c3a Make sure to open correct dialog, even if multiple option gets changed after creation. 2015-11-17 20:09:19 +00:00
Hadi Nategh
07681364f8 Add new type for date widget to show only time(in today range)/date 2015-11-12 15:46:56 +00:00
Hadi Nategh
cb2aa3399f Do not use opened //** pattern as it will mixed up with line numbers pattern in minifying debug mode 2015-11-09 10:03:12 +00:00
Nathan Gray
c992e8830c Fix selectbox shows incorrect selection if options get changed & value does not 2015-11-05 21:44:11 +00:00
Hadi Nategh
731e490ade * All applications: Prompt user to select an action when drag and drop on lists
- Implement a generic cancel action for all drop actions on nextmatch
2015-11-04 15:30:34 +00:00
Ralf Becker
6a407a683b only catch "Permission denied" errors and rethrow all other, because error in et2_ready or load handler will cause a double loading of UI otherwise 2015-10-27 13:39:01 +00:00
Ralf Becker
b18d373624 fixing wired IE security errors "Permission denied", seems reload of opener caused references to egw and template cache in opener.top.etemplate2.prototype.templates becomming inaccessible, catching this errors and falling back to a window-local object 2015-10-26 21:13:34 +00:00
Nathan Gray
22210227b7 Consume enter keypress in search to prevent browser from triggering clicks on link button. 2015-10-26 15:26:51 +00:00
Ralf Becker
db774ece2b fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:07:22 +00:00
Hadi Nategh
9a4ba7b781 * Etemplate: Fix issue expose view gets opened for not supported mime-type (eg. image/pdf) 2015-10-20 16:22:08 +00:00
Hadi Nategh
a54294ae2e Add some documentation regarding commit #53956 2015-10-16 07:40:05 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Hadi Nategh
2348b7da46 Do not trigger a second resize on split widget as it may conflict with browser bottom download bar 2015-10-15 12:59:12 +00:00
Nathan Gray
025550402a Fix expandable selectbox button missing icon 2015-10-13 20:43:49 +00:00
Hadi Nategh
8980fdb1fc Add background attribute to the DOMWidget in order to be able to set background-image via etemplate 2015-10-13 15:03:41 +00:00
Hadi Nategh
de4098e550 Make sure we are not requesting server for an empty value option or other widgets but select-timezone as server won't find anything and it will fall into an infinitive loop, e.g. select-cat widget. 2015-10-12 09:55:13 +00:00
Hadi Nategh
f89d4297d9 Fix infinitive request from selectbox widget 2015-10-07 13:52:56 +00:00
Nathan Gray
05ea41493d Fix missing option check to work with options sent as an in-order array (label,value), fixes some custom fields not being properly set. 2015-10-05 15:25:10 +00:00
Nathan Gray
7023d39d98 Add empty_label to Select account custom field type, so you can select nothing. 2015-10-01 15:10:38 +00:00
Nathan Gray
718dc25815 Make 100% an invalid preference size, fixes mail splitter losing splitter size preference 2015-09-30 15:29:26 +00:00
Nathan Gray
dde1a5e51d Pass current selectbox value so the server can make sure it's there 2015-09-29 16:00:12 +00:00
Hadi Nategh
5e2ec5b8d2 Fix split widget does not take right size 2015-09-29 12:14:41 +00:00
Ralf Becker
8d476dae23 Several fixed to cope better with CalDAVTester:
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-09-29 10:25:32 +00:00
Hadi Nategh
3bc2e1077c WIP EGroupware tutorial:
- Implement a hook for application specific video tutorials
- Allow iframe widget to cooperate with fullscreen video play mode
2015-09-25 15:18:35 +00:00
Hadi Nategh
45b9d9e745 Do not trigger autocomplete fix if the browser is Safari and there's an input with type password, since the Safari does not respect autocomplete = off
- Fix password autofill issue in compose dialog
2015-09-23 15:51:46 +00:00
Nathan Gray
9e9cbc2fa1 Some changes to egw.css to try to avoid it randomly ignoring rules in iframes.
Reduces wrong width in admin customfields or categories after you click 3 times.
2015-09-22 23:43:20 +00:00
Nathan Gray
e791caf622 Fix admin changing their columns set the default for all users 2015-09-21 21:41:54 +00:00
Nathan Gray
8e657aeb0e Do not die if select custom field is not fully set up 2015-09-21 19:43:36 +00:00
Hadi Nategh
01ec6d0406 A hack for toolbar widget to get fixed existing toolbar preferences and keep working with new actions 2015-09-18 13:32:51 +00:00
Nathan Gray
bc9a99a2af Avoid error in some cases where there is no readonly array manager yet 2015-09-16 15:46:17 +00:00
Hadi Nategh
707c68689f WIP toggle sidebar menu:
- Trigger resize for split widget, too, since the toggle can change the split pane width size
2015-09-10 09:56:38 +00:00
Nathan Gray
cf333cbbfb Add ability to select existing file in VFS for custom field type filemanager
- Fix missing ID
2015-09-09 17:02:35 +00:00
Nathan Gray
a44661fc52 Add different formatting for linked files when they're in sub-directories
- Fix bug in formatting if first link is in a subdirectory
2015-09-09 14:45:37 +00:00
Nathan Gray
48c3a39b0e If actionLinks is not set, set it to empty. Fixes error caused by no actions. 2015-09-09 14:10:43 +00:00
Nathan Gray
fbd3069456 Set autocomplete attribute so browsers can put the data in the right place (fixes problem with autofill went into address line 2) 2015-09-08 22:23:54 +00:00
Nathan Gray
841f6a575d Fix a bug in formatting for files in subdirectories 2015-09-08 19:11:00 +00:00
Nathan Gray
e033903126 Add ability to select existing file in VFS for custom field type filemanager 2015-09-08 16:02:18 +00:00
Hadi Nategh
092cbb5059 Performance improvement:
JSON stringify/parsing deep object copy is quite faster than jQuery.extend deep copy, especially in IE
2015-09-07 15:12:45 +00:00
Nathan Gray
31a23f0dbd Add filemanager custom field type using vfs-upload 2015-09-02 19:52:47 +00:00
Nathan Gray
687d90c37a Add different formatting for linked files when they're in sub-directories 2015-09-02 19:28:08 +00:00
Hadi Nategh
15a8df624c Fix mail's send button does not work in some occasions:
- CKEditor has its own submit handler which was making conflict with our autocomplete submit
2015-09-01 12:05:40 +00:00
Nathan Gray
ed39c529da Fix vfsUpload widget did not display its value 2015-08-31 22:32:50 +00:00
Nathan Gray
56a595dc57 Expose debug level, and tie etemplate2 profiling to debug level 4 - Log 2015-08-25 16:19:40 +00:00
Hadi Nategh
d60b91f61f Introduce new widget called et2_barcode, which can generate different barcode types from a string value 2015-08-25 15:28:30 +00:00
Ralf Becker
f57b4580a5 reverting r53406, r53423: using JSON instead of XML for templates on client-side to improve IE performace, as it did not give any performance improvement 2015-08-20 14:57:18 +00:00
Ralf Becker
43afc55932 fix not working 2. loading of a popup in IE, caused by IE freeing the cached template in top window, working around that by a getter/setter method in top etemplate2 doing a clone when storing templates 2015-08-20 08:45:21 +00:00