Lars Kneschke
6173df6f48
* reworked api call for fckeditor
2006-11-08 08:06:27 +00:00
Lars Kneschke
8a0f08b54f
* initial import of fckeditor
...
* added function to add fckeditor instead of tinymce
2006-11-07 18:18:22 +00:00
Christian Binder
cc02f439d7
new dragdrop class -- Introduction in WIKI follows the next days
2006-11-05 09:59:38 +00:00
Ralf Becker
8831acc1c4
fixed Pim's addition to the session class: session of the anon user is destroyed, if he tries to enter an application he has no rights to. The check was before the allowed applications have been read ;-)
2006-11-01 09:40:04 +00:00
Ralf Becker
45fa4d0c1c
fix for Nathan to allow again ':' in the links
2006-10-31 16:50:39 +00:00
Ralf Becker
66abd0c259
re-added the account-search-types lost in the rewrite of the accounts-class
2006-10-28 09:32:56 +00:00
Ralf Becker
3dcbd0ae30
fixed adi's patch to allow again searching in other fields then the one used in account-filter (by default uid)
2006-10-28 09:32:04 +00:00
Lars Kneschke
a934f999e9
restructured ldap connect function
...
- we bind now as ldap admin account to read the info about the ldap server
- we now try to use ldap v3 be default and fall back to ldap v2 when v3 fails
2006-10-28 08:38:17 +00:00
Lars Kneschke
268d434501
fix IE only javascript problem
2006-10-25 13:40:38 +00:00
Lars Kneschke
cf1dad6d52
when synchronizing using syncml, we already have php based session started
...
and we are (currently) not allowed to change the session_id later
to solve this problem, we simply return the current session_id in new_session_id()
2006-10-25 08:18:13 +00:00
Ralf Becker
4731a59075
preserve already correctly quoted single quotes
2006-10-22 11:35:58 +00:00
Ralf Becker
88048ecc2f
renamed datetime class to egw_datetime to support php5.2
2006-10-22 06:39:49 +00:00
Ralf Becker
0b261f355b
fixed not working removal of group-memberships via edit-group
2006-10-19 17:11:35 +00:00
Ralf Becker
afddf22135
fixed doublicate key error, happening with some installs / php-versions on updating or adding acls
2006-10-15 09:21:59 +00:00
Ralf Becker
4586e3c267
fix for bug #9
2006-10-13 15:55:00 +00:00
Pim Snel
b3f8cf1512
Add to session verify: If User is Anonymous and enters a not allowed application its session will be destroyed inmediatly.
2006-10-13 12:49:03 +00:00
Ralf Becker
3b3c5351de
forgot to remove a debugging comment, dbmailForwardingAddress should have the highes precedence
2006-10-12 09:20:22 +00:00
Ralf Becker
cfc6f23dbd
ability to set an email-address for groups (with automatic forwards to member's email)
2006-10-11 21:59:43 +00:00
Ralf Becker
85db907265
some bug-fixes for the php sessions with restore:
...
- problem with $GLOBALS[egw]->translation is no object in common_functions.inc.php (lang() function)
- session cokie with path / (and old session-id) gives "your session could not be verified"
2006-10-11 14:47:23 +00:00
Cornelius Weiß
7f79a72d98
cleanup:
...
- fragments of concisus api
- file inclusion accidents
added:
support for js reload by filectime
2006-10-10 13:39:07 +00:00
Ralf Becker
bbd2b7a55c
Patch from Adi Kriegisch: accounts_ldap::search was NOT using the ldap search-filter from setup >> configuration
2006-10-10 07:33:43 +00:00
Lars Kneschke
d999a797d4
made refresh from server working
...
the new funambol outlook client support this
2006-10-04 18:16:58 +00:00
Ralf Becker
88d5a016e0
caching the link-titles in the session
2006-10-04 08:23:28 +00:00
Ralf Becker
4c1d7489fe
some code to make register_globals On installs safer, we might commit that after a test-periode to 1.2 too
2006-10-03 15:16:42 +00:00
Lars Kneschke
14d546d58d
added functionality to add multiple html / text parts to the message
2006-09-28 18:46:27 +00:00
Ralf Becker
2bbebeeb50
allow to also specify an extra, first label, if an array with grants is given
2006-09-25 08:48:19 +00:00
Ralf Becker
bdb15819bd
phpgw --> egw
2006-09-24 16:27:39 +00:00
Ralf Becker
052c0e964c
fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one
2006-09-24 08:06:16 +00:00
Ralf Becker
a6af26d8a9
- setting the cookie path, allows to login to different eGW installs (if you want to use this together with the 1.2, you have to copy the 3 modified session-classes there too)
...
- documentation update
2006-09-24 06:53:34 +00:00
Ralf Becker
445d8467a3
get_links with $only_app param set was returning the complete links instead just the id's, if the entry was not yet created (links stored as an array in the empty id)
2006-09-20 07:11:42 +00:00
Ralf Becker
1f5580c528
hardcoded the use of accounts_backend::search for ldap, as method_exists behavior seems to have more to do with php's version-numbers then with the existens of the method ;-)
2006-09-20 06:03:06 +00:00
Ralf Becker
a594d2f0b9
make sure multiple email-addresses in the mail attribute "survive"
2006-09-16 10:00:06 +00:00
Ralf Becker
058e175669
fix necessary for session-type php_restore
2006-09-15 16:36:09 +00:00
Ralf Becker
fb62796694
big performance improvment (developed and tested on an install with > 2000 users)
2006-09-15 16:19:39 +00:00
Ralf Becker
6b5f54236b
upps
2006-09-12 11:55:54 +00:00
Ralf Becker
ab05b3eef6
- change jscalendar-setup url to include lang&dateformat, to force the browser to reload the file, if the user changes his prefs (we had a lot of bug-reports about not working jscal because of this in the past, maybe this should be commited to 1.2 too)
...
- documentation update
2006-09-12 11:51:02 +00:00
Ralf Becker
82f5919d1c
fixed sql error in compatibility function old_read (colum-prefix was not added)
2006-09-11 10:48:54 +00:00
Cornelius Weiß
0144a3aa92
xajax check for upcomming notification module
2006-09-06 08:16:22 +00:00
Ralf Becker
f53f475e53
fixed bug reported on the list by Pierre Rigal: Admin >> Manage users shows only first N groups and not all (was caused by default param of '' instead of null in the depricated accounts::get_list() method used by admin)
2006-09-06 08:13:56 +00:00
Ralf Becker
26fd3d2b97
fixed bug in ACL: grants from a group to an individual were not working and grants from a group to an other group were wrong
2006-09-01 11:03:29 +00:00
Ralf Becker
bb9fb665c9
- tinymce use absolute url's again (as in the previous release)
...
- docu update
- remove double cursor css-attribute, which gave a lot warnings in ff's javascrip console
2006-08-30 14:47:56 +00:00
Ralf Becker
0e5afc3ca4
fixed bug: umlauts and other non-ascii chars got corrupted in a nextmatch search, when you scroll with left and right arrows, the search value got unnecessary urlencoded
2006-08-30 13:22:51 +00:00
Lars Kneschke
4bc6ad098e
added a new option, to filter the allowed attribute values by regular expression
2006-08-29 18:45:17 +00:00
Ralf Becker
e88c4e3eb3
- new method get_3links, to get all links from a given app's entries to an other app's entries, which both link to the same 3. app and id
...
- documentation update phpDoc headers
2006-08-26 15:58:26 +00:00
Lars Kneschke
c2a7644b5e
fix logic problem
2006-08-24 11:50:09 +00:00
Ralf Becker
2229fae121
setting the correct charset for the new xajax version
2006-08-24 11:14:25 +00:00
Lars Kneschke
698c0d9416
ad font tag as valid html tag
2006-08-24 09:49:38 +00:00
Lars Kneschke
9fa275421b
patch from christian binder
...
563: set delimiter to ";" instead of ","
2006-08-24 09:47:40 +00:00
Ralf Becker
410a7a6c15
- fixed LDAP error when expiration date is set (under debain/Ubuntu)
...
- fixed calculation of shadow_expire (UTC conversation)
2006-08-24 06:27:03 +00:00
Ralf Becker
3c0e159798
- fixed not stored email-address-policy
...
- removing quotes and space from email-addresses
2006-08-24 06:23:23 +00:00
Ralf Becker
8fd0640039
Two new options for the account-selection:
...
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:50:19 +00:00
Cornelius Weiß
68077b49ac
skiped two folders in new tinymce version
2006-08-21 19:40:16 +00:00
Lars Kneschke
be7cca8a44
improved handling of devinfo. Now we check if we have the needed datastore info for every alert. If we don't have them, we request the devinfo.
...
That's important for the synthesis client, which (can) send different datastore options, depending on the enabled datasources on the client.
2006-08-21 03:46:08 +00:00
Lars Kneschke
1037ac7d7f
added a shortcut function, to display a defined type of tinymce window. To have a equal looking tinymce window all over egw.
2006-08-21 02:59:35 +00:00
Ralf Becker
dfb2e85ed6
fixed bug TinyMCE destroys xml or html in content
2006-08-18 09:21:28 +00:00
Ralf Becker
374749cdde
fixed not working save_value() method, if read_repository was not called
2006-08-17 14:32:25 +00:00
Lars Kneschke
40012677d7
don't convert charset 2 times anymore
2006-08-17 03:38:27 +00:00
Lars Kneschke
502f8508ef
removed (hopefully) unneeded linebreaks
2006-08-17 03:30:19 +00:00
Lars Kneschke
b4be59fbb0
update to new xajax version
2006-08-16 03:31:35 +00:00
Lars Kneschke
acec55da41
add info for new caltasks sync source
2006-08-16 03:31:06 +00:00
Lars Kneschke
46d29b527d
search also in idots as default image path
...
that would allow us to remove default completly in the future
2006-08-16 03:30:23 +00:00
Lars Kneschke
45200da684
various syncml fixes
...
- when doing slowsync we don't update the entries anymore. we just add the needed mapping to the database.
- improved handing of deviceinfo
2006-08-15 14:42:13 +00:00
Lars Kneschke
072b6966d2
// fix for Nokia Series 60 which seem to send empty data block sometimes
2006-08-15 14:40:34 +00:00
Ralf Becker
1ea213f903
allow users with identical names as groups (LDAP) to login, thanks to Jan Lindemann <jan-at-jannet.de>
2006-08-15 03:15:55 +00:00
Ralf Becker
8b199cf8e2
better error-message
2006-08-14 18:33:41 +00:00
Ralf Becker
2d41edc263
fixed not working delete
2006-08-12 08:46:20 +00:00
Ralf Becker
3d831bf7d7
new search method plus documentation
2006-08-11 20:50:36 +00:00
Pim Snel
28ea28e013
For the initial release of Credits Point we need add one API class
...
Credits Point will introduce payed services in to egroupware. Payments are
handled via Payment Service Provider Plugins. Credits Point is compatible
with OsCommerce for these plugins so we have access to hundreds of payment
plugins.
Developers can register functionality in the CP service database. CP admins
can offer registered functionality as payed service to the eGW users.
More info follow...
2006-08-04 08:50:11 +00:00
Ralf Becker
e22ad754a5
fixed not working jscalendar, if for some reason no default date- or timeformat was set in the (default) prefs
2006-07-31 19:43:21 +00:00
Ralf Becker
9ae99b8003
postgres fix, auto-id column need to be NOT set
2006-07-14 19:59:16 +00:00
Ralf Becker
b12b8ada8b
fixed warning if a group without members got created
2006-07-13 19:54:02 +00:00
Ralf Becker
3d4c680760
typo
2006-07-12 20:43:38 +00:00
Ralf Becker
e9c61d87d9
fixed bug, that caused accounts::search() to allways return on the first maxmatches accounts, as the underlying contacts::search() and so_sql::search() need the start param to be exact false and not null
2006-07-12 18:31:19 +00:00
Ralf Becker
c094f15db4
fixed error "no accounts/groups shown in admin", reported by Max.Bidlingmaier-at-EasternGraphics.com, if maxmatches not set
2006-07-12 15:15:44 +00:00
Lars Kneschke
b67d241224
added default type for ./contacts
2006-07-11 18:29:22 +00:00
Ralf Becker
34346b6847
fixed error in modification of existing group, if groupOfNames can NOT be used together with posixGroup (nis schema)
2006-07-11 02:28:58 +00:00
Lars Kneschke
46b151baa4
improved handling of slowsync and twowaysync
2006-07-09 07:27:23 +00:00
Ralf Becker
8072930632
write only for contact-repository sql-ldap, but not for sql and account in ldap
2006-07-08 21:41:42 +00:00
Ralf Becker
82af1db4bd
fix: title in checkbox_multiselect was (only) set for the checkbox, not the whole label
2006-07-08 20:18:36 +00:00
Ralf Becker
ad7972870c
moved saving of account contact-data to accounts class
2006-07-08 00:20:27 +00:00
Ralf Becker
11775a0846
new method to get the message_id of a phrase
2006-07-06 23:02:55 +00:00
Ralf Becker
970ebe0784
- include US states from sbox
...
- methods to translate between country-code and -name
- methods to return a translated country-list
2006-07-06 22:52:50 +00:00
Ralf Becker
fbb8eee4ee
removed not used sbox classes, use html-, country- or uiaccountsel-class instead
2006-07-06 22:51:45 +00:00
Ralf Becker
558a52b491
1) fixed critical bug in links class: viewing an entry which has links to other entries, for which the user has no view permissions, caused the deleting of the links to these entries. The title function/hook returns now null to indicate an entry does not exist (and all links can be deleted) or false (as previously allways) if there are insufficent rights to view the title. Links get now only deleted in the first case, if title() returns null
...
2) dont ask ;-)
2006-06-24 15:58:29 +00:00
Ralf Becker
0c8f55b6ea
quitened a warning
2006-06-24 15:52:42 +00:00
Ralf Becker
86b3262901
excluding of non phpgwapi files not neccessary and breaks new accounts-class which use addressbook's contact service
2006-06-24 15:52:06 +00:00
Lars Kneschke
4ec908ebe4
added support for fetching body and header for composed email
2006-06-23 19:13:22 +00:00
Lars Kneschke
fd297aad19
added support for commiting sessions(remove file lock for php sessions)
2006-06-23 19:09:38 +00:00
Ralf Becker
37b1a0c0c1
fixed bug: delete always deleted the parent-dir too
2006-06-23 17:43:07 +00:00
Ralf Becker
2aaa25ab58
- webdav works now with multiple domains and user-names including the domain
...
- webdav creates now the users home-dir, if it does not exist (as filemanager does)
2006-06-23 17:25:02 +00:00
Ralf Becker
5f41dd5512
fixed now working contact-data-edit of accounts via admin for accounts in ldap
2006-06-21 23:14:18 +00:00
Ralf Becker
5d30855ed1
- fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
...
- invalidate the cache of the accounts-class if contact-data of an account get changed
2006-06-21 23:13:37 +00:00
Miles Lott
23ac553d70
Fix for types other than md5 and crypt, e.g. SSHA where the the type is contained in the text of the password
2006-06-20 09:50:00 +00:00
Ralf Becker
93c8753b73
improved emulation of old contact class
2006-06-18 05:07:10 +00:00
Ralf Becker
4e2ed78789
prevent invinit recursion if read_repository() is called without $this->account_id set
2006-06-18 04:58:02 +00:00
Ralf Becker
61b6d0b993
moved contact-data (firstname, lastname and email) from the account-table to the contact table:
...
- all (sql) accounts have now allways a contact associated with them (account_id is added as new column to the contacts table)
- contacts queries are simplefied a lot now, as no more join with the accouns-table, union and case when statesments are necessary
- lot of the special handling for accounts in the contacts class is no longer needed
- new contact-repository mode "sql-ldap" which additional writes all changes to the ldap repository, to allow to use it read-only from eg. thunderbird and still have the full sql speed and features within eGW (not yet fully working!)
==> requites update of API and addressbook to work (setup!)
2006-06-17 18:47:02 +00:00
Ralf Becker
e57d634c33
enabling the session cache for sql too
2006-06-17 18:40:07 +00:00
Ralf Becker
96ba93f773
use the new type parameter for accounts::name2id to specify accounts
2006-06-17 18:38:32 +00:00
Ralf Becker
0af8df4caa
new param to not invalidate the session-cache
2006-06-17 18:37:35 +00:00
Ralf Becker
5dc4617462
setting the default for encrypt_ldap() to des and not just return false, the default is needed if you never saved setup >> config
2006-06-17 16:04:35 +00:00
Ralf Becker
ae661608ab
allow to use an url (eg. "ldaps://domain.com") instead just a domain name
2006-06-16 04:54:55 +00:00
Ralf Becker
5acd64e429
further improved the detection of "real" links
2006-06-16 04:53:52 +00:00
Ralf Becker
946efce9a1
improved emulation of old contact class
2006-06-16 04:47:22 +00:00
Miles Lott
e14cc06c49
Correct spelling of function name. More to come...
2006-06-15 11:38:21 +00:00
Ralf Becker
8aa7063c94
fix
2006-06-14 23:43:53 +00:00
Ralf Becker
68202a23ff
emulate the old access={private|public}
2006-06-14 19:00:16 +00:00
Lars Kneschke
1afe9362af
fix for incomplete targetURI
...
Patch from Franky(liedekef)
2006-06-14 05:38:15 +00:00
Ralf Becker
0d9206e671
fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction
2006-06-13 21:58:08 +00:00
Ralf Becker
346164483e
using ldap::quote() to gard against LDAP query injection
2006-06-13 04:23:36 +00:00
Ralf Becker
2c87623e9b
renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote
2006-06-13 04:22:24 +00:00
Ralf Becker
b2a0081696
phpDoc compatible header
2006-06-13 04:16:38 +00:00
Ralf Becker
287726dead
bugfix: set_memberships removed the not longer set memberships from $this->account_id and not the given one (which caused the admin to loose the membership)
2006-06-11 14:27:14 +00:00
Ralf Becker
d8d93ebd77
changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists
2006-06-09 00:07:57 +00:00
Ralf Becker
767c42b43f
accounts_ldap::_get_nextid was not returning a negative number for groups, which lead to accounts_ldap::save to return a positive account_id for groups, which messed up some stuff in setup ...
2006-06-08 22:04:44 +00:00
Ralf Becker
5581a73df7
allways setting account_pwd and account_status (for groups too) as they are NOT NULL, thanks to olo <aleksander.adamowski-AT-gmail.com>
2006-06-08 21:18:46 +00:00
Lars Kneschke
e4409c7b0a
fixed handling of session url, when behind a proxy
2006-06-08 03:46:18 +00:00
Ralf Becker
076711adbf
fallback for posixGroup no structural object was missing
2006-06-08 03:29:07 +00:00
Ralf Becker
7c203162fa
fix to allow migration of accounts from LDAP to SQL (account_id already set)
2006-06-08 00:25:57 +00:00
Ralf Becker
a59c49c2e2
also fetch the password, eg. for migration
2006-06-07 23:21:30 +00:00
Ralf Becker
29f83cba19
calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary)
2006-06-07 22:59:42 +00:00
Ralf Becker
1934c4ce6d
fixed some problems:
...
- in setup we have no sessions --> query the infos on each request
- if the server allows no version 2 binds, the class failed. Now we try again with version 3 set (and succeed)
2006-06-07 22:58:11 +00:00
Ralf Becker
9eca4904e0
allow to specify the hash type to prefix the hash, to easy migrate passwords from ldap
2006-06-07 22:08:13 +00:00
Cornelius Weiß
fdebc495f5
add autologin for anonymous user as we need to have on community.egroupware.org
2006-06-07 18:16:43 +00:00
Ralf Becker
c6b0c63725
- correctly set and empty some additional attributes like first name and email
...
- validation group-members before setting them (false return from id2name, gives ldap-error otherwise)
2006-06-07 17:58:20 +00:00
Ralf Becker
5a84e151b2
need to invalidate the cache, before new users can be assigned any memberships
2006-06-07 17:55:57 +00:00
Ralf Becker
d8e53a5aab
fix to NOT use tls for IMAP
2006-06-07 06:49:08 +00:00
Ralf Becker
3234d5723e
- fixed a view error in working together with setup
...
- quitent (hopefully) all debug messages
2006-06-07 05:16:56 +00:00
Ralf Becker
98d8b30761
rewrite of the accounts classes:
...
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Lars Kneschke
3821544b6d
removed port if 80 or 443
2006-06-06 07:05:26 +00:00
Ralf Becker
73b00c865e
Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know
2006-06-06 05:33:10 +00:00
Ralf Becker
b4f3452ffc
Fixed problem that on newer SuSE (and maybe other distros too) none of our required objectclasses for groups are an structural object, which caused the adding of new groups to fail. Now I add the 'namedObject' objectclass, if the first adding fails.
2006-06-03 19:44:44 +00:00
Ralf Becker
ef69e29a99
Fix from István Pongrácz for acl-problems in filemanager under php4.3.2
2006-06-03 01:43:40 +00:00
Lars Kneschke
fcbe2e5dd5
SyncML fixes
2006-06-01 13:38:37 +00:00
Ralf Becker
208a375928
fixed not shown images, if eGW is installed in the document root, with webserver_url empty
2006-06-01 03:48:06 +00:00
Ralf Becker
ecae41f156
fixed smal prob with non existing header
2006-05-31 01:58:03 +00:00
Ralf Becker
6ccca34f85
- updated header to be processed by phpDocumentor
...
- fixed bug in delete pointed out by Steven Hammer
2006-05-28 02:39:39 +00:00
Ralf Becker
070e3c2861
added WebDAV access to filemanager, use the following URL:
...
- konq: webdav://localhost/egroupware/filemanager/webdav.php/home
- win: http://localhost/egroupware/filemanager/webdav.php/home
You can now you drag and drop to updload files or complete folders and you can edit files directly in the filemanger
2006-05-26 01:47:05 +00:00
Pim Snel
20d7921564
tplsavant enhancements needed for jinn and japie functionality
2006-05-22 17:53:56 +00:00
Lars Kneschke
87dcfb1c10
bugifx from jan
2006-05-18 14:21:29 +00:00
Miles Lott
fb4182ea66
Correct spelling
2006-05-17 06:00:12 +00:00
Ralf Becker
32dc4fdb8b
bugfix: url's containg var[]=val got corrupted
2006-05-17 05:53:12 +00:00
Ralf Becker
d03b888c94
fixed old search (read) for no filter given
2006-05-17 04:15:58 +00:00
Lars Kneschke
73441f3ac3
SyncML fixes
2006-05-17 03:33:50 +00:00
Cornelius Weiß
8c0945b4d0
fix: count returns 1 if variable dosn't exists!
2006-05-16 09:22:29 +00:00
Ralf Becker
dca9b4194d
bugfix for db::expression: As the function has a variable number of arguments, you CAN NOT add further parameters !!!
2006-04-30 18:23:17 +00:00
Ralf Becker
9adfc41c1e
allow to create links pointing outside egw
2006-04-30 18:04:14 +00:00
Ralf Becker
c71c53851f
fixed critical bug:
...
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Lars Kneschke
955f766a19
some minor fixes to make funambol happy
2006-04-28 05:44:43 +00:00
Ralf Becker
253c46bb9a
added old field-list (stock_contact_fields)
2006-04-26 21:24:50 +00:00
Ralf Becker
897b4e1e67
moved the logic what fields to search from the uicontacts in the socontacts
2006-04-26 14:01:10 +00:00
Lars Kneschke
4c0a9c5f1b
new classes to detect ldap capabilities
2006-04-26 06:01:21 +00:00
Ralf Becker
c54ebc6323
accounts_sql::save_repository(): overwrite person_id only if set in data
2006-04-25 12:44:40 +00:00
Ralf Becker
53b47fed8d
new API contacts class using the contacts service of addressbook:
...
- it extends the bocontacts class of addressbook and
- adds some depricated methods to add basic support for the old contacts methods: read, read_single_entry, add and update
2006-04-24 20:55:16 +00:00
Ralf Becker
9c9b127de6
bugfix suggested by <martinjcole-AT-gmail.com>
2006-04-24 20:20:48 +00:00
Lars Kneschke
2bbcde1238
add default contenttype for sifcalendar
2006-04-24 09:23:02 +00:00
Lars Kneschke
df7d119bb3
enable funambol calendar sync
2006-04-24 08:25:53 +00:00
Ralf Becker
912f82fd85
- new capability for outer joins
...
- new/changed param to allow to use db::get_table_definitions() without setting/chaning the definitions loaded by the db-class
2006-04-23 14:50:48 +00:00
Ralf Becker
1ed3143918
moved link registry and functions for addressbook into the bocontacts class of addressbook
2006-04-23 14:49:08 +00:00
Ralf Becker
e52c09e0a6
allow to search for fullname
2006-04-23 14:48:19 +00:00
Ralf Becker
6922784f83
new $enum_group_acl parameter for acl::get_grants: should group acls be returned for all members of that group, default yes
2006-04-23 14:46:38 +00:00
Ralf Becker
a6b53002df
for https:// url the port was detected as 80
2006-04-20 06:03:02 +00:00
Ralf Becker
515a22be1a
function to create email addresses after a configurable policy
2006-04-16 12:25:11 +00:00
Ralf Becker
dc68edab46
fixed csv import:
...
- no more caching in the cat_id function, as it's done in the categories class in the API no
- categories::name2id no longer caches not found entries, as they might be added in this request
- contacts_sql::add set's all unset telefon numbers to '', to avoid the stupid db-default '+1 (000) 000-0000', which I dont want to change in the stable release
2006-04-14 09:50:39 +00:00
Ralf Becker
e12b1e9801
fix for bug [ 1467180 ] WEBDAV broken in filemanager
2006-04-09 12:08:53 +00:00
Ralf Becker
a85c611961
fix: suppress index or unique index, which is already a primary key
2006-04-09 10:56:29 +00:00
Ralf Becker
b826e5c2a3
extra code for changing defaults under mssql
2006-04-09 10:53:31 +00:00
Lars Kneschke
1d791acb2f
important patch from Jan
2006-04-07 08:54:48 +00:00
Lars Kneschke
224fa8f7af
check for 0 and NULL for empty values
2006-04-07 08:22:46 +00:00
Lars Kneschke
ea7b5a8afa
various small bugfixes
2006-04-07 08:11:17 +00:00
Ralf Becker
c8996cb302
autocreate_session_callback can now return (beside false or true&account-data) also a session-id (by calling session::create($account) itself). That allows to handle wrong account-data yourself and NOT get redirected to login.php
2006-04-06 18:32:22 +00:00
Ralf Becker
2c604b7b06
invalid session cache on change of session preference, otherwise session prefs only work in login
2006-04-05 15:17:41 +00:00
Ralf Becker
00060f9551
- added functions to abstract from_unixtime and date_format for DB-types other then mysql
...
- db::select adds ORDER BY to append param, only if its not already in the append param
2006-04-05 15:14:59 +00:00
Ralf Becker
a9988cc72a
fixed wrong referer if url contains webserver_url more then once, eg. " http://egroupware.org/egroupware/index.php " and "/egroupware"
2006-04-05 14:55:57 +00:00
Cornelius Weiß
d515ec7100
allow to configure more custom options for tinymce
2006-04-05 14:01:09 +00:00
Ralf Becker
c230fb81c4
new capability union
2006-03-29 06:58:56 +00:00
Lars Kneschke
9c069b1550
added sifcalendar
2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d
various bugfixes
2006-03-27 23:24:17 +00:00
Ralf Becker
9c2c27b800
disabled SQL queries using the old phpgw_vfs table for WebDAV
2006-03-27 13:43:39 +00:00
Ralf Becker
37cb5095d5
improved printing: progressbar is now printed as percent value
2006-03-26 22:19:24 +00:00
Ralf Becker
40e5634739
fixed reference with clone, thanks to jpingle <jim-AT-hpcisp.com> from the user-list
2006-03-24 17:26:27 +00:00
Ralf Becker
65b9f91744
cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5
2006-03-22 06:58:49 +00:00
Lars Kneschke
2362499507
adding a new file
2006-03-21 13:50:34 +00:00
Lars Kneschke
2dedbf0f7c
support for slowsync with search
...
added real working state machine
SyncML conformance improvment
2006-03-21 13:49:13 +00:00
Lars Kneschke
2bc928a6cb
fixed search for empty values
...
empty values can be '' or NULL
2006-03-21 06:49:10 +00:00
Ralf Becker
a615cada89
added ability to specify some extra styles for the multiselectbox with checkboxes
2006-03-20 21:51:55 +00:00
Lars Kneschke
f2537f6305
fix for mysql > 4.1
...
the first timestamp row gets always updated on update if not set
2006-03-19 22:13:57 +00:00
Ralf Becker
383c45dad3
added tree method using dhtmlXTree version 1.2
2006-03-19 17:55:36 +00:00
Cornelius Weiß
896da3651e
fix for bug #1446050 ( no font selection in htmlarea )
2006-03-19 07:34:41 +00:00
Ralf Becker
d6d5b29ef5
removed diagnostics from bugfix
2006-03-15 16:53:13 +00:00
Ralf Becker
bd471bda9d
fix for bug
...
- [ 1450332 ] Addressbook LDAP - categories not searchable
- [ 1038503 ] show private contact
2006-03-15 14:02:40 +00:00
Cornelius Weiß
300b9b1070
addressbook extension:
...
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Cornelius Weiß
b97f701d05
added an optinal check for a save^tm password (criterias as in MS-Windows)
2006-03-13 21:56:28 +00:00
Lars Kneschke
ea0f776b92
Patch from Jan
...
It is the simple patch to prevents the segfaulting of horde on ical with
spaces in the begin:vevent etc lines. (just \W\w replaced by \S if I
remember well at one place..)
The second patch is for getting rid of some php5 warnings when it
encounters the array_merge() in setParameter(). (only a simple cast to
an array).
2006-03-11 08:09:12 +00:00
Ralf Becker
db1a32aa33
fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists
2006-03-10 09:53:10 +00:00
Lars Kneschke
cfc4ad5006
$accountID is a string not a int
2006-03-10 08:09:42 +00:00
Ralf Becker
e419a6aa6d
allow ',' in order
2006-03-09 22:33:06 +00:00
Ralf Becker
ceb34ebfee
set multiselectbox size=4, as some browsers dont show scrollbars if its under 4
2006-03-09 18:21:22 +00:00
Cornelius Weiß
86036a1ddc
fixed non working privacy
2006-03-08 22:36:35 +00:00
Ralf Becker
ed687031a2
disabled it for security reasons
2006-03-08 22:13:00 +00:00
Ralf Becker
7a80cb08a6
changed system.time for Espen/eGWOsync to return struct with keys:
...
- system: system-time as datetime.iso8601
- system_tz_offset: tz_offset to UTC in seconds as integer
and, if loged in, analog user and user_tz_offset
2006-03-08 19:34:02 +00:00
Ralf Becker
a5a87c4fe8
fix for bug [ 1370943
] Nextmatches->search doesn't set the value
2006-03-08 18:10:36 +00:00
Ralf Becker
dc48662fc8
fix for bug:
...
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Ralf Becker
1186a8e406
if n < 0, use n chars from the end of the string, eg. for zh-tw
2006-03-08 11:39:44 +00:00
Ralf Becker
23c4f7976f
if n < 0, use n chars from the end of the string, eg. for zh-tw
2006-03-08 11:36:58 +00:00
Ralf Becker
15c845e0de
fixed timezone handling in addressbook:
...
- db stores now server-time as everywhere in eGW
- contacts-class in the api and bocontacts in addressbook take and deliver user-time
- xmlrpc gives user-time as the other apps too
2006-03-07 22:43:08 +00:00
Ralf Becker
52863057ec
fixed not working xmlrpc system.time method
2006-03-04 10:27:36 +00:00
Ralf Becker
119fb13409
fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms
2006-03-03 13:44:43 +00:00
Ralf Becker
3a8c25df86
added function to abstract SQL union statement, needed to speed up the calendar search for MySQL 5
2006-03-03 12:01:10 +00:00
Ralf Becker
23ea4159ef
documentation update and extra param to show_date, to disable time-zone-conversation
2006-03-03 09:32:47 +00:00
Ralf Becker
8fc1ad4184
fix for empty or zero id in call to bolink::tile
2006-03-02 19:21:55 +00:00
Miles Lott
920d865760
Minor fix for system.time documentation and signature
2006-02-24 03:08:40 +00:00
Miles Lott
5f9d52623c
Fix minor bug in lang() for common, and update setup's version to match common
2006-02-24 03:06:40 +00:00
Miles Lott
95152c501e
Patch 1424025 to adjust default for system.time format
2006-02-07 13:34:02 +00:00
Miles Lott
9e47c6843e
Patch 1424030 from Esben
2006-02-04 14:33:40 +00:00
Lars Kneschke
1b03623316
two patches from Benjamin Donnachie to fix
...
- async service
- make calendar notifications working again
2006-01-22 19:24:00 +00:00
Lars Kneschke
785391f71d
patches from JVL and some debug output removed
2006-01-22 17:59:06 +00:00
Lars Kneschke
40586d80db
patch from jvl xs4all nl
2006-01-16 11:14:33 +00:00
Lars Kneschke
735dcde161
different SyncML fixes
2006-01-16 09:49:51 +00:00
Lars Kneschke
08d3e484dc
final syncml fixes
2006-01-14 08:29:23 +00:00
Lars Kneschke
fce1d83932
updated WBXML code to work without external binary
...
many thanks to the horde project for writing very good code!!
2006-01-11 05:42:07 +00:00
Ralf Becker
145a1d0f6b
bugfix, sql-error - one bracket too much
2006-01-11 05:20:50 +00:00
Ralf Becker
aa085fd849
bugfix
2006-01-11 05:20:01 +00:00
Ralf Becker
7dd8eda157
some bugfixes: unlink was not working on tempr. links (no id yet) hold in an array
2006-01-11 05:18:48 +00:00
Carsten Wolff
99cb0bd567
fixed a handfull of bugs that broke setup/update from 1.0 to 1.2
2006-01-06 16:21:51 +00:00
Ralf Becker
5043404475
fixed typo
2006-01-06 04:55:51 +00:00
Ralf Becker
d0b013767b
fixing the fix: sql strings (integer
...
index) were not used in the where clause on update/insert, causing eg. double entries for file-attachments
2006-01-06 04:52:10 +00:00
Carsten Wolff
a0f4331554
small cleanup
2006-01-06 02:47:45 +00:00
Cornelius Weiß
b55f6deb14
fix: deleting of accounts resulted in deleting of group
2006-01-04 21:01:33 +00:00
Lars Kneschke
6f05e93e26
read debugdir from egw config
2005-12-25 16:41:35 +00:00
Miles Lott
afaa6f2815
Creates LM and NT hashes natively in php
2005-12-25 10:56:54 +00:00
Lars Kneschke
916f9994b6
fix charset translation
2005-12-23 12:32:57 +00:00
Lars Kneschke
8d704fe5c0
PHP5 fixes
2005-12-20 17:45:47 +00:00
Lars Kneschke
ca2e74f153
added objectclass for rfc2307bis.schema
2005-12-16 07:12:36 +00:00
Ralf Becker
68828494ab
fix for negative group-ids, which are not allowed by all dbms in auto-columns:
...
- egw_accounts.account_id is now again positiv for groups too
- mapping to negative group-id is done in the accounts-class now
2005-12-14 23:35:09 +00:00
Ralf Becker
b5197ce79d
fixed bug in creation of new groups under ldap, they get always the same id
2005-12-14 23:33:07 +00:00
Ralf Becker
36138f346e
setting group-context from (user-)context, if not set
2005-12-14 23:31:51 +00:00
Ralf Becker
5ddc4a4f85
constructor of datetime need to be called after preferences are read (again), otherwise the tz-offset is not set - easy to verify from the other end of the world ;-)
2005-12-14 06:41:27 +00:00
Ralf Becker
57998e5827
fixed to small div in multiselectbox, this should be handeled by css (overflow)
2005-12-14 06:36:27 +00:00
Ralf Becker
5f625f4289
fixed bug: privat cats were not returned / shown
2005-12-02 20:29:49 +00:00
Lars Kneschke
3abea0dbe6
fixed changing passwords using ldap
2005-12-02 12:49:50 +00:00
Ralf Becker
f2d06cbe56
fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong
2005-12-02 10:43:39 +00:00
Ralf Becker
14b93846c0
reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function
2005-12-02 10:41:50 +00:00
Ralf Becker
341eb15afb
fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible.
2005-12-01 23:18:07 +00:00
Ralf Becker
332b6fabd5
fix for mssql problem reported, without SET identity_update <table> ON, mssql refuses to change the identity column (create negative group id). I cant test it, as I have no MsSQL at the moment.
2005-12-01 21:01:06 +00:00
Ralf Becker
24472f972d
fixed not working sessionid in url
2005-11-29 13:05:20 +00:00
Ralf Becker
68d0668328
fix for bool columns:
...
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
46adb5d50b
destroy the session-cache on login/logout
2005-11-28 12:47:35 +00:00
Ralf Becker
bf9ee3a86d
fixed empty property warining in error_log
2005-11-28 08:24:36 +00:00
Ralf Becker
16e9475d0b
fixed double navbar on access denied (eg. calling a app by url without run-rights for that app)
2005-11-27 23:11:25 +00:00
Ralf Becker
0cfdea3f97
fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server
2005-11-27 22:33:08 +00:00
Ralf Becker
7b2b823835
- setup uses now the system_charset, that fixes various errors reported:
...
+ setup_demo gives errors under postgres
+ setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Miles Lott
3617eeda1f
update for new calendar function
2005-11-26 15:37:14 +00:00
Miles Lott
bcacc1ef46
phpgw->egw
2005-11-26 14:25:39 +00:00
Ralf Becker
b68c7922c0
fixed prob reported on the lists: new created account are not working
2005-11-25 19:58:05 +00:00
Miles Lott
bcb682ed9d
phpgw->egw
2005-11-25 00:20:34 +00:00
Miles Lott
98bb88f545
phpgw->egw
2005-11-25 00:13:29 +00:00
Ralf Becker
43ae18fb7a
finding the db-object from setup too
2005-11-24 20:48:31 +00:00
Ralf Becker
d8932b3ad3
calling invalidate_session_cache only if it exists (setup does not have/need it)
2005-11-24 20:08:09 +00:00
Ralf Becker
9606f6ea25
eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's)
2005-11-24 19:48:21 +00:00
Ralf Becker
e9bbdad358
fixed bug: only 2 levels of categories get returned
2005-11-23 23:01:28 +00:00
Ralf Becker
4169bd99e1
fixed bug in column_data_implode: numerical keys where used if $only===true
2005-11-23 08:56:43 +00:00
Cornelius Weiß
f043f76be2
fix typo
2005-11-22 22:32:21 +00:00
Cornelius Weiß
81f918c8b6
fix: font tag was not allowed
2005-11-22 22:26:35 +00:00
Ralf Becker
597e4b8589
fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false)
2005-11-21 16:39:43 +00:00
Ralf Becker
cde95cd926
fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot
2005-11-21 08:21:11 +00:00
Ralf Becker
e9cfc86e19
fixed bug: missing param 5 in egw_db::insert, which stoped login, if display errors is on
2005-11-21 07:23:37 +00:00
Ralf Becker
9320913b9e
- new capability 'name_case'
...
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
2dbaf992fa
fix for bug [ 1357995 ] LDAP account import errors
2005-11-20 08:03:06 +00:00
Ralf Becker
1549913fd7
fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class
2005-11-20 07:32:51 +00:00
Ralf Becker
c267a875de
fixed quoting of bool column to return true or false, as required by newer postgres and accepted by mysql too
2005-11-19 20:14:45 +00:00
Ralf Becker
1c8ecb3992
enhanced _insertID function to deal with tables without oid's (default from 8.1+)
2005-11-19 20:13:06 +00:00
Ralf Becker
fa96e4a576
new functions to read and write a single phrase
2005-11-19 20:08:45 +00:00
Ralf Becker
c3a9b1c5e8
fix for different format of multiple cats ('1,2' instead of old ',1,2,') in new addressbook
2005-11-18 15:22:10 +00:00
Ralf Becker
96a2aad962
Adjusting the multi-selectbox width a bit
2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f
fix, sorry
2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7
add a few more plugins to tinymce
2005-11-14 21:18:01 +00:00
Ralf Becker
85406b1a86
if called by setup, use setup's db-instance
2005-11-14 10:21:02 +00:00
Ralf Becker
ef43034467
added some stuff for handling db-charsets:
...
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
29ebabe0f5
quitent an other diagnostics
2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36
- quietent a warning if the connecting database does not exist
...
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
e665bbad9d
quitend a debug message
2005-11-13 18:22:06 +00:00
Ralf Becker
8e25d2e29c
phpgw_addressbook(_extra) --> egw_addressbook(_extra)
2005-11-13 12:05:35 +00:00
Ralf Becker
f65d804916
phpgw_interserv --> egw_interserv
2005-11-13 11:55:07 +00:00
Ralf Becker
dab141fdb7
phpgw_history_log --> egw_history_log and reworked class with new db-functions
2005-11-13 10:52:34 +00:00
Ralf Becker
1b17b82ca8
phpgw_nextid --> egw_nextid
2005-11-13 10:13:16 +00:00
Ralf Becker
1f37f024ca
phpgw_access_log --> egw_access_log
2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85
phpgw_(app_)sessions --> egw_(app_)sessions
2005-11-13 09:16:31 +00:00
Ralf Becker
8add4f6398
infolog link registry ins now in infolog class
2005-11-13 09:14:02 +00:00
Ralf Becker
44bcc1247d
improved docu of prefs class and phpgw_preferences --> egw_preferences
2005-11-13 07:49:56 +00:00
Ralf Becker
8a06c230c4
modernized and documented the hooks-class, phpgw_hooks --> egw_hooks
2005-11-13 06:58:38 +00:00
Ralf Becker
dafaf45680
fixed typo which caused the admin passwd to be changed, instead the one of the edited user
2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44
some more db-capabilities:
...
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b
code cleanup and link function allows now query in the url too
2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00
fix for referer under etemplate
2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81
tinymce
...
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf
adjust link to new view dialog
2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b
fixed typo
2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583
fixed not working reference assignment
2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630
hopefully now all possebilities to construct an eGW URL are covered
2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5
new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function
2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0
phpgw --> egw plus some documentation
2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f
fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND
2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5
reverted last commit, as & in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used
2005-11-08 20:03:46 +00:00
Ralf Becker
c84bb21068
xhtml conforming url's
2005-11-08 17:53:04 +00:00
Ralf Becker
263caae5e8
missing param
2005-11-08 10:10:36 +00:00
Ralf Becker
709ef070c9
fix for bug, that empty arrays are returned as serialized empty array and not an empty array
2005-11-08 08:12:30 +00:00
Ralf Becker
a0beab57d4
fixed bug reported by Lutz on the german list (missing AND before filter in return_array)
2005-11-08 05:07:37 +00:00
Ralf Becker
40b35348e0
Get- and SetCharSet for mysql and mysqli
2005-11-07 13:37:21 +00:00
Ralf Becker
ae9ae56e30
fix for the segfaults happening since the last commits in several apps: function was calling itself ;-)
2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2
it was definitly to late last night ;-)
2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476
typo
2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9
phpgw_categories --> egw_categories plus reworked categories class
2005-11-05 22:58:51 +00:00
Ralf Becker
2ec277c0d9
typo
2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3
typo
2005-11-05 18:18:55 +00:00
Ralf Becker
0f7354b09b
check for the old table too, to not scare updating users ;-)
2005-11-05 13:15:33 +00:00
Ralf Becker
912aac5e6c
1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
...
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
2477ebc7bb
functions to get and set the charset
2005-11-04 18:38:29 +00:00
Ralf Becker
970a92297e
an other big update ;-)
...
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
- charset gets now set for the connect
- charset gets used for new tables
- some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
- update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
65c41b525e
fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working
2005-11-04 06:57:22 +00:00
Ralf Becker
a41761660e
fixed bug: addressbook popup for email apps: adding all search results was not working with ldap (contacts_ldap class did not support the "!''" filter used)
2005-11-03 14:30:40 +00:00
Ralf Becker
335cef9104
display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user
2005-11-02 20:43:04 +00:00
Ralf Becker
3960fcc0ae
implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both
2005-11-02 20:40:44 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
e4ed1ac5b0
add execmethod2 which could handle multiple arguments
...
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
295d7844e5
added no_notify parameter to link function, to suppress the notify
2005-10-27 09:28:24 +00:00
Régis Leroy
7b9f0f7b79
add mysqlt type for mysql in transactionnal mode with innodb tables
2005-10-25 15:27:42 +00:00
Régis Leroy
0f476f3e98
Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE
2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81
bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before
2005-10-25 14:38:10 +00:00
Ralf Becker
a4b67d9f2b
UUPS javascript ;-)
2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb
1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
...
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Régis Leroy
c2c29c186b
removing galaxia library. See reworked workflow library in workflow/inc/engine
2005-10-17 15:54:19 +00:00
Régis Leroy
c53b0302ba
removing galaxia library. See in reworked workflow library in workflow/inc/engine
2005-10-17 15:52:39 +00:00
Cornelius Weiß
f578c4f826
make tinymce call easier and provide some custom view
2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf
switch to tinymce by default
2005-10-13 15:16:38 +00:00
Ralf Becker
ea1e8d89a2
fixed sql error on deleting users, thanks to Regis Leroy
2005-10-13 14:26:29 +00:00
Ralf Becker
1784637cff
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
Ralf Becker
e2e0fd6446
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
zhangweiwu
0ec0bc7654
add a bit of phpdoc explanation.
2005-10-11 02:00:23 +00:00
Ralf Becker
8fd573db65
setting language, date- and timeformat for tinymce from the user prefs
2005-10-11 00:27:24 +00:00
Ralf Becker
2a05447886
fixed domain-selection via url
2005-10-09 12:02:24 +00:00
Ralf Becker
9f0f20a4cf
an other try to get the right size for the multiple selectbox with checkboxes
2005-10-05 12:40:59 +00:00
Cornelius Weiß
5c8e62b4ce
files with owner_id == 0 need to be readable for all useres!
2005-10-04 22:59:14 +00:00
Ralf Becker
8a8077bf4e
typo
2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067
moved InfoLog's link class and it's table into the api
2005-10-01 20:18:41 +00:00
Ralf Becker
f7ec5b42f5
fix to use our db class with the new php5 mysqli extension
2005-10-01 09:09:45 +00:00
Ralf Becker
7f835c1020
mysqli has a separete param for the port
2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0
mysqli should use the mysql datadictionary
2005-10-01 08:47:27 +00:00
Carsten Wolff
7ae0075fb3
fix an usort sideeffect
2005-09-30 16:03:27 +00:00
Ralf Becker
42e14d2cfd
multiselectbox with checkboxes: calculated widths was far to much
2005-09-30 14:21:50 +00:00
Miles Lott
eefec39e13
Formatting
2005-09-29 11:31:02 +00:00
Carsten Wolff
c5f0daa001
remove PHP3 legacy code and fix performance bug in sorting ldap_search results.
2005-09-28 13:10:22 +00:00
Ralf Becker
93e3241b70
re-added to postgres fixes not (yet) contributed to JohnLim:
...
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e
imported adodb 4.65
2005-09-26 10:12:10 +00:00
Ralf Becker
bd527ef0b8
the xmlrpc log should be off be default, as it contains everything in cleartext (eg. passwords) and it is in most distros world readable
2005-09-20 10:14:10 +00:00
Ralf Becker
e72ec322e1
added configuration switch for xmlrpc and soap services (default off)
2005-09-10 10:39:36 +00:00
Ralf Becker
a4b3f4fecb
added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again
2005-09-06 10:20:56 +00:00
Carsten Wolff
3be92d3fa2
fix change_owner()
2005-08-30 20:56:33 +00:00
Lars Kneschke
e2f6eb9b06
always include some common javascript functions
2005-08-28 20:31:36 +00:00
Miles Lott
35d6232281
Switch to new arrays and db cloning
2005-08-27 12:24:56 +00:00
Miles Lott
137e472433
Use correct quoting when querying/setting account_id; minor formatting
2005-08-27 12:19:35 +00:00
Miles Lott
b4a21c4e9e
Switch to egw_info, etc, and remove reset/while
2005-08-23 17:53:41 +00:00
Miles Lott
9438655ca5
Format and switch to egw_info, et al.
2005-08-23 17:49:49 +00:00
Miles Lott
7d18902b97
HEAD only: Add client from 2.0 lib - adds compression, proxy auth, etc.
2005-08-16 13:23:03 +00:00
Miles Lott
46e44572df
Remove eval from ldap version, too
2005-08-14 22:11:15 +00:00
Miles Lott
4248167886
Update lib to version 2.0; remove eval calls
2005-08-14 20:36:46 +00:00
Miles Lott
08b61a050e
Fix for multiple domains via xml-rpc to ensure the correct domain
2005-08-14 17:01:30 +00:00
Carsten Wolff
d61920a22b
fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1.
2005-08-13 21:01:14 +00:00
Miles Lott
4af309944f
initial line spacing
2005-08-13 13:16:01 +00:00
Lars Kneschke
7dc342e317
removed organizer as required field
2005-07-29 07:31:30 +00:00
Ralf Becker
8d4c01bf4b
fixed missing escaping of double quotes in the title of wz_tooltips
2005-07-28 09:45:58 +00:00
Ralf Becker
0c38cbea43
fixed wrong charset in xajax responses
2005-07-27 10:04:52 +00:00
Lars Kneschke
bf49d639c6
remove session after successfull sync
2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34
fixed handling of ALERT 222
2005-07-26 07:22:58 +00:00
Miles Lott
ca8cf03ff2
Update for egw arrays
2005-07-23 11:39:20 +00:00
Ralf Becker
5cbbbb7d29
1) phpgw --> egw
...
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
7b1229e29a
fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog
2005-07-22 17:53:02 +00:00
Ralf Becker
c395f26dc6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:20:31 +00:00
Ralf Becker
b82ac2c4d6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
d933e70c72
fixed SQL queries
2005-07-20 12:42:09 +00:00
Ralf Becker
5e97b462c4
setting defines for currentapp=login too
2005-07-20 12:31:58 +00:00
Ralf Becker
83b0801533
commit for Lars: latest SyncML updates
2005-07-20 12:09:32 +00:00
Ralf Becker
ef7bff339e
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f20c9f093e
the LDAP server also needs to be re-connected
2005-07-17 22:47:54 +00:00
Ralf Becker
f99f2ef4e8
1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
...
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
5736cb296c
*** empty log message ***
2005-07-17 19:58:41 +00:00
Ralf Becker
7c46b63263
1) fixed not working session kill
...
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
petere78
73d74fa0f3
XHTML 1.0 cleanup for setup application
2005-07-11 18:02:19 +00:00
Miles Lott
47d7968d60
Disable debugging by default, but enable for the interserv test application
2005-07-02 20:19:19 +00:00
Miles Lott
07b6cc1297
Fix for case-sensitive variable name
2005-07-02 20:13:51 +00:00
Pim Snel
cd8871a53d
add fetch_string function so templates can live in a database table as well
2005-07-01 13:27:35 +00:00
Carsten Wolff
64120e723c
another shot at datetime.iso8601:
...
- accept both simple and extended format from input
- output simple format, if the client sends a HTTP-header "isoDate: simple".
This should maybe extended by another possibility, where the information
is stored in the session on login. Then there is a good way for all
clients, regardless of the use of any combination of Auth-headers,
login/cookies and webservers.
2005-06-30 19:01:19 +00:00
Miles Lott
ff4a0d24cc
CRITICAL: Implement security fixes from latest release of php-xmlrpc
2005-06-30 13:36:47 +00:00
Pim Snel
15e32ce762
create tinymce init function so this can be optinaly run before the header is sent.
2005-06-30 09:10:15 +00:00
Pim Snel
014aa6ca67
only show template set that contain a setup.inc.php
2005-06-29 21:06:52 +00:00
Pim Snel
210e5621be
Add wrapper function for the TinyMCE WYSIWYG editor. This editor much cleaner then htmlarea
2005-06-21 19:46:56 +00:00
Ralf Becker
cea4c314d2
phpgw_setup --> egw_setup
2005-06-20 22:07:40 +00:00
Lars Kneschke
b3ecd8456d
generate a smaller guid
2005-06-20 11:14:40 +00:00
Lars Kneschke
062f20ec42
chaning phpgw -> egw
2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959
$GLOBALS['phpgw --> $GLOBALS['egw
2005-06-20 07:51:01 +00:00
Lars Kneschke
d43bf7d44f
first commit of syncml code
2005-06-19 19:00:58 +00:00
Lars Kneschke
f354eacf66
the best of my and ralfs version
2005-06-19 18:07:06 +00:00
Ralf Becker
d4760bb15c
renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde)
2005-06-19 12:43:00 +00:00
viniciuscb
0a28f3812e
Some changes:
...
- Inclusion of the following javascript directories:
* Connector: javascript object to interface xmlhttprequest object. This object allows
asynchronous posts and support for messages while this post is being done, such as
"wait, contacting server", etc.
* JsAPI: general javascript functions and methods
* jsolait: performs conversion from a xmlrpc message to a javascript object
* xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
* dynapi: cross-browser class to draw layers
- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
change in phpgw_vfs2_files table in handling of modified files.
- Upgrade of vfs2 classes and PclZip class
- Changes in javascript object and common object to allow the javascript backend to
applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Ralf Becker
332c9c41df
to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested
2005-06-18 06:38:29 +00:00
Pim Snel
1d68ccb070
replace hardcoded links to home.php with links to home/index.php
2005-06-15 11:16:27 +00:00
Ralf Becker
fd5576e3ee
- phpgw --> egw
...
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4
fixing the fix ;-) now it's working in php4 + 5
2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8
little type
2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2
Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;)
2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28
Fix broken PAM authentication
2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf
modernized asyncservice class and renamed phpgw_async to egw_async
2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a
fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected
2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e
corrected a "funny" php5 behavior
2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae
implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none").
2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2
add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually.
2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a
VFS SQL2 classes
2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913
Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities.
2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359
thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect
2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c
some fixes:
...
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
b883eca49d
new auth_ads class:
...
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Cornelius Weiß
632a990cfb
added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it.
2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb
galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity
2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3
bugfix in password migration
2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039
- massive code cleanup
...
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
658e1a78c9
form: empty action uses now PHP_SELF?QUERY_STRING
2005-05-03 14:55:24 +00:00
Ralf Becker
b97d8b5eeb
big documentation update
2005-04-25 10:09:10 +00:00
Ralf Becker
d6ba225257
fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list
2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea
fixed not working charset conversation in setup
2005-04-15 14:01:15 +00:00
Miles Lott
3cfb82e06d
Check for array or object on decrypt/unserialize. Return this even if empty.
2005-04-13 13:03:04 +00:00
Ralf Becker
93c063bd6c
- applied patch from cornelius Weiss: fixes some probs with xmlrpc too
...
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
b1b41188ad
- added possebility to specify titles for options
...
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
a828ba73f3
added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk>
2005-04-12 09:54:07 +00:00
Ralf Becker
167d7e7288
new param. to supply a join for the select method: eg. ",table2 WHERE x=y" or "LEFT JOIN table2 ON (x=y)"
2005-04-08 18:34:49 +00:00
Ralf Becker
2c300e8cd7
fixed bug of not removable apps in the user management
2005-03-30 14:42:32 +00:00
Ralf Becker
bc4501f2e7
added not allways set sync_changedby column, which is required as it is NOTNULL and some code modernisation ;-)
2005-03-30 08:16:31 +00:00
Ralf Becker
404ebd1a5a
new function to get all locations for a given app and user
2005-03-29 15:30:08 +00:00
Régis Leroy
9d9de69793
bugfix: old vars names still there. The ProcessMonitor workflow ui wasn't able to show number of activities per processes. pId->wf_p_id
2005-03-29 13:26:29 +00:00
Régis Leroy
f8b10f7097
Bugfix: user was not setted when forms were launched, this lett multiple users run the same activity on the same instance at the same time. WARNING:: You should recompile all your activities to fix the bug.
2005-03-27 09:03:07 +00:00
Miles Lott
6bcd0f9cfb
cleanup formatting
2005-03-25 09:59:48 +00:00
Ralf Becker
4e2bce12e6
modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api
2005-03-24 13:15:12 +00:00
Régis Leroy
4610377a66
fixing ->setOwner which were always setting empty owner
2005-03-17 14:36:06 +00:00
Ralf Becker
1a5243c9c4
_check_script_tags function:
...
1) fixed problems pointed out by gulftech, iframes get now unset too
2) unset variables from _check_script_tags are now found in $GLOBALS['egw_unset_vars'], eg. a posted input-field called content would be found in $GLOBALS['egw_unset_vars']['_POST[content]'] (please not the array is only 1-dimensional!), if it has been unset by check_script_tags
3) speed up the function a bit, by not checking all possible names of the superglobals arrays, if nothing found in $_GET and $_POST
2005-03-15 15:36:44 +00:00
Ralf Becker
7288defaaf
the default value for $accountid has to be '', as get_account_id returns all integer (0 too) unchanged
2005-03-12 17:55:48 +00:00
Ralf Becker
12e4740941
rewrote AND documented the ACL class with new DB functions to fix the problems pointed out by GulfTech
...
I backported them to 1.0.0 too, but will give it a view days testing on my server and egroupware.org, before I commit them
2005-03-12 16:30:25 +00:00
Ralf Becker
8529237f82
changed ACL code to use standard get_grants method from the acl-class, the existing coded tried it on it's own and failed if directories were owned by a group
2005-03-07 17:08:54 +00:00
Ralf Becker
9c091abd5b
upps
2005-03-07 17:06:01 +00:00
Ralf Becker
436a5635d2
1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
...
2) rewrote some methods with new db-functions
3) add possibility to delete an app/location for all accounts
4) fixed get_location_list_for_id() method (it was not returning all locations)
2005-03-07 16:59:32 +00:00
Ralf Becker
275b75be1a
option to show selected items at the top of the multiselect-checkbox
2005-03-05 15:03:01 +00:00
Ralf Becker
0a104f1063
1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
...
2) modernized CreateObject
2005-03-04 20:48:05 +00:00
Ralf Becker
69c93b3f2b
$GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2005-03-04 15:47:08 +00:00
Ralf Becker
b6883d59e8
1) fixed setup-detection, to allow login into setup again
...
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
887e71e57e
1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
...
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
6b2eb04274
$GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:30:00 +00:00
Ralf Becker
49c4775efd
seems not to be used (anymore)
2005-03-03 15:20:13 +00:00
Ralf Becker
08bc681ab9
seems not to be used (anymore)
2005-03-03 15:13:30 +00:00
Ralf Becker
8a0ca7a6be
seems not to be used (anymore)
2005-03-03 15:02:28 +00:00
Ralf Becker
8052da02bc
given the regular "you need to port your header ..." message
2005-03-03 11:01:19 +00:00
Ralf Becker
e82027d0cb
changing from
...
1) $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'],
2) $GLOBALS['phpgw'] to $GLOBALS['egw'],
3) PHPGW_ to EGW_ constants
The phpgw ones ars now a reference to the new egw ones, to allow a soft migration
2005-03-03 10:47:28 +00:00
Ralf Becker
d7f1458d1a
new header-template to:
...
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00
Ralf Becker
37fa750990
1) corrected fix of wrong comparison with NULL in column_data_implode
...
2) allow for null in array in column_data_implode
2005-02-28 11:51:10 +00:00
Lars Kneschke
0b846885ee
add class to handle history of content inside egw
2005-02-27 23:29:40 +00:00
Lars Kneschke
ffc98ddd1f
add 2 function sto handle global UIDs
2005-02-27 23:27:36 +00:00
Ralf Becker
0af62b80b3
fixed wrong comparison with NULL in column_data_implode
2005-02-27 21:27:36 +00:00
Ralf Becker
d9ba5f9ab8
fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case
2005-02-27 19:51:24 +00:00
Ralf Becker
a53e61f903
'vfs_' column-prefix and "new" table-name for egw_vfs
...
- needed for the oracle support
Also put vfs and vfs_shared in one file
2005-02-26 14:00:02 +00:00
Ralf Becker
9a6b90e78f
1) enabled DB support additionaly for:
...
- Oracle via oci8 or odbc extension
- MsSql via odbc extension
2) added checks for the neccesary extension incl. loading them if they are not loaded by default: db extensions and session extension. This is now consitent wiht check_install.
3) sessions class tries now to load the php session extension and silently fallbacks to db-sessions
2005-02-25 07:45:37 +00:00
Ralf Becker
feadf8459e
implemented a multiselectbox with checkboxes:
...
- it looks nearly like a multiple selectbox, eg. scrolls for further lines
- it acts in the same way in forms
- it's NOT identical if using it via javascript
2005-02-24 21:01:13 +00:00
Ralf Becker
b313272616
fallback to db sessions if php's session extension is not loadable, atm. you get cryptic errors, bugs in the bugtracker and mails on the list ;-)
2005-02-21 07:57:41 +00:00
Ralf Becker
c0bed5e88e
added escaping of onclick for buttons
2005-02-20 21:47:14 +00:00
Ralf Becker
844ec779c2
optimized handling of app_session data under php4: previously there was always a copy of the data in $GLOBALS['phpgw_sessions'], which is unnecessary and needs double as much memory. Also changed the name from $_SESSION[phpgw_session] to $_SESSION[egw]
2005-02-18 20:28:06 +00:00
Ralf Becker
c04582258f
1) big documentation update
...
2) image method accepts now:
- image name, search in given app
- URL
- vfs:/ pseudo protocol to access the vfs, eg. vfs:/home/ralf/pic.png
- array with get-vars passed to the link-function for '/index.php'
2005-02-16 13:04:14 +00:00
Ralf Becker
021b1314c7
fix for php5
2005-02-12 14:37:25 +00:00
Ralf Becker
4d498d47cb
updates to work around postgres error while upgrading a phpGW 0.9.14 install
2005-02-10 15:15:29 +00:00
Ralf Becker
b1ed2f8d61
fixed bug [ 1106069 ] bad hypertext link creation when '&' is in the URL
2005-02-09 16:48:30 +00:00
Ralf Becker
c6d1a7e325
select: fixed quoting of option texts in selectbox,
...
htmlspecialchars: dont quote < > as they are already entities
2005-02-09 13:53:16 +00:00
Ralf Becker
8518892d9a
fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
...
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
2005-02-09 10:13:24 +00:00
Ralf Becker
bff130735c
automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB) and setting the maximum index length for oracle to 30
2005-02-07 20:28:05 +00:00
Ralf Becker
08285c7bdb
automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB)
2005-02-07 16:56:19 +00:00
Ralf Becker
48ada76f3f
added html fieldset
2005-02-06 15:42:31 +00:00
Ralf Becker
10864e96f8
fixed error with fulltext indexes (eg. in the wiki), when the default-type-type is set to InnoDB, which is eg. the default for some newer windows installs or mysql 4.1.x
2005-02-04 11:13:01 +00:00
dawnlinux
8b24ab5af6
Enable searching the given name when doing a query by alphabet
2005-01-27 01:50:29 +00:00
alpeb
ee0afbc998
Call Activitymanager::replace_activity() with extra parameter to avoid recreation of empty code files
2005-01-17 19:26:13 +00:00
alpeb
a3f705c358
Do not create empty files if called from ProcessManager::new_process_version because they have already been copied (and recompiled with new path for shared code)
2005-01-17 19:22:36 +00:00
Michael Bartz
0af7e47978
Corrected a incorrect field name in the where clause for the search string in list_instances call.
2005-01-14 02:49:08 +00:00
ak703
fb7bb7c599
modified jscal style to a more friendly layout instead of this grey standard
2005-01-12 00:11:12 +00:00
alpeb
d190a689ae
Allow splitting from a split activity to more than two activities, and fixed join activity (it wasn't wating for all incomming actvities to be completed for it to be activated)
2005-01-11 14:34:56 +00:00
ak703
0719a89986
fixed bug #1097058 ldap, adding user to groups changes phpgwaccounttype to u
2005-01-09 17:12:50 +00:00
Miles Lott
8943ece01f
remove last of the global calls
2004-12-29 04:19:56 +00:00
Miles Lott
c3d3c14b68
Clear the _xh accumulator after finished using xml parser
2004-12-29 04:16:58 +00:00
dawnlinux
b305532907
Correct a variable name, it should be "$_account_id" not "$account_id"
2004-12-14 02:12:09 +00:00
Ralf Becker
9dd38aa59a
fixed moving files in filemanger
2004-12-06 14:15:08 +00:00
Ralf Becker
948f739fd6
added a trim to cope with junk after charset name
2004-12-05 16:35:24 +00:00
Miles Lott
70425fa29b
Fix headers and adjust classname in schedule service
2004-11-30 13:40:46 +00:00
viniciuscb
08377c2a40
Change in selection() method to allow non-html return
2004-11-26 13:14:19 +00:00
viniciuscb
d48577b0f1
Changed type of return of input function: can now return an input with html
...
and js together (default, as it had ever been) or can return an array with
html and js parts separed.
2004-11-25 20:39:17 +00:00
raphaelpereira
fcec70607a
Removed print_r() debug line I forgot... sorry!
2004-11-25 20:27:35 +00:00
raphaelpereira
569158098e
- This functionality is already included in class.datetime.inc.php
2004-11-25 19:50:32 +00:00
raphaelpereira
2a09fe8f3e
- Now class.javascript.inc.php automatically loads the specific browser JS,
...
which is located at the same hierarchy, but inside a folder with the name
of the browser. For example:
Usual folder => contactcenter/js/ccQuickAdd/ccQuickAdd.js
Specific Folder => contactcenter/js/ccQuickAdd/mozilla/ccQuickAdd.js
It falls back to the usual folder if there is no specific code.
2004-11-25 19:41:07 +00:00
raphaelpereira
2fc017bf88
- Inserted an array 'zone_list_offset' with all glib compatible timezones...
2004-11-25 18:20:09 +00:00
Michael Bartz
9a6fc2fab8
Fixed two minor typos in column aliases.
2004-11-24 15:57:43 +00:00
Michael Bartz
33578130b4
Added error messages (required when debugging other issues!!)
2004-11-24 15:53:29 +00:00
Michael Bartz
907949ebe5
Added a column variable alias to make it consistent with other resultset variables and integrate with egw.
2004-11-24 15:51:24 +00:00
Miles Lott
fc21d2f9ff
Fix credits due to shared class - please add yourself into the shared class if you were the author
2004-11-22 03:02:42 +00:00
Miles Lott
7b1b090dc9
Add missing credit to the original author, remove author credited in error
2004-11-22 02:53:55 +00:00
Ralf Becker
3b2da86ce2
postgres fix (error in converting varchar to int if >= 100)
2004-11-21 22:40:21 +00:00
Ralf Becker
920af8e10e
support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time
2004-11-21 10:54:11 +00:00
Ralf Becker
64976f0b1c
support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time
2004-11-21 09:44:02 +00:00
alpeb
39d7cad85b
Fixed monitor footer stats
2004-11-19 13:32:49 +00:00
alpeb
ec7f2677b3
Delete appropiate instances when deleting processes
2004-11-19 13:32:00 +00:00
Ralf Becker
fa70cfed73
reformatting acording to our standards - someone totaly screed it ;-)
2004-11-19 06:32:10 +00:00
Ralf Becker
54ed54807f
fixed escaping of parameters for the wz_tooltips: single quotes in calendar titles caused all tooltips on that page not to appear
2004-11-17 14:21:43 +00:00
viniciuscb
da954d0f98
get_shares now grings information about owner of the share.
2004-11-16 06:03:42 +00:00
Ralf Becker
f0d65a40f3
added content-type header with correct charset to override the webservers default
2004-11-15 08:51:18 +00:00
Ralf Becker
6ef1f7113c
killed a warning if no table-definition, as requested by Cornelius Weiss
2004-11-12 07:39:07 +00:00
mgalgoci
5be4d30994
Initial check in.
...
fixing the data calculation logic everywhere is gonna suck big time ;-(
2004-11-11 20:36:44 +00:00
Ralf Becker
f8ee85dc81
- optimiced db::row() to use the ADODB fetchmode (via db::next_record())
...
- new param strip for db::row() to strip off common column-prefixes
2004-11-07 14:33:24 +00:00
viniciuscb
762995c5b4
Fix in vfs_sql2 bugs when running in pgsql.
2004-11-05 21:14:10 +00:00
Ralf Becker
aff48bc2cb
killed the debug output, which echoed each line on restore
2004-11-05 09:34:46 +00:00
alpeb
355d32ec28
Applied patch 1058956: use SEP instead of slashes
2004-11-04 17:31:15 +00:00
viniciuscb
78ac3f7122
Fix: Added support for e-mail in user_id.
2004-11-03 21:37:01 +00:00
shrykedude
2cffc50145
Fix for occassional session-verification problem
2004-11-03 05:01:36 +00:00
viniciuscb
7b8bae4f16
Bugs Fixed when executing queries in pgsql
2004-10-30 19:32:52 +00:00
viniciuscb
13badf3a90
gz/bz2 class removed because license is incompatible with gpl.
2004-10-28 19:09:54 +00:00
viniciuscb
0d61ac226a
File Compression classes
2004-10-27 23:37:27 +00:00
raphaelpereira
252075f37a
Classes for vfs sql implementation v2
...
Responsible developer: viniciuscb (Vinicius Cubas Brand)
2004-10-27 23:34:21 +00:00
Ralf Becker
630c88d766
reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
...
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
fe6b0728de
fix for system with mbstring.func_overload set and NOT using utf-8
2004-10-23 10:53:17 +00:00
Lars Kneschke
a0cfcc38e4
make the clone hack working with PHP5 too
2004-10-21 18:12:11 +00:00
Ralf Becker
1b53a1ce6d
added clone function for php4, use as $db = clone($this->db);
2004-10-19 14:54:57 +00:00
Ralf Becker
940deb08a9
finished DB backup and restore for eGW:
...
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
+ shedule repeating backups
+ up- and download of backups
+ creating and restoring backups
2004-10-15 23:06:34 +00:00
Ralf Becker
219d169207
let's the asyncservice class run under setup
2004-10-15 22:56:00 +00:00
Ralf Becker
d9b2a23d72
first version of new db-backup class: DB independent backup and restore functions
...
==> can be used eg. to port an eGW installation to a different DB type
Atm. there no UI, but if you uncomment the code behind the class, you can backup and restore via an URL. UI to come soon.
2004-10-14 21:04:03 +00:00
Ralf Becker
a4557c1191
added prepared statements in insert and update for DB's which support it (atm. only MaxDB). Atm this need to be switched on by a parameter, as I still have some problems, it off by default
2004-10-14 20:58:39 +00:00
Ralf Becker
ba55620f3d
fixed the schema-retrival functions for MySql, Postges and MaxDB
2004-10-14 20:55:52 +00:00
Ralf Becker
2740acc03e
fixed the schema-retrival functions for MySql, Postges and MaxDB
2004-10-14 20:35:50 +00:00
Pim Snel
e7f0d8a133
reorderded htmlarea so different htmlarea's can be configured seperately
2004-10-07 23:09:52 +00:00
bgigon
414c78b639
Fix strange bug into crypto api.
...
Somes "ghost" characters appears
2004-09-30 12:11:43 +00:00
bgigon
9d9643a9b5
Fix small display bug if webserver_url isn't set
2004-09-28 13:11:16 +00:00
bgigon
c8b891cb96
Fix display bug
...
(Omar Boumeddane)
2004-09-28 12:27:59 +00:00
bgigon
7e1a268980
Increase visual
2004-09-28 12:26:05 +00:00
bgigon
9cd4505562
Another major fixbug for macOS display :-)
...
Thanks to Omar Boumeddane
2004-09-22 15:33:10 +00:00
Ralf Becker
a52fa703a1
aplied benjamins fix
2004-09-22 15:12:04 +00:00
Ralf Becker
ce279014bc
merged Lars patch, which was only applied to 1.0
2004-09-22 13:46:24 +00:00
Ralf Becker
ac501a1937
use replace for mysql only if the primary keys are included
2004-09-22 10:24:39 +00:00
Pim Snel
8139a1c0f9
add custom_toolbar argument to htmlarea for more developer control
2004-09-21 12:21:24 +00:00
Ralf Becker
e08004b4bc
reworked the vfs_sql class to use the new db-functions, all quoting for the db is now done by them.This fixes some MaxDB problem, which should be a problem at least for postgres as well.
2004-09-20 10:50:46 +00:00
Ralf Becker
88f72fdd51
fix for bug [ 1006205 ] wiki editing broken with Safari
...
- safari gets now recogniced as browser by the html-class
- html::htmlarea show's a textarea if HTMLarea is not availible (suppresses error with safari)
- dont show button to convert to html if:
* HTMLarea is not availible for the browser
* admin disabled it in the wiki configuration
2004-09-19 21:19:00 +00:00
alpeb
e0d1912226
Wasn't finding htmlarea.css when not using /egroupware as base directory
2004-09-19 16:44:27 +00:00
Ralf Becker
35ef5df8a3
fixed MsSQL and MaxDB problem: DISTINCT on text column in function get_installed_charsets
2004-09-19 12:46:22 +00:00
Ralf Becker
33918385fc
fixed 2 other probs:
...
- cat_id is varchar, so the id's in "cat_id IN ('1','2')" have to be in single quotes for MaxDB
- search on text-columns:
* MsSQL need to cast the column to varchar
* MaxDB cant do it at all
2004-09-19 12:34:34 +00:00
Ralf Becker
b125007c92
reworked the contacts class using the new db-functions to fully support MaxDB
2004-09-19 11:33:31 +00:00
Ralf Becker
c6e4fdac77
added some debug and error messages
2004-09-19 10:35:54 +00:00
Ralf Becker
85a946bc5f
enabling prepared statements for MaxDB
2004-09-19 10:32:35 +00:00
Ralf Becker
28ed51f49f
fix for bug [ 1027089 ] ALTER TABLE ... ADD COLUMN ... DEFAULT doesn't work
...
postgres cant add a column with a default in one go
2004-09-19 08:26:45 +00:00
Ralf Becker
355beade2a
using mysql's REPLACE syntax instead of doing first a select to determine if the column exists and then an update or insert accordingly
2004-09-18 15:18:48 +00:00
Ralf Becker
3a3e4810a8
fixed handling of:
...
- updates of blob column for MaxDB
- encoding of blob columns for all DB's
2004-09-18 14:56:18 +00:00
Ralf Becker
4420445e55
ported app-registration functions to new db-functions, as the applications tables contains a text column which need special treatment for MaxDB
2004-09-18 14:55:02 +00:00
Ralf Becker
fcddfff1d8
removed the HtmlTidy plugin from the defaults, as it breaks the source edit mode (<>) if tidy is not installed
2004-09-16 21:40:23 +00:00
Ralf Becker
b8c3adb4d3
killed warning of destroying an uninitialised session:
...
bug [ 1026623 ] Sitemanager site can't be viewed anonymously with PHP session:
- cant reproduce it on my system, but silencing it does no harm
2004-09-13 07:46:36 +00:00
Ralf Becker
257251fe00
fix for bug [ 1022807 ] users with some login names can't login
2004-09-08 13:16:54 +00:00
dawnlinux
954dd1d9ab
Fix the bug: Fail to create text files that contain multibyte
...
characters in filemanager, for exmaple, files that contain Chinese
characters.
Reason for producing the bug: One parameter of "fwrite"
is "strlen ($data['content'])". To multibyte character, "strlen" can
not return its actual length. So "fwrite" cannot write all characters
to the created file.
2004-09-06 03:48:10 +00:00
alpeb
4b6047655f
Big changes everywhere only to support postgres
2004-09-03 22:56:15 +00:00
mgalgoci
a089746e47
fix the fix
2004-08-31 15:18:25 +00:00
mgalgoci
606c1064be
- re-write of the phpgwapi::accounts_ldap::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- remove some crap and make function readable
2004-08-30 15:16:40 +00:00
mgalgoci
99ffa6ebc1
- re-write of the phpgwapi::accounts_sql::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- set default name to New User if we have no other data
- remove some crap and make function readable
2004-08-30 15:15:59 +00:00
Ralf Becker
7b6b6d5759
fixed mapping of I4 to INTEGER now, it was mediumint which is a 3-byte interger only
2004-08-30 15:06:05 +00:00
Ralf Becker
c69e9cd32e
implemented a one-click (tm) change between single and multiple account-selection for the calendar
2004-08-29 20:32:56 +00:00
Ralf Becker
df81dc93ab
integrated the HTMLarea plugins into the eGW translation system
...
fixed bug [ 1006205 ] wiki editing broken with Safari
2004-08-29 01:26:42 +00:00
Ralf Becker
b3b3420674
allow sorting after multiple criteria as in sql
2004-08-28 14:44:05 +00:00
Ralf Becker
e109e8c320
removed destroying of the crypto object if the session-verification fails, as it leads to problems in sitemgr creation of anonymous sessions and it get cleaned up anyway by the shutdown function
2004-08-27 18:21:28 +00:00
Ralf Becker
d868007dac
fixed some of our sessions problems:
...
- [ 1015846 ] Registering session MySQL query error
- handlich of timed out sessions for php4 sessions was wrong
==> I can't reproduce any more sessions probs, either with db nor php4 sessions
2004-08-27 13:17:25 +00:00
Ralf Becker
b68f289d87
made the update strategy of setup_process a bit more flexible: update dont need to be in order in the tables_update file any more: if the next update is not the one we need, we search for the right one and start again from there. This is needed to be able to import phpGW versions from after the fork and it simplyfies the update-scripts a lot now.
2004-08-27 10:41:57 +00:00
mgalgoci
18221503b6
- re-write display_fullname to be more readable and suck much less
...
- add support for Lastname, Firstname username account views
2004-08-26 18:47:29 +00:00
Ralf Becker
b3971d810c
RenameColumn no checks if column is used in an index and evtl. rename the column in the index-definition (for the baseline delta)
2004-08-26 14:18:09 +00:00
Lars Kneschke
23046ac0b5
fix for bug [ 1007816 ] error message
2004-08-25 20:04:27 +00:00
Ralf Becker
d5b8419f8d
fixing the fix, now even all sub-arrays get reset
2004-08-24 20:01:49 +00:00
Ralf Becker
e027149a05
fixed delete-problem of anglemail after security update
2004-08-24 10:45:07 +00:00
Ralf Becker
ed8760d199
fixing the fix ;-)
2004-08-23 18:44:37 +00:00
Ralf Becker
d7fc09daef
fixed probs pointed out by Joxean Koret
2004-08-23 18:18:26 +00:00
Ralf Becker
ce8a00c31a
fixed calltime-pass-reference
2004-08-23 09:40:53 +00:00
Ralf Becker
9ed16c7960
fixed probs pointed out by Joxean Koret
2004-08-22 23:14:55 +00:00
Ralf Becker
822506cec0
using native adodb functions for quote and db_addslashes:
...
- qstr() save's one extra call compared to the PEAR function quote()
- dont need substr( ,1,-1) for db_addslashes
2004-08-22 20:30:12 +00:00
Ralf Becker
aa86cc11eb
small fix
2004-08-22 18:32:20 +00:00
Ralf Becker
092bca5805
small fix
2004-08-22 14:14:38 +00:00
Ralf Becker
bb4c9f46d4
also deleting the memberships of a group
2004-08-21 16:17:04 +00:00
Ralf Becker
508cff860c
added configurable search-filter to auth_ldap
2004-08-21 12:18:07 +00:00
Ralf Becker
ec4bf09604
added MetaIndexes function for mssql
2004-08-17 08:21:09 +00:00
Ralf Becker
adf79e6d7e
added code to drop not-depending sequences when droping a table, depending ones cant and dont need to be droped separatly
2004-08-15 19:52:49 +00:00
Ralf Becker
9a67dc3141
import ADOdb 4.52
2004-08-15 18:45:20 +00:00
Ralf Becker
ee3f5cafff
added own MetaType, MetaColumns and MetaColumnNames functions for MaxDB to have better control over the column-types
2004-08-15 18:12:41 +00:00
Ralf Becker
647222728c
fix for MaxDB not returning the primary keys via MetaColumns
2004-08-15 16:20:39 +00:00
Ralf Becker
38a2ea7768
added MetaPrimaryKeys for MaxDB
2004-08-15 16:19:46 +00:00
Ralf Becker
531dbe93c7
added function to read back / import the schema from an existing database (used in setup and db-tools)
2004-08-15 15:43:52 +00:00
Ralf Becker
d5dbb7ef72
new schema_proc class seems to work now
2004-08-13 19:01:03 +00:00
Ralf Becker
1cabb62405
new schema_proc class seems to work now
2004-08-13 18:59:00 +00:00
Lars Kneschke
cd30d6d0ab
call the right function name
2004-08-13 16:27:50 +00:00
Lars Kneschke
11219ead38
add class to authenticate against ADS
2004-08-13 15:53:07 +00:00
Ralf Becker
b4e2d56594
added the missing postgres functions - thought they are not fully testes yet
2004-08-11 23:22:25 +00:00