Commit Graph

6496 Commits

Author SHA1 Message Date
Ralf Becker
b5269738d7 read-free-busy, schedule-send and schedule-deliver privileges 2011-09-22 18:46:16 +00:00
Klaus Leithoff
afb4dff864 * API/CheckPasswordAge: new approach to the issue, as we have to take into account that the timestamp of the last password change may not be provided by the auth system. We fetch the timestamp from the authsystem if the method is implemented for the auth method configured (instead of juggling with account_lastpasswd_change or account_lastpwd_change) 2011-09-22 15:29:41 +00:00
Ralf Becker
c26fcffda7 first step for CalDAV scheduling
- principal reports scheduling-inbox-URL /<username>/inbox/ and scheduling-outbox-URL /<username>/outbox/
- outbox collection contains no events
- outbox correctly answers POST for freebusy information
- outbox respons to all other POST with "204 No Content", ignore client request to deliver invitations
- inbox collection contains events of unknown status (PARTSTAT=NEEDS-ACTION)
- inbox responds to DELETE with "200 Ok"
--> iCal under OS X now shows freebusy times :-)
(had to add "write-content" privilege for calendar collections user has edit rights for, to allow adding events)
2011-09-22 15:22:52 +00:00
Ralf Becker
1f39e5c562 - added WebDAV ACL props supported-privilege-set and current-user-privilege-set
+ currently only standard WebDAV privileges: read, read-current-user-privilege-set, write-content, bind and unbind used
  + they get only queried for collections, thought we dont report any write* on collections, as we dont allow to create calendars or change properties
- new groupdav::add_resource() method used to add all resources (incl. collections) to propfind or report requests
- improved autoindex to show nicely indented hierarchical properties
2011-09-21 20:08:21 +00:00
Ralf Becker
d5f9c5b93c - show user collections /<username>/(addressbook|calendar|infolog)/ in propfind
- only define addressbook-home-set and calendar-home-set for principal-collections
- advertice /addressbook/ as addressbook-gateway (searchable collection for all contacts accessible to a user)
2011-09-20 19:16:24 +00:00
Nathan Gray
4a3c3cf659 Add fallback handling using typeof when input.constructor fails 2011-09-19 23:19:16 +00:00
Ralf Becker
8b74af09c5 correctly handle (forced) user preference account-selection "none" or "groupmembers": do not show other groups or users 2011-09-19 14:15:33 +00:00
Ralf Becker
b848d23ef3 fixed no longer possible direct access/mount of VFS root via WebDAV after r36606 2011-09-19 11:39:46 +00:00
Ralf Becker
03ed1d3ddb - refactored code to use a single add_collection method in groupdav class
--> app groupdav classes now get calling groupdav object as parameter
Had a quick test with iOS & OS X addressbook, calendar and with Lightning
2011-09-18 10:56:56 +00:00
Ralf Becker
b49aae4675 - using now associative properties for easier extending, which get converted at end of add_collection to HTTP_WebDAV_Server properties
- added addressbook-findshared report to principals
2011-09-17 12:31:47 +00:00
Ralf Becker
f61e4dfcfa added collection to /principals/ resourcetype and principal-collection-set to root 2011-09-17 12:29:51 +00:00
Ralf Becker
cea61e2436 fixed typo stalling mail notifications 2011-09-16 16:11:05 +00:00
Ralf Becker
7f7e84afaa activating calendar-proxy in OPTIONS 2011-09-16 11:48:28 +00:00
Ralf Becker
2a7127a4c3 show real namespaces instead of not (visibly) defined shortcuts 2011-09-16 10:21:40 +00:00
Ralf Becker
6ce0906838 * CalDAV: implemented calendar proxy support and cleaned up principals tree 2011-09-15 22:45:00 +00:00
Klaus Leithoff
f616b34f58 API: introduce register_single_app_hook to be able to add or update one hook for an required app. register added/updated hooks with ->location; calendar and addressbook are using this to insert export_limit hook if not available. use app hook to fetch app specific export limit with import_export side_menu additions too 2011-09-15 16:53:20 +00:00
Ralf Becker
93b7e6885c check if we are already trying to unlink the entry, to avoid an infinit recursion 2011-09-15 16:35:28 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Ralf Becker
bd06c4c9d5 * Filemanager/WebDAV: understand Windows7 modification time attribute and setting and returning is as vfs modification time 2011-09-15 12:14:20 +00:00
Ralf Becker
859f83bf39 if nothing left in queue, stop interval-timer to give browser a rest 2011-09-14 14:22:38 +00:00
Ralf Becker
abac9e96fe fixed fatal error, if there are no parameters 2011-09-14 14:22:17 +00:00
Ralf Becker
77f2a043fc local caching and queueing of egw.link_title() requests 2011-09-13 19:55:06 +00:00
Ralf Becker
5cadd29d58 Basic egw.link_title(_app,_id,_callback,_context) method.
Plan is to run a clientside cache and own queue for link_titles, as server can query titles for N id's for a given app more effiently then N separeate queries.
2011-09-13 18:23:43 +00:00
Ralf Becker
516b977472 ability to queue ajax requests on the client and send them as a single ajax request every N ms to the server
a) instead of a single request like: new egw_json_request(menuaction, params).sendRequest(true, callback, context); 
b) you call: egw.jsonq(menuaction,params,callback,context)
The server callback is identical for both kinds of requests. All egw_json_response methods can be used and the callback is optional.
2011-09-13 17:27:02 +00:00
Ralf Becker
2ed73047df fixed serveral issues around cached config:
- changing config in setup did not update or unset the cache --> instance was NOT using it
- new installs failed, because cache was not configured
- cache command to not configured cache gave fatal error, now they throw a (catchable) exception
2011-09-13 09:25:25 +00:00
Ralf Becker
387be881ee egw.link(_url, _vars) method and using it for JS event handler 2011-09-09 19:41:09 +00:00
Ralf Becker
b1b1ab820a no need for db schema on the client 2011-09-09 14:56:34 +00:00
Andreas Stöckel
df36138012 Changed loading order of dhtmlxcommon 2011-09-09 14:50:50 +00:00
Andreas Stöckel
50ad9e4ba0 Included dhtmlx js files in egw_menu_dhtmlx.js, fixed problem with removing action objects, improved egw_include_mgr a bit 2011-09-09 14:03:18 +00:00
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&reg_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
Ralf Becker
17a41103d5 Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
Ralf Becker
5e9d4f3601 * API fix PHP fatal error wakeup2 is no method ..., when comming from setup 2011-08-05 08:01:51 +00:00
Ralf Becker
30f5025431 * API fix webserver_url of just a domain eg. http://domain.com gives PHP Warning empty delimiter ... 2011-08-05 08:00:58 +00:00
Ralf Becker
cc113b3519 merged latest changes from doc/rpm-build/apache.conf 2011-08-04 08:14:23 +00:00
Ralf Becker
6a1834ceff * NTLM authentication: limit redirect, if NTLM auth could not be preformed, to same domain, EGroupware domain, or explicitly whitelisted domains
to fix issue "found" on www.autosectools.com
2011-08-04 07:58:57 +00:00
Ralf Becker
31c9e8965b fixed creating of new translations / give [Write] button file not yet existing (permissions given) 2011-08-04 07:27:23 +00:00
Ralf Becker
fc5f651412 Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-04 07:00:00 +00:00
Andreas Stöckel
6fff48a306 Fixed typo in comment 2011-08-03 14:27:45 +00:00
Andreas Stöckel
2e9104ecea Added dependencies to the egw_action js files 2011-08-03 14:04:30 +00:00
Andreas Stöckel
149c154540 Added system which allows us to define dependencies inside js files.
An introduction on how this can be done is given in class.egw_include_mgr.inc.php.
This file/class may lateron be extended to minifiy, compress and cache groups of js files - currently only the 'debug-mode' is implemented, which sends all javascript files as individual files, making it easy to debug the java-script files in the browser.

The new method should work with all old code, especially including java-script files as part of an ajax-response, if something is broken, please report that!
2011-08-03 14:03:31 +00:00
Klaus Leithoff
8d7c954544 sticking to the rules of the protocoll while writing a request to port, ensures that lighttpd (>=1.4.28) understands our requests 2011-08-03 13:36:59 +00:00
Ralf Becker
04e032e7af fixed problem "found" on www.autosectools.com 2011-08-03 08:29:53 +00:00
Ralf Becker
79d12b67be * CalDAV: user agent detection of OS X 10.7 Lion iCal app (CoreDav instead of DavKit) 2011-08-02 12:59:23 +00:00
Andreas Stöckel
10e5735e16 Allowing mutliple action-link groups to be defined for grid entries. These must be comma seperated. 2011-08-02 11:51:58 +00:00
Klaus Leithoff
11475a41cd * admin: allow to choose which kind of spellchecking you would like to employ when using the CK Editor (Options now: Yes, No, Without SpellCheckAsYouType, WebSpellChecker) 2011-08-02 11:39:59 +00:00
Andreas Stöckel
5a7daf61aa Fixed problem with move_files function always returning false 2011-08-02 09:33:13 +00:00
Ralf Becker
6d8c35496a - silently use server_timezone if wrong user timezone preference is set, as we can not (easily) report it to the user at the stage of initialising EGroupware
- if server_timezone is NOT valid, try (and permanently store!) date_default_timezone_get() frist and then "Europe/Berlin"
2011-08-01 13:04:40 +00:00
Klaus Leithoff
09963248f1 * API: upgrade ck editor from v3.3.1 to v3.6.1 (latest release as of June 2011) 2011-08-01 11:48:47 +00:00
Ralf Becker
73450d3817 fixing 3 failed litmus tests:
- copy_coll, move_coll: using egw_vfs::find instead of System::find which we dont require and fails anyway for some reason
- copy_shallow: by updating COPY with changes from 1.0.0RC6 (depth="0" is allowed for copy, thought HTTP_WebDAV_Server still copies the whole collection!)
2011-07-31 09:23:16 +00:00
Ralf Becker
399c835f11 HTTP_WebDAV_Server 1.0.0RC6 changes without Server.php changes comming later 2011-07-29 10:33:52 +00:00
Ralf Becker
632a91774d allow dash ("-") in app name, eg. sitemgr-site 2011-07-26 13:49:53 +00:00
Klaus Leithoff
45468c801a patch to fix problem with ->not able to see mail<- egw_instant_load.html not found. provided by Vladimir Kolobkov; Thanks a lot 2011-07-25 15:52:22 +00:00
Klaus Leithoff
f297d65790 make sure there is no whitespace leading or trailling the host string, when attempting to send 2011-07-21 12:11:17 +00:00
Klaus Leithoff
cae37dab26 if there is only a single event in the action, buffer it into/with a window.setTimeout function call, and wait for the trigger to execute and clean up as it does with multiple actions on a target 2011-07-21 10:50:33 +00:00
Klaus Leithoff
6263753e80 add missing default translation for lang key tls 2011-07-14 08:54:30 +00:00
Ralf Becker
f294a9274c removed two css settings messing up existing eTemplate layouts:
- spans were different vertical aligned the prefixing text
- all nextmatch header were forced to left alignment
--> seems to have no negative effect, but fixes some ugly layout bugs
2011-07-13 12:51:33 +00:00
Ralf Becker
f8d62195a2 style for disabled buttons 2011-07-10 18:23:27 +00:00
Ralf Becker
039288b06e fixing the last fix, code was still needed ;-) and automatically hiding the location bar for mobile browsers 2011-07-10 12:05:20 +00:00
Ralf Becker
84727a4a49 fixed division by zero, by removing not longer needed mobile code 2011-07-09 16:53:24 +00:00
Ralf Becker
8e83e41263 - improved mobile template: calendar & email sidebox is showing now, removed most of the former css hidden stuff
- fixes jscalendar to work will in sliding sidebox
2011-07-09 16:35:18 +00:00
Jörg Lehrke
79fa226d83 * Generate well-formed XML for Funambol and SyncEvolution clients (community bug#2975) 2011-07-08 19:46:08 +00:00
Ralf Becker
4f60da9af5 differenciate in our serverside user-agent detection between Chrome and Safari, and disable html5 form validation for float, as Chrome 12 rejects float values with comma as decimal separator 2011-07-07 11:50:06 +00:00
Nathan Gray
e4d0a78c8d Allow setting owner when creating a new category 2011-07-06 15:09:08 +00:00
Ralf Becker
2acb6c7ab5 * Template for mobile browsers: only show application area, all apps are available via slideout menu 2011-07-06 07:19:54 +00:00
Ralf Becker
36eaa8e987 fixed not working mime parameter, if just a main type eg. "image" is given 2011-07-04 18:53:48 +00:00
Klaus Leithoff
93636849e6 put some more documentation ito the function header doc part 2011-07-04 13:23:55 +00:00
Klaus Leithoff
820dbed203 make sure we set SMTPSecure to ssl or tls if the standardports for ssl or tls are configured for the given profile 2011-07-04 13:14:45 +00:00
Andreas Stöckel
44b8c43e1e Fixed keyboard navigation in treeview 2011-07-03 12:33:18 +00:00
Ralf Becker
03e379e570 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Ralf Becker
a7aef6a4da fixed egroupware.org bug #3002: PHP Warning: mb_strpos() in class.egw_session.inc.php on line 1081 2011-07-03 06:54:32 +00:00
Ralf Becker
70b84e372c fixed catchable fatal error: param 2 to egw_vfs::propatch() must be an array 2011-07-01 14:24:22 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +00:00
Ralf Becker
9b26f95798 consolidating icons 2011-06-30 13:01:03 +00:00
Nathan Gray
f736c89bbf Prevent doubling webserver url when building a link 2011-06-29 16:35:24 +00:00
Ralf Becker
37ec659a8f quitend warning 2011-06-29 07:21:56 +00:00
Ralf Becker
5e05030629 fixed attachments lost when converting email to infolog, is_uploaded_file check in egw_vfs::copy_uploaded need to be switched off (plus improved logging) 2011-06-29 07:00:09 +00:00
Ralf Becker
bd7407ed88 - fixed bug in egw_vfs::check_access for a user different from current one: need to clear the stat-cache after the call too, as the next call might be the regular user again!
- new method egw_vfs::copy_uploaded() to copy a file into vfs and set properties (eg. the comment), while treating the whole operation notification-wise atomar (one notification about an added file).
- using that method for egw_link too
- fixed egw_link not displaying comments
2011-06-28 20:43:47 +00:00
Ralf Becker
e6470f6b58 some more debug stuff, switched off by default 2011-06-28 17:20:19 +00:00
Ralf Becker
27edf73e34 upload icon from KDE Tango theme 2011-06-28 07:03:07 +00:00
Nathan Gray
387f4ed073 Some fixes for category access with multiple owners 2011-06-27 22:05:03 +00:00
Ralf Becker
57215ec67c fixed not working debug message 2011-06-27 20:00:05 +00:00
Andreas Stöckel
a81e83a6e6 Prevented grid from loading all data when it is not visible 2011-06-26 15:44:08 +00:00
Andreas Stöckel
18f6a20df4 Included accidently commented out setTimeout commands again 2011-06-26 15:06:39 +00:00
Andreas Stöckel
44f73628e2 Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects. 2011-06-26 14:57:05 +00:00
Ralf Becker
7b83209e7c forgot required changes in acl class, to read grants of a different user 2011-06-26 13:00:51 +00:00
Ralf Becker
04be4c57fe - new registry attribute "file_access_user" to signal "file_access" method understands new 4th parameter $user
- infolog implementation for it
--> allows to check if a given user has access to a files of app/id
2011-06-26 12:32:06 +00:00
Andreas Stöckel
644f7729e3 Added german translation for key codes 2011-06-25 14:46:20 +00:00
Andreas Stöckel
49e6780f07 Shotcuts are now generated on the server side, made key codes class constans 2011-06-25 14:27:30 +00:00
Andreas Stöckel
42e0b10797 Fixed bug with two many prefetch request (also doubles) - a part of this was caused by a wrong parameter sequence for the queueTimeout function, the other part was caused by the 'hasColumn' function not working correctly. 2011-06-25 13:45:46 +00:00
Ralf Becker
b2b27ece2e fixed not sorted eacls 2011-06-25 04:53:35 +00:00
Ralf Becker
36156c61ee clearstatchache needs to set eacl_cache to null, so it gets read again, setting it to array() stops all eacl 2011-06-24 18:19:18 +00:00
Ralf Becker
54dc16f3e5 calling egw_vfs::rmdir/unlink to ensure vfs hooks get called 2011-06-24 18:08:29 +00:00
Ralf Becker
5864d5f1a1 use vfs:// url, to ensure vfs_add|modified hook get called 2011-06-24 17:38:13 +00:00
Ralf Becker
ea6b823bd4 additional parameters _replace and _with for egw_refresh to modify the url, fixed not working update of existing msg parameter 2011-06-24 14:11:37 +00:00
Ralf Becker
e960b79570 fixed not working access to all non-private user categories (ACL was priviously allways taken into account) 2011-06-24 13:35:39 +00:00
Ralf Becker
92d861e712 give #account_id, if user not found 2011-06-24 10:28:08 +00:00
Ralf Becker
ba46b54355 improved exception message 2011-06-24 10:26:46 +00:00
Ralf Becker
7282d42f52 - added hooks to general vfs methods to allow apps to monitore file access, creating, modification, removal
- new $user parameter for egw_vfs::check_access($path, $check, $stat=null, $user=null) to check access to a file for a user, who is NOT the current user
2011-06-23 18:34:47 +00:00
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +00:00
Ralf Becker
2bf55a7c87 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-22 15:53:36 +00:00
Andreas Stöckel
416ff4787f Fixed bug with SHIFT + Arrow keys not working anymore 2011-06-20 19:25:50 +00:00
Andreas Stöckel
4a1d2cd72c Fixed bug with other jquery drag drop stuff (like sorting apps in the sidebox menu in the stylite template) not working correctly 2011-06-19 11:15:37 +00:00
Andreas Stöckel
1d23398ad9 Added server side key constants and shortcut-generator 2011-06-19 10:52:58 +00:00
Andreas Stöckel
bf8437551d Implemented egw_action shortcuts 2011-06-19 10:48:51 +00:00
Andreas Stöckel
f3ccd96f03 Grid and nextmatch aoi now reset the input element focus once a row is clicked 2011-06-16 20:43:33 +00:00
Andreas Stöckel
41c4d4cee4 Enabled toggeling the grid selection with CTRL+A 2011-06-16 17:08:32 +00:00
Andreas Stöckel
1706f0fb22 Added function for removing actionObjects 2011-06-16 17:03:39 +00:00
Andreas Stöckel
28e6ff6920 Implemented executing the default action with the return key 2011-06-16 13:43:46 +00:00
Ralf Becker
8e7c73dd84 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-16 13:01:29 +00:00
Nathan Gray
e9cc2549ac Allow categories->return_sorted_array() to use a filter too 2011-06-15 22:32:52 +00:00
Andreas Stöckel
fd12dfc4ce Fixed typo 2011-06-15 21:08:45 +00:00
Andreas Stöckel
9db8424e15 Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager. 2011-06-15 20:54:58 +00:00
Andreas Stöckel
1c600b919d Implemented new selectmode in grid, added grid.setSelectmode method to set the selectmode 2011-06-15 16:31:33 +00:00
Andreas Stöckel
085d8bf07f Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it 2011-06-15 15:26:46 +00:00
Nathan Gray
5bed43746f Fix for editing private categories 2011-06-15 14:20:43 +00:00
Nathan Gray
81f58ab129 - Change category group filtering to allow multiple groups
- Give warning when removing access from a group
2011-06-14 18:50:35 +00:00
Ralf Becker
47439899a5 propset svn:keywords Id 2011-06-14 12:35:36 +00:00
Andreas Stöckel
2e457e4b75 Added forgotten keymanager unit 2011-06-14 10:13:47 +00:00
Ralf Becker
eb6bea34b2 some fixes to run save_repository() reliable within setup 2011-06-14 08:44:24 +00:00
Ralf Becker
69145c40b5 small docu update 2011-06-14 07:31:56 +00:00
Ralf Becker
34ada0535c fixing problem under windows: dirname("/something") === "\\", with which EGroupware VFS can NOT work, using now egw_vfs::dirname 2011-06-14 07:31:33 +00:00
Ralf Becker
fe2b0d17bc * CalDAV/GroupDAV/KDE Akonadi seems to require redundant namespaces, see KDE bug #265096 https://bugs.kde.org/show_bug.cgi?id=265096 2011-06-13 09:10:10 +00:00
Andreas Stöckel
e03d416fda Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
49ece38c6c Don't send a location header if we currently handle an ajax response/request - use the corresponding json function instead. Doing this on the server side is neccessary as the location header is one of the few ones which is handled by the browser before any XMLHttpRequest event is fired (according to W3C specification) 2011-06-11 21:27:15 +00:00
Ralf Becker
220af27f60 Create template directory and set default document_dir preference of addressbook, calendar, infolog, tracker, timesheet and projectmanager 2011-06-11 11:57:51 +00:00
Ralf Becker
d7c7034771 * Admin/VFS/LDAP: on saving a group, check if group directory exists and create it if not 2011-06-10 11:00:40 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Ralf Becker
d12475ec9e some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-09 06:57:25 +00:00
Ralf Becker
095a36023e allow extending class to supply stat of parent 2011-06-08 12:54:43 +00:00
Ralf Becker
c66928875a no need to run expensive mb_substr 3 times 2011-06-08 10:41:22 +00:00
Klaus Leithoff
123b46372b extending patch rev32909/34417 (chopped off urls when URI contains umlauts AND mbstring.func_overload is activated): using rawurlencode instead of '%' . sprintf('%02X', ); as ord() only returns the int for the first character in a given string, thus crippling multibyte chars 2011-06-08 09:55:26 +00:00
Ralf Becker
c84c890738 fixed not working password change, if no rights for password app, but for preferences 2011-06-07 12:11:16 +00:00
Ralf Becker
582432398e fixed typo 2011-06-07 09:19:13 +00:00
Ralf Becker
2add4fe910 no need to scan non-directories - gives only warnings ;-) 2011-06-07 07:02:08 +00:00
Ralf Becker
9dfdabe1a3 some fixes for the English translation, mostly correcting case, from our Suomi resident here as Stylite 2011-06-07 06:29:49 +00:00
Ralf Becker
ed8c386a12 using egw_refresh to allow fmail to ignore the saved/deleted message 2011-06-06 15:11:25 +00:00
Ralf Becker
5ae8f52ad5 update to 1.9.010 and enabling password migration to sha512_crypt, if available 2011-06-06 06:52:45 +00:00
Ralf Becker
562343a4dd disabling permanent error_log and missing translation 2011-06-06 06:39:07 +00:00
Ralf Becker
fae1d29e68 - implemented more secure password hashing types: sha512_crypt, sha256_crypt and blowfish_crypt (later was only just broken)
- DB schema update for account_pwd to varchar(128) to accomodate sha512_crypt hashes
- enable automatic migration to sha512_crypt, if on SQL or LDAP (but only on Linux, as OpenLDAP has not native support for it)
2011-06-05 23:22:51 +00:00
Ralf Becker
f8d2bd1e6b - introduced preference of type "color"
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Ralf Becker
994d1b63d4 allways display topmenu item "Password" addtional to "Preferences" and shorten "Manual / Help" in topmenu to "Help" 2011-06-03 18:36:47 +00:00
Andreas Stöckel
4477efd6dc Added possibility to add/remove css classes from individual grid view rows 2011-06-03 14:08:49 +00:00
Andreas Stöckel
3a8d1e3227 Fixed problem with double click handler not being bound correctly 2011-06-03 11:21:36 +00:00
Ralf Becker
2bba68b575 nicer workaround 2011-06-03 10:14:12 +00:00
Ralf Becker
310b22c172 * workaround for Fennec bug https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=648250 window.(outerHeight|outerWidth|screenX|screenY) throw exception 2011-06-03 09:50:27 +00:00
Ralf Becker
c5e6b56503 missed UA check was caseinsensitiv 2011-06-03 09:09:25 +00:00
Ralf Becker
17fa23843c reworked mobil browser detection to use html::$ua_mobile to be in line with other html class stuff 2011-06-03 07:47:11 +00:00
Andreas Stöckel
0d66fcd9d1 Executing default action on click on mobile devices 2011-06-02 22:53:23 +00:00
Andreas Stöckel
a4730b3511 Added mobile browser detection function 2011-06-02 22:52:12 +00:00
Ralf Becker
fe92979bc1 fallback for egw_link::edit() to use view data, if no edit specified 2011-06-02 19:58:30 +00:00
Andreas Stöckel
d02c638ca9 Implemented global action manager and object manager, implemented possibility of adding sub-action-managers 2011-06-02 14:48:03 +00:00
Ralf Becker
8445199caf fixed unknowns="remove" to remove more strict (only variable names with letterns, numbers, underscore and dash), as it messes up json otherwise 2011-06-02 13:30:21 +00:00
Ralf Becker
423a1d9303 new method egw_appWindowOpen(app,url) 2011-06-02 12:37:49 +00:00
Ralf Becker
47e2764da0 new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry 2011-06-02 11:13:41 +00:00
Ralf Becker
d61ccc9bc4 icon to undelete 2011-06-01 15:52:47 +00:00
Andreas Stöckel
9eb51b8b74 Removed accidently commited debug message 2011-05-31 20:12:51 +00:00
Andreas Stöckel
fc622875d4 Added forgotten aoi file for dhtmlx menus 2011-05-31 20:10:30 +00:00
Ralf Becker
9a6cffe3d8 using a single print icon (from fmail) now 2011-05-31 18:35:18 +00:00
Andreas Stöckel
36d2f605cb Fixed problem with an container object returning 'true' for 'getAllSelected', even if it has no children. 2011-05-31 17:02:51 +00:00
Ralf Becker
574911d077 * Setup/API: new option to enforce ssl (without specifying a domain in Webserver-URL) 2011-05-31 13:33:26 +00:00
Ralf Becker
61c0b251c3 * IE9: enable IE dropdown menu hack only for IE<9, as it stalls IE9 www.stylite.de bug #1722 2011-05-31 07:55:51 +00:00
Andreas Stöckel
2e84fb63e2 added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables. 2011-05-28 15:24:31 +00:00
Klaus Leithoff
82f81ccafa make sure AltBody is only added if there is an AltBody present; control messageType regard AltExtended too 2011-05-26 16:34:25 +00:00
Ralf Becker
1e851eaab6 * Calendar/CalDAV: fixed wrong line-defolding, if folding occured in whitespace
reverting r29794, as it "eat" to much whitespace
2011-05-26 15:35:07 +00:00
Klaus Leithoff
89a1d1d419 * Calendar Notification: handle calendar requests correctly as multipart/alternative; adding AltExtended to phpmailer; beware parts of multipartAlternative must be in decreasing order of preference (text/calendar as the last part) 2011-05-26 13:26:09 +00:00
Klaus Leithoff
3df142b00b * Calendar Notification: handle calendar requests correctly as multipart/alternative; one part text/plain the other part text/calendar 2011-05-26 09:47:31 +00:00
Andreas Stöckel
fbb5551dca Fixed problem with requesting already loaded JS and CSS files, fixed problem with icon height not being updated for table rows in IE 2011-05-22 18:42:23 +00:00
Klaus Leithoff
0b1e444325 do not use password on asetLastPwdChange in admin actions, as the use of passwords indicates the usage of the functionality in usermode; Handle params for egw_cache::getSession in the correct order 2011-05-19 10:32:46 +00:00
Ralf Becker
5396f9c02f fix for PostgreSQL notification update not working: some stuff is NOT to be quoted 2011-05-18 10:12:32 +00:00
Ralf Becker
a2d19164ee fix postgres error reported on devel list: PostgreSQL error with categories attrunk@34914 2011-05-16 14:25:17 +00:00
Klaus Leithoff
f7cb239a14 if the list is empty/the action object has no children, we do not consider that as allSelected 2011-05-16 12:05:54 +00:00
Klaus Leithoff
9f3a3f0424 fix bug regarding left over tags after converting HTML2Text 2011-05-11 10:39:55 +00:00
Klaus Leithoff
9ec96b10e4 fix typo, as the account_lastpwd_change was not altered anymore on password change 2011-05-11 09:39:02 +00:00
Klaus Leithoff
76980e665c HTML2Text: reduce CR/LF groups of more than 2 to a sequence of 2 CR/LF 2011-05-10 15:32:44 +00:00
Nathan Gray
19dd8d19bd Send ajax errors to console.error instead of alert 2011-05-10 14:49:25 +00:00
Andreas Stöckel
3906423d4a Fixed problem with context menu opening into the wrong direction if a vertical scrollbar is available. Notified developers. 2011-05-08 19:57:01 +00:00
Ralf Becker
13b4bb3e75 * Switch on password migration to migrate to new default ssha, if installation uses the old default
- altering egw_categories.cat_owner to varchar(255) to prepare for multiple category owners/groups
2011-05-07 18:46:29 +00:00
Ralf Becker
f00ba4dc9a do not restore install_id, as that would give two systems with identical install_id 2011-05-07 17:09:52 +00:00
Andreas Stöckel
b416719eb8 Fixed issue with drag-onExecute handler not being called 2011-05-07 11:22:23 +00:00
Andreas Stöckel
2f99f7ff79 Fixed problem with dhtmlxMenu overflowing at the top in windows with scroll bars - notified the developers, so this fix is most likely to be included in the next dhtmlxmenu release 2011-05-07 10:32:31 +00:00
Ralf Becker
ca1c71cc69 moved completed image from InfoLog to use in Tracker too 2011-05-06 18:13:50 +00:00
Ralf Becker
ce619a8711 do NOT query sessionid_access_log for anonymous sessions, as they get not loged anyway 2011-05-05 15:50:22 +00:00
Klaus Leithoff
98122085f7 fixing a problem of swallowed whitespace while converting html to text 2011-05-05 08:59:54 +00:00
Ralf Becker
86837b37f7 password hash migration for LDAP (requires ACL to read password hash!) 2011-05-04 16:35:40 +00:00
Ralf Becker
bd64d536bc fixed not working password (hash) migration 2011-05-04 13:33:34 +00:00
Ralf Becker
4f3f6748f1 small docu update 2011-05-04 13:32:58 +00:00
Ralf Becker
57fc9c63fc - fixed with ssha not working migration from sql <--> ldap
- using 16 char salt for ssha and smd5 as eclipse ldap admin does
- remove auth::hash_sql2ldap() method, as it is now in setup/inc/class.setup_cmd_ldap.inc.php
- added ability to create uid dn in setup_cmd_ldap subcommand create_ldap
2011-05-04 09:42:50 +00:00
Ralf Becker
457e79454d * Setup: making SSHA (salted sha1) hashes the default password hash for SQL and LDAP
- fixing not working ssha hashes if mb_string.func_overload > 0 set
2011-05-04 07:52:45 +00:00
Ralf Becker
30b922f30e - fixed not working switching legacy actions columns on again
- moved some translations to common
2011-05-03 06:26:56 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
af75f60ff4 fixed IE(8) javascript error: "null" is null or not an object 2011-04-24 12:40:06 +00:00
Andreas Stöckel
eab7a5fdcc Fixed issue with menu overflowing on the top 2011-04-23 09:24:11 +00:00
Andreas Stöckel
fcaef1ee58 resolved issues with for-in loop and ie 2011-04-23 09:07:31 +00:00
Ralf Becker
33bbd3465d - fixed bug in timesheet, success/error message of set category or status was not shown
- using now a single (default) action Open, which opens a timesheet to edit or view depending on rights
- added phrases "Open" and "Whole query" to API/common, as they are used in many apps
2011-04-19 09:44:25 +00:00
Ralf Becker
342799a86a - further work on addressbook context menu, still not fully functional!
- moved a few more common phrases into API
2011-04-17 21:25:01 +00:00
Andreas Stöckel
f2b739e332 Added additional parameters to the 'enabled' callback (1. the action, 2. an array of action object, 3. the current action object) 2011-04-17 20:27:23 +00:00
Andreas Stöckel
cbf233bccd action type now defaults to 'popup' 2011-04-17 19:10:46 +00:00
Ralf Becker
6081a5749d timesheet context menus are now complete:
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
  + Delete this entry
  + Delete these entries
  + You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +00:00
Andreas Stöckel
8e9279c7b7 passing new checkbox state to underlying menu implementation after action execution 2011-04-17 17:55:37 +00:00
Andreas Stöckel
7a291d01e8 fixed problem with last commit 2011-04-17 17:51:50 +00:00
Andreas Stöckel
9566b032cf menu now automatically updates checked state 2011-04-17 17:46:09 +00:00