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
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
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
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
Ralf Becker
1f9dbdbce5
* eTemplate2: fixed popups eg. tracker open empty, not rendering popup content
2014-07-21 13:38:50 +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
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
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
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
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
Nathan Gray
2bc3ad43c0
Avoid undefined error when links is not provided
2014-06-10 15:27:11 +00:00
Ralf Becker
6d6e9d8a43
also replace p tags
2014-06-05 09:54:21 +00:00
Nathan Gray
07ec496a8e
Decode stored favorite before parsing it, fixes missing umlauts
2014-05-27 18:52:44 +00:00
Nathan Gray
eaccfdfe1d
Enhance error message to include request info
2014-05-27 14:53:34 +00:00
Ralf Becker
ddc17e8e0d
allow null as well as undefined for message-type-detection
2014-05-26 15:39:21 +00:00
Ralf Becker
28b45639be
to give observer method of other apps more information about what to refresh, server-side adds now links to refresh-opener and therefore observer calls
2014-05-26 13:29:35 +00:00
Ralf Becker
b1603f4fd3
support <br/> and a single <a href="...">Text</a> (no further attributes!) in egw.message()
2014-05-26 13:05:40 +00:00
Ralf Becker
ddc1b2d673
docu update about how to stop regular refresh
2014-05-23 09:20:42 +00:00
Ralf Becker
7edd12d251
run observers in main window (eg. not iframe, which might be opener!)
2014-05-23 09:19:46 +00:00
Ralf Becker
24ee68bdf2
fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
...
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Ralf Becker
893091e286
- new app.js observer method which receives update notifications from all apps
...
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Hadi Nategh
b3ee7bc605
Make sure if the refresh is done, then give up not to reload the whole page
2014-05-22 11:27:29 +00:00
Nathan Gray
33f264346a
Fix error deleting a favorite
2014-05-13 21:39:23 +00:00
Ralf Becker
19fc7acb7f
top.egw is a function not an object
2014-05-13 08:48:27 +00:00
Ralf Becker
ac220a6e82
using egw.is_popup() which deals with situation of egw main-window having an opener (eg. bookmark)
2014-05-13 06:44:50 +00:00
Nathan Gray
9a8182480f
Stop popups from re-initializing sidebox. Fixes favorites causing whole application to reload after saving a popup.
2014-05-12 20:36:18 +00:00
Ralf Becker
194606b196
public method to translate between PHP and jQuery date(Time)Picker date/time-format
2014-05-08 15:57:07 +00:00
Ralf Becker
b111f5005b
fixed select-accounts show only part of users, caused by previously trying to extend now used array
2014-05-07 15:51:45 +00:00