Commit Graph

321 Commits

Author SHA1 Message Date
Hadi Nategh
6038936cef Fix wodocollabeditor conflicts with other libraries because of global require and define AMD modulation 2016-10-27 18:47:02 +02:00
Hadi Nategh
3b76072885 Revert changes of local definition of define variable, because they no more conflict with wodocollabeditor 2016-10-27 18:43:41 +02:00
nathangray
017e45ffd4 Fix some missing / incorrect icons
- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
2016-10-27 09:04:47 -06:00
Hadi Nategh
84207e9a5a Keep the default behavior for opening tel-url and make call_popup felixable to be able to get target 2016-10-27 14:17:42 +02:00
Hadi Nategh
b59b44d29d Open phonecall window target as _self instead of new tab 2016-10-27 11:07:59 +02:00
Ralf Becker
ab79e193ec * Mail: show validation error if local part (before @) of email-address contains non-ascii chars 2016-10-20 12:29:56 +02:00
Ralf Becker
3372e1b1c2 * Mail: show which email address has a wrong format when pasting multiple ones 2016-10-20 11:47:09 +02:00
nathangray
0ca2094e2e Fix some email addresses would not pre-fill address if you created a new contact from mail view From field 2016-10-19 09:00:55 -06:00
nathangray
f71131d28d Change double-click to auto-size column based on current contents, to only work for fixed width columns. Relative (flex) width columns now just show a message as it was difficult to get them to properly size without weird side effects, especially with 2 relative width columns displayed. 2016-10-18 09:23:13 -06:00
Ralf Becker
9b4d727eb0 * All apps/History: fixed history tab shown empty in default (minimal) installation 2016-10-12 17:50:32 +02:00
nathangray
aa03aab010 Bind double-click to auto-size column based on current contents. 2016-10-11 16:00:01 -06:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
nathangray
19a67b92fd Fix legacy options were not parsed if the first one was empty
eg. ,,,legacy,option
was not parsed
2016-10-05 16:13:31 -06:00
nathangray
8ada656d56 Fix js errors if readonly 2016-10-05 16:13:31 -06:00
Hadi Nategh
d3467b49e7 Implement fav_filter icon base on template 2016-09-29 12:06:40 +02:00
Hadi Nategh
56df11b5da * Mobile template: Close sidemenu after clicking on items in sidebar 2016-09-21 17:39:51 +02:00
Hadi Nategh
8da2404279 Mobile template:
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 12:23:16 +02:00
Hadi Nategh
69604cb633 Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template. 2016-09-15 11:50:18 +02:00
Hadi Nategh
16992899d4 Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error 2016-09-14 15:09:32 +02:00
Hadi Nategh
1cca4183c9 WIP avatar widget:
- Implement upload and delete of contacts photo
- Add missing cropper stylesheet
2016-09-13 17:30:52 +02:00
Hadi Nategh
e231ac86cf WIP of implementing cropping avatar photo 2016-09-12 16:23:57 +02:00
Hadi Nategh
7de7af4cc1 Implement position attribute for widget dialog 2016-09-12 16:00:14 +02:00
Hadi Nategh
676148ba94 Implement client-side validation check for date_duration in order to catch check the validity right after entry before submit. 2016-09-09 15:46:13 +02:00
Hadi Nategh
f98674b164 Implement step attribute for date_duration widget. Seems FF needs step to be set to be able to distinguish valid or invalid decimal input format (eg. 1.5 or 1,5) 2016-09-08 17:28:50 +02:00
Hadi Nategh
84da56ede8 WIP avatar widget:
- Implement editable option to be able to do some action on hover over
2016-09-07 17:27:47 +02:00
Hadi Nategh
50328495a9 WIP of avatar widget: Implement client-side avatar widget 2016-09-05 17:21:14 +02:00
nathangray
286c730d08 Allow children for paste actions automatically pulled from drop actions 2016-08-24 14:28:55 -06:00
Hadi Nategh
b7eb55f6fa W.I.P. collab editor:
- Make all editors options available
- Add viewOptions available for configuration
- Disable active avatar by default
- Some styling for member's list, member's marker and avatar
- Add mobile template for editor
2016-08-23 12:29:49 +02:00
nathangray
7abf44c6a3 Add actions (Add) for blank parts of planner view 2016-08-22 09:39:09 -06:00
Ralf Becker
845f9aee36 fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:54:43 +02:00
Hadi Nategh
65b331749d Fix "From" field in mail display always get abbreviated 2016-08-18 18:57:06 +02:00
Ralf Becker
94bc949cfa * All apps: symlink files to not yet saved entries were not working 2016-08-17 16:05:26 +02:00
Hadi Nategh
704a47a182 W.I.P collab Editor:
- Fix collab editor define global variable conflicts with some other libraries which use define global
2016-08-16 12:52:26 +02:00
Hadi Nategh
55c0122155 W.I.P collab editor:
- Add isDocumentModified method to wodocollabtexteditor
2016-08-15 17:18:35 +02:00
Hadi Nategh
60c34e5881 W.I.P of collaborative odf editor:
- Define ServerFactory for egw collab
- Revert unintentional commits on Server.js
2016-08-05 12:41:11 +02:00
Hadi Nategh
5917a70dcc W.I.P of collaborative odf editor:
- Add wodocollabtexteditor library
2016-08-03 18:16:20 +02:00
nathangray
a2a956005e Add tooltip to datepicker Today button 2016-08-02 09:30:36 -06:00
Hadi Nategh
9d1fca0710 Make sure html property of html object in egw_seperateJavascript is type of string 2016-08-02 12:17:16 +02:00
Hadi Nategh
37cc46a252 * all apps: Fix vfs upload button does not work in link tab 2016-07-29 12:45:41 +02:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +02:00
Hadi Nategh
e45925b063 * All apps: Add a counter indicator for selected entries in a list in mobile template 2016-07-27 11:34:07 +02:00
Hadi Nategh
09e6d56bf5 * All apps: Fix styling glitches for search links dropdown 2016-07-26 17:05:45 +02:00
Hadi Nategh
693bf4d0a8 Fix filemanager document editor does not respect page size format 2016-07-25 18:29:34 +02:00
Ralf Becker
a4d39d5873 fix etemplate2.postSubmit() to not destroy any eT2 session, by unbinding window.onbeforeunload and rebinding it again after 100ms
Before postSubmit was unbinding only if current etemplates destroy_session was bound and causes so an other etemplates session_destroy to fire.
postSubmit now allways rebinds the session_destroy handler of current etemplate assuming it is only used for downloads, where current etemplate (and session) should persist.
2016-07-25 12:55:11 +02:00
Hadi Nategh
5c3bd11366 Take yyyy-mm-ddThh:mm:ss.s format into account for date widget.
- Fix Date widget doesn't let iOS html native datetime-local input set a value
2016-07-21 14:28:46 +02:00
Ralf Becker
58d2e49843 fix two more cases in which "show_generation_time" is queried and should never trigger a request to server, see 1c6c930312 2016-07-21 10:51:17 +02:00
Ralf Becker
45111b8cd9 if "common" prefs are not loaded, do not display page generation time
Before we queried page_generation_time common preference without a callback, which send a synchronious request to server to fetch common preferences, when it returned it looked for the preference again and send the next synchronious request to the server, in an infinit loop. Now setting _callback parameter of egw.preference() to false, just returns undefined, if common preferences are not yet loaded, but dont try to query them from server
2016-07-20 17:15:41 +02:00
Hadi Nategh
ef6bc4c7ce Open Office Editor W.I.P:
- Implement create new document
- Add select file dialog for saving a newly created doc
2016-07-20 15:35:25 +02:00
Hadi Nategh
fa5767d156 Open Office Editor W.I.P:
- Get regex of odf mime type into widget context to be able to use it for all expose derived widgets
2016-07-20 10:33:18 +02:00
Hadi Nategh
859f38de61 W.I.P. of implementation and integration of open office document editor (.odt) with file system 2016-07-19 18:20:26 +02:00
Hadi Nategh
42ff5bc5aa Remove not used library from api 2016-07-18 11:32:03 +02:00
Hadi Nategh
1fcbb03153 Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-15 17:25:07 +02:00
Hadi Nategh
c9f542e766 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-15 15:36:49 +02:00
Hadi Nategh
4c59ea9d5f Implement touch events for jquery chosen. Fix filter-categories does not work in iOS 2016-07-15 14:16:56 +02:00
Hadi Nategh
9d054b9437 Fix asyncIncludetime in genPageTime repeats itself into DOM instead of updating the value 2016-07-15 09:35:02 +02:00
Hadi Nategh
eba29d3541 Create DOM node for pageGenTime data 2016-07-14 17:21:51 +02:00
Hadi Nategh
791d1f1d74 Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-11 17:24:20 +02:00
Hadi Nategh
b1e666245a Check and ask for the notification permission if nothing yet set 2016-07-11 12:24:59 +02:00
Hadi Nategh
f01d6bc404 Add a method to egw.notification to check API availability 2016-07-11 12:01:29 +02:00
nathangray
9b80a7d133 Fix favorite delete confirm dialog header was not translated 2016-07-07 10:19:13 -06:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00
nathangray
2a8bc013d6 Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes 2016-07-04 13:32:35 -06:00
nathangray
27876aa3fb Add totals (selected, successful, skipped, failed) to long task dialog 2016-07-04 12:49:47 -06:00
Hadi Nategh
e98bf91347 Take other objects (like sel_options) from arrayMgrs into account regarding feeding content to view template 2016-07-04 14:28:39 +02:00
Ralf Becker
7ab213d94a remove trailing comma shown in IDE as warning 2016-07-04 12:28:01 +02:00
nathangray
2615837137 Make sure customfield header widgets get finished, even if customfield widget is already done.
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-01 13:05:16 -06:00
nathangray
a2d1131aa5 Add an Abort / Retry / Skip prompt for long task when one fails 2016-06-30 15:47:32 -06:00
Ralf Becker
efccc70eb3 revert 41b5de825d: disable scrolling too, when in seamless mode, as it prevents iframe content from being scrolled to the bottom, if that content does not implement any other means of scrolling 2016-06-30 09:06:06 +02:00
Ralf Becker
82c4eecfa3 change wording of error message on server-side ajax requests 2016-06-28 20:40:11 +02:00
nathangray
41b5de825d Hide iframe scrollbars too when seamless is on, hides scrollbars in Admin - Global categories 2016-06-27 10:53:50 -06:00
Hadi Nategh
66f1e302d2 Bring back enter action for taglist-email widget 2016-06-24 16:27:02 +02:00
Hadi Nategh
009afc76e1 Fix input field in taglist jumps into second line if there's a value set and it's display:none 2016-06-24 13:12:53 +02:00
Hadi Nategh
14935780ce Fix PGP Encryption backup:
- Rename the backup file, still will check the previous backup file though
- Close backup dialog from mailvelope after the backup process is finished
2016-06-21 12:54:50 +02:00
nathangray
0787e03378 Stop taglist from stealing focus back if user clicks on another input 2016-06-20 10:38:55 -06:00
Ralf Becker
f86c1934eb * PGP: using following (hidden) files in users home-directory: .PGP-Key-Backup and .PGP-Keychain 2016-06-20 15:13:37 +02:00
Ralf Becker
4cbe7dffa3 fix not working tail popup 2016-06-18 10:22:34 +02:00
Hadi Nategh
6fbdd38e33 Implement update status for nm header objects used for mobile template (eg. action button) 2016-06-17 12:29:37 +02:00
nathangray
358df21fd2 Fix resource (contact, resource, etc.) label sometimes not found 2016-06-15 08:51:07 -06:00
Ralf Becker
2857511ac9 calling jQuery.noConflict() as early as possible to NOT occupy $ variable stalling many SiteMgr templates 2016-06-15 08:54:12 +02:00
Ralf Becker
d40a3aa34f revert jQuery.noConflict() stuff as current aproach fails if minified 2016-06-14 21:42:12 +02:00
Ralf Becker
7bb87c2615 stop jQuery from setting $ as early as possible and added more checks for calendar running in frameworked template 2016-06-14 21:17:46 +02:00
Ralf Becker
9d12c2a9a5 tell jQuery to remove $, as EGroupware does NOT use it and it conflicts with eg. mootools 2016-06-14 19:12:19 +02:00
nathangray
a59d3f89e7 Taglist account fixes to remove duplicates in select options after save, and fix missing labels for accounts not in the user's primary group 2016-06-14 10:35:02 -06:00
Hadi Nategh
4b43cd89d2 Fix javaScript error screen.orientation.lock is not available 2016-06-14 17:31:51 +02:00
Hadi Nategh
885ed833e1 Fix resources categories shown in iframe 2016-06-13 17:31:43 +02:00
Ralf Becker
1778f8ef37 remove not used dom fragment, leftover from old code version 2016-06-13 16:03:32 +02:00
Hadi Nategh
5e4412aea5 Run applications categories with ajax=true
- Fix categories colors not showing up
- Fix categories list refresh does not work
2016-06-13 12:30:21 +02:00
nathangray
9c7c53606a Still accept old style favorites on the client side, as they're still handled on the server side.
Better fix than previous handling
2016-06-09 12:37:30 -06:00
nathangray
035ef0a9c7 Some more adjustments to get disabled attribute into nextmatch unparsed
Fix some nextmatch columns did not show up in column selection
2016-06-09 19:13:35 +02:00
Hadi Nategh
feb09667ae Fix tutorial stops calendar sidebox from loading, happens only in FF 2016-06-09 17:40:16 +02:00
nathangray
578ded52b8 Fix quick timezone selection
- Now updates all open apps, not just the currently active one.
- Fixed AJAX change did not stay changed
2016-06-08 16:02:10 -06:00
nathangray
dd0e541605 Still accept old style favorites on the client side, as they're still handled on the server side. 2016-06-08 11:48:14 -06:00
Hadi Nategh
95f092a2c5 Remove jqplot from api, it's already moved to vendor directory 2016-06-07 11:20:31 +02:00
Hadi Nategh
a9ff5f1d17 Revert not intentional change on egw_action_popup contextHandler 2016-06-07 11:03:06 +02:00
Ralf Becker
70e278d6a1 fix jquery.base64 path 2016-06-07 09:38:11 +02:00
Hadi Nategh
cd02d0a0d3 Add accidentally removed base64.js from commit 93217a149da3770e90d8ac462cfb9864c14dc72293217a149da3770e90d8ac462cfb9864c14dc722 2016-06-07 09:36:44 +02:00
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