Commit Graph

12912 Commits

Author SHA1 Message Date
Klaus Leithoff
75b824bced To improve performance for people/installations with large amounts of infologs and many customfields who want to use customfields in customized
templates, but do not want to use the customfields in listview, reworked the logic of the retrieval of customfields. 
Fix for the retrieve more fields, than selected - problem, when customfields start with the same string. Replaced stripos by in_array after a split 
of the selected cols.
2008-02-26 13:16:59 +00:00
Ralf Becker
8afe9094b7 More improvments of the sqlfs code and the command line interface:
- read rights are not checks in each traversed directory (via sql in a single query to locate the path)
- diropen additionally checks for execute rights
- fopen checks for read or write depending on the mode
- chmod, chgrp, chown methods in sqlfs and egw_vfs/vfs plus an egw_vfs::$is_root var used to grant root rights (no access controll and chown or chgrp without being the owner of a file)
- find method (some more params to come) to recursivly search and optionaly execute some callback
- egw_vfs::remove doing a "rm -r" / recursive remove or dirs and files
- new files or dirs inherit the perms and ownership from the parent directory (no umask)
- files/dirs the user has no read rights, in a directory where he has no write rights, get hidden (eg. not showing all the other users / groups home dirs
- many new cli commands (chmod, chgrp, chown, find), recursive option for most commands and the ability to use it with root rights, see the usage message if called without options
- "cp -r -p" to copy a whole tree incl. ownership and perms, eg. backing up /home to /backup
2008-02-26 08:51:42 +00:00
Nigel Vickers
d81d9bce03 Mutexed memcache handler. Traps race and memcache memory conditions on large scale Fastcgi farms.
Attribs: Stephan Becker: Code, identified the Javascript culprits
         Wim Bonis: Code, Race condition
	 Klaus Leithhoff: Code, mbstring writes a different length to that that it reads
	 Lars Volker: Code, Debug memcache slab memory,  memcache add as lock.
2008-02-25 14:13:45 +00:00
Nathan Gray
cc210e9dae config->save_value() was overwriting the cached array values with a single value 2008-02-22 16:42:20 +00:00
Klaus Leithoff
594fa7df4b Feature to display a list of addresses from a given adressbook within the sitemanager
you may choose all addressbooks (which the Sitemanager user is allowed to see). 
NOTE the anonymous user, respectively the user you assigned for
anonymous access must have sufficient rights for the addressbook(s) to be shown.
This is provided by Stefan Becker

Bugfix for broken Move2Adressbook callback
2008-02-21 11:54:22 +00:00
Carsten Wolff
3304616642 Circumvent a bug in some distributions of apache/mod_php, where an apache
child, that has executed a php script with mbstring.func_overload=7 once, will
overload substr() in a later execution of another php script, even if the
Location context of that script has mbstring.func_overload=0 set. Since the
WBXML decoder works byte-by-byte to determine substring length, it fails, if
mb_substr() is used. This patch prevents this.
2008-02-19 09:55:59 +00:00
Ralf Becker
e71608d8cc new sqlfs stream wrapper, as replacement for the old vfs class (it uses the PDO extension, as PDO allows to access BLOBs as streams), the update create a new egw_sqlfs table and fills it with the content of the old vfs (egw_vfs table), BOTH use the same files in the filesystem, so beware if you delete something in one or the other, this is definitly NOT for production systems 2008-02-18 06:52:07 +00:00
Ralf Becker
2f1eb2d272 added sqlfs and support for whatever sign the gid has 2008-02-18 06:51:35 +00:00
Ralf Becker
9c649da978 WebDAV can use now the new stream wrapper interface, thought its switched off by default in filemanager/webdav.php (see the comments at the end of the file) 2008-02-18 06:43:49 +00:00
Ralf Becker
9aa040bec2 "fixed not working last event" 2008-02-15 02:17:47 +00:00
Ralf Becker
7c5b6c94d6 "removing replacements for empty cf's (finally)" 2008-02-15 01:36:58 +00:00
Ralf Becker
722903656b missing commit for contacts colored by category in the link search 2008-02-15 01:36:43 +00:00
Klaus Leithoff
d349ffed88 ouch, forgot a closing bracket, ... 2008-02-14 07:46:18 +00:00
Klaus Leithoff
ee3377d1f2 small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates 2008-02-14 07:40:16 +00:00
Klaus Leithoff
54e606e2a0 after trouble with the advanced search in connection with the distributionlist tab in addressbook, some modifications that should fix the problem. 2008-02-13 13:40:57 +00:00
Cornelius Weiß
1b3eff88ea fix typo asterix -> asterisk :-) 2008-02-12 19:44:20 +00:00
Cornelius Weiß
ed6fea6f5b performance enhancement: accounts::search 2008-02-12 15:57:39 +00:00
Cornelius Weiß
86f6654c8c fix the "to many categories" problem with ldap backend 2008-02-12 15:55:26 +00:00
Klaus Leithoff
5fc31705b2 fixed a bug/typo reported by stefan becker 2008-02-11 07:53:54 +00:00
Oscar Manuel Gómez Senovilla
54ef56c27a lang updates 2008-02-09 22:01:42 +00:00
Lars Kneschke
252f2a964b use the global instance of the accountsClass and create a own connection to the accounts backend 2008-02-08 11:21:32 +00:00
Lars Kneschke
09f1287d6c using the singleton passtern to get a instance of the accounts class and call the setAccountId function to set the accountId 2008-02-08 11:20:50 +00:00
Lars Kneschke
51f14c8d82 don't resolve group grants when using the addressbook, as resolving group memberships is currently extremly slow, with bigger installations
maybe we can also fix it different
2008-02-08 11:19:41 +00:00
Lars Kneschke
31f2ea4a07 minor formating changes 2008-02-08 11:16:40 +00:00
Lars Kneschke
844936d19b added singelton pattern to the accounts class and added function to set accountId without needing to call the construtor 2008-02-08 11:16:09 +00:00
Lars Kneschke
bec1c05070 disabled not working code 2008-02-08 11:14:47 +00:00
Klaus Leithoff
1666c3f100 added and corrected some AT holydays 2008-02-08 08:04:27 +00:00
Klaus Leithoff
fb1608b8b0 and corrected som spelling problems 2008-02-07 14:48:26 +00:00
Klaus Leithoff
f994b17b3e Added the needed languagefiles and translated some more lines 2008-02-07 14:31:14 +00:00
Klaus Leithoff
d57e906f65 feature regarding recuring events. ask user to edit either an exeption or the series. this was sponsored (together with the listview features) by
Verwaltung UNI-MAINZ, and developed by S.Becker.
2008-02-07 13:59:34 +00:00
Ralf Becker
e3ee4fb7dc new egw_vfs class, with many static methods to access the new vfs, see the documentation in the header of egw_vfs 2008-02-07 06:37:45 +00:00
Ralf Becker
e7a3f37f06 fix for bug reported by audiohazard-at-gmx.de on the devel list 2008-02-07 04:35:12 +00:00
Ralf Becker
ea2c699f5c allow the link-query method of an app to set further attributes of the option used to display the entry, eg. a title (tooltip) of a certain entry: instead of id => title pairs, you return eg id => array(label=>title,title=>tooltip) like for html::select or the select widget 2008-02-07 02:54:11 +00:00
Ralf Becker
9eaa3efb75 - $$calendar/-1/...$$ for data of the last event
- showing a category path (full cat hierarchy), if category tree is configured
- deleting placeholders of empty (not-stored) custom fields
2008-02-07 02:45:48 +00:00
Ralf Becker
b2be83b0da new id2name parameter $item="path" to get a / delimited path of the cat hierarchy (names of the parents) 2008-02-07 02:40:43 +00:00
Ralf Becker
0a716b3342 _GET parameter to directly create an exception (for Stefan to add Outlook like questions "Do you want to edit the serie or just this event?"), parameter is exception=1 and works only for recuring events 2008-02-07 02:38:55 +00:00
Klaus Leithoff
1163804989 feature to have a bit more possibilities to set your own calendar listview, by offering title,description,owner,location and recure as single column,
and offer to display start and enddate as date with either dow,weekday or both prefixed before the date
2008-02-05 15:50:54 +00:00
Klaus Leithoff
09612e4f58 documented the feature (week+dow) accordingly 2008-02-05 15:41:41 +00:00
Klaus Leithoff
20fccf9bf6 prepare the date widget to output a very long dateformat (week + dow) 2008-02-05 15:34:07 +00:00
Nathan Gray
f733365165 Don't replace classname when user arrows through the list 2008-02-04 21:55:13 +00:00
Nathan Gray
85701b40af Added tab support so users can press tab and select the current (or first) row - thanks ot Raphael Alla for the patch
Added up / down arrow support so users no longer need to use the mouse.  Tested on Mac Firefox, Safari and IE6
2008-02-04 21:49:50 +00:00
Klaus Leithoff
55eb8ece48 adding the feature of viewing the distributionlists of a contact in list and singleview
enabling longer orgnames and emailaddresses
2008-01-31 12:52:43 +00:00
Klaus Leithoff
4fd4d8fb6a update functionality to regard the new sized fields org_name, contact_email and contact_email_home 2008-01-31 12:39:05 +00:00
Klaus Leithoff
6ea71715f8 new egw_addressbook definition because of table alterations of that table 2008-01-31 12:37:16 +00:00
Klaus Leithoff
e1214a3896 increment version, because of table field alterations in egw_addressbook 2008-01-31 12:35:15 +00:00
Klaus Leithoff
08e5fa0497 prevent the mb_convert_encoding to return with an empty string, for the failing of the conversion in that function results in an empty string as
well.
2008-01-31 12:31:18 +00:00
Klaus Leithoff
a0cee847a2 small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was
suggested by Ralf for testing.
2008-01-31 12:23:46 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
Ralf Becker
e657227035 new vfs-stream-wrapper class, which uses a fstab (in a static class var at the moment) to mount different filesystems/stream-wrappers together in a single virtual file system for eGroupWare, can be tested with filemanager/ls.php and the default fstab of / => oldvfs:/ 2008-01-30 06:51:54 +00:00
Ralf Becker
399e087f2c - unlink/mkdir/rmdir methods
- caching the information for dir_open vfs_sql::ls() to use it in url_stat, to not read it again from the db
- implemented a static touch method, which is not (yet) part of the stream-wrapper interface
2008-01-30 06:47:53 +00:00