Commit Graph

675 Commits

Author SHA1 Message Date
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Hadi Nategh
f3d61b4a48 Do not generate keyboard shortcuts for actions in mobile template 2016-06-03 16:16:54 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
nathangray
ed57923c76 Fix set_min() & set_max() did not work in Firefox 2016-06-01 15:03:51 -06:00
nathangray
9f32a7e1a9 Don't try to change columns that can't be changed, fixes Uncaught TypeError: Cannot set property 'visible' of undefined 2016-06-01 09:30:42 -06:00
Hadi Nategh
1228270b52 Fix multiple selection taglist can not handle comma separated values 2016-06-01 13:43:08 +02:00
nathangray
a5d4400918 Some more adjustments to get disabled attribute into nextmatch unparsed 2016-05-30 17:50:16 -06:00
Hadi Nategh
736e18a553 Fix toolbar widget sometimes does not respect flat_list option 2016-05-30 17:12:55 +02:00
Ralf Becker
1edc14740b use iframe for popups running in main window with GET parameter no_popup=1, as they need to set a different CSP to use eg. CKEditor like Tracker URL in notifications, if HTML is allowed 2016-05-30 15:40:49 +02:00
Hadi Nategh
179d121efa Fix toolbar menulist height calculation 2016-05-27 16:32:56 +02:00
Hadi Nategh
55030eb5f2 Do not a tag if no call_link is set and not in mobile, empty a tag may conflict with some browser telephony addons (eg. telify in FF) 2016-05-27 15:03:46 +02:00
nathangray
473fa38969 Avoid errors if select options are not strings.
Happens with accounts, which can be integers
2016-05-26 15:34:54 -06:00
nathangray
5774bf9d5a Do not try to hide the input if not there - it causes an exception, stopping the template from loading 2016-05-25 16:54:08 -06:00
nathangray
105856f549 Keep focus in textbox when editing times 2016-05-25 13:44:34 -06:00
nathangray
a46f418fb6 Fix unwanted highlight matching when favorite had additional filters 2016-05-25 13:28:27 -06:00
Hadi Nategh
dea9c260b0 Deselect rows after return action from view template 2016-05-25 17:40:44 +02:00
Hadi Nategh
60bc400313 Fix modified view templates are not getting updated because of no cache-buster modification timestamp 2016-05-25 16:44:36 +02:00
nathangray
8dec95e4fc Remove highlight clicked favorite, it was conflicting with highlighting matching favorite if the clicked favorite was not valid for the results. 2016-05-24 16:27:27 -06:00
Hadi Nategh
91a178a370 Do not add 'X' icon for contextmenu action in mobile template 2016-05-23 14:36:39 +02:00
nathangray
2ffcdf5dc9 Also take grid border width into account - should help with nm width in Firefox.
See d290485058
2016-05-18 13:56:29 -06:00
Hadi Nategh
4aa1156af0 Fix framework asks always for jdots even if the jdots is not installed 2016-05-18 12:39:06 +02:00
nathangray
fb8612f9fd Fix postSubmit() - fixes broken document merging 2016-05-16 16:55:55 -06:00
nathangray
65c43ba6f0 Implement set_filter() & set_filter2() to allow application code to change filter & filter2 values, and have them updated in the client UI 2016-05-16 16:30:27 -06:00
nathangray
bb7528af20 Revert changes to nextmatch-filterheader & nextmatch-accountfilter? 2016-05-16 09:31:56 -06:00
nathangray
63d9cfbd41 Move filterheader using taglist to its own widget, nextmatch-taglistheader, and revert changes to nextmatch-filterheader & nextmatch-accountfilter 2016-05-16 09:07:08 -06:00
Ralf Becker
2cbe626fed fix not working (documented) widget attribute "extra_link_title" by using regular "statustext" 2016-05-16 16:23:27 +02:00
Ralf Becker
2d69c1b28b Merge branch 'master' of github.com:EGroupware/egroupware 2016-05-14 13:00:18 +02:00
Ralf Becker
5be1075f26 move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests 2016-05-14 12:38:31 +02:00
Hadi Nategh
ad691a7690 Fix et2_link_entry input autocomplete 2016-05-13 20:21:10 +02:00
Hadi Nategh
4b0bc10900 Fix taglist widget:
- Fix taglist single styling
- Fix toggle to single not working when there're multiple selected
2016-05-13 18:44:37 +02:00
Nathan Gray
eea3aac80d Fix up the filterheader sizing to better fit in the nm header 2016-05-11 20:14:14 +00:00
Nathan Gray
da4fd02a7f If there are 2 or less options for a filterheader, disable multiple toggle 2016-05-11 19:56:06 +00:00
Hadi Nategh
d290485058 Nm resize fix:
- Fix dataview grid resize not taking care of category color border
- Fix Category borders make headers misaligned
2016-05-11 16:33:54 +00:00
Nathan Gray
5dc798da7f Fix customfield column sometimes disappearing from print 2016-05-10 17:12:39 +00:00
Nathan Gray
4dd1fd6368 Set a default of 3 rows for filterheaders to avoid vertical scroll in header 2016-05-09 19:38:31 +00:00
Nathan Gray
457e05d920 Change filterheaders to extend taglist instead of select 2016-05-09 19:17:04 +00:00
Ralf Becker
00b898bb2e fix tooltips for displaying lots of content 2016-05-07 16:56:18 +00:00
Ralf Becker
df6060f594 move eT2 templates to api, fixes cant create a directory in filemanger in minimal install 2016-05-05 18:23:52 +00:00
Ralf Becker
2da61eb731 moving login page social icons from phpgwapi to api 2016-05-05 09:46:03 +00:00
Ralf Becker
22b785c5a6 do not request translations empty or undefined app name from server 2016-05-05 09:23:06 +00:00
Ralf Becker
5353072052 mv template specific images from "phpgwapi" to "api" and search "api" also on client-side for image, added debug GET parameter to images.php to JSON pretty-print instead of one line javascript 2016-05-05 09:16:27 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Nathan Gray
d7eb464605 Hide unit label if there is no value 2016-05-04 18:01:20 +00:00
Nathan Gray
00d668f6d5 Fix bad day unit label in readonly duration 2016-05-04 17:59:58 +00:00
Nathan Gray
0ecf39a722 Properly handle nextmatch columns where the width is not set 2016-05-04 15:48:58 +00:00
Hadi Nategh
8e92a42c65 Implement set_disabled for select widget with tags enabled 2016-05-04 14:29:44 +00:00
Ralf Becker
760c8193fb fix image with name filter is not found, because empty vfs store returns empty array having a method filter, now we check that attribute is of type string 2016-05-04 13:57:26 +00:00
Hadi Nategh
d6d9a076ae Check Notification API is supported by browser before using it 2016-05-04 13:04:55 +00:00
Hadi Nategh
c6bda1524f Mobile theme:
- Replace 'Edit' caption in view template with an icon, makes it similar to other dialogs
2016-05-04 08:23:48 +00:00
Hadi Nategh
9d03e085ed Ask for notification permission only when it gets called 2016-05-04 08:12:51 +00:00
Nathan Gray
d2717517ec If the total width of the columns is greater than what is available, distribute the shortage across fixed width columns 2016-05-03 20:55:39 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Nathan Gray
766dd31d16 Only allow printing custom fields if they're already selected (and loaded) 2016-04-29 16:35:00 +00:00
Nathan Gray
04ab1494fb Show loader while recovering from print 2016-04-29 16:34:18 +00:00
Hadi Nategh
6260d948a7 Implement Web Notification API into egw_notification 2016-04-29 14:25:07 +00:00
Hadi Nategh
1bf2ab4016 Implement enable/disable quantity base on participant's value type 2016-04-29 08:40:55 +00:00
Nathan Gray
2821c9bf43 Allow popup menu checkboxes to be toggled base on selected entry data 2016-04-28 16:39:53 +00:00
Hadi Nategh
9cd72f8e14 Mobile theme:
- Missing part from commit 55893
2016-04-28 13:55:31 +00:00
Hadi Nategh
45e7536a8b Mobile theme:
- Fix back button state and a confirmation to logout action
2016-04-28 13:53:44 +00:00
Hadi Nategh
225f3a4576 Fix taglist-cat multiple ignores multi selection on set value 2016-04-28 08:34:57 +00:00
Nathan Gray
ad4e9f6770 Translate week header in date picker 2016-04-27 22:31:05 +00:00
Nathan Gray
523edb57c3 Fix customfield columns do not always come back after print 2016-04-26 18:58:54 +00:00
Nathan Gray
39fb455bea Remove printing margin adjustment, looks like print css covers left margin now (checked Chrome, FF, Safari, IE) 2016-04-26 18:57:11 +00:00
Hadi Nategh
76106188dc Still let the selected tab be minimized by clicking on "-" button for v-tabs 2016-04-26 16:38:38 +00:00
Hadi Nategh
c376aab408 Fix active tab does not work on vertical aligned tabs 2016-04-26 15:01:12 +00:00
Ralf Becker
7e358fe5ad removed not working typeof value == "array" 2016-04-25 20:05:53 +00:00
Nathan Gray
7baf298bf7 Keep value if et2 tried to set it before select_options were there, and it got stripped out 2016-04-25 20:02:58 +00:00
Nathan Gray
f58ef2980f When select options change and we have tags turned on, update chosen 2016-04-25 19:37:37 +00:00
Ralf Becker
06c4b2db23 use new et2 site config 2016-04-25 15:57:38 +00:00
Ralf Becker
220aacf48b no longer allow to use lang syntax %1 in eT2 instead of native %s, as it does not allow to use %1 and costs unnecessary performance 2016-04-25 15:15:02 +00:00
Nathan Gray
2513fcb7d7 - For print column dialog don't check individual customfields if no customfields are selected
- Fix afterPrint failing if columnselection preference had no nextmatch prefix
2016-04-25 14:49:59 +00:00
Hadi Nategh
980a5537d9 Fix sidebar toggle sometimes flickers in close states in FF 2016-04-25 13:51:21 +00:00
Ralf Becker
8a96e97684 keep an array for options, do not convert them to an object 2016-04-25 08:26:44 +00:00
Ralf Becker
a9eba441d7 fix autorepeated id "cat[3]" would pick array element 3 from cat 2016-04-23 16:11:28 +00:00
Nathan Gray
5e2d782414 Fix filter for only printing visible templates 2016-04-21 20:30:10 +00:00
Hadi Nategh
f77f52d77d Stay focused after item selection to get ready for next selection and avoiding two clicks 2016-04-21 10:45:19 +00:00
Nathan Gray
e869788263 Prompt for columns to print as well as row count when printing a nextmatch 2016-04-20 23:05:43 +00:00
Nathan Gray
1019046a0d - Avoid changing content manager select options when reading from template tags
- More checking with namespaced select options to avoid grabbing all children of a parent namespace
2016-04-20 21:20:36 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Hadi Nategh
11a3b76094 Fix upload a file via et2_file widget, keep all buttons in readonly mode even if the uploading process is finished 2016-04-20 11:38:07 +00:00
Nathan Gray
da2dd3bd16 Fix error causing relative columns to have 0 width under some resize conditions 2016-04-18 22:08:41 +00:00
Hadi Nategh
0ba271d581 Enable/Disable add participants based on participant value in calendar edit 2016-04-18 13:56:47 +00:00
Hadi Nategh
bb59879064 Implement readonly for file widget. Additionally, make a generic style for readonly widgets 2016-04-18 10:37:08 +00:00
Hadi Nategh
7065f6fd2e Fix some misalignment for link_to widget, happens in FF 2016-04-14 13:48:12 +00:00
Nathan Gray
0c438366d7 Update timepicker library to 1.6.1 2016-04-13 18:44:45 +00:00
Nathan Gray
a3a0450143 Fix unable to clear nm entry headers by catching change event instead of select 2016-04-13 16:00:49 +00:00
Nathan Gray
988720340d Some more taglist issues:
- stop extremely large sizing in some cases
- make sure toggle button is correctly removed
2016-04-12 22:25:29 +00:00
Nathan Gray
95e1cd00ff Try to make the input box fill the line better when we hide the trigger button 2016-04-12 20:58:21 +00:00
Nathan Gray
c6ab38a51d Fix set_min/set_max with a full string timestamp caused a formatting error 2016-04-11 21:28:10 +00:00
Nathan Gray
d5225a8338 Change portlet header text color to contrast with selected color 2016-04-11 16:42:50 +00:00
Nathan Gray
fd3ae9f899 Fix "Cannot read property 'replace' of undefined" when setting multi-select with empty label to empty value 2016-04-11 15:59:17 +00:00
Hadi Nategh
27b9ea6640 Fix et2_file upload 2016-04-08 13:47:05 +00:00
Ralf Becker
8325963b06 fixed ckeditor problems if minifying was switched off, caused by egw.js loaded twice, removed old file-name based workaround on client-side in favor of not requesting it from server-side 2016-04-08 10:38:44 +00:00
Ralf Becker
8c87cf9dfc move egw_framework to api and refactor it 2016-04-07 20:42:06 +00:00
Hadi Nategh
d48a968674 Dialog styling W.I.P.:
- New design for link_to widget
2016-04-07 17:13:06 +00:00
Nathan Gray
e69df0dd3b Remove scroll check, doesn't appear to be needed anymore and it was stopping dnd on skinny (< 15px) nodes 2016-04-07 16:48:13 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Nathan Gray
559eb432f0 Get home working again 2016-04-06 22:16:46 +00:00
Ralf Becker
ffaeb52bce fix editing mail accounts loses imap or smtp server type caused by not correctly escaping values searched via jQuery selector 2016-04-06 14:57:44 +00:00
Ralf Becker
4591f5c8b4 fix client-side nextmatch to use select-options from get_rows data for select-widgets in newly rendered rows 2016-04-05 15:05:31 +00:00
Hadi Nategh
4d22204945 Mobile theme W.I.P.:
- Stop scrolling touch confusion from tap event
2016-04-05 14:16:18 +00:00
Ralf Becker
d890f4f1a2 storing select_options permanent when send with rows 2016-04-04 18:36:33 +00:00
Hadi Nategh
c7b576481b Set name attribute for searchbox input as it is necessary to get autocomplete working 2016-04-01 08:19:12 +00:00
Nathan Gray
0f18558682 Print function for calendar 2016-03-31 20:55:41 +00:00
Ralf Becker
ac6b0e9a94 implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type="checkbox"], as it is covered by the standard case 2016-03-31 13:05:03 +00:00
Ralf Becker
a54f8f2a28 fix some alignment issues: always have a margin for widgets with a lable, ... 2016-03-31 09:21:55 +00:00
Hadi Nategh
b3639466a0 Add width and height options into dialog widget 2016-03-30 09:56:00 +00:00
Nathan Gray
12ca409137 When server gives taglist options via ajax, take them all. Only filter local suggestions. 2016-03-25 16:04:27 +00:00
Nathan Gray
8105b93f80 Fix cat_is_select setting was not used 2016-03-24 19:05:26 +00:00
Nathan Gray
11fbdbd34a Move gantt widget into projectmanager - remove gantt from api widget list
- Should fix some random etemplate breaking
2016-03-24 15:55:43 +00:00
Nathan Gray
63a69c03cd Move gantt widget into projectmanager 2016-03-22 21:33:58 +00:00
Nathan Gray
c871b6728d Default taglist category to need 0 characters before expanding, since we'll have the options. 2016-03-22 14:48:59 +00:00
Nathan Gray
6a2167f11b Change some inconsistent relative dates 2016-03-21 23:50:21 +00:00
Nathan Gray
b28792ffaf Better handling of missing top-level cache (happens in sitemgr) to avoid infinite loops 2016-03-21 22:25:33 +00:00
Ralf Becker
77c5102792 fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-) 2016-03-21 21:21:40 +00:00
Nathan Gray
496d24592b Correctly handle optgroups in both processed & legacy forms 2016-03-21 19:56:40 +00:00
Nathan Gray
47198549f7 Fix unable to re-open datepicker after clicking 'today' 2016-03-21 19:17:11 +00:00
Ralf Becker
77624244e6 do NOT call et2_ready for dialogs with a template, as it would overwrite this.et2 in app.js 2016-03-21 15:31:02 +00:00
Nathan Gray
374cfffb89 Fix missing optgroup labels 2016-03-21 15:09:57 +00:00
Nathan Gray
fd3c729454 Fix selectbox cache - needs to be undefined if missing for subsequent processing
(broken by r55418)
2016-03-21 14:43:39 +00:00
Ralf Becker
23f07571c6 moving et2 images to api 2016-03-21 09:26:03 +00:00
Ralf Becker
df7d8c414a modified client-side to call new server-side classes in api, instead compatibility classes in etemplate 2016-03-19 16:16:59 +00:00
Ralf Becker
6af1e23b66 move et2 widget browser to api, thought link to it is currently only in old eTemplate sidebox menu 2016-03-19 15:25:32 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00