Ralf Becker
6ae755b1aa
added pixelegg template, to also delete image cache of it
2013-11-12 09:29:44 +00:00
Ralf Becker
6195a36a1a
uncommited changes (class is not used anyway)
2013-11-11 08:32:46 +00:00
Ralf Becker
af8f7b2c35
uncommited changes
2013-11-11 08:31:33 +00:00
Ralf Becker
d4d0c13876
static method can not use $this, there is no need to anyway
2013-11-11 08:28:03 +00:00
Ralf Becker
b1f5649451
fixed egw_min_php_version to 5.3
2013-11-11 08:27:10 +00:00
Ralf Becker
aeced1ddae
always check for read access too
2013-11-11 08:23:14 +00:00
Ralf Becker
e4ee379138
fix wrong sql produced by column_data_implode with param $use_key="VALUES" and numerical indexes in data
2013-11-11 08:21:54 +00:00
Ralf Becker
d7a1b12d96
normalize ./ away
2013-11-11 08:19:00 +00:00
Ralf Becker
12e8a3bbcd
iterator to run arbitrary callbacks on a select
2013-11-08 19:54:08 +00:00
Ralf Becker
1dd3ad5e0a
fixed ckeditor wont start with NOT expanded toolbar
2013-11-04 10:13:28 +00:00
Ralf Becker
b20bd49817
* CalDAV: fixed wrong http-status for delete in inbox and announce sync-report on inbox, so clients using it get events only once
2013-10-31 11:29:22 +00:00
Ralf Becker
e94502515d
* Admin/Preferences: changepassword hook was called twice
...
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:24:01 +00:00
Klaus Leithoff
892f90205a
work around ckeditor problem with default (kama) skin, by falling through to moonocolor
2013-10-24 14:42:40 +00:00
Ralf Becker
c8f1e75165
PSR-0 autoloading eg. for PEAR or Horde classes
2013-10-22 08:25:55 +00:00
Klaus Leithoff
210a145747
support additional moonocolor skin
2013-10-21 11:33:39 +00:00
Ralf Becker
d63cf889b4
silenced permanent error_log and fixed a typo
2013-10-18 14:31:46 +00:00
Klaus Leithoff
6e0448cb62
fix broken scayt and spellcheckerbuttons in config for ckeditor
2013-10-17 15:09:56 +00:00
Ralf Becker
6e76361736
open all sidebox admin link in admin vi admin.admin_ui.index loader
2013-10-15 16:53:43 +00:00
Ralf Becker
319a503c90
fixed broken install under PostgreSQL caused by PHP Fatal error: Call to a member function fetch() on a non-object
2013-10-15 11:42:28 +00:00
Ralf Becker
b0219a682f
reverted accidently commited phpgwapi changes
2013-10-15 09:36:23 +00:00
Ralf Becker
0ca55a1103
* SiteMgr: fixed not working anonymous user and using now a random password
2013-10-15 09:25:49 +00:00
Ralf Becker
38504680b7
setting CSP attributes needed by CKeditor now automatic when egw_ckeditor_config::get_ckeditor_config(_array) get called
2013-10-14 10:42:36 +00:00
Nathan Gray
bab4adf6d9
Update toolbar definitions to match new format
2013-10-10 11:55:29 +00:00
Klaus Leithoff
cce86e346e
silence permanent error log
2013-10-10 09:25:04 +00:00
Klaus Leithoff
77d28bad75
allow to set config via json_encoded string for purify wrapper
2013-10-10 09:23:55 +00:00
Ralf Becker
0bb8093426
fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window!
2013-10-07 17:00:03 +00:00
Ralf Becker
ffc506561a
* API: fixed not working session encryption, by switch back to previous MCrypt algorithm and mode
2013-10-07 07:22:50 +00:00
Ralf Becker
43e1bfcc12
switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it
2013-10-05 13:33:28 +00:00
Ralf Becker
f8a0db06fc
completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu
2013-10-03 09:23:18 +00:00
Ralf Becker
6f162f144e
add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed
2013-10-02 16:29:08 +00:00
Ralf Becker
7cf6500f92
docu update
2013-10-02 10:33:44 +00:00
Ralf Becker
53880e2063
to mitigate html download with CSP: no blacklisting just IE, only whitelist tested browsers and versions
2013-10-01 09:50:23 +00:00
Ralf Becker
bc9c486e03
some small fixes to get through a view more tests for managed attachments
2013-09-25 12:37:42 +00:00
Ralf Becker
d4c2ed3f65
stop CalDAVTester from creating one log per test-step
2013-09-25 07:46:02 +00:00
Ralf Becker
ba73deee9f
fixed typo in ATTACH property "FMTTYP(E)" and added xml error bodys for wrong managed-id parameter (more to follow)
2013-09-25 07:11:27 +00:00
Ralf Becker
86649cd1e1
full implementation of draft-murchison-webdav-prefer-05, incl. return=representation for 412 conflicts
2013-09-25 07:09:44 +00:00
Ralf Becker
0601d40bd3
fix Prefer header to use return=(minimal|representation) instead of older draft dash, enable add-member property, and add Location header to action=attachment-add
2013-09-24 12:29:17 +00:00
Klaus Leithoff
45326fa484
on async job write, make sure that possible next attribute in data is in sync with job[next]
2013-09-24 10:22:03 +00:00
Ralf Becker
edd4cc49ca
basic managed attachment support, tested with iCal from OS X mountain lion
2013-09-23 13:39:28 +00:00
Ralf Becker
1752f7defd
basic managed attachment support, tested with iCal from OS X mountain lion
2013-09-23 10:21:31 +00:00
Klaus Leithoff
5e425398fa
change convertHTMLToText behavior, regarding the replacing of CRLF or LF to single space; now removing them completely, when text to be processed is regarded to be html
2013-09-18 12:14:59 +00:00
Ralf Becker
b8341e48a1
mitigate risk of html downloads by using Content-Security-Policy header or Content-Disposition: attachment for IE
2013-09-12 18:49:07 +00:00
Ralf Becker
9523ba79c2
removed not used assignment
2013-09-12 08:31:10 +00:00
Ralf Becker
855c04cb2c
use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr
2013-09-11 13:06:00 +00:00
Ralf Becker
eb06a2adee
setup uses now sessions too and password-hashes in header.inc.php use most secure hashing type
2013-09-11 11:35:20 +00:00
Ralf Becker
1590d02816
new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header
2013-09-05 11:53:25 +00:00
Ralf Becker
aaf0a7491d
silence warning be defining the constants
2013-09-02 13:40:40 +00:00
Klaus Leithoff
d5c2a03f51
revert changes introduced with r43681, as issue is fixed in bo_tracking and handling of GLOBALS[info][user][account_id]
2013-09-02 11:34:38 +00:00
Ralf Becker
3d20422177
not creating references to ['egw_info']['user'], as bo_tracking and other async service stuff has problems to change between different user enviroments
2013-09-02 10:43:16 +00:00
Klaus Leithoff
7744905ba8
try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification
2013-08-30 12:57:51 +00:00
Klaus Leithoff
f5e00e4bad
add (and use) preg replace callback for mailto link to text transformation
2013-08-29 10:39:08 +00:00
Ralf Becker
a9a8e65ece
new parameter to be able to use get_user_applications() in admin and class-constants for ACL-rights, can be used instead EGW_ACL_* defines
2013-08-28 13:27:53 +00:00
Ralf Becker
aa8a848871
optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window
2013-08-26 10:24:11 +00:00
Ralf Becker
46f81649eb
also fix calls to deprecated ajaxResponse class to use egw_json_response singleton, should be fixed in code for current apps
2013-08-25 15:14:19 +00:00
Ralf Becker
38798b872d
Force use of singleton: $response = egw_json_response::get(); not using it causes response being wrapped in an other response
2013-08-25 12:42:55 +00:00
Ralf Becker
b2ba685edd
remove inline javascript from idots and jerryr templates
2013-08-21 20:22:53 +00:00
Ralf Becker
73aa652c41
missing egw.js from last commit and egw_framework::window_focus() method
2013-08-20 13:25:36 +00:00
Ralf Becker
1c4f65120c
new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way
2013-08-20 12:06:41 +00:00
Ralf Becker
ec6d873941
let PHP Warnings look exactly like original ones, but with a backtrace
2013-08-15 10:15:13 +00:00
Ralf Becker
c806da58ce
give a trace for PHP (User) Warnings
2013-08-14 08:09:51 +00:00
Klaus Leithoff
27149b237f
play around with catching the smtp error of smtp class, as it is the one that has the info about the error
2013-08-07 09:20:16 +00:00
Klaus Leithoff
a7be5a026e
move reset-call of smtp to phpmailer class, as it is the one that throws exceptions, and stops action
2013-08-07 08:34:00 +00:00
Ralf Becker
118657ddee
using etemplate_new::ajax_proecess_content to allow to have etemplate still extend etemplate_old, making etemplate_new autoloadable
2013-08-06 18:24:30 +00:00
Klaus Leithoff
54b2596ff8
send reset command after failure while failing when adding addresses
2013-08-06 13:51:39 +00:00
Ralf Becker
48fd2113f3
some long running operations, eg. merge-print, run into situation that DB closes our separate sqlfs connection, we try now to reconnect once
2013-08-05 14:59:31 +00:00
Ralf Becker
0f37c16cd8
using correct case: To, Cc and Bcc
2013-08-05 14:56:39 +00:00
Klaus Leithoff
d22f24666b
ClearAllRecipients should only clear recipients, not From, ReplyTo and such
2013-08-05 13:44:44 +00:00
Ralf Becker
243bb169a2
need to reimplement Clear methods from parent, to also clear our private addresses
2013-08-05 08:46:29 +00:00
Ralf Becker
6fe4085a11
fixed wrong condition only giving a location header if requests fails, not if it succeeds
2013-08-02 19:28:38 +00:00
Ralf Becker
207b7de248
instead of sending nothing, which gives a parse error on client-side, send a valid, empty response
2013-08-01 12:28:28 +00:00
Ralf Becker
6f39b0618d
using dhtmlxtree from sources instead of codebase directory, as does et2_widget_tree, to not double load it and causing 2. load to overwrite extensions from 1.
2013-08-01 11:19:14 +00:00
Ralf Becker
05765db6ca
* Admin/Filemanager: added filesystem check and repair for missing or broken required directories /, /apps and /home
2013-08-01 07:53:20 +00:00
Ralf Becker
8ce9969ece
we need to double encode (html::htmlspecialchars( , TRUE)), as otherwise we get invalid json, eg. for quotes, fixes not working display in filemanager for some directories containing directories with quotes in their name
2013-08-01 06:36:18 +00:00
Nathan Gray
afa7a73f0a
Fix chosen sizes using new width attribute for account multi-select
2013-07-26 15:08:17 +00:00
Ralf Becker
200a8860bf
* eTemplate/all apps: (silently) limit number of links shown to 1000 newest, to not run into memory_limit or max_execution_time and assuming noone will scroll further down anyway
2013-07-26 09:38:38 +00:00
Nathan Gray
f65680a7ae
Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small.
2013-07-25 20:28:32 +00:00
Ralf Becker
8e85c86f8b
* Async service/Backup: updating job to next scheduled time BEFORE running it, to copy with jobs running longer then async frequency of 5min, eg. backup
2013-07-25 13:11:07 +00:00
Ralf Becker
59c683c359
removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV
2013-07-25 12:18:08 +00:00
Ralf Becker
71676f982a
fixed not working special char detection
2013-07-25 07:21:35 +00:00
Ralf Becker
8ec5425c5a
disable minify-ing of javascript, until I find time to fix it, as it stalls testers (css still get minifyed, if debug minify is off in site config)
2013-07-24 07:42:27 +00:00
Ralf Becker
6e6b2b7b0a
reverted "no need for RegExp replace", as javascript only replace first occurence, if a string given
2013-07-23 14:41:53 +00:00
Ralf Becker
8242d40d1e
no need for RegExp replace
2013-07-23 11:49:16 +00:00
Ralf Becker
58949008f9
disable outer scrollbar, eg. if rendering time is swichted on
2013-07-23 11:33:23 +00:00
Klaus Leithoff
c4caefc9e9
suppress warning on searching for active members
2013-07-23 10:59:56 +00:00
Ralf Becker
16191d4db4
rendering quick-add menu on clientside and content-security safe, thought not yet in idots template, also removed not used inline javascript from idots
2013-07-22 19:20:13 +00:00
Ralf Becker
4ed52a2b16
get notifications-popup ready for content-security, install as object in app.notifications and use data-poll-intervall of script tag to pass poll frequency
2013-07-22 13:29:20 +00:00
Nathan Gray
67d6775f54
Use htmlspecialchars to escape data-attributes
2013-07-19 18:03:47 +00:00
Ralf Becker
5e3c0192d3
$extra parameter for framework->header()
2013-07-19 17:07:05 +00:00
Ralf Becker
33ac096fdf
enabled and enhanced dependency tests so they can be used to display full dependencies of one or more files
2013-07-19 15:24:55 +00:00
Ralf Becker
f55a668bdf
include user-data and common prefs like we already do it with eg. server config
2013-07-19 15:22:00 +00:00
Ralf Becker
d16c426fb6
first step towards content-security by passing parameters to egw.js script via data-attributes of script tag instead of using inline scripts in page
2013-07-19 08:45:26 +00:00
Ralf Becker
9af953e2b1
fixed accounts::search sometimes returning too many lines
2013-07-17 13:14:08 +00:00
Ralf Becker
792f1b26cc
replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document
2013-07-17 12:47:21 +00:00
Ralf Becker
94926467d2
always check with "passwd_forbid_name" enabled, if setting of password failed
2013-07-16 14:57:06 +00:00
Ralf Becker
10436d5e41
fixed not being able to switch "forbid password to contain name" off again, after it has been switched on (caused by name "passwd_forbid_name")
2013-07-16 14:50:12 +00:00
Klaus Leithoff
2bdcd29582
pass acount_id to crackcheck, as it is required for crackcheck rule validation forbid_name
2013-07-16 10:42:31 +00:00
Ralf Becker
d48e8f4d84
* PostgreSQL: fix for SQL error eg. on update from 1.8.001 to 1.8.004 from 9.1 on
2013-07-16 06:47:54 +00:00
Ralf Becker
b54aef66e4
need to use own authentication method, to be able to auth user forced to change password and need to always recheck flag, if user are forced to change password, as otherwise he will be prompt again after changing it
2013-07-15 20:29:49 +00:00
Ralf Becker
526c938eec
* Active Directory: allow to do a forced password change in EGroupware and handle reset of that flag for Samba4 too
2013-07-15 20:01:01 +00:00
Ralf Becker
5f74357963
* WebDAV/CalDAV/CardDAV: fixed basic authentication via redirect-rule to use $_SERVER["REDIRECT_HTTP_AUTHORIZATION"] as it is used by newer Apache versions
2013-07-15 11:06:45 +00:00
Ralf Becker
e90a6e1d42
fixed again not working new account creation under AD agains Win2008r2
2013-07-15 08:10:03 +00:00
Ralf Becker
6898ee9cdb
* Admin/Preferences/Active Directory: more understandable password policy errors and using windows defaults only, if admin has not configured something else
2013-07-14 13:05:24 +00:00
Ralf Becker
6e6835ca8f
disable "account_lid" input, if backend (eg. AD) does not allow changing it
2013-07-13 08:34:04 +00:00
Ralf Becker
cb523f8400
* Admin/Active Directory: fixed not working display, setting and removing of "must change password upon next login"
2013-07-13 07:50:36 +00:00
Ralf Becker
5caa242314
* Admin/Active Directory: create new users with CN=<username> as Windows does and allow to configure profilePath, homeDirectory, homeDrive and scriptPath for new users
2013-07-09 15:26:59 +00:00
Klaus Leithoff
16014f8067
* API: fix for wrong (unexpected array) type passed in check_list
2013-07-08 08:04:41 +00:00
Hadi Nategh
86dfe42104
replace no longer existing depricated egw_info->user email and fullname
2013-07-04 17:45:20 +00:00
Ralf Becker
76ab4eee25
return account_expires and account_primary_group via accounts::search
2013-07-03 16:26:18 +00:00
Ralf Becker
4850efed1e
fix js error, when chosen is not loaded, eg. on admin >> manage accounts
2013-07-02 12:37:01 +00:00
Ralf Becker
bca1712229
fixed allowed memory size exceeded error, if trying to read history from a ldap or ads contact with an id starting with a letter, did an unlimited query for all history-log entries of addressbook
2013-06-29 16:44:55 +00:00
Ralf Becker
2702d01b34
* Admin/API/ADS: account creation did not set initial password
2013-06-29 09:30:22 +00:00
Ralf Becker
8325352e88
* Admin/Preferences/ADS: give explicit error, that AD requires SSL or TLS to change passwords (not just failing with unspecific error)
2013-06-29 08:51:02 +00:00
Ralf Becker
5e0c017129
remove old default of 7 for password length, as it allways checks for that default otherwise
2013-06-28 16:20:01 +00:00
Ralf Becker
287abb2b38
adding again error message and number from DB to exception thrown in case of SQL errors, also adding a new method to abstract MySQL group_contact for PostgreSQL 8.4+
2013-06-28 10:50:42 +00:00
Ralf Becker
a0cba996a0
display mail-address for groups in AD
2013-06-26 19:57:48 +00:00
Ralf Becker
5eea435035
fixed auth_sql to allow updating passwords of in-active accounts and return true for all successfull password changes as documented (returned false if password was unchanged and hash password on success)
2013-06-26 09:49:30 +00:00
Ralf Becker
ee41d4a09d
* Admin/API/LDAP: fixed not working pagination of accounts for 2. or further pages introduced by enabling caching again in last package
2013-06-26 08:12:17 +00:00
Ralf Becker
aa1426b8de
* Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures
2013-06-25 16:37:44 +00:00
Ralf Becker
aa221a4e77
add tabs for each application
2013-06-25 13:14:27 +00:00
Ralf Becker
293d395472
allow auth backends to throw exceptions to give verbose error why password changing failed, auth_ads does now password strength check (even if not configured), as this is most likely cause for not changed password
2013-06-23 10:46:26 +00:00
Ralf Becker
c44be3ee6d
handle not available AD or LDAP connection with an exception, caught and just displayed within setup, so one can change ip or credentials
2013-06-23 09:58:08 +00:00
Ralf Becker
78efd4a604
* API: if re-connect to database fails for an existing session, stop execution with an exception, as otherwise eg. preferences can get lost
2013-06-20 13:30:58 +00:00
Ralf Becker
025c6a4c22
need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!)
2013-06-20 09:54:08 +00:00
Ralf Becker
7b9bcffb74
* Admin/ActiveDirectory: fixed only first N accounts where shown and turned accidently switched off caching in session on again
2013-06-20 07:45:08 +00:00
Ralf Becker
02e4c44624
* Addressbook/LDAP: recreation of contact (eg. because of missing objectclass) failed and lead to deleted contact or account
2013-06-18 10:45:00 +00:00
Ralf Becker
b993253dcd
* API: ancent APC (3.1.3) in Debian 6/Squezze has size in MB without a unit, this caused APC not to be used because of to small cache size
2013-06-18 06:35:12 +00:00
Nathan Gray
22f2b5599b
Only echo JSONResponse if it's non-empty
2013-06-12 21:06:16 +00:00
Ralf Becker
066ffc2c25
refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list
2013-06-12 16:57:44 +00:00
Nathan Gray
936c375a2d
Fix cache not being updated when clearing a preference
2013-06-11 22:43:42 +00:00
Ralf Becker
b6319b43cf
* API: allow to set a maximum caching time used instead of unlimited caching or a bigger time, eg. in header.inc.php: egw_caching::$max_expiration = 864000; // 10days
2013-06-10 09:55:22 +00:00
Ralf Becker
7e8db9b2fe
urlencode password to cope with url special chars like forward slash or @ in passwords
2013-06-03 19:32:26 +00:00
Klaus Leithoff
6270bc83f9
allow some nesting of div elements
2013-06-03 13:27:19 +00:00
Ralf Becker
d328af7cff
accounts addressbook incl. working updates for active directory
2013-06-01 17:55:33 +00:00
Ralf Becker
3996f8a936
* MySQL: got mysqli extension working and make it default for EGroupware, as mysql is now officially deprecated, existing installs need to be switched manually in header.inc.php or Setup >> Manage header
2013-05-26 09:32:41 +00:00
Ralf Becker
b9102b010c
* Sambaadmin: create new users/groups in LDAP with uidNumber/gidNumber matching relative id (last part of SID) to ease migration to AD or Samba4
2013-05-25 11:07:38 +00:00
Ralf Becker
8c6fd8d936
changes to create users and set passwords on win2008r2
2013-05-24 17:08:15 +00:00
Ralf Becker
9ecefc6b79
* LDAP: only check for matching system users, if a new account get added, as existing accounts can be reported - depending on configuration - as system users too
2013-05-23 17:09:59 +00:00
Klaus Leithoff
a7944a3b76
fix problem regarding the ability to save a groups emailaddress
2013-05-23 13:48:51 +00:00
Ralf Becker
4037993dc5
* API: full support of active directory as account storage, tested so far with Samba4
2013-05-22 17:22:20 +00:00
Ralf Becker
f993f20723
* API: fallback auth checks and - if necessary - updates passwords on fallback on successful primary authentication or password change, to ensure they are kept up to date
2013-05-22 09:02:53 +00:00
Klaus Leithoff
5182f8280b
* eMail: fix problem on compose when changing signatures, when html-mail contained anchors
2013-05-22 08:30:40 +00:00
Ralf Becker
95cfb08502
* All apps: group grants now again return inactive users, was broken since inactive users are no longer shown in user-selections
2013-05-16 12:43:44 +00:00
Ralf Becker
2b2938d2dd
methods to get/set current account_id taking care of necessary offset for groups
2013-05-10 17:20:37 +00:00
Ralf Becker
a23205060b
use new eTemplate preferences
2013-05-10 16:39:42 +00:00
Ralf Becker
efdd96d0a9
fixed not working CalDAV/eSync log viewer, LAB.wait missing
2013-05-09 10:29:53 +00:00
Klaus Leithoff
80f74e5449
* Tracker: fix bug regarding the save of replys that could be regarded as empty (only span with style, no content)
2013-05-07 11:38:44 +00:00
Klaus Leithoff
e8852dc8f3
on InlineImageExists make sure there is at least one attachment
2013-05-06 14:37:23 +00:00
Klaus Leithoff
7e00a006d7
* API/phpmailer: introduce optional parameter to InlineImageExists, to be able to determine if all attachments are inline, or only some; this will be used to decide on the mimetype of the message to be sent (multipart/ related (all) or mixed (some))
2013-05-06 14:27:41 +00:00
Ralf Becker
24604bdb5d
method to test which apps implement a hook
2013-05-03 15:31:09 +00:00
Klaus Leithoff
bec51776a4
we set allowedContent to true as the 4.1 contentFiltering system allows only activated features as content
2013-04-29 08:43:42 +00:00
Klaus Leithoff
e589930fd8
rework of link to text functionality when converting HTML to Text
2013-04-25 14:18:49 +00:00
Ralf Becker
a211ea665d
remove echo of error-message of failed ldap connection, it scares users when flushing cache in setup
2013-04-23 13:30:44 +00:00
Nathan Gray
5e84ddd935
Change admin column selection to allow setting / clearing / forcing column selection
2013-04-22 22:32:40 +00:00
Klaus Leithoff
fa091d879c
adapt preg_match to recognize IE 10
2013-04-18 14:21:32 +00:00
Klaus Leithoff
7b1047aacb
reintroduce r23367 (setFocus capability) and r29752 (oversized events)
2013-04-18 13:22:35 +00:00
Klaus Leithoff
38e5f6e29e
remove call of setFocus as currently not provided
2013-04-18 13:00:41 +00:00
Ralf Becker
ad4776c78e
allways using filemtime for timestamps appended to urls to force loading of current version, as mixed use of file{c,m}time causes wired errors due to double loading eg. on OS X where they are different
2013-04-13 07:17:36 +00:00
Ralf Becker
a1d90ea237
get regexp to play nice with opening script tag without attributes
2013-04-09 12:47:44 +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
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
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
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
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
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
Klaus Leithoff
382b12b29a
missing fallback on skins
2013-03-14 17:00:34 +00:00
Klaus Leithoff
a3ef1985ec
switch to CKEditor4
2013-03-14 16:30:55 +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
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
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
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
Ralf Becker
d44e448976
include unsuccessfull session creation and reason in debug logging
2013-02-15 16:15:52 +00:00
Ralf Becker
52ea94cbee
using LABjs to load javascript files in order via egw.includeJS
2013-02-15 15:30:35 +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
52ac0dd0b3
fix lang.php always returning all translations, because preferences::standard_substitutes loads them
2013-02-07 15:32:18 +00:00
Ralf Becker
daac136f47
as et2 adds options as text, we can NOT use html entities, but direct utf-8 chars, which unfortunately php does not support as string literals, using html_entity_decode therefor
2013-02-05 11:24:02 +00:00
Ralf Becker
e47fca7d10
missing templates and a fix for new reply handling
2013-02-01 16:54:51 +00:00
Ralf Becker
685cc0ab26
ignore whitespace before and after equal sign in dkim tags
2013-01-30 16:40:41 +00:00
Ralf Becker
5521f110ec
option to fold dkim signature, which is off by default as recommend for http and sign Authorization header - if given - as required by current iSchedule spec
2013-01-30 10:17:55 +00:00
Ralf Becker
1d96ed8cf9
added private-exchange to list of methods how to fetch public key
2013-01-30 07:42:17 +00:00
Ralf Becker
17a46f71b0
missing return false to fail if signature is expired
2013-01-29 22:44:31 +00:00
Ralf Becker
1f0523e522
improved dkim signature validation:
...
- whole signature can be folded
- values of bh, b and h tag can contain whitespace
- check optional expiry / x tag
2013-01-29 22:39:24 +00:00
Ralf Becker
d7204c520e
User-Agent complient with https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#header.user-agent
2013-01-29 22:11:42 +00:00
Ralf Becker
b67e43d3ed
some changes to dkim signature:
...
- added User-Agent
- value of x tag is a unix timestamp, not value in secs
- no more oversigning of recipient header, due to new ischedule-relaxed header canon
plus method to check ischedule is available for a domain/email and method to send a freebusy request
2013-01-29 21:54:41 +00:00
Ralf Becker
90e85f4c19
added ken.name public key and setting correct http-status for logs
2013-01-29 19:33:42 +00:00
Ralf Becker
047a8aa9fa
loop over attendee not participants, as we add organizer there
2013-01-29 18:19:16 +00:00
Ralf Becker
d97da6d309
modifications for new iSchedule draft:
...
- ischedule-relaxed header cannonisation
- error xml response
- modified capabilities with serial and iSchedule-Capabilities header in every response
- using urls with mailto: schema for Originator and Recipient headers
2013-01-28 22:00:33 +00:00
Ralf Becker
2fadcab928
modifications for iSchedule
2013-01-28 21:50:07 +00:00
Ralf Becker
c8f1733634
import of orginal version of PHP mail domain signer, required in enhanced form for iSchedule
2013-01-28 21:49:29 +00:00
Ralf Becker
f40a292865
updated capabilities query to current iSchedule spec from jan 2013
2013-01-28 18:15:44 +00:00
Ralf Becker
20e1299729
updated capabilities query to current iSchedule spec from jan 2013
2013-01-28 17:34:00 +00:00
Ralf Becker
9d8c2f42c9
* CalDAV: fixed accepting event removed it from calendar, because email address of a deleted account was prefered over regular account, correctly reporting not found URLs in multiget report
2013-01-25 17:52:28 +00:00
Ralf Becker
2841317b08
* all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again)
2013-01-25 13:21:31 +00:00
Ralf Becker
4c060a5889
* Filemanager: introduced maximum symlink depth of 10, to stop infinit recursion in circular symlinks (eg. two symlinks pointing to each other)
2013-01-24 14:26:02 +00:00
Ralf Becker
9a9e6f0808
docu update
2013-01-24 09:30:30 +00:00
Ralf Becker
0f76ff5ab5
* CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins
2013-01-22 08:37:58 +00:00
Ralf Becker
34f3c8bf1f
* Admin/Setup: fixed restore always converted longtext columns to text and therefore truncating them to 64k on MySQL, also fixed backup to report them correctly in backup of schema
2013-01-21 09:49:59 +00:00
Ralf Becker
140d7498e8
added missing, but not used, parameter
2013-01-21 08:14:01 +00:00
Ralf Becker
da811e3509
* CalDAV/Calendar/Ressources: readded missing resource- and location-calendars after recent changes in resources app
2013-01-18 13:07:11 +00:00
Klaus Leithoff
c8aaaa68cf
handle php warning, when trying to call AddrAppend with empty object/array
2013-01-17 10:14:45 +00:00
Klaus Leithoff
d159f2b51f
* API: adding library idna_convert by Matthias Sommerfeld, and some egw_wrapper for basic config and autoloading
2013-01-10 14:55:35 +00:00
Klaus Leithoff
5d8531f66f
adapt comment
2012-12-17 14:44:18 +00:00
Klaus Leithoff
a210fbc3c7
* email: allow cid as overall url schema; handle background url in htmLawed, as background is not allowed except for body, but commonly used with other tags (e.g. in td); control schema for background in hook_tag
2012-12-17 14:39:00 +00:00
Klaus Leithoff
c3d2170518
remove CR from start and end of lang string line read from file, as it breaks stuff e.g. in eMail module
2012-12-12 10:18:40 +00:00
Klaus Leithoff
36bc7871c1
* API/Translation: fix bug with missing german umlauts as first letter of words; ( as php5.3.3 with squeeze does not support splitting lines with fgetcsv while reading properly if the first letter after the delimiter is a german umlaut (UTF8 representation thereoff))
2012-12-12 09:42:56 +00:00
Nathan Gray
c067e2ccb7
Do the check in a way that matches correctly for all
2012-12-11 15:31:35 +00:00
Nathan Gray
cf5269f6d1
Check for empty user font preference span, and remove it so empty checks still work
2012-12-10 23:10:58 +00:00
Nathan Gray
cbb88e22cb
Remove other places trying to set default ckEditor toolbar mode - using common preference
2012-12-05 20:22:13 +00:00
Nathan Gray
85c15e42fd
Use preference for ckEditor features by default
2012-12-05 19:58:37 +00:00
Nathan Gray
3ee18797b0
Rework common preferences
...
- Better grouping
- Added preferences for rich text editor
- Font
- Font size
Take effect on new, blank editors. Existing data is untouched.
2012-12-04 22:21:59 +00:00
Klaus Leithoff
6a2b8882de
for replaceTagsCompletely modify the prex for singeltons (as we are in Ungreedy mode, so we expect * to be ungreedy without specifying ?)
2012-12-04 14:13:36 +00:00
Nathan Gray
d0fa6110d1
Use CSS to style preference tabs
2012-12-03 18:36:00 +00:00
Klaus Leithoff
f231144c03
* eMail: use different image to show that a image was not loaded (due to allowExternalIMGs=no)
2012-11-29 13:55:45 +00:00
Klaus Leithoff
6378d289ca
use better defaults for some egw_info server values (num_unsuccessful_id, num_unsuccessful_ip, block_time)
2012-11-29 11:13:58 +00:00
Ralf Becker
15df850d28
ignore not (yet) existing mailaccounts table, but not checking for emailadmin, as it is not set in setup
2012-11-22 14:58:34 +00:00
Ralf Becker
350acd2157
handle not (yet) existing mailaccounts table eg. in setup or when no emailadmin installed
2012-11-22 13:25:22 +00:00
Ralf Becker
60a22fe179
accounts part missed in r40877: first take on migrating mail accounts from LDAP to SQL (only qmailUser schema)
2012-11-19 13:19:14 +00:00
Ralf Becker
12fa75f978
fix typo in comment
2012-11-19 08:24:47 +00:00
Ralf Becker
b82f6516e8
fixed not load translations if depending on multiple files and maintaining load_via in tree-wide cache
2012-11-16 09:21:17 +00:00
Klaus Leithoff
cd9e0cfab5
improved control of excess empty div tags
2012-11-15 15:30:11 +00:00
Ralf Becker
6341e8fc33
store group email in mailaccounts table
2012-11-15 15:26:35 +00:00
Klaus Leithoff
bea130bc23
if style stuff contains e.g. font-family: Kunstler Script EGroupware Script detection complains about script tags when posting such content. So we remove Script from inline style definition
2012-11-15 11:55:19 +00:00
Nathan Gray
b83a19284a
UI changes for chosen selectboxes
2012-11-14 20:33:33 +00:00
Nathan Gray
8b55a21206
More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too
2012-11-13 22:14:00 +00:00
Nathan Gray
f72a582532
Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically
2012-11-12 19:29:23 +00:00
Ralf Becker
234a8a8154
check if we use cookies for the session, but no cookie set: happens eg. in sitemgr (when redirecting to a different domain) or with new java notification app
2012-11-12 09:48:31 +00:00
Klaus Leithoff
3420b15ff4
mailheader-decoding: check if there is a possible nested encoding; make sure that the inputstring and the decoded result are different before recursively calling decodeMailHeader on the decoded result (to avoid loops)
2012-11-07 11:46:14 +00:00
Klaus Leithoff
b48bee9406
use NEW exception for assertion failed
2012-11-06 10:36:25 +00:00
Nathan Gray
2218fd8956
Fix category search missing when result is a child, but parent does not match too
2012-11-05 17:56:03 +00:00
Ralf Becker
1e53272309
loading all translations in one go from cachem, saving some latency
2012-11-05 13:24:52 +00:00
Ralf Becker
a709f6104f
* Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache
2012-11-05 12:18:22 +00:00
Klaus Leithoff
4957c77f74
allow to access ReplyTo of MailObject by extending classes; provide Function to retrieve replyTo Address; alter Method to detect wether a filename is already encoded, and if - do not try to use the basename as filename
2012-11-05 08:48:13 +00:00
Ralf Becker
b48e399253
fix for bug #3164 : Lines containing accents are truncated in vCard exports
2012-11-01 17:23:40 +00:00
Ralf Becker
06bc5ea552
do NOT delete preferences, before writing them in preferences::save_repository (might be cause for race-condition causing preferences to be lost)
2012-10-31 14:16:17 +00:00
Ralf Becker
8c4125e75c
* Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup
2012-10-31 14:00:34 +00:00
Ralf Becker
b514745d01
* Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup
2012-10-31 13:56:40 +00:00
Klaus Leithoff
627c65e6dd
* eMail/HTMLawed: introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it
2012-10-30 14:24:08 +00:00
Ralf Becker
d28f83d70e
disable permanent error-log and tests
2012-10-30 12:25:10 +00:00
Ralf Becker
7cd606e529
cumulate group-preferences of all memberships of a user, not just his primary group
2012-10-30 10:22:05 +00:00
Ralf Becker
71cebbf12e
allow to query cache for multiple locations at once: $location param to getCache is an array and returned is an array indexed by these locations (not found entries are NOT returned
2012-10-30 10:02:37 +00:00
Klaus Leithoff
9c73af1aca
* eMail: allow table as inline element while balancing tags (new internal config option); try to correct common errors/problems in html-code which caused display/layout problems
2012-10-29 15:49:13 +00:00
Ralf Becker
c327cba153
consistently send ETag by using and extending put_response_headers
2012-10-29 12:23:17 +00:00
Ralf Becker
aca3b3b028
* CalDAV/CardDAV: fix not working logging of errors into traffic log
2012-10-29 12:14:33 +00:00
Ralf Becker
f7cc51ad18
do NOT minify ckeditor, as it breaks it (it is already minifyed anyway)
2012-10-26 10:00:05 +00:00
Ralf Becker
18fe5c1d4b
fixed minify issues: installation in docroot is now handeled, as well as problems with jscalendar and email
2012-10-26 09:24:39 +00:00
Ralf Becker
7a981eba15
using pseudo-sessionid for ownCloud remote.php url too, as we otherwise generate lots of new sessions
2012-10-25 12:51:28 +00:00
Ralf Becker
99e1cad866
* Filemanager/WebDAV: support for newer ownCloud clients (eg. version 1.1.1)
2012-10-24 16:25:53 +00:00
Klaus Leithoff
5b295573dd
introduce detect_encoding functionality as a static function (used in decodeMailHeader as of now)
2012-10-24 10:54:44 +00:00
Ralf Becker
b6a2d9591f
koping with EGroupware installed direct in docroot (webserver_url "", "/" or "http(s)://domain.com/")
2012-10-24 06:27:56 +00:00
Ralf Becker
a6190a6933
* API: only cache in APC by default, if it has at least 64M of shared memory, otherwise use filesystem
2012-10-23 07:49:21 +00:00
Ralf Becker
c87d6997ab
* CalDAV: fixed parsing of principal urls used by iOS6 for users
2012-10-22 16:43:51 +00:00
Ralf Becker
6996efe50b
use minify on javascript files: for now minify does NOT support query parameters, nor php files generating javascript, therefore these are excluded
2012-10-15 17:22:44 +00:00
Ralf Becker
82c73c423e
patch for minify to support EGroupware set up as an alias, which is a common setup
2012-10-15 16:22:42 +00:00
Klaus Leithoff
019a84cd17
update htmLawed to Version 1.1.14 (including adaptions from http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=235 )
2012-10-15 09:33:01 +00:00
Ralf Becker
4e8f54268c
fix for typo: path_url --> parse_url
2012-10-15 06:51:54 +00:00
Ralf Becker
71ec92a777
cache, concat and minify all css resources to speed up requests, javascript files planned too
2012-10-14 19:38:32 +00:00
Ralf Becker
4c5b764347
allow to use HTTP_HOST (without optional port) or SERVER_NAME to find matching instance
2012-10-12 15:11:42 +00:00
Klaus Leithoff
db78e25cc0
rework changes regarding denied attributes; improve import of mails regarding filename detection for attachments
2012-10-10 10:37:45 +00:00
Klaus Leithoff
7e827dfcef
filter/remove (on(before)?(abort|blur|change|click|dblclick|error|focus|keydown|keypress|keyup|load|mousedown|mousemove|mouseout|mouseover|mouseup|reset|select|submit|unload)) attributes in/with htmLawed for default and email config
2012-10-09 09:27:13 +00:00
Ralf Becker
1b98e9e858
requests in log were always trunkated (since last changes) and fixed quoting in autoindex for hierarchical props in collection resources
2012-10-08 11:20:29 +00:00
Ralf Becker
46acebf2a7
fixed many issues with dkim signing
2012-10-06 19:42:05 +00:00
Ralf Becker
81376af3f3
got dkim-validation working with oversigned headers and sha256 hashing algorithm
2012-10-05 10:52:53 +00:00
Ralf Becker
20db974942
added logging like for CalDAV/CardDAV (curently permanently enabled)
2012-10-04 12:09:25 +00:00
Ralf Becker
bef455f5e3
make logging available for iSchedule
2012-10-04 11:59:04 +00:00
Ralf Becker
aeeb585604
dkim signature according to iSchedule draft 02
2012-10-04 05:56:30 +00:00
Ralf Becker
18ceb54882
dkim signature according to iSchedule draft 02
2012-10-04 05:53:52 +00:00
Ralf Becker
5a890e36ab
updated capabilities to draft 02
2012-10-03 11:19:12 +00:00
Ralf Becker
e9fe6cd6e1
adapted to updated spec using action=capabilities
2012-10-03 10:10:13 +00:00
Ralf Becker
19f25f2012
adapted to updated spec using action=capabilities
2012-10-03 10:08:09 +00:00
Ralf Becker
0d5ae0e2c2
added dkim signature validation to ischedule_server
2012-10-03 07:56:43 +00:00
Ralf Becker
33510a2f4d
dkim signature for posts using mailDomainSigner class, plus some code to generate and store a key-pair
2012-10-02 22:30:36 +00:00
Ralf Becker
4e2a7dab80
* CardDAV/Addressbook: fixed not working delete of contacts
2012-10-01 17:23:44 +00:00
Ralf Becker
a52876ad6a
freebusy for iSchedule
2012-10-01 14:21:55 +00:00
Ralf Becker
eef63477c5
fixed invalid xml in CardDAV:principal-address property of pricipal collection
2012-10-01 14:16:18 +00:00
Ralf Becker
3e538116c9
add some check if cached config does not meet basic requirements, recreate it then
2012-10-01 09:23:51 +00:00
Ralf Becker
7783f1535a
start of iSchedule implementation
2012-09-30 21:03:33 +00:00
Ralf Becker
db4bdb7f74
* CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences
2012-09-27 15:46:08 +00:00
Ralf Becker
52675388a3
* CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync
2012-09-26 14:30:47 +00:00
Ralf Becker
c9074f936d
additionally check prefs read from cache, if they are of type array, otherwise read them from db, might help with APC at least in some versions not seem to deal correctly with out-of-memory
2012-09-26 10:18:18 +00:00
Ralf Becker
078fa987d4
allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime
2012-09-26 10:01:02 +00:00
Ralf Becker
3b7a0171c8
* Filemanager: fixed not working repair of doublicate directories
2012-09-25 12:55:17 +00:00
Ralf Becker
f224fe5852
sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set
2012-09-24 10:26:29 +00:00
Ralf Becker
e69918f583
* CalDAV/CardDAV: return urn:uuid as last record in calendar-user-address-set, as according to iCal4OL developer, some clients might have problems with it, also adding both full uri and just path of principal url, as calendarserver does it
2012-09-24 07:07:57 +00:00
Ralf Becker
a6f541edba
* CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts)
2012-09-23 20:19:35 +00:00
Nathan Gray
a86a3d72c6
Fix fatal error deleting user (LDAP)
2012-09-21 14:36:02 +00:00
Ralf Becker
40e7908231
* API/all apps: fixed account-selection popup started with all users, not primary group, also displaying shown group in bold
2012-09-04 14:08:09 +00:00
Klaus Leithoff
6b8a937977
fix the use of deprecated firstname/lastname; using account_firstname/account_lastname
2012-08-30 11:49:06 +00:00
Klaus Leithoff
4cd32b9deb
silence warnings
2012-08-22 08:00:36 +00:00
Klaus Leithoff
c888134a04
* email: fix for ->no initial border on plaintext editor textarea<-
2012-08-15 14:55:02 +00:00
Ralf Becker
89a10f6234
* Filemanager/WebDAV: fixed not working Subscribtions (Notifications) when using WebDAV, caused by PHPs internal stat-cache
2012-08-14 13:55:02 +00:00
Klaus Leithoff
e5a80d758a
fix bug regarding certain russian filenames when forwarding/compose as new, as AddStringAttachment is using basename to make sure only a filename will be used for the namepart; some fixes backported from phpmailer5.2.1
2012-08-14 13:52:26 +00:00
Ralf Becker
25ddf016f4
only truncate string if length given and <= 255, to not unnecessary truncate varchar(>255) as PostgreSQL uses text anyway and MySQL truncates itself silently (unless strict mode!)
2012-08-13 14:42:55 +00:00
Ralf Becker
1d743830c9
need to allow account_lid string as parameter for accounts::id2name(), it is used in many places
2012-08-13 14:26:00 +00:00
Ralf Becker
c23f7fc95b
* WebDAV/GroupDAV/CalDAV/CardDAV: removed option only used for old KDE GroupDAV resource and unknown WebDAV clients producing invalid XML, fix for community bug #3152
2012-08-13 09:32:03 +00:00
Ralf Becker
c0f83a275d
* API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255)
2012-08-12 09:49:06 +00:00
Ralf Becker
188e2f8038
cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts
2012-08-09 09:02:50 +00:00
Ralf Becker
51270655f9
cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts
2012-08-09 08:56:28 +00:00
Ralf Becker
46f700851a
cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts
2012-08-09 08:50:04 +00:00
Ralf Becker
110ad12bb6
delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password
2012-08-08 16:25:03 +00:00
Ralf Becker
48009a16e5
avoid calling accounts->members(hips) without an account_id
2012-08-08 10:47:47 +00:00
Ralf Becker
75b458b2f8
avoid calling accounts->members(hips) without an account_id
2012-08-08 10:41:04 +00:00
Ralf Becker
c30999f1b4
call hook again, in case an (smtp) error happened
2012-08-08 10:01:01 +00:00
Ralf Becker
92a97ea4d9
accounts::id2name() needs to return false, not throw an exception for not found accounts
2012-08-07 16:09:54 +00:00
Ralf Becker
0e0993863c
* API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions
2012-08-07 13:57:56 +00:00
Ralf Becker
6fa4cc864e
not storing $GLOBALS[egw_info][user] twice in session (was also stored as $GLOBALS[egw]->session->user), also removing not used $GLOBALS[egw_info][user][acl], but re-reading preferences in session::verify() so long running sessions get preferences set by an other session, removing nowhere used creditspoint class from api (calls not public available creditspoint app)
2012-08-07 08:55:41 +00:00
Ralf Becker
c2105fcf31
* API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache)
2012-08-06 10:06:59 +00:00
Klaus Leithoff
5b47c1cdfa
different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik
2012-08-03 08:24:40 +00:00
Klaus Leithoff
6123e479b2
revert r40031
2012-08-02 10:01:39 +00:00
Klaus Leithoff
f9ceede91b
different approach to avoid php-warnings on str_repeat
2012-08-02 08:27:06 +00:00
Klaus Leithoff
6fc8e208c1
add rarely used charset mswin1252; seems to be a variation of windows-1252
2012-08-01 14:53:33 +00:00
Klaus Leithoff
e547e8adfa
if balancing is switched on, allow span element everywhere
2012-08-01 08:29:32 +00:00
Ralf Becker
0195bad452
* Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog
2012-07-31 17:44:01 +00:00
Klaus Leithoff
9bb5ddfdf4
upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik
2012-07-31 15:14:44 +00:00
Ralf Becker
0d84fdd087
jQuery 1.6 (used in Trunk) needs to use prop() instead of attr() to access DOM attributes
2012-07-31 13:35:29 +00:00
Ralf Becker
42563b8d1a
* LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations
2012-07-31 12:28:05 +00:00
Klaus Leithoff
eafb5f8730
take care of php-warning on str_repeat (second param has to be greater or equal to 0)
2012-07-31 11:06:55 +00:00
Klaus Leithoff
af782d1fc7
simple balancing on throwaway divs
2012-07-31 10:59:56 +00:00
Ralf Becker
b0267b6744
fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration
2012-07-31 09:56:25 +00:00
Klaus Leithoff
9526746694
throwing away excess div elements, that carry no style or class or id info
2012-07-30 15:07:56 +00:00
Klaus Leithoff
0904fb74b6
small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags)
2012-07-27 10:17:06 +00:00
Ralf Becker
13bcf73178
fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix
2012-07-20 16:30:26 +00:00
Ralf Becker
44dd8e92e9
* Admin/Setup: fixing high memory usage in registering all hooks
2012-07-18 10:34:31 +00:00
Ralf Becker
bf9efd2acc
slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified
2012-07-17 15:17:22 +00:00
Ralf Becker
493bf3bcd0
fixed 5.4 PHP Warning: Illegal offset type
2012-07-17 13:59:37 +00:00
Ralf Becker
6699e26062
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:36:53 +00:00
Ralf Becker
dea7e46a2d
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:27:01 +00:00
Ralf Becker
04f732e653
using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs
2012-07-16 12:05:21 +00:00
Ralf Becker
727bd06868
fix returned xml for correct expansion is empty
2012-07-15 09:55:46 +00:00
Ralf Becker
b4f087e41e
correctly returning multiple expanded properties as eg. calendar-proxy-(read|write)_for example
2012-07-15 09:12:28 +00:00
Ralf Becker
b690d98fc4
* CalDAV: expand-property reports queried by iCal from OS X 10.7.4
...
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, this is NOT yet handled correct!
2012-07-14 19:41:43 +00:00
Ralf Becker
588950ae29
fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!)
2012-07-14 08:53:44 +00:00
Ralf Becker
49a90413e4
fixed PROPFIND did not return additional properties if path contained special chars like ? or #
2012-07-13 15:55:29 +00:00
Ralf Becker
f4724ee3d4
xcache caching provider
2012-07-12 13:18:22 +00:00
Ralf Becker
371ebda9b0
only create a temporary mount for ownCloud clients on /clientsync, thought admin can create a different permanent one
2012-07-12 08:48:13 +00:00
Nathan Gray
417c1aa27f
Use creator if file modifier is null
2012-07-10 15:51:14 +00:00
Ralf Becker
d97111833c
* PostgreSQL: fixed SQL error using egw_db::unix_timestamp(): No function matches the given name and argument types
2012-07-10 13:50:45 +00:00
Ralf Becker
86df4ba58b
allow to use default host, but give a dn and pw
2012-07-05 07:23:06 +00:00
Ralf Becker
3459a34a9f
limit IE hack (no attachment in Content-disposition header) to IE < 9
2012-07-03 09:33:26 +00:00
Ralf Becker
dc7259a59c
invalidate categories cache after DB restore
2012-07-03 08:16:52 +00:00
Ralf Becker
d0f097e1ec
chunk size for number of rows to query was far to low for huge tables like egw_history_log which can be a couple of million rows, backup took far to long
2012-07-03 07:05:55 +00:00
Ralf Becker
f88aa3738b
* Admin/DB-Backup: querying only chunks for 100 rows, to not run into memory limit on huge tables
2012-06-30 15:18:49 +00:00
Klaus Leithoff
45fe6d9fea
for new (autocreated) accounts, set ->can change password<- appropriately, move section before processing of hooks
2012-06-29 13:54:13 +00:00
Klaus Leithoff
fa90c1066c
* API: for new (autocreated) accounts, set ->can change password<- flag only if admin requires his users to change their passwords regularily (admin->site configuration->set recurrent forced password change)
2012-06-29 11:38:58 +00:00
Ralf Becker
09997309ab
docu update
2012-06-29 09:05:22 +00:00
Ralf Becker
5100dfcc71
* Password: fixed not working check, if user has right to change password, causing password link in topmenu to be displayed when not in preferences app
2012-06-29 07:14:46 +00:00
Ralf Becker
2674b43532
create valid SQL, even if account has for whaterver reason no group-memberships
2012-06-28 16:39:36 +00:00
Nathan Gray
3d4b28ae15
Add changes in linked files into history log (et2)
2012-06-27 20:32:45 +00:00
Ralf Becker
b025809df1
* CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7
2012-06-27 20:08:56 +00:00
Ralf Becker
52d7d6bbcf
* Admin: global categories showed private categories of other users
2012-06-27 16:04:51 +00:00
Klaus Leithoff
fafb8947d3
* API: HTML Editor-> disable encoding as entities needs to set the config value to false, as the default is true with the current ckeditor version
2012-06-26 12:37:42 +00:00
Ralf Becker
ab086e10a2
* Filemanager/API: automatically decrement and store subquery depth limit, to work around different limits in different MySQL versions and configurations causing SQL error
2012-06-26 12:07:37 +00:00
Ralf Becker
3418c5284e
* Backup: fix sometimes not working restore (seems like an internal error in preg_match, causing Apache to run at 100% CPU never finishing) for php 5.3+
2012-06-17 10:10:46 +00:00
Klaus Leithoff
502a00e17f
mangle @ in blockquote cite attribute
2012-06-13 11:10:12 +00:00
Ralf Becker
fb00481043
* eSync/API: update access-log action for eSync, run maintenance only on logout and other changes to speed up access/update to huge access-logs, thought indexes on session_php, (account_id,ip,li), (account_id,loginid,li) will help alot
2012-06-12 06:37:58 +00:00
Ralf Becker
c3e0a2ab15
* Setup/Admin: restoring 10 rows per sql statement to speed up restore
2012-06-10 12:38:35 +00:00
Ralf Becker
27748e4f50
allow apps to implement further fsck methods
2012-06-08 16:19:21 +00:00
Klaus Leithoff
c0dcb66ebc
replace ctype_digit with is_numeric, as ctype_digit returns false on integers
2012-06-06 10:48:58 +00:00
Klaus Leithoff
fdfcdfc387
* API: upgrade htmLawed from 1.1.10 to 1.1.11
2012-06-06 08:54:35 +00:00
Nathan Gray
09937c410d
Fix history logging of removed links when removing by link_id - need to read values before they are deleted
2012-06-05 16:44:48 +00:00
Klaus Leithoff
c00e9756eb
when converting HTML 2 Text remove style,head and comment style browser-switch
2012-06-04 14:56:45 +00:00
Ralf Becker
dc17cfbb47
* API: support windows-1256 via iconv and prefer iconv for windows-1252 too
2012-06-04 11:58:08 +00:00
Klaus Leithoff
6fcc4455e4
* email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog)
2012-06-04 11:26:40 +00:00
Ralf Becker
e1cb2efa1b
moved uri parsing into _connect, to allow multiple uri not just multiple hosts and added parameter to constructor to throw exceptions instead of echoing error-messages and returning false on ldapConnect
2012-06-04 07:59:07 +00:00
Ralf Becker
0c6d80d778
* API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history
2012-06-01 13:13:06 +00:00
Klaus Leithoff
d4c0a892cb
remove kses and htmlpurifier, as they are replaced by htmLawed now
2012-06-01 12:46:59 +00:00
Klaus Leithoff
b6638adc24
handling of multibyte chars in attribute values of tags in mbstring.func_overload enviroments,
...
as substr_replace does not have a multibyte func overload function associated.
Thus substr_replace(, '', 0, strlen()) will fall short in the above mentioned enviroments; we use our own bytes-function now introduced into htmLawed
2012-05-30 09:22:27 +00:00
Nathan Gray
41cf864a73
Respect group filter, if passed
2012-05-29 22:24:15 +00:00
Ralf Becker
a1f6f70330
* Admin: remove session timeout from EGroupware config and read it via ini_get("session.gc_maxlifetime") as config fails for many reasons, if different from php.ini setting
2012-05-29 14:43:33 +00:00
Klaus Leithoff
2509d7783f
attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step
2012-05-25 12:23:11 +00:00
Nathan Gray
efbb743cc6
Log removal of link in history
2012-05-24 17:33:16 +00:00
Ralf Becker
6ff1db3534
* Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes
2012-05-22 13:51:30 +00:00
Ralf Becker
3e8501a139
fixed PHP 5.4 Warning: Illegal string offset
2012-05-21 10:56:14 +00:00
Ralf Becker
d9142cca30
allow to specify a custom filter for egw_session::session_(list|count)()
2012-05-19 18:19:43 +00:00
Ralf Becker
7548d5c1e2
missing ms office 2007/10 mime types
2012-05-16 06:04:35 +00:00
Klaus Leithoff
6d650d6abf
work around a problem with balance tags removing content
2012-05-15 15:17:27 +00:00
Ralf Becker
d2a667c040
* AsyncServices/Calendar: when multiple alarms / async jobs run at same time, they send mail with from address of first alarm/job
...
caused by ExecMethod re-using objects instanciated in $GLOBALS, which get now unset when user-context needs to change because async job runs under different user
2012-05-15 12:15:18 +00:00
Nathan Gray
2764e9529c
Add function to get integer/byte filesize from human readable
2012-05-14 19:10:45 +00:00
Ralf Becker
5cafed6381
fixed since r39109 (merge for filemanager) not working install
2012-05-11 08:35:32 +00:00
Ralf Becker
30e86a8195
return success or error if called via HTTP as HTTP status
2012-05-08 21:47:49 +00:00
Nathan Gray
065fd1a772
Point account links to addressbook view
2012-05-03 15:23:30 +00:00
Klaus Leithoff
1f6c3b2df7
* API/eMail: catching failure to attach files, or fail on attaching empty files, or failure to encode files
2012-05-02 08:31:59 +00:00
Ralf Becker
1e4c845aab
call notification hook for unlink/rmdir only after successful removal, but with (not longer existing) stat data
2012-04-19 13:18:00 +00:00
Ralf Becker
c3c785de0b
* CalDAV: fixed PHP Fatal Error when iCal contains invalid participant url like Lighttnings "invalid:noemail"
2012-04-19 12:51:04 +00:00
Nathan Gray
ebdc207ff5
Apply no_acl_check to global categories too
2012-04-16 16:37:18 +00:00
Ralf Becker
797a412ec8
fix not working update from 1.6 by running register-all-hooks after restore (old 1.6 wiki_bo::search_link hook can not run in setup, so we need the new hook)
2012-04-13 14:33:43 +00:00
Ralf Becker
747b403973
fixed bug in memcache extension < 3.1.1 with memcache > 1.4.3, eg. Debian 6, causing delete of cache items to fail
2012-04-13 10:57:27 +00:00
Ralf Becker
189d89be1b
tests for egw_cache_provider and not using APC for cli, if apc.enable_cli is not set
...
Also did some benchmarking on my Macbook (with a SSD and memcached running on localhost):
Checking egw_cache_memcache:
0 checks failed, 100 iterations took 0.480 sec
Checking egw_cache_apc:
0 checks failed, 100 iterations took 0.025 sec
Checking egw_cache_files:
0 checks failed, 100 iterations took 0.826 sec
--> APC is by a factor of 20 faster then memcached, which is double as fast compared to files on a SSD
2012-04-13 10:21:58 +00:00
Ralf Becker
a548f444e1
have to use schema from backup itself, not (autoloaded) current schema
2012-04-13 06:09:51 +00:00
Klaus Leithoff
9503984a4b
* API: introduce htmLawed by Santosh Patnaik into EGroupware. Its planned to replace htmlPurifier with htmLawed as htmLawed provides better configurability, needs less resources and is a lot faster;
2012-04-12 13:35:28 +00:00
Ralf Becker
d85cffb5e8
fixed since r38811 not working restore of backups
2012-04-12 13:25:27 +00:00
Ralf Becker
15c9fd0d32
* CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible
2012-04-12 10:44:00 +00:00
Ralf Becker
18d74430ea
* Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns)
2012-04-12 08:04:35 +00:00
Ralf Becker
5e66d1a2ce
docu update: added accounts-addressbooks accessible via CardDAV
2012-04-11 20:33:24 +00:00
Ralf Becker
7b393d6ab9
disable encoding as entities, as it is unnecessary in EGroupware, because we are using utf-8 everywhere
2012-04-11 14:57:00 +00:00
Ralf Becker
18e2ba28fc
* most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source)
2012-04-11 14:52:08 +00:00
Ralf Becker
bcb9b2f5c9
fixing the fix: api version is not yet read, therefore use modifiction time of phpgwapi/inc/setup.inc.php instead
2012-04-10 07:53:08 +00:00
Ralf Becker
7e2fd95d9e
* CalDAV/CardDAV: add API version to pseudo session-id used to invalidate all sessions from the previous version (which eg. give database errors, because using old schema)
2012-04-07 06:53:38 +00:00
Ralf Becker
407570090d
store already read table-defintions no longer in session (in ['egw_info']['apps'][]['table_defs']) but in a static variable only within the request:
...
--> keeps session smaller
--> php file with table-defintion get stored by accelerator anyway, so nothing to gain
--> if schema get's updated long running sessions like CalDAV not getting fatal errors
2012-04-05 07:05:22 +00:00
Ralf Becker
3e4ef81080
load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip)
2012-04-04 13:05:58 +00:00
Ralf Becker
82e4093f1c
* ProjectManager: fixed not working editing of projectelement via context-menu (also check registed sub-types of apps user has access to)
2012-04-03 13:30:44 +00:00
Ralf Becker
a3ada52adf
* Admin/ImportExport: fixed import of already hashed passwords
2012-03-29 18:33:33 +00:00
Ralf Becker
2f62d7e3b5
allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager
2012-03-28 13:01:37 +00:00
Ralf Becker
629b9bb393
* CalDAV/CardDAV: fixed typo preventing sync, if logging to Apache error-log was switched on
2012-03-28 07:03:40 +00:00
Ralf Becker
b747f99fc6
removed menuaction check completly, as only missuse was setting currentapp from it, which get now checked
...
improved _check_script_tag and added a lot of tests, thought not all tests really apply here, so low count of ~50% are not as bad
2012-03-27 08:29:52 +00:00
Ralf Becker
a6fe9b04bc
fix to get menuaction proxys (eg. used when creating a link) working again
2012-03-26 11:12:41 +00:00
Ralf Becker
a4727231c5
allow dash in app-name like in "sitemgr-site"
2012-03-26 08:05:11 +00:00
Ralf Becker
650da27fac
Upps, forgot argument
2012-03-26 07:23:52 +00:00
Ralf Becker
ef9734c402
propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp]
2012-03-26 07:18:00 +00:00
Andreas Stöckel
c525cadcdb
Reverted accidently made commit for class.egw_framework.inc.php
2012-03-23 13:43:20 +00:00
Andreas Stöckel
eadeb57f28
Fixed problem with registered data callbacks, when the window the callback belongs to is closed
2012-03-23 13:39:27 +00:00
Ralf Becker
8bd0e2865d
keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server
2012-03-23 11:26:58 +00:00
Ralf Becker
d3cd7ea65b
only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access
2012-03-22 12:59:34 +00:00
Ralf Becker
d8c9a194da
only return mime-information of apps the user has access to
2012-03-22 12:43:47 +00:00
Ralf Becker
b5adc21ff6
register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!)
2012-03-21 10:28:48 +00:00
Ralf Becker
f62b4784a0
* API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups)
2012-03-21 09:24:04 +00:00
Klaus Leithoff
3abeb7c464
add onbeforeunload as action
2012-03-21 08:25:17 +00:00
Ralf Becker
61474e73c4
* LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails
2012-03-21 07:55:51 +00:00
Ralf Becker
200cad46a8
remove not necessary mime_(type|size|name)
2012-03-20 16:01:00 +00:00
Ralf Becker
cd2cc35b73
* InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too
2012-03-20 11:18:33 +00:00
Ralf Becker
96796f5edb
if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh)
2012-03-17 10:54:36 +00:00
Ralf Becker
b28a0ced08
check and reset cookie configuration, if it does not match current enviroment
2012-03-15 12:55:59 +00:00
Ralf Becker
7d4b32f5af
deprecating common::show_date($time,$format,$adjust_for_usertime=true) in favor of new egw_time::to($time,$format) or egw_time::server2user($time,$format), also using that two now for common::show_date()
2012-03-14 15:37:25 +00:00
Ralf Becker
a1ffcd08e4
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Andreas Stöckel
d486e50a57
phpgwapi:
...
* Changed way of how "webserverUrl" gets set - any type of data can now be
injected into the egw object by creating an object with the data and an
entry "prefsOnly" set to true. This allows to ensure, that "webserverUrl"
is the first thing that is being set in the egw object (as needed when
including new JS/CSS files at runtime)
jsapi:
* Fixed including JS/CSS files at runtime in other windows than the root
window
* Added "ready" function/module, which provides an alternative to the
$j("ready") function. The ready module provides the functionality to
postpone calling the "ready" until certain events happened.
* using jQuery calendar object instead of jscalendar in the calendar
function.
* added "jquery" module which takes care of including all jQuery modules
in all windows
* added possibility for modules to update constants using the "constant"
function.
* added possibility for modules to access certain other modules using
the "module" function
etemplate:
* Using new egw(window).ready function to build the template first if
loading has finished.
2012-03-09 15:32:29 +00:00
Ralf Becker
f467572bd4
using mime-registry for link-widget "link-list" and "link-string" too
2012-03-09 07:39:36 +00:00
Ralf Becker
dd8a5cf29e
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:43:40 +00:00
Andreas Stöckel
df06f6657c
Now always including egw and etemplate2 javascript code if we are in the top window
2012-03-08 14:05:00 +00:00
Ralf Becker
ea079a6803
fixing wiki rate code / mixed case column names for PostgreSQL
2012-03-08 06:20:21 +00:00
Ralf Becker
ebe229e885
always quote for postgreSQL, as this is the only way to support mixed case names
2012-03-07 21:33:59 +00:00
Ralf Becker
000b74bded
framework->isTop($consider_navbar_not_yet_called_as_true=true): true if we are rendering the top-level EGroupware window
2012-03-07 08:45:57 +00:00
Ralf Becker
261f807c46
fixed download of log, in case output buffering could not be switched off (got into endless loop)
2012-03-06 13:06:35 +00:00
Ralf Becker
4a88a9558c
egw_json plugin "html" replacing document content with send html
2012-03-06 09:50:43 +00:00
Ralf Becker
1fef159630
send direct output of json / etemplate callback back to client via addGeneric('output',...) or alert, in case there's already some JSON response, make sure content-type header is only send once
2012-03-06 07:32:51 +00:00
Ralf Becker
f676a23821
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
2012-03-04 13:33:10 +00:00
Ralf Becker
bd273c1b45
fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format
2012-03-02 09:53:41 +00:00
Ralf Becker
1c386e2d6b
new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences
2012-03-01 18:03:13 +00:00
Ralf Becker
b2a6e59b09
allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host"
2012-03-01 13:08:58 +00:00
Ralf Becker
706fd46d5a
add own agent for dmfs.org, to not recognice it as dataaccessd/iOS
2012-02-29 16:24:49 +00:00
Ralf Becker
12f34cd307
fixed SQL error under PostgreSQL with new filesystem check
2012-02-29 13:47:52 +00:00
Ralf Becker
2553ad1bcc
some fixes for sqlfs fsck: caseinsensitive GROUP BY for MySQL, deleting files direct in DB, as self::unlink() fails if fs_active=0, and some more
2012-02-27 14:33:42 +00:00
Ralf Becker
fd19c672c8
* Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories
2012-02-27 13:18:52 +00:00
Ralf Becker
d7a7d105fa
* Admin/Setup: fixed custom translations got lost during update
2012-02-27 08:02:28 +00:00
Ralf Becker
2bc821f428
use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants
2012-02-21 20:04:45 +00:00
Ralf Becker
c70a93e7c1
* CalDAV/CardDAV/GroupDAV: as all clients dislike not getting an ETag for a PUT, we sending it again even not storing byte-by-byte
2012-02-20 11:33:43 +00:00
Ralf Becker
baf8999392
log request in case of exceptions too by installing a custom exeception handler
2012-02-20 09:06:24 +00:00
Ralf Becker
e97b390573
improved working in CalDAV/CardDAV prefs
2012-02-19 12:39:04 +00:00
Ralf Becker
dea5bfef24
add empty line in log between request body and response
2012-02-18 10:49:24 +00:00
Ralf Becker
164b0c73b7
logging whole requests, to be able to lock the log-file, as some clients (eg. SOGO) use multiple threads to request resources, which messes up the log otherwise
2012-02-17 09:14:33 +00:00
Ralf Becker
f0fef47688
fixed PHP Warning, if log-dir is not yet created
2012-02-17 08:13:50 +00:00
Ralf Becker
9dd3b99353
* CalDAV/CardDAV: continous display (like tail -f) of logs inside EGroupware
2012-02-16 16:35:58 +00:00
Ralf Becker
9d704a7c0d
ignore exception while sending notification to admin (eg. SMTP error), to block the account and give a correct error-message to user
2012-02-16 14:35:42 +00:00
Ralf Becker
82f2c91005
Ajax log file viewer (tail -f)
2012-02-15 21:32:45 +00:00
Ralf Becker
2939d7bbf3
propagate data from settings hook to handlers, to fix failed installs because setup was not detected
2012-02-14 17:38:45 +00:00
Ralf Becker
2ba0b31c43
added basic update of own cache, to work around failed sitemgr install via setup (cant read just added categories)
2012-02-14 17:36:35 +00:00
Ralf Becker
56f286e877
using instance-wide cache for categories, so updates from other sessions are immediatly available and sessions get smaller
2012-02-10 20:14:44 +00:00
Ralf Becker
7a6959ca3f
many bugfixes around distribution-lists/groups and some code restructuring
2012-02-09 20:09:49 +00:00
Ralf Becker
aef04880e9
* CalDAV: allow to create private events on OS X iCal, fixing DAV header for new shared folders
2012-02-07 20:19:16 +00:00
Ralf Becker
fe0b914acc
as SOGO Connector requires ETag header to recognice as successful PUT, we are sending them again for it
2012-02-07 17:10:52 +00:00
Ralf Becker
5b81fca2f1
Hide Size in autoindex and move Displayname to first column after name
2012-02-07 12:47:49 +00:00
Ralf Becker
d7fca17d6e
resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs
2012-02-04 21:47:28 +00:00
Ralf Becker
d89f48d9c1
implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients
2012-02-04 20:24:01 +00:00
Ralf Becker
c5ca42a4b1
move app-specific settings to app-handler
2012-02-04 01:24:34 +00:00
Ralf Becker
d21be8d871
move logic of which addressbook/calendars are shared into app-handler
2012-02-04 01:03:56 +00:00
Ralf Becker
6161826de1
add http://calendarserver.org/ns/:shared to shared addressbooks/calendars for Apple clients to mark collections to user as shared
2012-02-03 18:21:20 +00:00
Ralf Becker
fb6f5cf4be
allow PROPPATCH on *-home-set, to allow eg. jqcalendar to store its prefs there
2012-02-01 23:26:16 +00:00
Klaus Leithoff
69f65e4917
upgrade HTML Purifier to Version 4.4.0 (add missing files)
2012-02-01 16:01:01 +00:00
Klaus Leithoff
5511abc5bf
upgrade HTML Purifier to Version 4.4.0 (with merged trunk patches -c37721 -c34417 -c35216 -c35219)
2012-02-01 15:58:31 +00:00
Ralf Becker
3ae6e76ff9
fixed wrong self-url in PROPFIND of shared addressbooks/calendars
2012-01-31 22:27:31 +00:00
Klaus Leithoff
1d1447d2a7
change Stylite GmbH to Stylite AG in about.
2012-01-31 13:41:59 +00:00
Ralf Becker
1dd3a9e083
fixed iCal did not allow user to update calendar color or name --> needs "write-properties" priviledge, which we now return for all calendar/addressbook collections
2012-01-31 00:20:58 +00:00
Ralf Becker
f2acf7707f
outbox supports VFREEBUSY too, it is required from OS X iCal to autocomplete locations
2012-01-30 23:53:06 +00:00
Ralf Becker
a5673d388e
/addressbook/ was not anounced as directory gateway
2012-01-30 18:53:47 +00:00
Ralf Becker
01ce3bd88d
* CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok)
2012-01-30 05:11:05 +00:00
Ralf Becker
a679a49196
* CalDAV/CardDAV: show addressbooks/calendars selected to sync in prefs under users addressbook-/calendar-home-set (incl. account addressbook, if enabled)
2012-01-25 03:25:42 +00:00
Ralf Becker
ace8f33784
implement CalDAV <calendar-data><expand start="..." end="..."/></calendar-data> to return already expanded recurrences in a given time-range, instead of just a recurring event with a recurrence rule
2012-01-24 05:27:26 +00:00
Ralf Becker
c79657705b
* CardDAV: Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1, which might fail on installs with huge addressbooks
2012-01-21 01:45:48 +00:00
Ralf Becker
f7ebd11af3
log REQUEST_URI not PATH_INFO, to log the correct request
2012-01-20 07:21:28 +00:00
Klaus Leithoff
e05db77a24
add a function to create a HTML-Purifier config to clean up HTML
2012-01-16 08:31:16 +00:00
Klaus Leithoff
b0f211f40b
adapt html purifiers URIScheme cid to new purifiers class requirements; adapt URIScheme data to accept allowed types in whatever (upper/lower/mixed) case
2012-01-13 09:18:46 +00:00
Ralf Becker
7d8347cd34
* Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client
2012-01-11 21:24:54 +00:00
Ralf Becker
c7dc8748b7
disabling Lightning hack for fixed version 1.1.1, where bug is fixed and added verbose error_log, if Lightning hack is enabled
2012-01-10 00:20:00 +00:00
Ralf Becker
1c52c64ba2
for account-selection method "selectbox", make sure everything in $selected gets an option, as for the other methods
2012-01-09 21:24:44 +00:00
Klaus Leithoff
904917af86
API/tree: do not check parent treenodes if not expizitly selected
2012-01-09 14:45:24 +00:00
Ralf Becker
c1f61c914b
switch off permanent error_log
2012-01-07 23:05:31 +00:00
Ralf Becker
92dc786ebc
* Calendar: showing now all open calendars in the owner-selection, not just accounts. Allows to close them from all views
2012-01-07 22:21:48 +00:00
Klaus Leithoff
237e8ce9f9
fix assumed typo for returnvalue on error in function title; defined/described as boolean/string but was array for one error case
2012-01-06 12:54:58 +00:00
Klaus Leithoff
b79af79410
remove felamimail from static app_list in egw_link, as felamimail is implementing search_link; gather only apps for link that implement query and title
2012-01-06 10:11:16 +00:00
Ralf Becker
19dcc2e654
check if $name is already a country-code, before attempting to find a matching one, which can fail in certain areas of setup
2012-01-05 21:58:28 +00:00
Klaus Leithoff
d37ee80161
mending Warnings: Cannot use a scalar value as an array
2011-12-20 15:57:03 +00:00
Klaus Leithoff
39fc5ab48e
mending Warnings: Cannot use a scalar value as an array
2011-12-20 15:52:27 +00:00
Klaus Leithoff
16d7185548
fix bug with undefined ino value for link_stream_wrapper::url_stat in case of accessing virtual VCard entry
2011-12-20 15:48:36 +00:00
Klaus Leithoff
b44fd70d07
prevent the call of SetLanguage with empty string
2011-12-15 12:45:44 +00:00
Nathan Gray
03bae6ff27
Add CP850 to translation class list of installed charsets, don't need to add it in import/export
2011-12-14 21:34:24 +00:00
Nathan Gray
2f4d8848c5
- Remove previously added hook & base class, turns out there's an established way to do it...
...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Nathan Gray
332427277d
Add ability to create calendar entries from infolog entries, using new base so other apps can be added (hopefully) easily later
2011-12-08 23:20:49 +00:00
Ralf Becker
e9ba37173a
remove old ISS specific redirect code and default of $_SERVER[PHP_SELF] for $url parameter of egw::redirect (not used in current EGroupware)
2011-11-30 20:32:45 +00:00
Ralf Becker
075db1ac82
quietening permanent error_log
2011-11-30 09:37:47 +00:00
Ralf Becker
7ee9d55f85
fixed racecondition in caching translations for installs with multiple instances:
...
do NOT use automatic callback to cache result, as installing languages in setup can create a racecondition, therefore only cache existing non-instance-specific translations, never cache nothing found === array(), instance-specific translations can and should always be cached!
2011-11-30 09:20:05 +00:00
Ralf Becker
64e7b3cb57
added some docu
2011-11-30 08:11:40 +00:00
Ralf Becker
86577fa44e
* Addressbook: ablity to mail (multiple) vCard via context menu
2011-11-29 12:07:11 +00:00
Ralf Becker
21989aa249
log full requests to files directory "$files/groupdav/$user-$agent.log"
2011-11-24 12:20:13 +00:00
Ralf Becker
2effc93ea4
* CalDAV/CardDAV/GroupDAV new user preference to log requests and responses to Apache error-log
2011-11-23 16:34:39 +00:00
Klaus Leithoff
2bd05d6f0d
* email: feature convert images included as link to inline images (attachments to the mail) -> extend feature for html mailbody
2011-11-21 12:24:45 +00:00
Ralf Becker
29b578cd0b
* Admin: fix white screen (fatal error) when trying to delete a user without home directory
2011-11-21 08:38:23 +00:00
Ralf Becker
f2d7c5c6c3
* Custom / instance-specific translations, eg. to rename an application
2011-11-17 12:43:59 +00:00
Ralf Becker
15d318847d
change max class-name lenght in __autoload to 64, as there are classes with more then 40 chars: projectmanager_wizard_export_elements_csv
2011-11-16 18:46:13 +00:00
Ralf Becker
f6fe40f2d9
fixed forwarding of authentication (ldap or ads) homedirectory attribute to egw_info and vfs
2011-11-15 19:16:09 +00:00
Ralf Becker
8ab9b0d2f2
allow to use homedirectory attribute from LDAP or ADS authentication for VFS mounts
2011-11-15 12:43:59 +00:00
Ralf Becker
988123bb73
fixing warnings generated by php 5.3.8 is_a($obj) trying to autoload huge strings
2011-11-15 12:22:47 +00:00
Ralf Becker
8202298db5
do NOT force user to change password, if LDAP does NOT support shadowlastchange attribute
2011-11-15 10:09:44 +00:00
Ralf Becker
08aca8ff51
allow to use LDAP homeDirectory attribute as $home in mount-url
2011-11-15 06:56:32 +00:00
Ralf Becker
89fdaa7691
disabled NOT working addressbook-findshared report, which is only used in 10.6, but currently creates and error with 10.6 addressbook
2011-11-14 11:54:59 +00:00
Klaus Leithoff
c90b1cafa7
silence php-warning; silence error_log
2011-11-10 14:39:07 +00:00
Ralf Becker
a48104bfd7
in case no charset is set, default to utf-8, as otherwise setting charset in sqlfs_stream_wrapper can stall install
2011-11-10 10:24:37 +00:00
Ralf Becker
64c076c536
fixed exception stalling new installs
2011-11-10 10:09:37 +00:00
Nathan Gray
c3abca67db
Return an array, not null, if there are no preferences for the app
2011-11-09 16:32:42 +00:00
Ralf Becker
b0a22dae6a
removed calendar-preference "color for Apple iCal", as it set a single color for all calendars you have access too, storing and returning color set by iCal (untested)
2011-11-09 13:23:53 +00:00
Ralf Becker
ade24e4943
added OS X 10.7.2 iCal 5.0.1 user agent
2011-11-08 21:03:49 +00:00
Ralf Becker
e714be2d36
fixed not working update of events, as etag2value still expected EGw- -wGE around ETag
2011-11-08 21:02:47 +00:00
Klaus Leithoff
ac061f68f7
fix typo
2011-11-02 14:57:41 +00:00
Ralf Becker
f993bf1051
no need to add group-members as additional proxys, ACL grants to groups are understood by WebDAV ACL (tested with iCal)
2011-11-02 14:03:36 +00:00
Ralf Becker
69288160ae
fixed not working proxy display in iCal, if resource-name contains a german umlaut: names get now transliterated to ascii (they are unique anyway, as prefixed by resource-id)
2011-11-02 13:41:41 +00:00
Klaus Leithoff
e0853e2bd2
check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img
2011-10-31 10:28:30 +00:00
Klaus Leithoff
d844dcdbd5
* API: updating CKEDITOR to version 3.6.2, altering editor modes and availability of toolbar options
2011-10-28 09:12:40 +00:00
Ralf Becker
5202d0db2d
do NOT query proxys for app user has no rights too, can give SQL error, if app is not even installed, eg. resources
2011-10-25 08:08:01 +00:00
Ralf Becker
a5230cb614
casting boolean explicitly to string, as ADODB_postgres64::qstr() has an unwanted special handling for boolean types, causing eg. query in CalDAV for resources throw an invalid SQL exception under PostgreSQL
2011-10-25 07:49:54 +00:00
Ralf Becker
8096c34bef
- fixed ORGANIZER/ATTENDEE in iCal for CalDAV:
...
+ do NOT use ORGANIZER for events without further participants or a different organizer
+ do not include event owner/ORGANIZER as participant in his own calendar, if he is only participant
--> all other cases include ORGANZIER and additional as ATTENDEE (tested with iCal on iOS and OS X)
- implemented schedule-tag and If-Schedule-Tag-Match header from CalDAV Scheduling
- allow to change participant status and add/remove alarms with schedule-tag instead of ETag
--> If-Schedule-Tag-Match header has precedence over If-Match (ETag) header, but limits changes to participant status and alarms
--> ToDo: test accepting, rejecting recurrences
2011-10-20 20:10:04 +00:00
Ralf Becker
e0690d2342
type attribute for principal-property-search report limiting search on a certain type/tree
2011-10-20 20:00:13 +00:00
Ralf Becker
ceaec3d3c1
added calendar-timezone property, changed groupdav_handler::extra_properties signature (removed static and added $user parameter), removed calendar-user-address-set property belonging only to principal
2011-10-20 13:35:01 +00:00
Ralf Becker
0a5e2426d1
fixed wrong timing in serialization of array, when storing arrays as config values, probably also fixing last issue of community bug #3059
2011-10-20 11:41:20 +00:00
Ralf Becker
512138ed56
diverse fixes for resources&locations, thought iCal only autocompletes locations, no idea why it skips resources, thought resources booked via webgui are shown correct
2011-10-17 15:36:28 +00:00
Klaus Leithoff
b56fe24784
catch exeption on CreateObject of bopreferences, if no felamimail is available
2011-10-17 08:41:43 +00:00
Ralf Becker
586a07924a
implementation of (announced, but previously not implemented) acl-principal-prop-set report
2011-10-17 06:44:09 +00:00
Ralf Becker
a949acf031
locations and resources principal tree, should allow (untested!) to add resources via iCal autocomplate and "subscribe" to resource calendars
2011-10-16 08:53:07 +00:00
Ralf Becker
6d9491cf55
not announcing DAV level 2, as we dont support locking
2011-10-16 08:49:20 +00:00
Jörg Lehrke
d76b136151
* Fix WBXML namespache issue (bug 3048)
2011-10-15 22:46:13 +00:00
Ralf Becker
6ff4534aa6
disable custom field tab, if no custom fields for specific queue/type2
2011-10-14 13:54:02 +00:00
Ralf Becker
5cf9f585c2
fixed not working storing of config for an app, which not yet has a config
2011-10-13 06:19:14 +00:00
Ralf Becker
5b3d0c3ca2
fixed behavior of GET or HEAD with If-None-Match returning "304 Not Modified" instead of "412 Precondition Failed", if no If-Match header given
2011-10-08 18:27:02 +00:00
Ralf Becker
b2fa12eb3e
remove unusual and unnecessary "EGw-...-wGE" prefix/postfix from etag and ctag
2011-10-08 11:34:55 +00:00
Ralf Becker
b2ea1a7d05
new method groupdav_principals::url2uid to convert a principal url to a calendar uid, fixes emclient uses urn:uuid urls in outbox posts to get freebusy
2011-10-07 06:02:30 +00:00
Ralf Becker
e654d3fbfb
correctly handle uid/name-part of path containing #%?
2011-10-06 07:51:24 +00:00
Ralf Becker
e05ce4d614
enclosing etag in quotes, as most servers do
2011-10-05 08:15:24 +00:00
Ralf Becker
8cce6075bd
fixed iCal parser to unescape escaped separators AFTER spliting by them, causing eg. semicolons in vcard N property (name) to fail
2011-10-05 06:27:24 +00:00
Jörg Lehrke
b65428b153
* Fix WBXML encoding issue (community bug#3020)
2011-10-04 21:21:38 +00:00
Ralf Becker
b227e61236
removed certain properties defined only on the principal
2011-10-04 11:37:44 +00:00
Ralf Becker
c670740a71
fixed encoding issue with group-name containing a space, causing eg. OS X iCal to not display proxys
2011-10-04 07:27:33 +00:00
Ralf Becker
60ba2b9628
fixed admins not having access to all accounts, if account_selection was none or groupmembers, from which admins are explicitly excepted
2011-10-03 13:40:41 +00:00
Ralf Becker
175197d7c0
* CalDAV: no METHOD:PUBLISH for CalDAV outside the inbox
2011-10-03 12:53:28 +00:00
Ralf Becker
0837c263ff
CalDAV principals: fixed wrong namespace causing iOS5 iCal to NOT autocomplete participants
2011-10-03 09:59:50 +00:00
Ralf Becker
700143eef8
if we have NO password, eg. because we run by async service outside a regular user session
...
--> fall back to the default profile / mail config from setup
2011-09-29 15:26:13 +00:00
Ralf Becker
4eaf9609c1
fixed docu-typo
2011-09-28 15:41:42 +00:00
Ralf Becker
bb4b9819b0
* CalDAV/GroupDAV/InfoLog: making synced InfoLog types configurable and moved getctag method to infolog_bo in preparation of InfoLog eSync support
2011-09-28 12:35:53 +00:00
Ralf Becker
aac290a330
fixed typo: record-type is "users" not "user"
2011-09-26 17:08:36 +00:00
Klaus Leithoff
db3f408f18
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:20:40 +00:00
Klaus Leithoff
740758d026
check if method exists for the fallback_auth, before calling get/setLastPwdChange
2011-09-26 11:01:16 +00:00
Ralf Becker
7443fdc639
* 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:20:27 +00:00
Klaus Leithoff
ac2279d933
* API: is_a compatibility vs. php5.3.8 resolving to instanceof operator for most common basic classes
2011-09-26 09:52:43 +00:00
Ralf Becker
b791b23f08
fixed typo causing to not announce addressbook outside of addressbook folder
2011-09-26 06:39:13 +00:00
Ralf Becker
14dde4c1ff
iOS iCal sends now pricipal-property-search reports to autocomplete participants, but not (yet) displays the result, for whatever reason ...
2011-09-25 12:00:20 +00:00
Ralf Becker
b4b04844fe
added two more match-type values from CardDAV:text-match
2011-09-24 21:15:44 +00:00
Ralf Becker
0a7b7e40c8
- improved principal-property-search report to support test=(allof|anyof) and match-type=(contains|starts-with) attributes used by iOS iCal to autocomplete participants
...
--> participants are - thanks to CalDAV scheduling - now setable for new event, thought searching for them does NOT yet work, no idea why ;-)
- added somehow missing calendar-query report to supported-report-set
2011-09-24 21:10:53 +00:00
Jörg Lehrke
f6f47e586b
* Fix SyncEvolution issue (community bug#2975)
2011-09-24 17:33:35 +00:00
Ralf Becker
3f830b2bff
- implemented principal-property-search report required for WebDAV ACL and used by Lightning to search for calendar-home-set
...
- had to implement a workaround for Lightning, as it wrongly interprets principal-property-search for calendar-home-set in the principal-collection-set
matching our *DAV root returning all principals, as all have a matching calendar-home-set, as NOT supporting CalDAV scheduling
--> search only current user's principal, when Lightning searches for calendar-home-set
- OPTIONS / return now calendar-auto-scheduling too, as Lightning only searches there, to check if server supports CalDAV scheduling
- fixed outbox freebusy request to cope with no X-CALENDARSERVER-MASK-UID and a single attendee
2011-09-23 12:04:21 +00:00
Klaus Leithoff
53c78cd9e2
as the timestamp used for ldap is not the unixtimestamp, we just use time for updating the session cache on auth_alpwchange_val
2011-09-23 11:10:05 +00:00
Klaus Leithoff
ac22466ba0
set the session cache for auth_alpwchange_val in methods for changepassword too
2011-09-23 09:56:12 +00:00
Klaus Leithoff
6bff18eadd
set the session cache only when not in admin mode
2011-09-23 09:41:03 +00:00
Klaus Leithoff
b860d7fb50
set the session cache for auth_alpwchange_val on setLastPwdChange
2011-09-23 09:29:59 +00:00
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
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
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
abac9e96fe
fixed fatal error, if there are no parameters
2011-09-14 14:22:17 +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
b1b1ab820a
no need for db schema on the client
2011-09-09 14:56:34 +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
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
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
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
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
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
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
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
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
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
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
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
31c9e8965b
fixed creating of new translations / give [Write] button file not yet existing (permissions given)
2011-08-04 07:27:23 +00:00
Andreas Stöckel
6fff48a306
Fixed typo in comment
2011-08-03 14:27:45 +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
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
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
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
6263753e80
add missing default translation for lang key tls
2011-07-14 08:54:30 +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
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
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
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
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
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
49e6780f07
Shotcuts are now generated on the server side, made key codes class constans
2011-06-25 14:27:30 +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
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