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
alpeb
dc410a8ee0
Fixed some translations
2004-08-10 23:41:22 +00:00
alpeb
36a38b9b56
The ProcessManager class is dependant on the RoleManager class (when creating new minors/majors)
2004-08-10 14:08:56 +00:00
alpeb
8a356e7e72
Queries in Galaxia api need ADODB_FETCH_ASSOC set
2004-08-10 14:07:30 +00:00
reinerj
691831c09f
change back the egwhack
2004-08-09 21:28:47 +00:00
Ralf Becker
4dae67c9c0
got updates working again for MaxDB, MySql and MsSql (untested). Now I need to start working on postgres.
2004-08-09 21:20:08 +00:00
alpeb
0a566e4635
Added translation of 'Logout'
2004-08-09 21:18:35 +00:00
reinerj
febeab4d8d
replace the crap
2004-08-09 13:46:03 +00:00
reinerj
d18d0d397e
replace the crap
2004-08-09 13:20:26 +00:00
Ralf Becker
ef53586f0f
documentation update and added $not_null parameter to quote() to control if php null's are written as SQL NULL or not. Is used by column_data_implode to only write NULL in columns which allow to do so
2004-08-08 22:31:41 +00:00
alpeb
52a3cae790
Galaxia workflow api port for egroupware
2004-08-07 19:58:49 +00:00
alpeb
6322ce9832
galaxia workflow api
2004-08-07 19:46:10 +00:00
Ralf Becker
9a58928b81
fix for bug [ 1000255 ] Todo with progress screw formating in calender:
...
- partialy caused by a <div ... /> with no closing </div>
- a table around the icons and title, puts them in one line now
2004-08-07 18:32:03 +00:00
Ralf Becker
c22cba8574
fix for bug [ 998496 ] Session error on logout under https, session-id and loginid are unset, which leads to a pg_atoi: zero length string sql-error. I now dont save anything if there is no sessionid or no loginid
2004-08-07 17:57:26 +00:00
Ralf Becker
4346d06789
fix for bug [ 997669 ] Session Error with db-sessions
2004-08-07 17:44:37 +00:00
Ralf Becker
ce2045bae1
fix for bug [ 1002325 ] Manual error:
...
if session.use_trans_sid was enabled, we created a wrong link for the manual
2004-08-07 13:15:06 +00:00
Ralf Becker
6b8f6a3d87
removing all it's acl-rights if an account gets deleted, admin only removed the run-rights, but not the grants or other rights
2004-08-07 12:46:58 +00:00
Ralf Becker
7cfabeb7c5
writing unset php-variables and thouse set to NULL now as SQL NULL
2004-08-07 11:58:05 +00:00
reinerj
b2b8bd3512
fix from Shain Tancheff
2004-08-07 00:51:29 +00:00
Ralf Becker
e2eed6a73f
killed warnings if executables not found
2004-08-06 12:38:14 +00:00
Ralf Becker
0bd82f3ab8
a bugfix in select and some MaxDB stuff
2004-08-05 15:31:55 +00:00
Ralf Becker
9c5edb9b04
reworked to use the new db-functions
2004-08-04 15:34:14 +00:00
Ralf Becker
5d5730d813
improved handling of schema-files on system startup or in setup
2004-08-04 15:33:42 +00:00
Ralf Becker
ccb4700624
removed unnecessary ';' in query in register_hooks, MaxDB treats them as SQL-errors
2004-08-04 10:30:47 +00:00
Ralf Becker
ff1cf940cc
moved special insert_id handling for postgres into ADOdb, added workaround for updates of text/LONG columns in MaxDB to db::update
2004-08-03 23:06:37 +00:00
Ralf Becker
ecf1fd06eb
MetaIndexes and _insert_id functions added
2004-08-03 23:04:29 +00:00
Ralf Becker
5f8de74a2a
added table and colum as parameter to Insert_ID() to correctly retrive the id under postgres and MaxDB
2004-08-03 23:03:38 +00:00
Ralf Becker
1ef5e6e3ad
small fix
2004-08-03 22:53:45 +00:00
Ralf Becker
d757e35973
reworked so-layer for MaxDB and new db-functions
2004-08-03 22:52:55 +00:00
Carsten Wolff
00ce9a3181
vbXMLRPC needs a slightly different dateformat.
2004-08-03 16:09:27 +00:00
Ralf Becker
2d11bcec04
re-added (to be able to make patches agains 4.51) the sapdb change
2004-08-02 08:34:09 +00:00
Ralf Becker
b3d517a98c
imported version 4.51 of ADOdb
2004-08-02 08:30:47 +00:00
Ralf Becker
d4167b6c44
fixed double serialisation of times and data (leftover from old code)
...
Thanks alpe for the notice
2004-08-01 17:19:47 +00:00
Ralf Becker
9352bd53c4
replaced unnecessary ereg_replace, which caused trouble with mbstring.function_overload=7
2004-08-01 08:09:35 +00:00
Ralf Becker
bb9f10fb29
removed ereg_replace which causes problems with multibyte charsets and mbstring.function_overload=7
2004-08-01 08:05:44 +00:00
Ralf Becker
a4181bf0a8
reverted omgs's changes
2004-07-31 21:36:54 +00:00
Oscar Manuel Gómez Senovilla
e15e152369
*** empty log message ***
2004-07-31 19:55:06 +00:00
Ralf Becker
7e1da8f7ad
1) fix for cookie domain, when using a proxy which rewrites the host-name
...
2) also applied Benjamins fix for the link function from the 1.0 branch - thought I dont know what it fixes ;-)
2004-07-31 10:14:52 +00:00
Ralf Becker
be01760302
removed manual acl-settings for auto-created accounts, as suggested by Matthew Galgoci
2004-07-31 09:28:28 +00:00
alpeb
6d36e3afaa
Changed param comment of function input: funtion should expect time in server's timezone instead of users localtime; the conversion to user's localtime is taken care inside the function when calling common->show_date
2004-07-30 00:24:12 +00:00
Ralf Becker
8286bb3dc6
fixed typo
2004-07-25 20:05:28 +00:00
Ralf Becker
788440b69d
fixed get_list, which was only returning groups if 'both' were requested, which caused eg. in calender only groups to be selectable
2004-07-25 15:51:54 +00:00
Ralf Becker
c591c2c221
fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
...
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
968f1ccf91
fixed bug [ 991222 ] Error uploading file -
...
thought the whole class need to be reworked with the new db-functions
2004-07-24 20:29:15 +00:00
Ralf Becker
8107e51abc
removed wrong semicolon bedind the sql queries
2004-07-23 00:59:44 +00:00
Ralf Becker
29594f2771
added 'async_' prefix to column-names of phpgw_async, as 'id' is a reserved word in sapdb
2004-07-23 00:46:01 +00:00
Ralf Becker
d5c32df4e3
first version of data-dictionary for sapdb
2004-07-23 00:41:24 +00:00
Ralf Becker
1a585efd36
fixed the code, which was not working after the right table-name was used ;-)
...
dont think that part is used anyhow
2004-07-22 18:40:19 +00:00
Carsten Wolff
42142322b4
now that the old db-classes are gone, we can put function name_quote to use.
2004-07-22 08:22:52 +00:00
alpeb
efe5157b83
fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed
2004-07-21 21:15:54 +00:00
Ralf Becker
5f0e998729
fixed wrong name of config-table
2004-07-21 13:53:31 +00:00
Ralf Becker
de506124a3
fixing bug [ 992090 ] Could not log out
...
At that time, there is no account-id set which results in an empty string, what pgSql dont likes in integer fields. Casting it to int now.
2004-07-21 10:12:58 +00:00
bgigon
4e6fa932cb
Add feature "rejected line"
...
Somes lines has been rejected.
This features warn admin directly
2004-07-20 16:11:31 +00:00
Ralf Becker
bfab7d5a46
changed quoting for wz_tooltips to allow linebreaks
2004-07-19 15:19:02 +00:00
Ralf Becker
04650e3680
re-read job, in case it had been updated or even deleted in the method
2004-07-12 23:46:54 +00:00
Ralf Becker
eba1ec911f
fixed name2id for groups (was still the old variable-name) and limited id2name & name2id for groups on certain fields only
2004-07-12 21:25:51 +00:00
Ralf Becker
c7280a44a9
created new colorpicker for eGW based on the one from htmlArea
2004-07-12 18:50:39 +00:00
bgigon
fcd6d6a807
Add features translations for templates
2004-07-12 10:49:35 +00:00
Ralf Becker
f7d51c9e57
fixing probs with debian woody which is php >= 4.1.1, but lacks mcrypt_generic_deinit
2004-07-11 13:37:30 +00:00
Carsten Wolff
23cbfee599
somtimes less is more ... do not confuse users with just doing nothing, just because he likes to type phonenumbers with an extra space
2004-07-11 13:35:22 +00:00
Carsten Wolff
f2b7d8deda
Fix for the same bug as after the last import of a new adodb-version.
...
I wonder, if someday all will start to patch instead of overwriting and committing.
Anyway, this bugfix will be part of the next ADODB release. See:
http://phplens.com/lens/lensforum/msgs.php?id=9849
2004-07-11 11:38:59 +00:00
Ralf Becker
e5d689cb9f
added smtp-auth configuration to email and API's send-class (translations for that are moved to admin, as the config is now in Admin >> Site config and only for confinience accessible via Admin >> Email >> Site config too
2004-07-11 08:33:28 +00:00
Ralf Becker
5ea042041c
fixed not showing up langs like 'es-ca' which hasn't been in phpgw_languages (or only as just 'ca')
2004-07-10 10:59:37 +00:00
Ralf Becker
551c66d68e
change to make sure eg. '1.0.0' is counted less the '1.0.0.xxx' !
2004-07-10 10:56:09 +00:00
Ralf Becker
0a5573a0fe
1) using hint-values of auth class about name, group, email, primary-group in $GLOBALS['auto_create_acct'], as the sql-class already does
...
2) using default group as specified in Setup >> Configuration for the primary group too, if none is given, this should fix also bug [ 958418 ] Registration problem with LDAP accounts
2004-07-10 08:25:02 +00:00
Ralf Becker
ee82c376f6
using default group as specified in Setup >> Configuration for the primary group too, if none is given
2004-07-10 08:22:07 +00:00
Ralf Becker
e1599a19c0
fix for big files in web_dav as suggested by bug [ 964418 ] Downloading large files through webdav fails
2004-07-10 08:01:25 +00:00
Ralf Becker
8e71034baf
fix for binary data stored in database as describt in bug [ 985874 ] Can't store files in database
2004-07-10 07:51:29 +00:00
Ralf Becker
c8b165acae
fixed typo
2004-07-10 07:50:16 +00:00
Ralf Becker
ec9ef473ce
imported ADOdb ver. 4.50 which should solve many php5 probs
2004-07-10 07:19:40 +00:00
Ralf Becker
759d1d4f17
fixed bug with not working language-selection and SQL error because of empty session-id in phpgw_app_session
2004-07-09 15:17:04 +00:00
Ralf Becker
0ce4cbad1a
and the status
2004-07-08 17:30:37 +00:00
Ralf Becker
36eea9746e
fixed unencrypted password on creation of new users
2004-07-08 17:25:53 +00:00
Ralf Becker
b24f796eb2
killed some warnings with mb_string activated: haystack is empty
2004-07-08 12:36:21 +00:00
Ralf Becker
3a14a39902
reverted rev. 1.13 changes (primary group not preselected) and fixed bug which caused groups with no app-permission to to be displayed if the selection requires app-permission
2004-07-08 09:58:11 +00:00
Ralf Becker
4a5d497a6e
killed debug message
2004-07-07 09:43:01 +00:00
Ralf Becker
691d107ca6
fixed bug in acccounts::search: first accounts got overwritten by groups, eg. they were not selectable in the calendar on editing/adding an event
2004-07-07 09:41:00 +00:00
Ralf Becker
c0c8206f2a
fixed bug in user-creation reported by Chris Kretas (was introduced in the last commit / after RC6)
2004-07-06 12:42:56 +00:00
bgigon
d0387ffc5e
Fix little bug in links (keep query)
2004-07-06 11:58:12 +00:00
bgigon
554a213fe3
Add a protection against overload when we launch for first time the account-page-selection.
2004-07-06 11:48:09 +00:00
bgigon
9d3eac79ed
Add more translation (lang_lastname and lang_firstname)
2004-07-06 11:34:49 +00:00
bgigon
9666206080
Fixbug for Arrow "next" / "prev"
2004-07-06 10:11:46 +00:00
bgigon
4681236b1d
Keep prev query
2004-07-06 09:16:28 +00:00
Ralf Becker
9858417a99
not used any more and it depended on the (old) manual app
2004-07-05 10:24:16 +00:00
Ralf Becker
d4d2f53405
was never used
2004-07-05 10:15:39 +00:00
Ralf Becker
a978d214ad
killed the debug-messages and added some more comments
2004-07-05 10:13:56 +00:00
Ralf Becker
9b6952ec0b
New send class, which just implements the old interface (msg-methode) on top of the PHPMailer. It gets it's configuration from Admin >> Site configuration and does NOT depend on one of the email-apps anymore.
2004-07-05 10:11:11 +00:00
Ralf Becker
a81630aad0
removed old / non-adodb db-classes and -code
2004-07-04 18:46:54 +00:00
Ralf Becker
c4326776b2
fixed error in caching of sub-queries
2004-07-04 18:34:18 +00:00
Ralf Becker
13bcfd8318
fixed wrong ldap attribut-names
2004-07-04 18:32:29 +00:00
Ralf Becker
b40f691a78
fix to be able to use the new select, update, ... functions during eGW startup (eg. accounts-class)
2004-07-04 17:31:12 +00:00
Ralf Becker
e7917423a5
added extra label and fixed group-selection
2004-07-04 17:28:57 +00:00
Ralf Becker
8bfb6cfb07
added email-address to the accounts-data (ldap untested so far!)
2004-07-04 17:27:42 +00:00
Ralf Becker
f9c991624a
fixed typo according to patch [ 983936 ] Problem with language preferences
2004-07-03 12:43:52 +00:00
Ralf Becker
026c103016
fix for bug [ 984343 ] Login not possible after session timeout:
...
eGW was installed in the docroot and the webserver-url was empty, as not domain was given, not realy the regular situation, anhow it should work now
2004-07-03 12:38:01 +00:00
Ralf Becker
9694c7e2ea
fix for bug [ 954770 ] UTF-8 Support (in developer tools)
...
- regular htmlspecialchars translated &#([0-9a-f]{4}); to &#\\1;
- which is not correct, at least for our purpose
==> we replace '&#' after htmlspecialchars again with '&#'
==> now eg. persian language works correct in the TranslationTools
2004-07-03 11:41:51 +00:00
Ralf Becker
5298bee355
removed "re"
2004-07-03 11:00:24 +00:00
Ralf Becker
39c7cc14da
fixed (hopefully last) postgres problem with the indices: sequences have not been set, after the data was inserted into the newly created table
2004-07-02 22:12:10 +00:00
Ralf Becker
4ae1356b53
fix for [ 983949 ] Syntax error in phpgwapi/templates/idsociety/head.inc.php
2004-07-02 17:22:47 +00:00
Ralf Becker
fcfcaa578e
removed php4.3+ print_r($arr,True)
2004-07-02 09:51:21 +00:00
Ralf Becker
5df1f31098
fix for select-box values containing commas, which are not ment as multiple comma-separated id's
2004-07-02 08:56:50 +00:00
Carsten Wolff
892123655f
fixed another typo
2004-06-30 20:19:28 +00:00
Ralf Becker
0d5a7357ec
workaround for IE prob, it does not set a HTTP_REFERER if a link gets opened in a popup window, which is needed by manual to determine context-sensitive which page to show
2004-06-30 10:40:48 +00:00
Ralf Becker
5a1be7c203
- if $selected is a string it gets now explode with ','
...
- already selected accounts are shown in front of users and groups, good for multiselections with less lines then content
2004-06-28 09:32:47 +00:00
Ralf Becker
7d74f12e84
not using persistens connections for postgres in setup: if a transaction fails, setup dont even finds the database anymore
2004-06-28 09:29:44 +00:00
Ralf Becker
18d2267e78
added link to the headeradmin to the "You need to port your settings ..." message
2004-06-28 07:06:29 +00:00
Ralf Becker
a1d4a47172
workaround for a Postgres bug in RefreshTable: unable to find "<" operator for type "unknown", cause by an empty string ('') in a select distinct query
2004-06-27 09:53:58 +00:00
Ralf Becker
6a4447b62e
fixed RenameTable to also rename indices and not only primary keys
2004-06-27 09:52:06 +00:00
Ralf Becker
890548096b
added missing brackets of function call
2004-06-24 11:32:06 +00:00
Ralf Becker
8ec4604d2a
fixed not working group-update with caching enabled
2004-06-23 12:09:00 +00:00
Ralf Becker
89870fd195
fixed not working group-update with caching enabled
2004-06-23 11:37:07 +00:00
Ralf Becker
150c36eab3
fixed typo (old varname) which caused problems in SiteMgr while editing categories
2004-06-21 10:25:14 +00:00
Carsten Wolff
6bec2a4d48
Revert this file to V4.20, since V4.22 broke the autodetection of the bytea datatype.
...
Bug is reported to the ADODEB-folks:
http://phplens.com/lens/lensforum/msgs.php?id=9849
2004-06-20 11:55:25 +00:00
Carsten Wolff
6881070b41
fixed syntax error
2004-06-19 21:57:06 +00:00
Carsten Wolff
3c919bba50
make users mailaddress available for use in applications, if it is found in ldap
2004-06-18 09:29:11 +00:00
Ralf Becker
a1921aed2e
- moved the whole selection code from uiaccountsel::popup to accounts::select
...
- extended syntax for uiaccountsel::selection to specify what you need (no longer hardcode of certain apps)
2004-06-16 00:31:48 +00:00
Ralf Becker
853a71b681
added some more quoting for our windows friends ;-)
2004-06-15 22:31:19 +00:00
Ralf Becker
1bc44b879d
removed old accounts-popup
2004-06-15 10:19:02 +00:00
Ralf Becker
f2a16d4e52
corrected typo
2004-06-15 08:16:07 +00:00
Ralf Becker
5140181bba
charset header to overwrite apaches AddDefaultCharset
2004-06-15 08:03:15 +00:00
Ralf Becker
deb8d570a0
centralised 2-digit iso country codes in phpgwapi/inc/class.country.inc.php
...
Other classes can use them, as there are atm:
- etemplate/inc/class.select_widget.inc.php
- phpgwapi/inc/class.sbox.inc.php
2004-06-15 07:45:21 +00:00
Ralf Becker
8d833331ff
some UI fixes for bigger groups
2004-06-14 07:03:05 +00:00
Ralf Becker
a99697ae09
new account selection:
...
- search after different criteria: all fields, firstname, lastname, lid, starting with or exact match
- additional display of the current selection in the popup
2004-06-13 20:17:54 +00:00
Ralf Becker
d484a2227f
- IE workaround only for IE
...
- phpgwapi as default app-name for image-buttons
2004-06-13 20:12:59 +00:00
Ralf Becker
ab9ec83bc4
implemented different search-types:
...
- all fields
- firstname, lastname, account-lid
- start with
- exact
for the new account-selection popup
2004-06-13 20:11:31 +00:00
Ralf Becker
7829ecd511
fixed the regular selectbox (single-selection)
2004-06-12 21:58:47 +00:00
Ralf Becker
d02338d346
killed the debug-message ;-)
2004-06-12 12:26:50 +00:00
Ralf Becker
401afbb787
fix for IE (it seems to not act on onclick on an image, if its in the internet-zone)
...
fix for nextmatch
2004-06-12 12:25:01 +00:00
Ralf Becker
26901c6865
first version of the account-selection widget
2004-06-12 09:48:20 +00:00
Ralf Becker
1b5427cb5a
using array internaly instead of commasep. string
2004-06-12 09:45:33 +00:00
reinerj
4877495957
fix from Stephen Reindl for open_restrictions error message in setup
2004-06-11 10:36:14 +00:00
Lars Kneschke
f2c52cc197
handle macroman as iso8859-1
2004-06-11 05:32:03 +00:00
Lars Kneschke
0e953fdeeb
fix for BUG [ 969767 ] Projects: Administrator list and
...
BUG [ 969759 ] Edit manager list - Duplicate Names
2004-06-10 15:07:40 +00:00
Ralf Becker
dc2d527ba4
add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv)
2004-06-10 07:13:37 +00:00
Ralf Becker
0dd4cc1925
imported ADOdb version 4.22:
...
it seems to fix some php5 probs the old version had
2004-06-08 14:09:55 +00:00
Lars Kneschke
a40c1f9e83
fix for chines chars
...
There are many (I belive around 5%) Chinese character coded in GB2312
contains \xad, remove all \xad make the characters broken. Image you see
one broken ideograph in every sentence:(
2004-06-07 02:07:04 +00:00
Lars Kneschke
ab6a4ae74f
added class to create pdf file
...
http://www.fpdf.org
2004-06-04 06:17:23 +00:00
alpeb
892f40ff23
funtion renamecolumn wasn't upgrading the indexes, which avoided changing an indexed column name in postgres
2004-06-01 05:10:43 +00:00
Ralf Becker
d6c38c6ced
1) table-definitions are shared now between all db-instances
...
2) some extensions for easier quoting of sql-queries: functions to construct and run a whole insert, update, delete or select query, plus a function (expression) to generate a whole quoted expression with brackets and different operators
see the inline-docu for how to use them of look at bookmarks/inc/class.so.inc.php
2004-05-31 16:32:22 +00:00
Ralf Becker
151af07339
added the abillity to handle and quotes values as arrays (they generate a col IN (val1,val2, ...) instead a col=val
2004-05-31 09:25:35 +00:00
Ralf Becker
1b60e0f309
fixed droping of non-existing primary keys
2004-05-30 11:18:47 +00:00
Ralf Becker
4549d52c56
disabled diagnostics about setting not existing blocks again, as it breaks email
2004-05-30 10:55:52 +00:00
Ralf Becker
728b1de2dd
moved accounts & accounts_shared into one file accounts:
...
saves opening and existens of one more file
2004-05-29 16:11:35 +00:00
Ralf Becker
9a386bb064
extended the diagnostics on template-errors (eg. backtrace) and added some good debug-possebilities
2004-05-29 10:23:18 +00:00
Ralf Becker
35b80dabd2
added extra param append_ix to _GetTableSQL (used only by pgsql, but gives warning if not there)
2004-05-29 10:21:04 +00:00
zhangweiwu
1f799dd84d
patch [ 962307 ] Chinese charset conversion patch
...
"I am alost certain this is the best solution. I just
commited the change, please close this patch.
This is a typical problem (GB2312~GB18030) that many
opensource/commercial mailers fail to handle."
2004-05-29 01:14:29 +00:00
Ralf Becker
2a311ca452
Added tigra color-picker Ver. 1.1 and some documentation updates (they are now phpdoc conform)
2004-05-26 07:23:31 +00:00
Ralf Becker
475be59cb1
E_ALL fix
2004-05-24 22:33:48 +00:00
Ralf Becker
3edc6525f2
fix for php 4.1 (print_r with 2 params)
2004-05-24 14:23:46 +00:00
Ralf Becker
39b2c216fd
fix for Bugs:
...
- mail from Thomas Hackl: newest cal upgrades (performance patch)
- wiki upgrade probs under postgesql
- [ 948279 ] upgrade postgresql 0.9.14-0.9.15
implemented index_names for pgsql db-type (there's no equivalent function in ADOdb)
2004-05-24 14:22:45 +00:00
Ralf Becker
da83e39c89
fixed creation of sub-cats, to automaticaly set the main-cat (as it already set the level) from the parent
2004-05-24 09:29:30 +00:00
Ralf Becker
7d5faa667a
added concat function to abstract different concat operators or functions
2004-05-23 23:34:32 +00:00
Ralf Becker
01d480cad1
applied patch [ 956110 ] webdav VFS checks for local directories
2004-05-23 23:22:24 +00:00
Ralf Becker
70bc641bd4
added error-message if webserver user need to be in a certain group to execut the crontab command. The name of the webserver user and the groupname are read from the process and the file-permission and displayed too, in case the admin dont know them ;-)
2004-05-23 20:03:29 +00:00
Ralf Becker
eed94133c3
fixed and extended auto_create_accounts: the following information from ldap are now automaticaly stored in the sql-account:
...
- name & firstname
- primary group (if a group with that numerical id exists in eGW, its added as primary group to the account and acl)
- numerical account-id (if availible, no new one gets created, but the one from ldap is used)
- email (as preference for the email-app)
2004-05-22 11:00:18 +00:00
Ralf Becker
ebabe1570b
fixed bug in group-/account-listing (total was not stored) and reactivated the session-cache for ldap
2004-05-19 06:02:31 +00:00
Lars Kneschke
58eef6a9e2
disables account cache, because it did break group admin page
2004-05-16 23:19:29 +00:00
Ralf Becker
49a44154ce
tooltip allows now to read it's content from the widget it's set as tooltip
2004-05-16 22:54:49 +00:00
Carsten Wolff
bc140271bc
added escape-function for ldap-queries - will be used by contacts soon
2004-05-12 09:55:30 +00:00
Ralf Becker
5cb848c8d6
re-enabled error-messages if CreateObject fails, gave a blank page, but no error
2004-05-09 20:04:07 +00:00
Ralf Becker
942a967704
added some docu
2004-05-09 20:01:28 +00:00
Ralf Becker
84e8c11710
typo
2004-05-09 10:25:30 +00:00
Ralf Becker
ce9c339c87
fixed for on??? atributes, which contain single quotes
2004-05-09 10:18:56 +00:00
Ralf Becker
291da54d43
fix for mbstring.overload=7, hopefully that works now in all cases
2004-05-09 10:17:44 +00:00
Ralf Becker
731a50b29f
- fix for mbstring.overload=7
...
- potential multibyte/charset problem: addslashes was done before translate !!!
2004-05-08 22:30:19 +00:00
Ralf Becker
e26850933c
update tooltips
2004-05-08 21:09:44 +00:00
Ralf Becker
5cce1585dd
fix for month-name shortcuts different from the first 3-chars of the long name, because they would be indentical with the shortcut of an other monthname, eg. frensh Juin = Jun and Juillet = Jui
2004-05-08 11:00:46 +00:00
Ralf Becker
143b9c5d04
added a flag in the phpgw_info array to include stuff at the ende of the page, needed for the wz_toolstips
2004-05-07 21:22:46 +00:00
Ralf Becker
5a008e6768
- added function to create tooltips with the wz_tooltip class
...
- reformatted the file, it was totaly messed up
2004-05-07 21:21:20 +00:00
Ralf Becker
218a56178e
added function to set onResize attribute for the body tag.
2004-05-07 21:18:13 +00:00
Ralf Becker
9a23925f8b
fix for IE and re-added old jscal-trigger-image
2004-05-06 21:16:48 +00:00
Ralf Becker
31f348e259
implemented callbacks for week and month, to use it for the navigation in the calendar
2004-05-06 16:21:04 +00:00
Ralf Becker
41a3f88199
imported version 0.9.6 from jscalendar
2004-05-06 12:58:31 +00:00
Ralf Becker
5631d6a830
implemented caching in the session, thought its only activated for LDAP atm.
2004-05-05 13:49:32 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
caefc24438
fixed htmlarea to not try to load a plugin for an empty plugin string
...
Pim: every param with a default value is set ;-)
2004-05-05 07:40:01 +00:00
Ralf Becker
3e24a6db3b
gives better performance
2004-05-04 20:26:08 +00:00
Ralf Becker
3b632d36c7
fix to get IP-ranges working
2004-05-04 09:51:17 +00:00
Ralf Becker
257b69a6fb
added support for limiting the access to setup on certain IP's, IP-ranges or hostnames
2004-05-04 09:08:28 +00:00
Ralf Becker
2981120ef4
fix for mbstring.overloading = 7
2004-05-04 08:37:18 +00:00
Ralf Becker
5fb282b58b
fix for bug [ 945880 ] session expiration and logout
2004-05-03 13:52:09 +00:00
Ralf Becker
273f6b0a2f
fix for bug #944311 : Calendar: Error on user-defined fields
2004-05-03 10:39:42 +00:00
Carsten Wolff
0bfa697995
added function name_quote, wich quotes table- and columnnames correctly
2004-05-02 17:18:38 +00:00
Ralf Becker
99303481a2
fixed cookie prob for setup too
2004-05-01 09:58:38 +00:00
Carsten Wolff
e9c2659778
we can not trust in the right order of columns
2004-04-30 23:07:03 +00:00
Ralf Becker
3b94536b99
setcookie seems not to like domain-names without dots (it does not set the cookie at all, in that case). Leaving the domain-name empty, get setcookie to set the domain without dot by itself (its the default) ...
2004-04-27 07:54:56 +00:00
Carsten Wolff
20ee4f1d27
fixed rename_table() in schema_proc_pgsql, wich was relying on index_names() and therefore was broken with ADODB.
2004-04-25 22:58:37 +00:00
petere78
0e289e36bd
Localize "version" in setup footer.
2004-04-20 19:29:40 +00:00
Pim Snel
91eb7ee636
implement extra parameter to make use of the htmlarea plugins, olee
2004-04-20 17:19:14 +00:00
Lars Kneschke
76f22cc700
make sorting in felmaimail working again
2004-04-20 02:43:11 +00:00
Ralf Becker
ffd1de75c6
fixed the not-always-working patch of 1.26
2004-04-19 10:08:06 +00:00
reinerj
df1a2b74a6
add auth from Matthew Galgoci (RH)
2004-04-16 00:53:06 +00:00
Ralf Becker
dfdfaad414
implemented automatical forwarding into eGW after a login was necessary, because no session existed
2004-04-14 11:52:16 +00:00
Ralf Becker
b7890a9ba4
fix for ADOdb's missing BlobEncode function for mysql, that caused a lot SQL-errors in email
2004-04-14 09:28:18 +00:00
Ralf Becker
7aae6434e5
posibility to pass arguments to the links of the icons in the navbar: used atm. to set a specific manual page, if the automatic generation of the page-name is not sufficent, eg.
...
$GLOBALS[phpgw_info][flags][params][manual] = array('page' => 'ManualInfologAdd');
2004-04-13 15:53:25 +00:00
Ralf Becker
0e649819d8
fixed prob with localised list and not already loaded translations: setup was only installing the first language on upgrad of an app, as the translate-call changed the db-cursor
2004-04-13 14:19:52 +00:00
Ralf Becker
066722cb9b
implemented enble == 4 type apps - opened in a popup window - for the manual
2004-04-13 08:18:06 +00:00
Ralf Becker
b495aa7a0f
implemented enble == 4 type apps - opened in a popup window - for the manual
2004-04-13 07:54:25 +00:00
Ralf Becker
d943b9f59d
register globals
2004-04-13 07:52:13 +00:00
Lars Kneschke
94a05b4690
patch from Matthew Galgoci to make cookies work also with domain names
...
with more then 2 parts(hostname.domainname.de)
2004-04-13 05:28:01 +00:00
Ralf Becker
41f40155aa
added function to check if browser supports htmlarea / richtext editor
2004-04-12 13:58:25 +00:00
Ralf Becker
5fc5cb207d
small convinient extension to column_data_implode:
...
1. param $only === True: write only columns from the column-definitions
2. param $use_key==='VALUES' return "(key1,key2,...) VALUES (val1,val2,...)" for inserts
2004-04-12 07:19:24 +00:00
Ralf Becker
1b4b338fb9
fixed wrong activation of mailto: addresses in in links
2004-04-11 10:10:51 +00:00
Carsten Wolff
d5026a9f75
make the use of adodb the default in the quote() and db_addslashes() functions, too
2004-04-11 09:03:56 +00:00
Lars Kneschke
56ae9c191a
fix for
...
Warning: preg_match() expects at least 2 parameters, 1 given in
/var/www/www.phpgw.de/htdocs/egroupware/phpgwapi/inc/class.categories.inc.php on line 164
2004-04-05 06:04:07 +00:00
Ralf Becker
fe8be115fb
as talked with lars ;-)
2004-04-04 23:01:58 +00:00
Ralf Becker
ba4ed68752
fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list
2004-04-04 22:52:24 +00:00
Ralf Becker
4b7ced6e84
fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list
2004-04-04 22:23:47 +00:00
Ralf Becker
f68cd32ede
as talked with lars and Stephan Hilchenbach from the german list ;-)
2004-04-04 22:21:26 +00:00
Ralf Becker
53f20990de
as talked with lars ;-)
2004-04-04 20:50:29 +00:00
Ralf Becker
f6b1b8e03e
fix to get IE and HTMLarea working together again, HTMLarea seems not to work in IE, if a <base href="..."> is set. This was done to get relative image-pathes working.
2004-04-04 19:31:30 +00:00
Ralf Becker
517913682c
as talked with lars
2004-04-04 18:06:37 +00:00
Ralf Becker
94b0845564
as talked with lars
2004-04-04 17:58:00 +00:00
Ralf Becker
bd187fca49
return the config-array in read_repository, like other classes read_repository functions does (eg. preferences)
2004-04-04 10:02:25 +00:00
Ralf Becker
b9cb241948
killed error-message in droptable and moderniced the code a bit ;-)
2004-04-03 13:03:01 +00:00
Ralf Becker
6e36f7e652
fix to eliminate doublicate entris on multiple installs / reinstalls via add_acl
2004-04-03 13:01:28 +00:00
Ralf Becker
0bfe2bcd98
fix to remove dublicates in none-indexed tables
2004-04-03 13:00:19 +00:00
Ralf Becker
b69585b36f
fix to create the postgres conection string in an extra variable
2004-04-03 12:58:43 +00:00
Ralf Becker
c09e4eb4c8
fixed typo
2004-04-03 10:22:08 +00:00
Ralf Becker
a88b08f274
dont log anonymous sessions
2004-04-02 17:24:31 +00:00
Ralf Becker
7cbfd65cde
small fix for setup:
...
- useing allways $this->Type (not type) and $GLOBALS['phpgw']->ADOdb (not adodb)
- remembering if we use a privat Link_ID for disconnect
2004-04-02 08:15:18 +00:00
Ralf Becker
48dd6ec970
not setting the class-vars direct - thought it still works, but calling the connect functions with them as parameters
2004-04-02 07:36:11 +00:00
Ralf Becker
10118549f5
fix to allow multiple connections, even to different db-types (only creating a new ADOdb object if its to a different db)
2004-04-02 07:34:41 +00:00
Ralf Becker
5594a20a3b
added ability to set a base href, to get relative image-pathes working in htmlarea
2004-03-28 21:43:14 +00:00
Ralf Becker
3ca724bf61
limit login-name in accesslog to 30 chars as the column is created in table
2004-03-28 14:58:45 +00:00
Ralf Becker
8af7e93dac
fixed bug on creation of db via setup (SQL error on setting up the grants)
2004-03-28 12:10:08 +00:00
Lars Kneschke
2583db40f0
fix for bug [ 923070 ] htmlspecialchars()
2004-03-26 16:24:08 +00:00
Carsten Wolff
56aa7e6eb3
removed some files that don't belong into cvs
2004-03-24 08:56:03 +00:00
Ralf Becker
b4f8235976
speedup for the translation function
2004-03-23 16:34:23 +00:00
Lars Kneschke
82a4305005
added comments which function are for compatibility only
2004-03-22 15:45:45 +00:00
Lars Kneschke
10d033f6fb
add another function from phpgw to egw api, to stay compatible with there
...
contacts class
2004-03-22 15:43:37 +00:00
Lars Kneschke
269756f577
add wraper function to support phpgw contact api
2004-03-22 15:34:32 +00:00
Ralf Becker
9ec5c51938
fixed double-translation of country-names
2004-03-22 08:00:06 +00:00
Ralf Becker
b7d9897a33
fixed parse-error, see bug #920580
2004-03-22 07:19:43 +00:00
Ralf Becker
745bfdc35e
fixed merging of session and user prefs
2004-03-21 22:03:06 +00:00
Ralf Becker
3dc254c6ee
added session (temporary) preferences
2004-03-21 21:17:34 +00:00
Ralf Becker
5e406355f9
localised the list of availible languages
2004-03-21 21:16:57 +00:00
Ralf Becker
23bf823035
now setting /tmp or c:\temp automatically as temp-dir (was only /tmp)
2004-03-21 16:25:22 +00:00
Ralf Becker
1417a115f6
fixed typo
2004-03-21 16:23:38 +00:00
Carsten Wolff
7f85671046
'blob'-columns need some special attention in the new quote()-function.
...
Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
2004-03-17 12:42:24 +00:00
Lars Kneschke
c7b6cf2a49
fix for Call-time pass-by-reference
...
----------------------------------------------------------------------
2004-03-16 06:54:22 +00:00
Ralf Becker
2238ea9dbb
makeing ADOdb the configuration default: unless you explicitly set
...
$GLOBALS['phpgw_info']['server']['use_adodb'] = False;
in your header.inc.php, eGW uses ADOdb
2004-03-15 22:41:55 +00:00
Ralf Becker
3df33d3ef6
imported ADOdb version 4.20 released 27 Feb 2004
2004-03-15 22:17:52 +00:00
Ralf Becker
0e943f4c58
fix for bug #911628 : Intall Cron Job Multiple Domain Error
2004-03-14 18:41:35 +00:00
Miles Lott
06b80fa3bf
Formatting cleanup
2004-03-14 17:31:43 +00:00
Ralf Becker
74fe998db9
php.net recommend this for security reasons, it should be our default too
2004-03-14 11:35:33 +00:00
Ralf Becker
ed8ff9cd31
removed the out-commented html and body closing tags
2004-03-13 21:57:15 +00:00
Ralf Becker
6c5c54d4b6
fixed wrong id2name in xmlrpc2cats
2004-03-13 18:09:06 +00:00
Carsten Wolff
a72cb3b1c8
more on the bytea-thing ... sometimes less is more ...
2004-03-13 17:57:20 +00:00
Carsten Wolff
5889064b1f
oops, fix for the fix ... /me pulls brown paperbag over his head
2004-03-11 17:39:05 +00:00
Carsten Wolff
7dcab6a1b0
This patch adds full Support for the bytea-datatype, wich is missing from PHP itself. I should have known this, before adding the datatype to schemaproc, but well ... here's the fix.
2004-03-11 15:40:31 +00:00
Ralf Becker
0711abd82b
1) added a base-class with some useful functions:
...
- converting to and from dateTime.iso8601
- converting cat_id-arrays to and from xmlrpc structs with cat-id / name pairs (and creating & updateing new cats)
2) removed unnecessary (and not standard conform) xmlrpc struc arround all responses
3) added detection to copy arrays (numerical keys 0,1,...) to xmlrpc arrays and not structs
Note: 2+3 only apply to the _php class as the _epi class does this by itself
2004-03-10 00:38:10 +00:00
Ralf Becker
31add06b33
added last_mod to fields always fetched, as its not in the standard_address_fields, it get never returned
...
(last_mod is not implemented in ldap so far)
2004-03-09 23:42:40 +00:00
Ralf Becker
2c1197d9dc
fixes for installations with error_reporting E_ALL
2004-03-09 21:05:28 +00:00
Ralf Becker
49d9007518
fixed function to send xmlrpc-faults (error-msg) from the handler, was not loged in the log-file
2004-03-07 10:00:18 +00:00
Ralf Becker
9ed6f2e60d
added function to send xmlrpc-faults (error-msg) from the handler
2004-03-07 09:58:22 +00:00
Ralf Becker
99e4e9efec
added standard xmlrpc error-msg for 'entry not found'
2004-03-07 09:55:43 +00:00
Ralf Becker
9c9892c9b7
fix to allow fieldlist like array('id','owner') instead of only ('id'=>'id','owner'=>'owner')
2004-03-07 09:54:37 +00:00
Ralf Becker
3803f842f3
added missing return on success
2004-03-07 09:53:26 +00:00
Ralf Becker
0daaf711d7
typo
2004-03-06 20:35:23 +00:00
Ralf Becker
809a2b8827
fixed foreach for no extra_fields
2004-03-06 20:34:56 +00:00
Lars Kneschke
345fd4de07
fix pass by reference
2004-03-06 11:27:32 +00:00
Miles Lott
2211a5aa63
Oops - comment out debug
2004-03-05 13:54:19 +00:00
Miles Lott
05fb371651
Add sql from phppgadmin for finding indexes on pg < 7.3
2004-03-05 13:32:00 +00:00
Miles Lott
e56c40e8c4
add disconnect function
2004-03-02 02:32:39 +00:00
alpeb
bf943fdce0
was removing '?' in link over + and - images
2004-03-01 20:19:47 +00:00
alpeb
ad19e78d7c
last item in the manual tree wasn't showed
2004-03-01 19:51:48 +00:00
Ralf Becker
77fd33e471
1) fix for bug #905284 , etemplate does not show images if webserver_url contains protocoll and domain
...
2) added a new progress-bar
2004-02-29 09:51:45 +00:00
Ralf Becker
dcd1912a7b
added default values parameter to RefreshTable
2004-02-29 00:13:47 +00:00
Ralf Becker
1994b1c179
change default-param of htmlarea, to be used if no or empty style is given
2004-02-29 00:12:48 +00:00
Ralf Becker
1cc9c515aa
fixed a typo in column_data_implode
2004-02-28 23:56:13 +00:00
Ralf Becker
d99afd7a11
new function activate_links to change url's into links and automaticaly create spam-saver mailto addresses
2004-02-26 15:32:34 +00:00
Carsten Wolff
f11dd0e255
fixed typo in iconv-call and detection of the right lib to use
2004-02-26 10:57:57 +00:00
Lars Kneschke
c7daab6c2b
add fix for chinese language conversion
2004-02-26 06:42:20 +00:00
Miles Lott
5e73b0dc6c
Remove typing error on use of implode
2004-02-26 01:38:51 +00:00
Miles Lott
00fbb7a4db
Remove bad function
2004-02-25 05:28:46 +00:00
Miles Lott
e50524c3ec
Add real createdatabase() function for mssql - partial fix for 885687
2004-02-25 05:26:46 +00:00
Miles Lott
978c0e6869
Add bool type from latest schema_proc from dcl
2004-02-24 21:32:20 +00:00
Carsten Wolff
1c8e2629c5
bytea is the blob-equivalent in PostgreSQL
2004-02-23 20:11:23 +00:00
Ralf Becker
b4970a5f65
fixed prob with not changeable pw's, setup::add_acl created acl_rights=0 rows, instead of no rows
2004-02-23 13:22:59 +00:00
Ralf Becker
2898b043c9
fixed password-check, to now allow to use the stored md5 as password
2004-02-23 10:07:55 +00:00
Miles Lott
265b36c9eb
Fix for BUG 900342 - determine preloaded query string which includes wildcards
2004-02-20 16:47:06 +00:00
Miles Lott
745a6c347b
Comment out php5-specific code since it causes php4 syntax error
2004-02-20 16:30:19 +00:00
Miles Lott
5b2e153cc6
Possible fix for latest beta of php5
2004-02-20 14:49:39 +00:00
Ralf Becker
597f99375c
fixed bug in image and submit-button, that caused names containing '.' to be truncated at the first dot
2004-02-19 22:35:38 +00:00
Ralf Becker
06ab7f4476
added new function RefreshTable to:
...
1. change or newly create the primary key or any other index
2. change the order of columns, drop and add multiple columns in one go
2004-02-19 08:48:15 +00:00
Ralf Becker
35e9e09911
new function to do the complete type-dependent quoting of a value
...
ToDo: need to write some introduction to the new SQL-inserting save functions of the db-class (inline docs are already there)
2004-02-19 08:45:31 +00:00
Ralf Becker
b7ee6ce75f
workaround for idots and IE button prob (wrong/no cursor)
2004-02-16 09:27:37 +00:00
Miles Lott
b7ae8accc8
Make add() match sql class for input; BUG# 897792 - Fix filtering in read() to not
...
error when adding elements to string vs. array value for phpgwcontactowner;
2004-02-16 04:50:26 +00:00
Miles Lott
4aae93b598
Migrate changes added to contacts_sql so that interfaces are similar; also change to never modify the uid in update(), since this affects the dn and will fail to modify
2004-02-15 18:12:47 +00:00
Ralf Becker
652511bdb3
fixed metadata-function for adodb
2004-02-15 13:54:18 +00:00
Ralf Becker
cb7fa13a6f
1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
...
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
alpeb
894ed06c06
priority between gif and png first search in chosen template dir
2004-02-13 15:09:22 +00:00
shrykedude
faeb3a6a2f
(Fix for bug #896172 ) Corrected quote type for regex matching; Changed to proper function for string replacement
2004-02-13 04:42:47 +00:00
alpeb
56309597dd
priority between gif and png as set in config is now working
2004-02-13 01:25:30 +00:00
Miles Lott
50586e085c
Cleanup select and insert from integer fields which had quotes around them.
2004-02-09 20:18:21 +00:00
Ralf Becker
15cd1353e1
1) added the symlink functions from the former separate vfs-class in infolog
...
2) added addslashs to all path and filenames (fix bug #889872 )
2004-02-08 22:30:14 +00:00
Miles Lott
df41d8f9c4
remove while loop since there should be only one record
2004-02-08 22:12:00 +00:00
Miles Lott
876d87227f
try to not error on the index checking query
2004-02-08 21:58:13 +00:00
Miles Lott
f4e41b1e63
Make index query slightly more efficient, trim index fieldnames
2004-02-08 21:53:00 +00:00
Miles Lott
649b7a9fd8
Hack in display of index values in sqltoarray.php (setup);
2004-02-08 21:49:52 +00:00
Ralf Becker
5ee6f04fd0
fix for update-bug: NULL values where written back as '', which is not ok for int-columns
2004-02-08 20:59:32 +00:00
Ralf Becker
3782e0c397
fix for pgsql: as it reports boolean values as 't' and 'f' and not like mysql as 1 and 0
2004-02-08 20:00:35 +00:00
Ralf Becker
9949311809
1) fixed bug with setup_demo (start_transaction did not call open before)
...
2) moved create_database code to the shared class: adodb can create the db now for mysql & pgsql
3) fixed the connect to be able to use unix-domain sockets for pgsql (hostname empty)
2004-02-08 11:19:52 +00:00
Miles Lott
39deb72a77
Similar to fix done for sql to fix acl access in some apps again
2004-02-07 21:25:05 +00:00