Ralf Becker
1c8ecb3992
enhanced _insertID function to deal with tables without oid's (default from 8.1+)
2005-11-19 20:13:06 +00:00
Ralf Becker
fa96e4a576
new functions to read and write a single phrase
2005-11-19 20:08:45 +00:00
Ralf Becker
c3a9b1c5e8
fix for different format of multiple cats ('1,2' instead of old ',1,2,') in new addressbook
2005-11-18 15:22:10 +00:00
Ralf Becker
96a2aad962
Adjusting the multi-selectbox width a bit
2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f
fix, sorry
2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7
add a few more plugins to tinymce
2005-11-14 21:18:01 +00:00
Ralf Becker
85406b1a86
if called by setup, use setup's db-instance
2005-11-14 10:21:02 +00:00
Ralf Becker
ef43034467
added some stuff for handling db-charsets:
...
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
29ebabe0f5
quitent an other diagnostics
2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36
- quietent a warning if the connecting database does not exist
...
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
e665bbad9d
quitend a debug message
2005-11-13 18:22:06 +00:00
Ralf Becker
8e25d2e29c
phpgw_addressbook(_extra) --> egw_addressbook(_extra)
2005-11-13 12:05:35 +00:00
Ralf Becker
f65d804916
phpgw_interserv --> egw_interserv
2005-11-13 11:55:07 +00:00
Ralf Becker
dab141fdb7
phpgw_history_log --> egw_history_log and reworked class with new db-functions
2005-11-13 10:52:34 +00:00
Ralf Becker
1b17b82ca8
phpgw_nextid --> egw_nextid
2005-11-13 10:13:16 +00:00
Ralf Becker
1f37f024ca
phpgw_access_log --> egw_access_log
2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85
phpgw_(app_)sessions --> egw_(app_)sessions
2005-11-13 09:16:31 +00:00
Ralf Becker
8add4f6398
infolog link registry ins now in infolog class
2005-11-13 09:14:02 +00:00
Ralf Becker
44bcc1247d
improved docu of prefs class and phpgw_preferences --> egw_preferences
2005-11-13 07:49:56 +00:00
Ralf Becker
8a06c230c4
modernized and documented the hooks-class, phpgw_hooks --> egw_hooks
2005-11-13 06:58:38 +00:00
Ralf Becker
dafaf45680
fixed typo which caused the admin passwd to be changed, instead the one of the edited user
2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44
some more db-capabilities:
...
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b
code cleanup and link function allows now query in the url too
2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00
fix for referer under etemplate
2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81
tinymce
...
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf
adjust link to new view dialog
2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b
fixed typo
2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583
fixed not working reference assignment
2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630
hopefully now all possebilities to construct an eGW URL are covered
2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5
new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function
2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0
phpgw --> egw plus some documentation
2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f
fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND
2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5
reverted last commit, as & in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used
2005-11-08 20:03:46 +00:00
Ralf Becker
c84bb21068
xhtml conforming url's
2005-11-08 17:53:04 +00:00
Ralf Becker
263caae5e8
missing param
2005-11-08 10:10:36 +00:00
Ralf Becker
709ef070c9
fix for bug, that empty arrays are returned as serialized empty array and not an empty array
2005-11-08 08:12:30 +00:00
Ralf Becker
a0beab57d4
fixed bug reported by Lutz on the german list (missing AND before filter in return_array)
2005-11-08 05:07:37 +00:00
Ralf Becker
40b35348e0
Get- and SetCharSet for mysql and mysqli
2005-11-07 13:37:21 +00:00
Ralf Becker
ae9ae56e30
fix for the segfaults happening since the last commits in several apps: function was calling itself ;-)
2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2
it was definitly to late last night ;-)
2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476
typo
2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9
phpgw_categories --> egw_categories plus reworked categories class
2005-11-05 22:58:51 +00:00
Ralf Becker
2ec277c0d9
typo
2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3
typo
2005-11-05 18:18:55 +00:00
Ralf Becker
0f7354b09b
check for the old table too, to not scare updating users ;-)
2005-11-05 13:15:33 +00:00
Ralf Becker
912aac5e6c
1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
...
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
2477ebc7bb
functions to get and set the charset
2005-11-04 18:38:29 +00:00
Ralf Becker
970a92297e
an other big update ;-)
...
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
- charset gets now set for the connect
- charset gets used for new tables
- some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
- update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
65c41b525e
fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working
2005-11-04 06:57:22 +00:00
Ralf Becker
a41761660e
fixed bug: addressbook popup for email apps: adding all search results was not working with ldap (contacts_ldap class did not support the "!''" filter used)
2005-11-03 14:30:40 +00:00
Ralf Becker
335cef9104
display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user
2005-11-02 20:43:04 +00:00
Ralf Becker
3960fcc0ae
implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both
2005-11-02 20:40:44 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
e4ed1ac5b0
add execmethod2 which could handle multiple arguments
...
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
295d7844e5
added no_notify parameter to link function, to suppress the notify
2005-10-27 09:28:24 +00:00
Régis Leroy
7b9f0f7b79
add mysqlt type for mysql in transactionnal mode with innodb tables
2005-10-25 15:27:42 +00:00
Régis Leroy
0f476f3e98
Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE
2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81
bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before
2005-10-25 14:38:10 +00:00
Ralf Becker
a4b67d9f2b
UUPS javascript ;-)
2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb
1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
...
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Régis Leroy
c2c29c186b
removing galaxia library. See reworked workflow library in workflow/inc/engine
2005-10-17 15:54:19 +00:00
Régis Leroy
c53b0302ba
removing galaxia library. See in reworked workflow library in workflow/inc/engine
2005-10-17 15:52:39 +00:00
Cornelius Weiß
f578c4f826
make tinymce call easier and provide some custom view
2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf
switch to tinymce by default
2005-10-13 15:16:38 +00:00
Ralf Becker
ea1e8d89a2
fixed sql error on deleting users, thanks to Regis Leroy
2005-10-13 14:26:29 +00:00
Ralf Becker
1784637cff
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
Ralf Becker
e2e0fd6446
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
zhangweiwu
0ec0bc7654
add a bit of phpdoc explanation.
2005-10-11 02:00:23 +00:00
Ralf Becker
8fd573db65
setting language, date- and timeformat for tinymce from the user prefs
2005-10-11 00:27:24 +00:00
Ralf Becker
2a05447886
fixed domain-selection via url
2005-10-09 12:02:24 +00:00
Ralf Becker
9f0f20a4cf
an other try to get the right size for the multiple selectbox with checkboxes
2005-10-05 12:40:59 +00:00
Cornelius Weiß
5c8e62b4ce
files with owner_id == 0 need to be readable for all useres!
2005-10-04 22:59:14 +00:00
Ralf Becker
8a8077bf4e
typo
2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067
moved InfoLog's link class and it's table into the api
2005-10-01 20:18:41 +00:00
Ralf Becker
f7ec5b42f5
fix to use our db class with the new php5 mysqli extension
2005-10-01 09:09:45 +00:00
Ralf Becker
7f835c1020
mysqli has a separete param for the port
2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0
mysqli should use the mysql datadictionary
2005-10-01 08:47:27 +00:00
Carsten Wolff
7ae0075fb3
fix an usort sideeffect
2005-09-30 16:03:27 +00:00
Ralf Becker
42e14d2cfd
multiselectbox with checkboxes: calculated widths was far to much
2005-09-30 14:21:50 +00:00
Miles Lott
eefec39e13
Formatting
2005-09-29 11:31:02 +00:00
Carsten Wolff
c5f0daa001
remove PHP3 legacy code and fix performance bug in sorting ldap_search results.
2005-09-28 13:10:22 +00:00
Ralf Becker
93e3241b70
re-added to postgres fixes not (yet) contributed to JohnLim:
...
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e
imported adodb 4.65
2005-09-26 10:12:10 +00:00
Ralf Becker
bd527ef0b8
the xmlrpc log should be off be default, as it contains everything in cleartext (eg. passwords) and it is in most distros world readable
2005-09-20 10:14:10 +00:00
Ralf Becker
e72ec322e1
added configuration switch for xmlrpc and soap services (default off)
2005-09-10 10:39:36 +00:00
Ralf Becker
a4b3f4fecb
added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again
2005-09-06 10:20:56 +00:00
Carsten Wolff
3be92d3fa2
fix change_owner()
2005-08-30 20:56:33 +00:00
Lars Kneschke
e2f6eb9b06
always include some common javascript functions
2005-08-28 20:31:36 +00:00
Miles Lott
35d6232281
Switch to new arrays and db cloning
2005-08-27 12:24:56 +00:00
Miles Lott
137e472433
Use correct quoting when querying/setting account_id; minor formatting
2005-08-27 12:19:35 +00:00
Miles Lott
b4a21c4e9e
Switch to egw_info, etc, and remove reset/while
2005-08-23 17:53:41 +00:00
Miles Lott
9438655ca5
Format and switch to egw_info, et al.
2005-08-23 17:49:49 +00:00
Miles Lott
7d18902b97
HEAD only: Add client from 2.0 lib - adds compression, proxy auth, etc.
2005-08-16 13:23:03 +00:00
Miles Lott
46e44572df
Remove eval from ldap version, too
2005-08-14 22:11:15 +00:00
Miles Lott
4248167886
Update lib to version 2.0; remove eval calls
2005-08-14 20:36:46 +00:00
Miles Lott
08b61a050e
Fix for multiple domains via xml-rpc to ensure the correct domain
2005-08-14 17:01:30 +00:00
Carsten Wolff
d61920a22b
fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1.
2005-08-13 21:01:14 +00:00
Miles Lott
4af309944f
initial line spacing
2005-08-13 13:16:01 +00:00
Lars Kneschke
7dc342e317
removed organizer as required field
2005-07-29 07:31:30 +00:00
Ralf Becker
8d4c01bf4b
fixed missing escaping of double quotes in the title of wz_tooltips
2005-07-28 09:45:58 +00:00
Ralf Becker
0c38cbea43
fixed wrong charset in xajax responses
2005-07-27 10:04:52 +00:00
Lars Kneschke
bf49d639c6
remove session after successfull sync
2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34
fixed handling of ALERT 222
2005-07-26 07:22:58 +00:00
Miles Lott
ca8cf03ff2
Update for egw arrays
2005-07-23 11:39:20 +00:00
Ralf Becker
5cbbbb7d29
1) phpgw --> egw
...
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
7b1229e29a
fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog
2005-07-22 17:53:02 +00:00
Ralf Becker
c395f26dc6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:20:31 +00:00
Ralf Becker
b82ac2c4d6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
d933e70c72
fixed SQL queries
2005-07-20 12:42:09 +00:00
Ralf Becker
5e97b462c4
setting defines for currentapp=login too
2005-07-20 12:31:58 +00:00
Ralf Becker
83b0801533
commit for Lars: latest SyncML updates
2005-07-20 12:09:32 +00:00
Ralf Becker
ef7bff339e
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f20c9f093e
the LDAP server also needs to be re-connected
2005-07-17 22:47:54 +00:00
Ralf Becker
f99f2ef4e8
1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
...
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
5736cb296c
*** empty log message ***
2005-07-17 19:58:41 +00:00
Ralf Becker
7c46b63263
1) fixed not working session kill
...
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
petere78
73d74fa0f3
XHTML 1.0 cleanup for setup application
2005-07-11 18:02:19 +00:00
Miles Lott
47d7968d60
Disable debugging by default, but enable for the interserv test application
2005-07-02 20:19:19 +00:00
Miles Lott
07b6cc1297
Fix for case-sensitive variable name
2005-07-02 20:13:51 +00:00
Pim Snel
cd8871a53d
add fetch_string function so templates can live in a database table as well
2005-07-01 13:27:35 +00:00
Carsten Wolff
64120e723c
another shot at datetime.iso8601:
...
- accept both simple and extended format from input
- output simple format, if the client sends a HTTP-header "isoDate: simple".
This should maybe extended by another possibility, where the information
is stored in the session on login. Then there is a good way for all
clients, regardless of the use of any combination of Auth-headers,
login/cookies and webservers.
2005-06-30 19:01:19 +00:00
Miles Lott
ff4a0d24cc
CRITICAL: Implement security fixes from latest release of php-xmlrpc
2005-06-30 13:36:47 +00:00
Pim Snel
15e32ce762
create tinymce init function so this can be optinaly run before the header is sent.
2005-06-30 09:10:15 +00:00
Pim Snel
014aa6ca67
only show template set that contain a setup.inc.php
2005-06-29 21:06:52 +00:00
Pim Snel
210e5621be
Add wrapper function for the TinyMCE WYSIWYG editor. This editor much cleaner then htmlarea
2005-06-21 19:46:56 +00:00
Ralf Becker
cea4c314d2
phpgw_setup --> egw_setup
2005-06-20 22:07:40 +00:00
Lars Kneschke
b3ecd8456d
generate a smaller guid
2005-06-20 11:14:40 +00:00
Lars Kneschke
062f20ec42
chaning phpgw -> egw
2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959
$GLOBALS['phpgw --> $GLOBALS['egw
2005-06-20 07:51:01 +00:00
Lars Kneschke
d43bf7d44f
first commit of syncml code
2005-06-19 19:00:58 +00:00
Lars Kneschke
f354eacf66
the best of my and ralfs version
2005-06-19 18:07:06 +00:00
Ralf Becker
d4760bb15c
renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde)
2005-06-19 12:43:00 +00:00
viniciuscb
0a28f3812e
Some changes:
...
- Inclusion of the following javascript directories:
* Connector: javascript object to interface xmlhttprequest object. This object allows
asynchronous posts and support for messages while this post is being done, such as
"wait, contacting server", etc.
* JsAPI: general javascript functions and methods
* jsolait: performs conversion from a xmlrpc message to a javascript object
* xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
* dynapi: cross-browser class to draw layers
- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
change in phpgw_vfs2_files table in handling of modified files.
- Upgrade of vfs2 classes and PclZip class
- Changes in javascript object and common object to allow the javascript backend to
applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Ralf Becker
332c9c41df
to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested
2005-06-18 06:38:29 +00:00
Pim Snel
1d68ccb070
replace hardcoded links to home.php with links to home/index.php
2005-06-15 11:16:27 +00:00
Ralf Becker
fd5576e3ee
- phpgw --> egw
...
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4
fixing the fix ;-) now it's working in php4 + 5
2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8
little type
2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2
Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;)
2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28
Fix broken PAM authentication
2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf
modernized asyncservice class and renamed phpgw_async to egw_async
2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a
fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected
2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e
corrected a "funny" php5 behavior
2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae
implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none").
2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2
add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually.
2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a
VFS SQL2 classes
2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913
Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities.
2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359
thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect
2005-05-14 21:12:20 +00:00