Commit Graph

4284 Commits

Author SHA1 Message Date
Klaus Leithoff
e48ece66ae if ldap with fallback sql, we may be able to fetch and set the password last change date, if we are on primary, so check if the method exists instead of returning false. 2011-09-26 15:23:22 +00:00
Klaus Leithoff
4b3bcf0fb8 check if method exists for the fallback_auth, before calling get/setLastPwdChange 2011-09-26 10:57:00 +00:00
Ralf Becker
21f4b6e887 * GroupDAV/KDE assume KDE 4.7+ uses native Akonadi resource, while below pre-Akonadi GroupDAV resource is used: unfortunately both have contradicting requirements 2011-09-26 10:21:25 +00:00
Klaus Leithoff
15457b47d4 * API: is_a compatibility vs. php5.3.8 resolving to instanceof operator for most common basic classes 2011-09-26 10:01:38 +00:00
Klaus Leithoff
f7a50ec383 * 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-26 08:51:48 +00:00
Jörg Lehrke
bfd686bbac * Fix SyncEvolution issue (community bug#2975) 2011-09-24 17:54:19 +00:00
Ralf Becker
c41b9f6d2c fixed no longer possible direct access/mount of VFS root via WebDAV after r36606 2011-09-19 11:40:18 +00:00
Klaus Leithoff
8f9c8732e9 introduce register_single_app_hook and hook_exists to hook class 2011-09-16 13:08:14 +00:00
Ralf Becker
ee455dfa07 check if we are already trying to unlink the entry, to avoid an infinit recursion 2011-09-15 16:35:54 +00:00
Ralf Becker
7852b41fd6 * Filemanager/WebDAV: understand Windows7 modification time attribute and setting and returning is as vfs modification time 2011-09-15 12:19:10 +00:00
Ralf Becker
6a544af55b fixed typo causing search for group-members to fail for accounts in sql 2011-09-08 09:58:18 +00:00
Ralf Becker
975a8ade09 * API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts 2011-09-07 16:47:08 +00:00
Ralf Becker
e86cb84e66 % should be encoded, but easily leads to double encoding, therefore better NOT encodig it in egw_vfs::encodePathComponent() 2011-09-07 08:41:26 +00:00
Ralf Becker
70e67eede3 deal with parsing of query parameters appending an "=" to "?download", accepting "?download=" too 2011-09-06 07:23:49 +00:00
Ralf Becker
c708b9ffc3 * Filemanager/WebDAV: #?+ and chinese characters working now in filenames 2011-09-05 10:29:11 +00:00
Ralf Becker
fa6262add6 * 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:04:04 +00:00
Ralf Becker
06ae880691 * Filemanager: "Save as" option for files to force download and not open in browser 2011-08-29 08:42:33 +00:00
Klaus Leithoff
85d9e5e4ee fix problem with double encoding html special chars (introduced with rev36141) 2011-08-26 08:21:52 +00:00
Klaus Leithoff
81a724cfaa * API: take care of INNODB and STRICT_TRANS_TABLES for recent mysql installations 2011-08-22 10:18:20 +00:00
Klaus Leithoff
3d76986cd2 * API: decodeMailHeader handle nested encoding for imap_mime_header_decode 2011-08-18 15:01:24 +00:00
Ralf Becker
e04a1d8519 url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x&reg_id=" fails otherwise 2011-08-16 11:45:23 +00:00
Ralf Becker
dcb3ea0888 quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106 2011-08-11 07:32:20 +00:00
Ralf Becker
d8dae17192 quietened PHP Warning: in_array() expects parameter 2 to be array, boolean given on line 855 2011-08-11 07:23:57 +00:00
Ralf Becker
40c123009e * API fix webserver_url of just a domain eg. http://domain.com gives PHP Warning empty delimiter ... 2011-08-05 08:03:30 +00:00
Ralf Becker
a70bac89f0 * API fix PHP fatal error wakeup2 is no method ..., when comming from setup 2011-08-05 08:03:03 +00:00
Ralf Becker
b62a99fb42 fixed creating of new translations / give [Write] button file not yet existing (permissions given) 2011-08-04 07:36:35 +00:00
Klaus Leithoff
ff5a6e159d 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:40:51 +00:00
Ralf Becker
5686c441f6 * CalDAV: user agent detection of OS X 10.7 Lion iCal app (CoreDav instead of DavKit) 2011-08-02 13:01:21 +00:00
Klaus Leithoff
ff32adcbcb * 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 12:14:34 +00:00
Ralf Becker
1205c7b347 - 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:05:27 +00:00
Ralf Becker
9aaa59f76d 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:35:19 +00:00
Ralf Becker
2b5d2114a3 updating own HTTP_WebDAV_Server to upstream version 1.0.0RC6: http://pear.php.net/package/HTTP_WebDAV_Server/download/1.0.0RC6 2011-07-31 08:15:51 +00:00
Ralf Becker
090e8bb00e allow dash ("-") in app name, eg. sitemgr-site 2011-07-26 13:48:06 +00:00
Klaus Leithoff
b5d5a38b1d patch to fix problem with ->not able to see mail<- egw_instant_load.html not found. provided by Vladimir Kolobkov; 2011-07-25 15:53:53 +00:00
Klaus Leithoff
c2e2e1a84a make sure there is no whitespace leading or trailling the host string, when attempting to send 2011-07-21 12:11:28 +00:00
Klaus Leithoff
4e22875dea add missing default translation for lang key tls 2011-07-14 08:57:23 +00:00
Jörg Lehrke
544627ef32 * Generate well-formed XML for Funambol and SyncEvolution clients (community bug#2975) 2011-07-08 19:45:24 +00:00
Nathan Gray
74e7a27b4c Allow setting owner when creating a new category 2011-07-07 15:36:01 +00:00
Ralf Becker
579c388056 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:51:33 +00:00
Ralf Becker
24b935954e fixed not working mime parameter, if just a main type eg. "image" is given 2011-07-04 18:54:46 +00:00
Klaus Leithoff
a0c2655607 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:50:03 +00:00
Ralf Becker
9db4fa8625 * 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:12:55 +00:00
Ralf Becker
34a76f491e fixed egroupware.org bug #3002: PHP Warning: mb_strpos() in class.egw_session.inc.php on line 1081 2011-07-03 06:56:12 +00:00
Ralf Becker
70dc264ac1 fixed catchable fatal error: param 2 to egw_vfs::propatch() must be an array 2011-07-01 14:28:30 +00:00
Ralf Becker
fb0668ec54 some EPL specific differences to trunk 2011-07-01 11:32:09 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +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