Commit Graph

838 Commits

Author SHA1 Message Date
Ralf Becker
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
Ralf Becker
065f772302 * 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:09:02 +00:00
Nathan Gray
5a4ca587bb Increase popup padding by 20x30 pixels 2014-10-07 23:28:33 +00:00
Hadi Nategh
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
Ralf Becker
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
Nathan Gray
0159f41877 Restore favorite's sort order along with filters 2014-10-01 15:41:50 +00:00
Ralf Becker
dbca9f2008 fix typo 2014-10-01 10:37:52 +00:00
Ralf Becker
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
Ralf Becker
98d6b45be2 switching off Javascript error-handler and -display in GUI 2014-09-30 20:31:07 +00:00
Ralf Becker
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
Ralf Becker
c775582af2 trigger blur on taglist in getValue() to not loose just typed content (previous fix stoped selection of suggestions by mouse) 2014-09-10 10:02:43 +00:00
Ralf Becker
e6ed7fc134 fix typing of an email-address in compose with direct click on send button (no tab out of taglist) looses just typed email 2014-09-09 11:47:00 +00:00
Ralf Becker
64f6aad5a2 nextmatch responses got cached for in meantime changed folder 2014-09-08 15:55:00 +00:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
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
Ralf Becker
4ce1b299b3 docu update and fix IDE warnings 2014-09-03 08:12:29 +00:00
Hadi Nategh
0bfbfd8b0b * Calendar: Fix sidebar calendar in pixelegg to not flicking while the mouse is over on dates, and gets expanded with sidebar column resize 2014-08-27 09:47:48 +00:00
Ralf Becker
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
Ralf Becker
7ca4255e25 fix error happening in browsers not supporting console object 2014-08-21 08:13:01 +00:00
Nathan Gray
6a8e85c3e1 Add drag&drop for email and link lists 2014-08-18 18:00:00 +00:00
Hadi Nategh
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
Hadi Nategh
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
Hadi Nategh
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
Hadi Nategh
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
Hadi Nategh
747a1eb619 Backport commit 47928 committed by NathanGray, Smarter cache expiry based on age 2014-08-04 09:18:01 +00:00
Hadi Nategh
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
Hadi Nategh
cf5b4b449d Get the socialMedia icons out of table and append it to form if it is pixelegg template 2014-07-25 09:48:06 +00:00
Hadi Nategh
b68cb6e5c0 Add login.js to phpgwapi in order to make it available for all templates. Implement socialMedia for jdots and idots templates too 2014-07-24 17:17:23 +00:00
Hadi Nategh
1912a14fe7 Add login.js to phpgwapi in order to make it available for all templates. Implement socialMedia for jdots and idots templates too 2014-07-24 17:13:46 +00:00
Klaus Leithoff
5b09927c45 * API/CKEditor: update to version 4.4.3; add additional skins 2014-07-22 09:07:29 +00:00
Ralf Becker
1f9dbdbce5 * eTemplate2: fixed popups eg. tracker open empty, not rendering popup content 2014-07-21 13:38:50 +00:00
Ralf Becker
f337b33502 * eTemplate2: fixed popups eg. tracker open empty, not rendering popup content 2014-07-21 13:38:23 +00:00
Ralf Becker
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
Ralf Becker
9712e625db * 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:02:51 +00:00
Hadi Nategh
a2bac6e07a 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-07-18 09:16:41 +00:00
Klaus Leithoff
430cba8991 * API/CKEditor: update to version 4.4.3; add additional skins 2014-07-18 07:56:43 +00:00
Ralf Becker
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
Ralf Becker
f49bbab26f 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:00 +00:00
Nathan Gray
9f9f5184fc If selected egwActionObject(s) contain data, use that over global data store. 2014-07-14 20:29:42 +00:00
Nathan Gray
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
Nathan Gray
8a36e40b10 Call applyFilters() function instead of setting directly, which skipped change detection.
Fixes selection not cleared when applying a favorite.
2014-07-14 09:59:02 +00:00
Ralf Becker
017ffe5e15 fixed javascript error "undefined attribute length" 2014-07-08 14:26:15 +00:00
Nathan Gray
a3a1d500ee set_preference now accepts an additional callback parameter, passed on to jsonq 2014-07-08 03:34:05 +00:00
Nathan Gray
08c10a70aa Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox. 2014-07-07 20:26:48 +00:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
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
Ralf Becker
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
Nathan Gray
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