Commit Graph

35 Commits

Author SHA1 Message Date
4d7f00d0fd nextmatch responses got cached for in meantime changed folder 2014-09-08 15:45:37 +00:00
414eeec511 fix javascript error caused by caching using a string context, searching now for a nextmatch one 2014-09-08 14:59:19 +00:00
951768885a 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:32:44 +00:00
6ec9df222f 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 14:33:13 +00:00
6e831aaad9 docu update and fix IDE warnings 2014-09-03 08:11:59 +00:00
a09fae5f43 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-06 21:00:31 +00:00
f361373455 - 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-04 17:04:11 +00:00
ffb986f560 Handle if ID is not a string instead of erroring. 2014-07-28 23:11:22 +00:00
2fe7b34081 Smarter cache expiry based on age 2014-07-28 22:07:47 +00:00
df76846b37 Allow for long-term client side caching of dataFetch responses. 2014-07-28 21:17:06 +00:00
017ffe5e15 fixed javascript error "undefined attribute length" 2014-07-08 14:26:15 +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
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
aa3c0ca7c0 Pass along last modification time to callback 2014-03-18 22:28:50 +00:00
8228b9512d Fix type attribute check to work 2014-01-13 08:58:16 +00:00
31987e9704 Check result type, if it's not 'data' quietly reject - fixes warning in multi-part responses 2014-01-11 11:40:30 +00:00
72c3d211be One more fix needed to allow :: inside UIDs 2013-12-09 21:13:59 +00:00
33b01975b2 Allow :: inside data UIDs 2013-11-28 20:16:33 +00:00
31a42e3110 Use current app to get around missing etemplate run rights 2013-11-13 23:22:44 +00:00
868c41643c Only expire old data if there are no registered callbacks 2013-04-11 10:22:51 +00:00
9b0623ff3a fix typo/copy and past error on dataGetUIDdata 2013-03-04 16:25:39 +00:00
987af6b473 Pass along internal lastModification time, and use it 2013-02-27 18:00:15 +00:00
139c12821a added method to access data: egw().dataGetUiddata(_uid) 2013-02-27 12:41:19 +00:00
a3647e1b00 Implement refreshing a single UID, limit known UIDs sent to server to 200 2013-02-14 11:22:27 +00:00
616e94a7b4 Add the ability to specify the client-side data cache prefix, to avoid collisions in applications where there can be more than one type of data 2013-02-06 10:49:46 +00:00
71456ff8ef Force nextmatch to load affected rows by clearing the data from data store 2012-06-06 21:56:18 +00:00
cfa9c190bb Implemented keyboard navigation and data retrival for uids 2012-03-29 14:11:22 +00:00
0ae151e638 Got selection working; only problem left with popup menus is, that entries don't get focused on rightclick 2012-03-28 15:36:17 +00:00
34a43e8869 Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification 2012-03-26 15:28:02 +00:00
7f57f28f38 Deactivated last commit (slow because pending requests are ignored), lastModification is now set per app in the model 2012-03-23 16:38:08 +00:00
eadeb57f28 Fixed problem with registered data callbacks, when the window the callback belongs to is closed 2012-03-23 13:39:27 +00:00
b134b36678 fixed some issues with egw_data, improved egw_json exception handling 2012-03-23 12:45:13 +00:00
23f221456f Fixed problem with IE, adapted egw_data.js to specification changes 2012-03-23 12:06:52 +00:00
514375e2b6 knowUids instead of knowRanges, widgetId and some docu changes 2012-03-20 12:37:45 +00:00
a45f2d5c69 Commited egw_data.js 2012-03-20 12:05:31 +00:00