Nathan Gray
b2cb70f15f
Use egw.LAB object if available
2013-04-12 16:30:30 +00:00
Ralf Becker
6577e30111
reverting change to original egw_json.js as it somehow needs to assign return value to some context to work
2013-04-12 16:23:10 +00:00
Ralf Becker
34a2f8c6e0
support for non-global func eg. "app.someapp.func" need to be in both egw_json objects (until we fix it so one calls the other)
2013-04-12 16:03:45 +00:00
Nathan Gray
eba9226dd3
Pass selected objects to callback
2013-04-12 10:27:04 +00:00
Ralf Becker
f7214ecd4f
docu fix
2013-04-12 08:23:23 +00:00
Nathan Gray
6d6feb06d7
Fix droppables to accept dragged if one of the types match
2013-04-11 12:53:23 +00:00
Nathan Gray
8192f13b3b
Fix typos preventing some drops
2013-04-11 12:22:34 +00:00
Nathan Gray
868c41643c
Only expire old data if there are no registered callbacks
2013-04-11 10:22:51 +00:00
Nathan Gray
8834d86818
Give a trace on all logs if debug level is 5 to help track things down
2013-04-10 14:14:06 +00:00
Nathan Gray
93eacb1b13
Show browser context menu when you ctrl + right click
2013-04-10 09:03:08 +00:00
Ralf Becker
26f54eb8ce
fixed error if get parameter has no equal sign, eg. /some/url?download
2013-04-09 16:17:43 +00:00
Nathan Gray
344bd88e4a
Open context menu with context menu key
2013-04-09 16:13:10 +00:00
Klaus Leithoff
86fbb6c966
add target ID to target.iface object
2013-04-09 15:43:42 +00:00
Klaus Leithoff
91dc1f9df9
allow for objectified egw functions like app.APPLICATION.
2013-04-09 14:39:56 +00:00
Klaus Leithoff
cd25f3e625
applying the context: suggested by nathan
2013-04-09 14:26:06 +00:00
Ralf Becker
a1d90ea237
get regexp to play nice with opening script tag without attributes
2013-04-09 12:47:44 +00:00
Ralf Becker
ff7cf9ff17
propset svn:keywords Id
2013-04-09 12:10:48 +00:00
Nathan Gray
a0d18dc8fb
Fix properties
2013-04-09 12:10:09 +00:00
Nathan Gray
f3209731f3
Add inheritance stuff
2013-04-09 12:08:44 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Klaus Leithoff
4ac1cd196c
* API: introduce optional parameter to pass java script to be executed after CKEDITOR instance ready
2013-04-08 12:48:45 +00:00
Ralf Becker
f7a9c20e1d
fixed typo in cache-control header, causing pages not getting cached, if clients used it in favor of Expires header
2013-04-05 10:23:58 +00:00
Klaus Leithoff
983c1e358d
* API/eMail/HTMLawed/CKEditor: tidy eats away even some wanted whitespace, so we switch it off;we used it for its compacting and beautifying capabilities, which resulted in better html for further processing
2013-04-04 12:32:53 +00:00
Ralf Becker
da32eb81fb
using egw.LAB.wait for jscalendar
2013-04-03 07:49:04 +00:00
Nathan Gray
70126e5698
Avoid additional visible border on some hidden popups
2013-04-02 21:41:43 +00:00
Klaus Leithoff
16a1970cca
add egw.LAB.wait to tree creation, as dhtmlxtree object may not be loaded on time
2013-04-02 13:36:58 +00:00
Klaus Leithoff
07f21d1291
make sure CKEDITOR is loaded, using egw.LAB.wait
2013-04-02 12:13:27 +00:00
Ralf Becker
6e28933f18
missing onLoad attibute in body tag, causing all sorts of things to fail
2013-04-02 08:13:37 +00:00
Nathan Gray
a20f7651a0
Wrap some more js
2013-04-01 22:19:10 +00:00
Nathan Gray
ef2a5d377d
Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors
2013-04-01 19:14:52 +00:00
Nathan Gray
8e66bc33bf
Fix error in window module instanciation
2013-04-01 19:06:47 +00:00
Nathan Gray
792152497c
When an ajax response includes a directive to load a javascript file, try to load it using the API - allows cache to skip known files
2013-04-01 18:39:03 +00:00
Ralf Becker
a29b69edae
using HTTP status 500 for exceptions, to ease detection of errors with externals tools
2013-03-29 09:44:03 +00:00
Ralf Becker
220650b53a
ckeditor 4 needs toolbarCanCollapse=true to honor toolbarStartupExpanded=false
2013-03-27 07:58:42 +00:00
Nathan Gray
d394cca06f
Avoid some init / destroy errors in color picker popup
2013-03-25 19:39:02 +00:00
Ralf Becker
84b3edbfcb
* Filemanager: fixed not working "Save as" for Internet Explorer (all versions), gave PHP Fatal Error
2013-03-25 18:26:57 +00:00
Nathan Gray
19aef757f6
Use window from egw object, if available - still not quite right
2013-03-25 16:58:33 +00:00
Klaus Leithoff
9425c1da14
* API/CKEditor: allow link dialog in simple-with-image feature mode (email)
2013-03-21 16:20:16 +00:00
Klaus Leithoff
77c15b226c
* API/CKEditor: allow more space for html-editable area (by setting smaller margin)
2013-03-21 11:06:51 +00:00
Klaus Leithoff
892910a76d
documentation on wanted functionality for allowed method fetch on egw_link::get_registry possibly provided by search_link
2013-03-21 10:27:12 +00:00
Nathan Gray
c8c45a582d
Style for empty row placeholder
2013-03-20 16:43:43 +00:00
Nathan Gray
732351a539
Remove debug logging
2013-03-20 16:43:07 +00:00
Ralf Becker
8ca1d8297b
* Filemanager: fixing problem creating new directory with cyrilic name, also generating etag for directories as required by ownCloud
2013-03-20 12:56:44 +00:00
Ralf Becker
da800182cb
* Projectmanager: showing again global categories and their color from all apps, do no remove datasource category when element get stored and no category is selected
2013-03-20 11:06:23 +00:00
Klaus Leithoff
229b09da8d
handle missing v2 skin
2013-03-18 16:02:35 +00:00
Klaus Leithoff
6204999b19
allow better config options for spell checking in ckeditor (add BrowserBased only)
2013-03-18 15:36:27 +00:00
Klaus Leithoff
8f2c59ac45
* API: enable browsers native spellchecker as default for HTML Editor, if e.g.: aspell fails - to use browsers native spellchecker, you have to hold CMD/CTRL button on rightclick to access the browsers spell correction options
2013-03-18 09:59:21 +00:00
Ralf Becker
428e71daad
documented required rewrite rule for Apache FCGI
2013-03-18 08:14:47 +00:00
Ralf Becker
fc4545d1ea
* CalDAV: preference to overwrite default on how many days to sync into past or future
2013-03-14 17:13:59 +00:00
Klaus Leithoff
382b12b29a
missing fallback on skins
2013-03-14 17:00:34 +00:00
Klaus Leithoff
d22fb56089
remove ckeditor3
2013-03-14 16:52:21 +00:00
Klaus Leithoff
a3ef1985ec
switch to CKEditor4
2013-03-14 16:30:55 +00:00
Klaus Leithoff
48687977f9
* API: add CKEDITOR4
2013-03-14 16:16:49 +00:00
Klaus Leithoff
308c4a2951
* CKEDITOR/API: Version update to 3.6.6.1; handle IE10 problems regarding input behavior on enter
2013-03-14 09:55:03 +00:00
Nathan Gray
e685a222dc
Avoid JSON error popup by checking for the queue before using it
2013-03-13 19:31:06 +00:00
Nathan Gray
68529ce692
Load et2 CSS in at the top level so it's available for sidebox
2013-03-12 22:45:58 +00:00
Klaus Leithoff
203316af08
improve focus management by forcing carent in all browsers to be placed at the start of the loaded document
2013-03-08 13:14:14 +00:00
Klaus Leithoff
a2e75c3ca4
further work regarding the editor focus
2013-03-06 09:17:21 +00:00
Ralf Becker
93710e09e1
* Setup/API: improved diagnostics about db connection problem and not installed EGroupware
...
- removed deprecated egw_db->Halt_On_Error handling in favor of just exceptions
- added a couple of exceptions extending egw_exception_db to be able to detect different problem areas
- fixed setup to use / catch exceptions
- new egw_exception_db_setup displays link to setup below exception message, to cope with no longer allowed html in exception messages
2013-03-05 10:50:43 +00:00
Klaus Leithoff
9b0623ff3a
fix typo/copy and past error on dataGetUIDdata
2013-03-04 16:25:39 +00:00
Klaus Leithoff
2b27946d6f
* eMail/api: attempt to fix the focus on body issue with FF; thanks to CKEditor support
2013-03-04 11:50:17 +00:00
Ralf Becker
ea6e8c8e94
* ImportExport: do NOT complain about wrong charset, if text contains only standard ascii chars
2013-03-01 09:51:02 +00:00
Nathan Gray
9616e44aff
Add ability to get all an application's preferences with '*'
2013-02-27 18:08:03 +00:00
Nathan Gray
987af6b473
Pass along internal lastModification time, and use it
2013-02-27 18:00:15 +00:00
Ralf Becker
139c12821a
added method to access data: egw().dataGetUiddata(_uid)
2013-02-27 12:41:19 +00:00
Klaus Leithoff
3fcc703375
do not try to break out of egw server root when iterating over all apps
2013-02-26 11:08:20 +00:00
Ralf Becker
59e60c523b
error-handler to throw recoverable errors (eg. catchable fatal error from type hinting) as ErrorException
2013-02-25 14:36:44 +00:00
Ralf Becker
84ed911c97
* CalDAV/CardDAV: removed unnecessary (double) etag generation and improved calendar etag generation for recurring events
2013-02-25 11:17:59 +00:00
Ralf Becker
a50f785224
fixed wrong call name2id to get account_lid of owner, causing lot of database access and returning nothing, as account_id for given
2013-02-25 10:30:44 +00:00
Ralf Becker
1d2a4ae065
ignore "broken" grants (eg. negative account_id for a user), as they lead to further errors (no members)
2013-02-25 09:48:58 +00:00
Ralf Becker
a6f869be64
* WebDAV/CalDAV/CardDAV: implemented support for clients sending passwords with non-ascii chars (eg. acents or umlauts) in iso-8859-1 instead utf-8: Firefox, Thunderbird, IE, Netdrive
2013-02-22 13:32:29 +00:00
Klaus Leithoff
a09ef26c5c
use monospace fontstyle for plaintext edit; preserve whitespace (horizontal AND vertical) if mail is plaintext (not containing any html)
2013-02-22 10:58:39 +00:00
Klaus Leithoff
98120c44b3
omit unit, when no size is given; display unit to the user, so he knows what he is selecting
2013-02-22 09:45:47 +00:00
Klaus Leithoff
2315944590
preset font span, omit empty style elements completely
2013-02-22 09:27:35 +00:00
Nathan Gray
03c9c0804f
Split panel widget. Mostly working, needs some more special case for working with nm - they both want full page
2013-02-22 00:25:41 +00:00
Ralf Becker
0c11206d91
change default font unit for new installs to "pt" and fixed not set font-size in email
2013-02-21 13:19:15 +00:00
Ralf Becker
f158a8c5d2
* Preferences/all apps: allow to specify font size unit of richtext editor: either "px" display pixels or "pt" as used in word processing
2013-02-21 11:32:46 +00:00
Ralf Becker
ef1756438e
* Preferences/EMail: if user changed password, update password in session correct, so eg. EMail using that password keeps working
2013-02-21 09:43:38 +00:00
Ralf Becker
151b800a5a
ignore . and .., as it gives an open_basedir warning, it is no application directory anyway
2013-02-21 06:32:30 +00:00
Ralf Becker
ea411d53c8
* Filemanager: removing extended ACL for groups was not immediatly reflected in rights of current user, had to log out and in again
2013-02-20 13:59:31 +00:00
Ralf Becker
9b88b849f6
* SiteMgr: sitewide config to allow proxys and CDNs caching of anonymous requests (Expires and Cache-Control header)
...
apps can now enable public caching by either setting $GLOBALS[egw_info][flags][nocachecontrol] to "public" (default php.ini session.cache_expire) or a numeric value in seconds, or call egw_session::cache_control()
2013-02-19 15:34:19 +00:00
Nathan Gray
89ec3ba866
Add some images of Class Diagram
2013-02-15 16:46:16 +00:00
Ralf Becker
d44e448976
include unsuccessfull session creation and reason in debug logging
2013-02-15 16:15:52 +00:00
Nathan Gray
a325583643
Add some overview of how this stuff fits together
2013-02-15 15:55:23 +00:00
Ralf Becker
52ea94cbee
using LABjs to load javascript files in order via egw.includeJS
2013-02-15 15:30:35 +00:00
Nathan Gray
a3647e1b00
Implement refreshing a single UID, limit known UIDs sent to server to 200
2013-02-14 11:22:27 +00:00
Nathan Gray
547d125a30
Check app_refresh to not get an error if an application overrides app_refresh() instead of using register_app_refresh()
2013-02-14 11:11:17 +00:00
Nathan Gray
588c6141c9
Return true to not throw an exception if the plugin worked
2013-02-14 11:01:50 +00:00
Ralf Becker
5f1c76ae91
refactored js loading a bit, to be able to get files to load for et2
2013-02-13 16:28:39 +00:00
Ralf Becker
cbe137876a
docu for egw_include_mgr
2013-02-13 16:27:52 +00:00
Ralf Becker
90370bc387
tracking state of existing script tags and allow to specify multiple callbacks for loading of javascript files
2013-02-13 16:26:42 +00:00
Klaus Leithoff
33aac37741
add new images to visualize that a folder may not be selectable
2013-02-13 13:57:35 +00:00
Nathan Gray
33e94d355c
Fix app_refresh to support applications that set window.app_refresh instead of calling register_app_refresh()
2013-02-13 12:47:17 +00:00
Nathan Gray
f2fc558e19
- Add static methods to get into etemplate2 widget context from outside. Call etemplate2.getByApplication(app) or etemplate2.getByTemplate(name) for a list of etemplate2 objects
...
- Add register_app_refresh() function to allow applications to specify a more intelligent way to refresh them
- Change egw_refresh() to call registered refresh function, or if etemplate2 is available try that over reloading the whole page
2013-02-12 15:46:14 +00:00
Ralf Becker
4f247b26f8
merged translations and other uncommited ones
2013-02-08 19:03:20 +00:00
Ralf Becker
abba55b569
German translations from Stefan, plus some Suomi translations
2013-02-08 16:22:47 +00:00
Ralf Becker
763279562c
fixed event handling in tree, added tree specific onSelect and onCheck events, implemented !multiple mode and fixed dhtmlxtree to not trigger onSelect if selection is change via set_value (according to their documentation)
2013-02-08 13:23:58 +00:00
Ralf Becker
52ac0dd0b3
fix lang.php always returning all translations, because preferences::standard_substitutes loads them
2013-02-07 15:32:18 +00:00
Nathan Gray
5513df1277
Fix bug in link handling that lost extra vars when extra vars are already in url
2013-02-06 15:04:26 +00:00
Nathan Gray
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