Commit Graph

3726 Commits

Author SHA1 Message Date
Ralf Becker
1754508ce9 "let new method hooks fail gracefully if hook class-file does not exists (like the old hooks do, eg. if app got removed)" 2009-11-16 09:42:53 +00:00
Christian Binder
da7db21806 also match against trimmed database entries when categories should be searched by $filter 2009-11-16 06:54:03 +00:00
Christian Binder
5dbc859f71 fixed missing $this-> operator which prevented ACL read on sync - let categories class always enumerate group ACLs (it was skipped for LDAP backends) 2009-11-13 09:55:54 +00:00
Ralf Becker
fc244efb1f "- change cast to string to be more describtive: \"Wednesday, 2009-11-11 11:11:11 (Europe/Berlin)\"
- check if translation class is available, before calling it"
2009-11-12 09:30:37 +00:00
Jörg Lehrke
81d8ea7bbb Fix conflict handling issues 2009-11-11 20:16:34 +00:00
Jörg Lehrke
b3a1f2de10 Add device specific timezone settings 2009-11-11 20:15:29 +00:00
Jörg Lehrke
5bdf4a4942 VTIMEZONE and TZID are not supported by VCALENDAR VERSION=1.0 2009-11-11 20:14:34 +00:00
Jörg Lehrke
ad20d701e2 Fix UID issue 2009-11-11 20:13:03 +00:00
Jörg Lehrke
08d11093dd Add domain support 2009-11-11 10:25:50 +00:00
Jörg Lehrke
edd5a58870 Add ./event datastore to capabilities 2009-11-11 09:18:00 +00:00
Jörg Lehrke
bb7ad55ea4 Support for Synthesis VTIMEZONE RRULES 2009-11-11 09:16:46 +00:00
Ralf Becker
ddfcdfff06 allow EGroupware users to select only timezones, for which we have a VTIMEZONE component (I think the others are only unofficial aliases, not included in our database) 2009-11-09 09:00:53 +00:00
Klaus Leithoff
e99af0dfd6 revert of the change in r28264 as it would allow crossside scripting 2009-11-05 09:06:41 +00:00
Klaus Leithoff
5a4f03cf7b fixing a problem regarding the activation of links encoded with htmlspecialchars 2009-11-05 08:40:57 +00:00
Klaus Leithoff
914861ac59 bugfix groupmembers of groups got lost, while renaming accounts 2009-11-04 11:17:06 +00:00
Klaus Leithoff
c5453aa3f9 make sure there is a wordboundary after script, while testing for malicious code (as text like < blabla description blabla > triggered the expunge of the text 2009-11-02 11:36:00 +00:00
Klaus Leithoff
a49344abf1 port Christian Binders patch to handle config values as well (e.g.:customfields): little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset 2009-11-02 10:55:30 +00:00
Ralf Becker
0a4c2614a5 - moved user timezone list to egw_time
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
  time can not be parsed, not throwing an exception (as this are legacy
  function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Christian Binder
345993086a fixed bug reported by LRA Bad Reichenhall: egwpopup not displaying when notificationbell is clicked 2009-10-26 15:10:05 +00:00
Ralf Becker
6ecac6f650 "removed unnecessary check for NOT allowed apps of anon user from session::verify, as there's an other one in egw::verify_session throwing an exception, which can be used to handle the situation better" 2009-10-25 17:28:30 +00:00
Jörg Lehrke
b3b7114db8 Fix Session Handling Problem again 2009-10-24 15:52:47 +00:00
Jörg Lehrke
291d3b04cb Add X-RECURRENCE-ID for vCal 1.0 2009-10-24 15:52:06 +00:00
Christian Binder
08efec194f fixed not found user sessions while working with notifications and assured that all_no_sort param gets handed over to handler class 2009-10-23 13:07:11 +00:00
Ralf Becker
ec5d0cb0c5 "fixed hook signature to always be an array (even if user code only supplys a location-string)" 2009-10-20 07:11:58 +00:00
Christian Binder
c7966ba8a4 little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset 2009-10-19 21:15:12 +00:00
Jörg Lehrke
bfa071c319 Funambol Client 4 Android uses version 2 and is pretty new 2009-10-19 20:27:55 +00:00
Ralf Becker
0d48d6021e "setting a higher CHUNK_SIZE to improve performance" 2009-10-19 07:47:06 +00:00
Ralf Becker
df8217ff61 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:41:03 +00:00
Ralf Becker
e1e712c9fb php5 constructor and constants for default and forced prefs owner 2009-10-18 12:45:09 +00:00
Jörg Lehrke
431530c8bb Fix RRULE colon bug 2009-10-17 21:59:12 +00:00
Ralf Becker
c1f385be48 "fix autoindex to work with iterator" 2009-10-17 12:22:40 +00:00
Ralf Becker
447c8b618a Using an iterator to query addressbook in chunks of 100 contacts to
allow to do propfinds on hugh addressbooks independent of memory_limit:
- regular groupdav_handler::profind() method gets split in a method just
  computing a filter and a callback to run that filter on the backend
- groupdav_propfind_iterator class is returned from profind method
  instead of an array with information about the files
- iterator calls groupdav_hander::propfind_callback if there are no more
  entries from the previous call
- constructor of groupdav_propfind_iterator allows to pass an extra array
  with files to return, to simplify modifying existing implementation
  (were eg. information about the current path, get's supplied from
  calling groupdav class).
2009-10-17 09:13:36 +00:00
Ralf Becker
e0a9ae63cf "fix allowing (at least in the calendar GUI under Linux) to enter curing events starting prior to 1970" 2009-10-16 05:13:52 +00:00
Ralf Becker
c4e9e875a2 "- fixed error prefenting updating of locks
- added constant do enable debuging of locks"
2009-10-13 21:05:09 +00:00
Ralf Becker
c0eec4aa07 "quiten permanent error_log" 2009-10-13 19:18:38 +00:00
Jörg Lehrke
7c4592434c Adds COUNT to VTIMEZONE RRULE and fixes year selection 2009-10-12 20:11:57 +00:00
Christian Binder
501e715561 re-added support for gzipped and unzipped files for db restore on empty installations - was (maybe accidentally) removed with housekeeping feature 2009-10-12 13:28:28 +00:00
Ralf Becker
3cbf249bea "setting minimum php version to 5.2" 2009-10-12 09:48:04 +00:00
Ralf Becker
624cf172e8 "fixed wrong path buildng (missing slash)" 2009-10-12 09:46:36 +00:00
Ralf Becker
756ecd2b18 "updated function_backtrace to show if class method is called static (::) or not (->)" 2009-10-12 09:44:36 +00:00
Ralf Becker
587bd2bc95 - added an optional timezone quick selection in top menu (it shows up
only if you select more then one timezone to display in it)
- moved generation of beautified timezone array to egw_time
- moved all preferences hooks to a new class preferences_hooks (updated
  version so setup updates hook data, or you need to call admin>>update
  hooks)
2009-10-12 09:41:46 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Ralf Becker
5225fe81e1 automatic convert egw_time/DateTime objects when quoting values 2009-10-08 16:20:37 +00:00
Ralf Becker
3ef01bc589 Refined egw_time class a bit more and and integrated it with preferences
class, to automatically set relevant user prefs (tz, dateformat,
timeformat).
2009-10-08 16:14:18 +00:00
Ralf Becker
e0795f7328 "fixed session preferences, were broken since 1.6" 2009-10-07 18:59:01 +00:00
Ralf Becker
ab9c9d21b6 New egw_time class used to implement correct timezone handling for
calendar, plus a first calendar implemenation.

This implementation just replaces following calendar_bo methods:
- date2ts($date,$user2server=False)
- date2array($date,$server2user=False)
- date2string($date,$server2user=False,$format='Ymd')
- format_date($date,$format='')
which static methods from egw_time.

If your server is in same timezone as the user, you should experience no
difference. As a small test, you can switch to an other timezone (eg.
UTC) to recognice on a weekly repeating event (which still repeats on
equal server time!) that it moves by one hour when daylight saving
changes. This switching to a TZ with different daylight saving rules,
was not working before.

Happy testing :-)
2009-10-07 13:29:06 +00:00
Christian Binder
efad9168fa fixed typo 2009-10-07 08:05:10 +00:00
Ralf Becker
610b629325 first step for real timezones in EGroupware 2009-10-06 06:45:28 +00:00
Jörg Lehrke
83d00a845a Fix VTIMEZONE part of VCALENDAR 2009-10-05 04:38:09 +00:00
Ralf Becker
ee536325fc "improved support for other users calendar/addressbooks" 2009-10-03 10:22:14 +00:00
Ralf Becker
656ae5713b "fixed not working egw_link::set_cache" 2009-09-29 09:58:05 +00:00
Jörg Lehrke
b1a9d0f546 Fix issue with adding new entries from device 2009-09-28 19:45:35 +00:00
Klaus Leithoff
2dc68b1c8d added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised 2009-09-28 15:10:02 +00:00
Jörg Lehrke
217f0de233 Calendar special pseudo recurrence exception handling moved to SyncML code
- content type is now available in replace method
  - pseudo to real exception propagation does now work within a single session
2009-09-23 19:20:15 +00:00
Nathan Gray
a3df76902f Hide close button if user is forced to have the section on their homepage 2009-09-21 21:47:04 +00:00
Nathan Gray
9ec105b3ca Implement close button for homepage boxes. Still needs a little work to hide the close icon when the box is forced by admin. 2009-09-21 21:29:39 +00:00
Ralf Becker
cdd5ba5dc2 removed tests folder, as it is NOT used by EGroupware 2009-09-21 08:18:50 +00:00
Jörg Lehrke
6648c7c404 Fix Funambol configuration issue and missing spaces in log enrties 2009-09-20 19:45:03 +00:00
Ralf Becker
65a08ece84 "2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
2009-09-15 08:43:44 +00:00
Ralf Becker
868c89e606 "- making csv_spilt and escape_date methods public static (to use them in other classes)
- fixed not working calls to remove_dir_content"
2009-09-14 17:48:58 +00:00
Ralf Becker
a8c9eebf52 Fix to get iCal in OS X 10.6 working (again):
WebDAV RFC 4918 allows a full url or a path as <D:href>:
        http://www.webdav.org/specs/rfc4918.html#ELEMENT_href
Some clients can NOT deal with one or the other:
- KAddressbook (at least in 3.5) can NOT subscribe to addressbooks (it
  does not find them) if just a path is used
- iCal in OS X 10.6 generates wrong requests, if a full url is used
2009-09-14 08:44:37 +00:00
Klaus Leithoff
ae9c0bc918 improving decode_header for charset x-unknown and encoding Base64 2009-09-08 13:25:57 +00:00
Klaus Leithoff
7272217d14 some work in progress regarding the mailhandling in tracker, moving some stuff to translation class from bofelamimail to be commonly available 2009-09-04 13:40:10 +00:00
Ralf Becker
4e2f35d4dc added support for ms excel 2007 2009-09-01 14:41:48 +00:00
Klaus Leithoff
b41730ee15 always try to set the Sender information; use set Sender, then try using the Sender info possibly supplied with the SMTP Auth info, then use the Profiles identity eMailaddress, if available 2009-09-01 07:12:50 +00:00
Ralf Becker
a52fa4d5fc "fixed sometimes not loaded self:$db object in crontab calls" 2009-08-27 19:59:18 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
af19f3663e "added stream_stat required to use file_get_contents" 2009-08-26 14:10:25 +00:00
Ralf Becker
bcfe710de2 Fixed typo happend --> happened, as reported by David Rankin 2009-08-25 08:31:37 +00:00
Ralf Becker
cdd5103888 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:32:28 +00:00
Ralf Becker
ceaf32919f "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:51:55 +00:00
Ralf Becker
1628c09432 "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:13:59 +00:00
Ralf Becker
19e6159a4a - phpDocumentor headers and improved docu about class methods
- coding stylite cleanup
2009-08-22 06:58:38 +00:00
Ralf Becker
109c50fecf not used since some time (used vcard parser class is addressbook_vcard) 2009-08-22 06:48:07 +00:00
Ralf Becker
74a41902b8 "quote all table or column names, to allow to use reserved words of dbms" 2009-08-19 10:20:01 +00:00
Christian Binder
6b3c7942d6 disabled horde error logging by default; sorry devs but this killed my production server while accidentally having turned it on and synced a big addressbook - maybe we avoid happening this to others 2009-08-17 14:55:02 +00:00
Ralf Becker
8c8d1e7b8c "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:30:47 +00:00
Ralf Becker
8d60b25ccf "autoindex for collections:
- listing resources in collection
- displaying properties
--> easy debuging and discovery of CalDAV server"
2009-08-16 15:24:43 +00:00
Ralf Becker
7ec34336f3 some precaution to never allow to (recursivly) remove /, /apps or /home 2009-08-12 09:47:53 +00:00
Ralf Becker
c9e2127325 "moving txt above all other text plain types, to get text/plain displayed as \"TXT file\"" 2009-08-10 17:00:44 +00:00
Nathan Gray
20fad24579 latin1 is not a valid parameter for htmlspecialchars(), changed fallback charset to UTF-8 2009-08-06 21:07:06 +00:00
Ralf Becker
c6ea1e2720 mime type and icon for msword xml document 2009-08-03 11:41:08 +00:00
Klaus Leithoff
8f378da6c9 fix for jscalendar in sitemgr (was not displayed) provided by H.J.Tappe 2009-07-31 12:56:39 +00:00
Ralf Becker
7575812c04 "- fixed bug introduced in r27541: cache was updated with an empty translation array (typo in app-name variable)
- when updating all langs, do a transaction for each lang and update the cache after commiting the transaction (before the transaction was about all langs and the cache update withint the not commited transaction)
- fixed problem with autoloading of languages, check used filectime, update used filemtime, which can differ of cause"
2009-07-27 08:18:26 +00:00
Ralf Becker
3faa647194 "fixed call to old php4 constructor" 2009-07-24 11:35:34 +00:00
Ralf Becker
33b8cd82aa "- fixed typo phpgwpai (does not matter, as phpgwapi is searched anyway, if given app is not found)
- php5 __construct()
- using static common::find_image()
- removed function available from php5.1 on, as that's the requirement anyway"
2009-07-24 10:38:47 +00:00
Ralf Becker
28a9c4b470 "fixed two issues with translations in trunk
-  update the tree-level cache, as we can not effectivly unset it in a multiuser enviroment,
as users from other - not yet updated - instances update it again with an old version!
- add_app(): we have to use array_merge! (+= does not overwrite common translations with different ones in an app)
array_merge messes up translations of numbers, which make no sense and should be avoided anyway.

"
2009-07-24 10:16:00 +00:00
Jörg Lehrke
91f0b9ad9d Empty ENCODING and CHARSET 2009-07-18 18:00:39 +00:00
Ralf Becker
d679a00d1d "fix for bug #2112: fix maybe wrong case in username on login
makes problems eg. in filemanager (name of homedir)"
2009-07-18 13:14:13 +00:00
Ralf Becker
52dbb060d2 "Fix for bug #2111: xml_functions.inc.php calls to an undefined method
as suggested by Igor Blanco"
2009-07-18 12:44:38 +00:00
Ralf Becker
cdb601da56 "Fix for bug #1885: egw_db->row doesn't work as expected
reverted r25031, as it returns the first record with numeric indexes (it's anyway a depricated function)"
2009-07-18 12:33:52 +00:00
Jörg Lehrke
48538a6ced Give higher levels a chance to avoid QP 2009-07-18 12:31:00 +00:00
Ralf Becker
8fb60be7d7 checking if attachment or attachment dir exists, before trying to delete it, to quieten warning, also improved warning to be precise if file does not exist, is no directory, or permission missing 2009-07-18 09:12:52 +00:00
Klaus Leithoff
b6f0321b52 prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-07-17 10:32:57 +00:00
Ralf Becker
e667e168b4 - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/phpgwapi@27377 ^/branches/SyncML-1.2/phpgwapi .
2009-07-15 19:31:25 +00:00
Klaus Leithoff
3307109a1c reverted change of r72366 and fixed the real cause for the mainscreen_message problem: YOU SHOULD NOT HAVE TRANSLATIONS FOR mainscreen_message; You may have to force the reload of new language file-information 2009-07-06 11:11:40 +00:00
Klaus Leithoff
1e43e837c0 fix regarding get_app in translation. array_merge does renumber and += seems to bear problems, if there already is a translation for the given key (mainscreen_message) 2009-07-06 09:25:19 +00:00
Ralf Becker
28618da875 "egw_contentmap table \"belongs\" to syncml app!" 2009-07-03 07:43:02 +00:00
Ralf Becker
078edd98fd Fixed SQL error now giving an exception: it's caused by
vfs_stream_wrapper::get_path() returning an url without path
(sqlfs://default <-- no trailing slash), which causes
sqlfs_stream_wrapper::url_stat() to be called for an empty path, which
gives the sql error.
2009-07-01 18:03:46 +00:00
Ralf Becker
9a5c0f8d9c "removed forgotten comment, breaking the previous fix" 2009-07-01 16:17:44 +00:00
Ralf Becker
944bb3073c fixed since 1.7.002 not working update from 1.4:
- fs_link column is queried by sqlfs, but get created in 1.7.002
- pdo does not throw exception on sql errors, it silently ignores them
  --> told it now in constructor to also throw exceptions
- egw_vfs::find() was not always honoring the url option
2009-07-01 15:17:36 +00:00
Nathan Gray
19090879c4 Add ability to find out next run time as at a given date, instead of just 'now' 2009-06-26 14:26:14 +00:00
Klaus Leithoff
5e7b1d3fd6 little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir) 2009-06-24 15:13:19 +00:00
Ralf Becker
50cac4e9b6 "Bugfix for tracker priorities 2-4 displayed wrong:
use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
"
2009-06-22 12:46:41 +00:00
Klaus Leithoff
af523b5904 propfind: fix regarding the retrieval of sqlfs_props, if key of array with a single entry is the vfspath for the file in question 2009-06-10 10:31:28 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
c28be373a6 fixed wrong default parameter for $callback_params, call_user_func_array requires an empty array and not null (gives a fatal error under php5.3) 2009-06-08 15:46:45 +00:00
Ralf Becker
f601537b95 fix for php5.3, which by default seems NOT include content of $_COOKIE in
$_REQUEST (request_order php.ini variable)
2009-06-07 15:49:12 +00:00
Ralf Becker
3ec3c205ee created a rpm post script to automatic install or update EGroupware:
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
132297a502 "add system-charset to keys of tree-wide cache, if not utf-8, as content depends on charset!" 2009-05-30 09:18:04 +00:00
Ralf Becker
75f4a3920e "Patch from Carsten Wolf:
Timesheet-Einträge mit Uhrzeit 0:00, die in der Winterzeit gemacht wurden, 
werden in einem Union-Query, der in der Sommerzeit stattfindet, dem falschen 
Tag zugeordnet. Vermutlich stimmt dies nur für den PostgreSQL query und ist 
Dir deshalb bisher nicht aufgefallen.

Der Patch:
Ändert den PostgreSQL-spezifischen Teil des queries so um, dass er 
Zeitzoneninformationen berücksichtigt."
2009-05-30 07:03:57 +00:00
Ralf Becker
53264e2c2b "new static method to get an attribute of a column, eg. the comment" 2009-05-30 06:58:48 +00:00
Ralf Becker
88c9aca3f3 "allow egw_vfs::mount() to work in setup:
- need to read fs-tab
- need to load wrapper (otherwise file_exists($url) fails)"
2009-05-28 11:29:17 +00:00
Ralf Becker
b32ded3400 "re-added (depricated) php4 constructor, as it get's called by some old apps" 2009-05-26 17:26:24 +00:00
Ralf Becker
7c8bd81149 "return a reference to the var in the session!" 2009-05-26 14:44:29 +00:00
Klaus Leithoff
0e4a75f027 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-26 13:42:05 +00:00
Ralf Becker
07825af683 "fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])" 2009-05-26 11:55:52 +00:00
Ralf Becker
6d72b2b297 - fixed in some cases not working setup-cli (domain not detected)
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
  trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
7049fe4bc0 - implemented htmlpurifier also for sitemgr (only non site-admins) and
knowledgebase
- html::fckEditor() has optional parameter to NOT use htmlpurifier
2009-05-19 19:23:38 +00:00
Ralf Becker
8f797be836 Added HTMLPurifier (http://htmlpurifier.org/) Version 3.3.0
- can be used via html class like: 

        $clean_html = html::purify($html);

- using it now in eTemplate to remove malicious code from html:
  a) when displaying "formatted text"
  b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Ralf Becker
66ef863bd5 "disabling mime-type and size in link-title of attachments, as it clutters the UI and users dont need it most of the time. These details can allways be views in filemanager." 2009-05-19 10:23:29 +00:00
Klaus Leithoff
d2230cd000 adding .ico as image/x-ico 2009-05-18 12:55:19 +00:00
Klaus Leithoff
ba88fcbd9a fixing caching of images, if image is an array 2009-05-18 12:02:45 +00:00
Ralf Becker
44ce028592 "fixed not always displayed icons (eg. old nextmatch in translation-tools) and some more caching" 2009-05-16 10:22:56 +00:00
Ralf Becker
2408fbb0c9 "implemented dir() and scandir() for egw_vfs" 2009-05-16 08:22:20 +00:00
Ralf Becker
a083233c43 "allow to use now() beside current_timestamp, as Postgres backups contain it and it's easier to remember anyway" 2009-05-15 07:18:06 +00:00
Ralf Becker
c133b4b106 "- docu update
- using public and private for class vars
- __construct()"
2009-05-14 07:59:51 +00:00
Ralf Becker
65e53bd1e8 "fixed wrong webdav.php urls, if no vfs_image_dir set" 2009-05-14 06:41:28 +00:00
Ralf Becker
b8cfd7f85d "allow to use same names for add() and edit() as returned by read_single() or return_array" 2009-05-13 21:21:46 +00:00
Klaus Leithoff
86f1dde06f configurable favicon, configurable vfs image store for images, logos, icons 2009-05-13 14:33:36 +00:00
Ralf Becker
6617bec9ef Creating an own column (fs_link) for symlinks, as fs_content is a BLOB
and therefore not aware of charsets
2009-05-12 07:21:57 +00:00
Ralf Becker
09c0854173 "$stat[url] contains the reloved symlink" 2009-05-11 20:45:29 +00:00
Ralf Becker
85def60ffa "option to ignore hidden files (name starts with a '.' or is 'Thumbs.db'),
default is now to ignore them"
2009-05-11 20:42:23 +00:00
Ralf Becker
fc141457cf added translated languages and visible charset to charset selection 2009-05-11 08:10:05 +00:00
Ralf Becker
21a85af3d6 "fix for bug #2072: usergroups invisible after last svn update" 2009-05-10 15:02:04 +00:00
Ralf Becker
9e202e10f6 "fix for bug #2070" 2009-05-06 10:13:43 +00:00
Ralf Becker
0d28eb4cea "egw_vfs::find() always use name as second sort criteria" 2009-05-06 09:00:36 +00:00
Ralf Becker
6468dc8d77 "setting the value to 7, after reports on the user list, thought MySQL 5.0.51 with MyISAM engine works up to 10" 2009-05-04 16:47:21 +00:00
Ralf Becker
bc65324a7c new type F for egw_vfs::find to return only files or symlinks to files
--> dont show symlinks to dirs as attachements / link-widget
2009-05-04 16:37:10 +00:00
Ralf Becker
34e9825a91 "'class::method' is php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:45:38 +00:00
Ralf Becker
0cd2993504 "'class::method' as php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:12:20 +00:00
Ralf Becker
9e88b1ba9d "using lstat in find and check type 'd' directly against mode from lstat for better performance" 2009-05-02 14:15:31 +00:00
Ralf Becker
287131565f Fixed follow option in find():
- if base is a symlink to a dir, this one is listed anyway
- symlinks to dirs (beside the base) are only descended, if
  $options['follow'] is specified
- links are returned for type 'f'
--> removed follow option from find() in filemanager_ui::get_rows()
--> no more infinit symlink loops in filemanager GUI
2009-05-02 14:00:31 +00:00
Ralf Becker
edea73521e "quitent some warnings about not writable dirs, eg. if calling cli programms with users not having permissions for the cache dir" 2009-05-02 12:33:28 +00:00
Ralf Becker
b71d829bca "fix for bug reported on the english user list:
limit on the number of cascaded folders in Filemanager
--> MySQL 5.0 has a nesting limit for subqueries
--> working around that by limiting the nesting level to 10"
2009-05-01 19:12:25 +00:00
Ralf Becker
b296a97e31 always remove only our own scheme, as mounts require the other schemes to be kept 2009-04-30 11:21:56 +00:00
Ralf Becker
ecd9354d1d "fixed failed move or rename via WebDAV (eg. NetDrive on Windows):
trailing slashes added to all collections caused a rename to an empty filename
--> all training slashes get now removed prior to calling any backend functions"
2009-04-30 07:46:53 +00:00
Ralf Becker
11283d4f77 "copied COPY from HTTP_WebDAV_Server_Filesystem:
- it contained sql queries, which can not work in eGW
- to add Location header shown in rfc2518 example (section 8.9.5)"
2009-04-30 07:41:46 +00:00
Ralf Becker
1597cdc533 "adding path (EGW_SERVER_ROOT) to hash for basic auth pseudo sesion id
(otherwise different installs in different pathes using identical credentials would share the session, which is no good idea)"
2009-04-30 07:36:07 +00:00
Ralf Becker
14de24303e "prevent empty account-names from deleting whole /home" 2009-04-29 19:15:54 +00:00