Andreas Stöckel
4bb00f1475
Fixed problems with include manager. Includes like 'phpgwapi.jquery.jquery.ui' do now work.
2011-09-09 11:41:14 +00:00
Ralf Becker
ea03c4032b
implemented link attributes for image-widget and added them to xulio, some docu for describtion
2011-09-08 20:44:53 +00:00
Nathan Gray
6585ff14e6
Add a place for egroupware to tap into file request before it's sent
2011-09-08 20:32:58 +00:00
Ralf Becker
008f009d80
- implemented new egw.link_app_list(_must_support) and egw.link_get_registry(_app, _name) methodes
...
- using egw.link_app_list('query') in link widget (no need to transfer it additonally)
- added some more docu to egw object
2011-09-08 12:24:53 +00:00
Ralf Becker
b950c5b811
fixed typo causing search for group-members to fail for accounts in sql
2011-09-08 09:57:32 +00:00
Nathan Gray
65a37234c4
Add some jquery resources - CSS and icons.
2011-09-07 23:32:03 +00:00
Ralf Becker
f5c5df3299
respect restrictive account-selection "groupmembers" and "none" when linking with accounts and sort search for accounts alphabetically
2011-09-07 16:44:00 +00:00
Ralf Becker
b633044a46
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 14:47:51 +00:00
Ralf Becker
8d28765f76
% should be encoded, but easily leads to double encoding, therefore better NOT encodig it in egw_vfs::encodePathComponent()
2011-09-07 08:40:52 +00:00
Ralf Becker
c23450ea73
deal with parsing of query parameters appending an "=" to "?download", accepting "?download=" too
2011-09-06 07:23:02 +00:00
Ralf Becker
366bad914d
* Filemanager/WebDAV: #?+ and chinese characters working now in filenames
2011-09-05 10:25:28 +00:00
Nathan Gray
8875c94c24
Async file uploads
2011-09-01 22:07:30 +00:00
Ralf Becker
046c0919cc
make basic data of current user available via egw.user(_field)
2011-08-31 12:17:34 +00:00
Ralf Becker
54bf7a3d2d
- fixed image map was empty created when not loged in (now directories are used and not $GLOBALS['egw_info']['apps'])
...
- fixed not working vfs-image-dir
- deleteing image-maps when:
+ apps get installed, updated or removed
+ admin >> register hooks
+ admin >> site configuration: vfs-image-dir get changed
- fixed not displayed validation errors (thought there were no validation) in admin >> site config
--> you need to register hooks, in order to get the admin >> site configuration validation hook ;-)
2011-08-31 10:16:12 +00:00
Ralf Becker
5d83c036e0
forgot to switch of error_log for not found images, as that happens regulary in some parts of EGroupware
2011-08-31 08:01:18 +00:00
Ralf Becker
19d167f5be
fixed not working jerryr template set, needs image_on and previously not working template image dir
2011-08-31 07:52:19 +00:00
Ralf Becker
7868b684cd
using php5 constructors
2011-08-31 07:50:28 +00:00
Ralf Becker
1e7b17203f
- if image not found, check if it might contain extension and try without (better is not to use extension at all!)
...
- changed default to current app as in API, but it is not yet working, because egw object runs in framework for jdots :-(
2011-08-31 06:26:05 +00:00
Ralf Becker
ea7ad6318d
new clientside image-name to url map: egw.image(_name, _app="phpgwapi")
...
eg. egw.image('favicon') returns '/egroupware/phpgwapi/templates/default/favicon.ico'
--> pondon to serverside common::image($app,$name) method
2011-08-30 22:19:38 +00:00
Ralf Becker
dce02a03cb
re-added common::find_image() and common::image_on() as deprecated
2011-08-30 22:16:31 +00:00
Ralf Becker
a048840e44
use one instance specific image_map to translate between image-names and URLs, which can be transfered to the browser for etemplate2 (next commit)
2011-08-30 22:03:17 +00:00
Ralf Becker
a654002f7b
* WebDAV: allow locking of not (yet) existing files to create them
...
- failed before as there are no write-rights for not existing files
- now we check for not existing files the write rights of the parent directory
2011-08-30 17:03:34 +00:00
Andreas Stöckel
0bb328dc6d
Initializing configs variable with empty object, to have code running standalone
2011-08-30 09:15:00 +00:00
Nathan Gray
331cd20bf3
Add base64 functions for communciationg with felamimail
2011-08-29 21:14:09 +00:00
Ralf Becker
4a1f4fff8c
* Filemanager: "Save as" option for files to force download and not open in browser
2011-08-29 08:40:22 +00:00
Ralf Becker
ae5cde8259
fix bug reported on devel-list:
...
egw_cache::get_provider(Instance) no provider found (error instanciating provider egw_cache_files: egw_cache_files::__construct() server/temp_dir
--> made egw_cache::get_config_value public, so egw_cache_files can use it and for regular egw sessions read install_id and temp_dir together with system_charset, before calling config::read()
2011-08-29 05:58:54 +00:00
Ralf Becker
edab2bd248
$GLOBALS['egw_info']['server']['lang_ctimes'] is now an array
2011-08-28 12:48:31 +00:00
Ralf Becker
4c23b3766e
egw API update missed in r36331:
...
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-28 08:28:53 +00:00
Ralf Becker
a8af711f11
add backtrace to failed includes, to see where it comes from
2011-08-27 08:48:27 +00:00
Ralf Becker
be6fd87783
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
...
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-26 16:27:57 +00:00
Ralf Becker
389486793d
- config is now cached on instance level
...
- arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
- new static method to check if user is export-limit excepted
--> saves to query it on each request (for non-phpgwapi, which was already cached in the session)
2011-08-26 13:50:20 +00:00
Ralf Becker
a925764fc4
- dynamical (synchronious) loading preferences (other then "common") from server via egw.preference(_name, _app)
...
- setting preferences on server via egw.set_preference(_app, _name, _value)
- enable calling of active framework / template class via using egw_framework instead of not known used framework class of user, eg. "home.egw_framework.ajax_func.template" instead of "home.idots_framework.ajax_func.template"
2011-08-26 09:34:18 +00:00
Klaus Leithoff
4effb9931e
fix problem with double encoding html special chars (introduced with rev36141)
2011-08-26 08:21:04 +00:00
Ralf Becker
d295c17e90
fix for community.egroupware.org bug #3027 : Open item in element list no longer working
2011-08-26 07:31:18 +00:00
Andreas Stöckel
55bf8f9570
additional check for existance of application in lang array
2011-08-23 17:11:45 +00:00
Ralf Becker
16c6a8d4f9
got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted"))
2011-08-23 16:15:54 +00:00
Ralf Becker
24e34f7927
new clientside API object currently supporting the following methods:
...
- egw.preferences(_name, _app='common') return preference _name of _app (only common prefs loaded currently)
- egw.open() allowing to open app-entries utilising the link registry, deprecating egw_open from jsapi.js
- egw.lang(_msg, _arg1, ..., _argN) placeholders are not yet implemented
2011-08-23 14:29:56 +00:00
Klaus Leithoff
050a1307cb
* API: take care of INNODB and STRICT_TRANS_TABLES for recent mysql installations
2011-08-22 10:16:07 +00:00
Ralf Becker
7dd54648b9
merging all translations in window.egw_lang, to not have to search n-arrays
2011-08-21 20:22:09 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00
Ralf Becker
750f80b23b
fix to work with path containing a query
2011-08-21 20:01:10 +00:00
Klaus Leithoff
bda5e014d7
* tracker: mailhandling - prevent to use rsh or ssh to establish connection
2011-08-18 14:49:16 +00:00
Nathan Gray
1761ea02db
Add in jquery.tools form tools
2011-08-17 21:35:22 +00:00
Ralf Becker
697a113171
url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x®_id=" fails otherwise
2011-08-16 11:44:33 +00:00
Hans-Jürgen Tappe
b176cb9256
- Allow sitemgr blocks to be moved between pages, categories and websitewide
...
(previously only moving from a page up to the cat, then up globally was
possible).
- Allow options within a select to be formatted through the standard
html::select_option() function
2011-08-15 16:25:08 +00:00
Andreas Stöckel
c999373490
Added possibility for egw_json plugins to be executed in the context of the creator of the request object
2011-08-15 14:26:37 +00:00
Ralf Becker
2a95927fc8
added update from 1.8.002
2011-08-11 19:04:40 +00:00
Ralf Becker
4f54abdda2
quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106
2011-08-11 07:31:47 +00:00
Ralf Becker
9c82896a7b
quietened PHP Warning: in_array() expects parameter 2 to be array, boolean given on line 855
2011-08-11 07:23:29 +00:00
Nathan Gray
a30b864ddd
Add jqplot for graphing
2011-08-09 23:10:50 +00:00