Ralf Becker
bdf5c436dd
stop redirection loop
2015-05-01 16:34:28 +00:00
Ralf Becker
e69df78ab8
respect download_url given by vfs
2015-05-01 10:52:24 +00:00
Nathan Gray
db0e368f86
Do not warn about translating nulls, just return empty string
2015-04-21 19:47:23 +00:00
Nathan Gray
611c35fc5f
Silence some spurious warnings on null and ""
2015-04-16 16:19:41 +00:00
Nathan Gray
e9d73a08f2
Do not remove rows that just have not changed.
...
Fixes linking two rows caused them to disappear.
2015-04-14 19:56:15 +00:00
Hadi Nategh
ff507682eb
Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time
2015-03-27 10:46:56 +00:00
Hadi Nategh
c3eed99cdd
Introduce new target type called "_browser", in order to specify browser default link handling
...
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Hadi Nategh
585d42dbde
Try to open contents, which have no mime type registered, properly in different browsing environments
2015-03-26 13:41:16 +00:00
Ralf Becker
5887bc4313
* Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme
2015-03-25 17:48:24 +00:00
Ralf Becker
ffceb37973
WIP attachment handling via mime-registry
2015-03-24 09:43:38 +00:00
Nathan Gray
62019e52eb
Wrap this into jQuery object, so remove() works in IE
2015-03-19 16:08:16 +00:00
Hadi Nategh
028ab9644b
Add API for browser localStorage
2015-03-19 09:34:06 +00:00
Ralf Becker
b1e5fac775
fix error caused by browser popup blocker and display popup blocked warning for quick-add selectbox
2015-03-18 10:36:47 +00:00
Nathan Gray
f078a2ae82
Fix for protocol detection and problems converting absolute to relative paths, from Thomas Kurschel.
2015-03-17 14:47:24 +00:00
Hadi Nategh
715bcbd92d
Do not trigger window resize for mobile devices as they are getting opened fullscreen anyway
2015-03-17 14:15:20 +00:00
Nathan Gray
a304a6b28e
Avoid occasional 'TypeError: Cannot read property '0' of null' error from aborted JSON when debugging.
2015-03-09 15:23:07 +00:00
Hadi Nategh
b532620241
Fix add email item from addressbook context menu always open new compose, no matter if there is already one exist
2015-03-02 10:23:13 +00:00
Nathan Gray
9ccb5f7a14
Change the document thumbnails to mark with mimetype icon
2015-02-25 18:07:21 +00:00
Nathan Gray
2a939d0c6f
Add handler for dropping mail into infolog
2015-02-24 19:07:48 +00:00
Nathan Gray
a6bb56d2e1
Fix bug in rule removal prevented adding more rules
2015-02-19 17:14:31 +00:00
Ralf Becker
17f83d89c7
add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s
2015-02-13 08:27:08 +00:00
Nathan Gray
e1e870c174
Add initial support for PDF thumbnails
2015-02-12 18:24:47 +00:00
Ralf Becker
d0afb453a0
* ImportExport: links supposed to open in admin did not show admin sidebox with tree
2015-02-11 09:43:29 +00:00
Ralf Becker
90e475eff3
allow to use "availHeight" in openPopup() too
2015-02-06 16:43:36 +00:00
Hadi Nategh
13684d4903
Activate cross-browser autocomplete
...
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Ralf Becker
6bbf3661b2
garding againts data set in egw object by reference from an other window, causing data to be inaccessible in IE after window closes
2015-02-02 19:49:18 +00:00
Ralf Becker
5a09fc60c1
fix wrong parameter order in call to egw.config() by removing it completly, as session is anway instance specific (and due to wrong order returned key was always empty)
2015-02-02 19:47:32 +00:00
Ralf Becker
95a85c6cf5
fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails
2015-01-30 16:59:31 +00:00
Hadi Nategh
436424c1c7
Revert back the window close to normal timing as delay breaks closing of compose dialog
2015-01-30 15:25:47 +00:00
Ralf Becker
8633eb416e
we have to wait a little, to give browser time to same autocomplete values
2015-01-29 18:04:49 +00:00
Ralf Becker
d46def6606
make sure null is returned as null, not as empty object ({})
2015-01-15 20:11:23 +00:00
Hadi Nategh
f9e28d24e8
Make a delay before favorites sorting action starts in order to prevent accidental sorting action
2015-01-14 17:00:47 +00:00
Ralf Becker
4a12f12683
using new mime icons for tile view in 64x64
2015-01-11 18:06:13 +00:00
Ralf Becker
85bcd0200d
modernized login- and start-message editing a bit
2015-01-09 18:58:23 +00:00
Hadi Nategh
0d2932d0a6
Return clone of preference object as we don't want direct reference to original object
2015-01-08 13:43:33 +00:00
Ralf Becker
94d91f3ac8
allow to unset a preference by calling egw.set_preference(app,name)
2015-01-08 13:13:02 +00:00
Hadi Nategh
3e790be681
Prevent egw window resize happens on each reload even if the window has not been resized manualy
2015-01-06 14:52:41 +00:00
Hadi Nategh
6ad027d446
Use widget value in options while we may have no get_value like readonlys
2015-01-05 15:12:10 +00:00
Hadi Nategh
39cc660c0d
Implement set window title for each application with a default title field or define an app specific custom get title
2015-01-05 14:28:35 +00:00
Nathan Gray
8fb1418b3b
Some thumbnail enhancements:
...
- Allow client to cache thumbnails for 5 minutes, makes scrolling with tile view more bearable
- If thumbnail size is 64px or larger, extract & use thumbnail from opendocument files, makes them look better in tile view
2015-01-02 19:43:50 +00:00
Ralf Becker
0b8ad9798c
set default thumbnail size to 64px and fix IDE warnings
2014-12-11 09:57:31 +00:00
Hadi Nategh
e59e843707
Fix passing wrong context to egw.refresh
2014-12-10 13:33:42 +00:00
Hadi Nategh
0eb5418103
Call egw message on top window if not in popup and window is not equal to top window
2014-12-10 11:05:29 +00:00
Hadi Nategh
af05aa9471
Removes setMessage from framework, as egw_message handles all cases now, and bind click handler to dismiss the message when we create the element
2014-12-10 10:32:51 +00:00
Ralf Becker
4d80104403
allow to disable date widget with set_readonly on run-time
2014-12-02 17:19:13 +00:00
Hadi Nategh
e8056c388b
Implement mobile framework popup resize
2014-12-01 17:38:52 +00:00
Ralf Becker
fa0a10a840
moving egw_openWindowCentered() to egw(window).openPopup()
2014-12-01 10:44:51 +00:00
Ralf Becker
493bc485f1
fix resize to work with zoom at least up to 125%, by calling resize a 2. time
2014-11-28 14:00:40 +00:00
Nathan Gray
bcc3499c4c
Prevent tooltips from going off the side of popups
2014-11-27 17:38:37 +00:00
Ralf Becker
3f8acc1fd1
set opener as early as possible for framework popups
2014-11-27 17:34:06 +00:00
Hadi Nategh
7984f04078
Override window.close() with framework specific close function
2014-11-27 17:01:47 +00:00
Ralf Becker
f17042b34d
have to wait for script files to be loaded, before calling egw.link_handler or any other egw method
2014-11-26 18:37:36 +00:00
Ralf Becker
076b928d39
also switching to "internal" popups for mobile theme
2014-11-26 17:06:46 +00:00
Hadi Nategh
23d4e045f3
Call framework specific window opener if it is on mobile framework
2014-11-26 16:58:03 +00:00
Ralf Becker
9e20212b3e
* API: report failed Ajax requests to user incl. a hint that server error-log should contain more information
2014-11-21 16:16:24 +00:00
Ralf Becker
8aa71722ee
clientside redirect ignore appname only for popups, not eg. iframes like in admin
2014-11-19 16:10:39 +00:00
Ralf Becker
5eeac7093c
use filemanager UI as UI for sharing directories
2014-11-18 12:55:32 +00:00
Nathan Gray
95e343cb27
Drag & Drop support for [infolog] favorite to Home
2014-11-11 23:11:16 +00:00
Ralf Becker
df7025f879
allow app to specify "availHeight" for its popup height and keep that height in automatic resize, for OS (eg. Linux) does not report an availHeight < height, we subtract 100px
2014-11-10 10:41:23 +00:00
Ralf Becker
6c7c29316a
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:09:38 +00:00
Hadi Nategh
fed76559fa
Fix scrolling of content in iframes for touch devices (applied for iOS)
2014-10-23 13:44:40 +00:00
Ralf Becker
af048109ee
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:51:37 +00:00
Hadi Nategh
23c0285825
Make sure the this object is avaliable before addressing it.
...
-Fix error in calender views which was happening after dnd
2014-10-21 08:58:33 +00:00
Ralf Becker
2778b48273
fix popup detection to cope with window.opener being a reference to itself --> should NOT be detected as popup
2014-10-17 08:22:28 +00:00
Nathan Gray
5082d8a634
- Better popup resize calculations
...
- Test new popup size for addressbook
2014-10-15 15:52:07 +00:00
Ralf Becker
424b4c451c
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
2014-10-15 14:55:08 +00:00
Ralf Becker
29cae75178
fix IDE warnings / documentation and move "use strict" from global scope to object itself
2014-10-09 09:34:24 +00:00
Nathan Gray
7bcf736f09
Increase popup padding by 20x30 pixels
2014-10-07 23:26:25 +00:00
Hadi Nategh
3404c704a6
Make sure state object exists
...
-Fix error "Cannot read property 'sort' of undefined" for favorites without state
2014-10-02 09:06:15 +00:00
Nathan Gray
f8540288d8
Check that array entry is there before looking into it.
...
Prevents error when accessing deleted user.
2014-10-01 15:53:31 +00:00
Ralf Becker
d736d6cb4a
fix typo
2014-10-01 10:37:30 +00:00
Ralf Becker
6be491d6eb
stop egw.debug("error",...) to show error to user, if LOCAL_LOG_LEVEL=0, which we currently set in source
2014-10-01 10:34:50 +00:00
Ralf Becker
81f68e09d6
switching off Javascript error-handler and -display in GUI
2014-09-30 20:30:46 +00:00
Nathan Gray
70689708a3
Restore favorite's sort order along with filters
2014-09-26 19:15:50 +00:00
Ralf Becker
3093cb6b85
fixed not working refresh of user category list called via top-menu after adding/editing a category
2014-09-25 16:03:28 +00:00
Ralf Becker
4d7f00d0fd
nextmatch responses got cached for in meantime changed folder
2014-09-08 15:45:37 +00:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
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
Ralf Becker
6e831aaad9
docu update and fix IDE warnings
2014-09-03 08:11:59 +00:00
Ralf Becker
28d195417c
fix error happening in browsers not supporting console object
2014-08-21 08:12:31 +00:00
Nathan Gray
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
Nathan Gray
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
Hadi Nategh
22d6d80aae
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-04 14:02:05 +00:00
Nathan Gray
ffb986f560
Handle if ID is not a string instead of erroring.
2014-07-28 23:11:22 +00:00
Nathan Gray
2fe7b34081
Smarter cache expiry based on age
2014-07-28 22:07:47 +00:00
Nathan Gray
df76846b37
Allow for long-term client side caching of dataFetch responses.
2014-07-28 21:17:06 +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
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
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
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
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