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