Commit Graph

378 Commits

Author SHA1 Message Date
9fdd92b5ea fix resize to work with zoom at least up to 125%, by calling resize a 2. time 2014-11-28 14:01:13 +00:00
77faf475f2 have to wait for script files to be loaded, before calling egw.link_handler or any other egw method 2014-11-27 08:57:34 +00:00
10b106619a * API: report failed Ajax requests to user incl. a hint that server error-log should contain more information 2014-11-21 16:18:29 +00:00
558076686f clientside redirect ignore appname only for popups, not eg. iframes like in admin 2014-11-19 16:17:00 +00:00
ca2b56979c * Mail: Fix mail display and compose open in full height
-commits r49335, r49336, r49339, and r49340.
2014-11-10 12:54:31 +00:00
6b1c36f6d3 making popup resize a bit more relyable by using an extra timeout and trigger it for every load, not just first one 2014-10-30 11:10:03 +00:00
06372a3944 Fix scrolling of content in iframes for touch devices (applied for iOS) 2014-10-23 13:45:11 +00:00
5b3782bea6 fix IDE warnings / documentation and move "use strict" from global scope to object itself 2014-10-22 12:41:25 +00:00
9b9f6bf067 adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:53:54 +00:00
e945580cea Make sure the this object is avaliable before addressing it.
-Fix error in calender views which was happening after dnd
2014-10-21 09:00:27 +00:00
8a861fc628 - Better popup resize calculations
- Test new popup size for addressbook
2014-10-17 15:17:16 +00:00
2ceddce771 fix popup detection to cope with window.opener being a reference to itself --> should NOT be detected as popup 2014-10-17 12:54:32 +00:00
585e313851 fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location
r49022: resize import popup to regular compose size
2014-10-17 12:51:02 +00:00
5a4ca587bb Increase popup padding by 20x30 pixels 2014-10-07 23:28:33 +00:00
3cee4332ee Make sure state object exists
-Fix error "Cannot read property 'sort' of undefined" for favorites without state
2014-10-02 09:07:46 +00:00
7aa20273f1 Check that array entry is there before looking into it.
Prevents error when accessing deleted user.
2014-10-01 19:59:19 +00:00
0159f41877 Restore favorite's sort order along with filters 2014-10-01 15:41:50 +00:00
dbca9f2008 fix typo 2014-10-01 10:37:52 +00:00
22a5189783 stop egw.debug("error",...) to show error to user, if LOCAL_LOG_LEVEL=0, which we currently set in source 2014-10-01 10:35:36 +00:00
98d6b45be2 switching off Javascript error-handler and -display in GUI 2014-09-30 20:31:07 +00:00
98b0578314 fixed not working refresh of user category list called via top-menu after adding/editing a category 2014-09-25 16:03:53 +00:00
64f6aad5a2 nextmatch responses got cached for in meantime changed folder 2014-09-08 15:55:00 +00:00
bae72d8734 fix javascript error caused by caching using a string context, searching now for a nextmatch one 2014-09-08 15:54:35 +00:00
6b4a25e46d when refreshing some uids in a nextmatch, we need to send nextmatch filters too, as server-side will merge old version of filters from initial request data otherwise
this can cause rows not to be returned because of different filters or search, or they are returned thought they should not
2014-09-05 09:33:05 +00:00
4025351450 fixed replay to first mail in newly refreshed or changed folder removes mail when sending
caused by eT exec_id got lost in call to egw.dataRefreshUID
2014-09-03 18:00:28 +00:00
4ce1b299b3 docu update and fix IDE warnings 2014-09-03 08:12:29 +00:00
056e5a1e96 Make sure _with value is not null when trying to replace it into url, it causes broken url while using _replace argument from refresh_opener 2014-08-22 13:20:07 +00:00
7ca4255e25 fix error happening in browsers not supporting console object 2014-08-21 08:13:01 +00:00
6ff6db42e6 Backport commit r48009, committed by Nathan Gray.
Data improvements:
- pass UID as additional parameter to data callbacks
- cache actual data separately from cached fetch response to avoid duplication
- use callbacks to keep localStorage data consistent with data in memory
- use callback to update cached fetch response if a record is removed (set to null)
2014-08-11 13:56:29 +00:00
a3d9df3d53 Backport commit r47984 committed by Nathan Gray.
- Use timestamp to give cached dataFetch data a lifetime, currently 29 seconds.
- Add another callback for cache registration, called whenever the cache is used.
2014-08-06 11:11:30 +00:00
baa5e4cdbc Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-05 08:12:33 +00:00
04127c8b56 Backport commit 47929 committed by NathanGray, Handle if ID is not a string instead of erroring. 2014-08-04 09:19:41 +00:00
747a1eb619 Backport commit 47928 committed by NathanGray, Smarter cache expiry based on age 2014-08-04 09:18:01 +00:00
838d747667 Backport commit 47926 committed by NathanGray, allow for long-term client side caching of dataFetch responses. 2014-08-04 09:16:39 +00:00
1f9dbdbce5 * eTemplate2: fixed popups eg. tracker open empty, not rendering popup content 2014-07-21 13:38:50 +00:00
994d10fcde * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:03:18 +00:00
bd2a9c6f45 fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:25 +00:00
4104f793b2 Call applyFilters() function instead of setting directly, which skipped change detection.
Fixes selection not cleared when applying a favorite.
2014-07-14 14:11:41 +00:00
017ffe5e15 fixed javascript error "undefined attribute length" 2014-07-08 14:26:15 +00:00
a3a1d500ee set_preference now accepts an additional callback parameter, passed on to jsonq 2014-07-08 03:34:05 +00:00
d399e01ce8 new client-side API methods egw.dataSearchUIDs() and egw.dataRefreshUIDs() search for a given uid or regular expression and refreshing matching nextmatch rows, if somethings found 2014-07-04 08:55:37 +00:00
23cbc01e2c activating observer for admin instead of app_refresh and using it to invalidate client-side account-cache 2014-06-26 08:23:02 +00:00
d4bb8a00a9 move et2_call method to egw.js to have it always available at window scope (it is NOT et2 specific), maybe we find a better/nicer place for it 2014-06-23 08:10:40 +00:00
ff00c695ca new API method egw_framework::popup($link, $target="_blank", $popup="640x480") to open a popup independent of running a regular or a JSON request 2014-06-18 13:57:15 +00:00
715bbf9abe If a refresh of a particular UID is requested and server doesn't give it then remove it.
Fixes refresh where the row no longer match filters, but is still there.
2014-06-17 19:23:14 +00:00
2bc3ad43c0 Avoid undefined error when links is not provided 2014-06-10 15:27:11 +00:00
6d6e9d8a43 also replace p tags 2014-06-05 09:54:21 +00:00
07ec496a8e Decode stored favorite before parsing it, fixes missing umlauts 2014-05-27 18:52:44 +00:00
eaccfdfe1d Enhance error message to include request info 2014-05-27 14:53:34 +00:00
ddc17e8e0d allow null as well as undefined for message-type-detection 2014-05-26 15:39:21 +00:00