Commit Graph

2817 Commits

Author SHA1 Message Date
Lars Kneschke
1d791acb2f important patch from Jan 2006-04-07 08:54:48 +00:00
Lars Kneschke
224fa8f7af check for 0 and NULL for empty values 2006-04-07 08:22:46 +00:00
Lars Kneschke
ea7b5a8afa various small bugfixes 2006-04-07 08:11:17 +00:00
Ralf Becker
c8996cb302 autocreate_session_callback can now return (beside false or true&account-data) also a session-id (by calling session::create($account) itself). That allows to handle wrong account-data yourself and NOT get redirected to login.php 2006-04-06 18:32:22 +00:00
Ralf Becker
2c604b7b06 invalid session cache on change of session preference, otherwise session prefs only work in login 2006-04-05 15:17:41 +00:00
Ralf Becker
00060f9551 - added functions to abstract from_unixtime and date_format for DB-types other then mysql
- db::select adds ORDER BY to append param, only if its not already in the append param
2006-04-05 15:14:59 +00:00
Ralf Becker
a9988cc72a fixed wrong referer if url contains webserver_url more then once, eg. "http://egroupware.org/egroupware/index.php" and "/egroupware" 2006-04-05 14:55:57 +00:00
Cornelius Weiß
d515ec7100 allow to configure more custom options for tinymce 2006-04-05 14:01:09 +00:00
Ralf Becker
c230fb81c4 new capability union 2006-03-29 06:58:56 +00:00
Lars Kneschke
9c069b1550 added sifcalendar 2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d various bugfixes 2006-03-27 23:24:17 +00:00
Ralf Becker
9c2c27b800 disabled SQL queries using the old phpgw_vfs table for WebDAV 2006-03-27 13:43:39 +00:00
Ralf Becker
37cb5095d5 improved printing: progressbar is now printed as percent value 2006-03-26 22:19:24 +00:00
Ralf Becker
40e5634739 fixed reference with clone, thanks to jpingle <jim-AT-hpcisp.com> from the user-list 2006-03-24 17:26:27 +00:00
Ralf Becker
65b9f91744 cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
Lars Kneschke
2362499507 adding a new file 2006-03-21 13:50:34 +00:00
Lars Kneschke
2dedbf0f7c support for slowsync with search
added real working state machine
SyncML conformance improvment
2006-03-21 13:49:13 +00:00
Lars Kneschke
2bc928a6cb fixed search for empty values
empty values can be '' or NULL
2006-03-21 06:49:10 +00:00
Ralf Becker
a615cada89 added ability to specify some extra styles for the multiselectbox with checkboxes 2006-03-20 21:51:55 +00:00
Lars Kneschke
f2537f6305 fix for mysql > 4.1
the first timestamp row gets always updated on update if not set
2006-03-19 22:13:57 +00:00
Ralf Becker
383c45dad3 added tree method using dhtmlXTree version 1.2 2006-03-19 17:55:36 +00:00
Cornelius Weiß
896da3651e fix for bug #1446050 ( no font selection in htmlarea ) 2006-03-19 07:34:41 +00:00
Ralf Becker
d6d5b29ef5 removed diagnostics from bugfix 2006-03-15 16:53:13 +00:00
Ralf Becker
bd471bda9d fix for bug
- [ 1450332 ] Addressbook LDAP - categories not searchable
- [ 1038503 ] show private contact
2006-03-15 14:02:40 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Cornelius Weiß
b97f701d05 added an optinal check for a save^tm password (criterias as in MS-Windows) 2006-03-13 21:56:28 +00:00
Lars Kneschke
ea0f776b92 Patch from Jan
It is the simple patch to prevents the segfaulting of horde on ical with
spaces in the begin:vevent etc lines. (just \W\w replaced by \S if I
remember well at one place..)

The second patch is for getting rid of some php5 warnings when it
encounters the array_merge() in setParameter(). (only a simple cast to
an array).
2006-03-11 08:09:12 +00:00
Ralf Becker
db1a32aa33 fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists 2006-03-10 09:53:10 +00:00
Lars Kneschke
cfc4ad5006 $accountID is a string not a int 2006-03-10 08:09:42 +00:00
Ralf Becker
e419a6aa6d allow ',' in order 2006-03-09 22:33:06 +00:00
Ralf Becker
ceb34ebfee set multiselectbox size=4, as some browsers dont show scrollbars if its under 4 2006-03-09 18:21:22 +00:00
Cornelius Weiß
86036a1ddc fixed non working privacy 2006-03-08 22:36:35 +00:00
Ralf Becker
ed687031a2 disabled it for security reasons 2006-03-08 22:13:00 +00:00
Ralf Becker
7a80cb08a6 changed system.time for Espen/eGWOsync to return struct with keys:
- system: system-time as datetime.iso8601
- system_tz_offset: tz_offset to UTC in seconds as integer
and, if loged in, analog user and user_tz_offset
2006-03-08 19:34:02 +00:00
Ralf Becker
a5a87c4fe8 fix for bug [ 1370943 ] Nextmatches->search doesn't set the value 2006-03-08 18:10:36 +00:00
Ralf Becker
dc48662fc8 fix for bug:
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Ralf Becker
1186a8e406 if n < 0, use n chars from the end of the string, eg. for zh-tw 2006-03-08 11:39:44 +00:00
Ralf Becker
23c4f7976f if n < 0, use n chars from the end of the string, eg. for zh-tw 2006-03-08 11:36:58 +00:00
Ralf Becker
15c845e0de fixed timezone handling in addressbook:
- db stores now server-time as everywhere in eGW
- contacts-class in the api and bocontacts in addressbook take and deliver user-time
- xmlrpc gives user-time as the other apps too
2006-03-07 22:43:08 +00:00
Ralf Becker
52863057ec fixed not working xmlrpc system.time method 2006-03-04 10:27:36 +00:00
Ralf Becker
119fb13409 fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms 2006-03-03 13:44:43 +00:00
Ralf Becker
3a8c25df86 added function to abstract SQL union statement, needed to speed up the calendar search for MySQL 5 2006-03-03 12:01:10 +00:00
Ralf Becker
23ea4159ef documentation update and extra param to show_date, to disable time-zone-conversation 2006-03-03 09:32:47 +00:00
Ralf Becker
8fc1ad4184 fix for empty or zero id in call to bolink::tile 2006-03-02 19:21:55 +00:00
Miles Lott
920d865760 Minor fix for system.time documentation and signature 2006-02-24 03:08:40 +00:00
Miles Lott
5f9d52623c Fix minor bug in lang() for common, and update setup's version to match common 2006-02-24 03:06:40 +00:00
Miles Lott
95152c501e Patch 1424025 to adjust default for system.time format 2006-02-07 13:34:02 +00:00
Miles Lott
9e47c6843e Patch 1424030 from Esben 2006-02-04 14:33:40 +00:00
Lars Kneschke
1b03623316 two patches from Benjamin Donnachie to fix
- async service
- make calendar notifications working again
2006-01-22 19:24:00 +00:00
Lars Kneschke
785391f71d patches from JVL and some debug output removed 2006-01-22 17:59:06 +00:00
Lars Kneschke
40586d80db patch from jvl xs4all nl 2006-01-16 11:14:33 +00:00
Lars Kneschke
735dcde161 different SyncML fixes 2006-01-16 09:49:51 +00:00
Lars Kneschke
08d3e484dc final syncml fixes 2006-01-14 08:29:23 +00:00
Lars Kneschke
fce1d83932 updated WBXML code to work without external binary
many thanks to the horde project for writing very good code!!
2006-01-11 05:42:07 +00:00
Ralf Becker
145a1d0f6b bugfix, sql-error - one bracket too much 2006-01-11 05:20:50 +00:00
Ralf Becker
aa085fd849 bugfix 2006-01-11 05:20:01 +00:00
Ralf Becker
7dd8eda157 some bugfixes: unlink was not working on tempr. links (no id yet) hold in an array 2006-01-11 05:18:48 +00:00
Carsten Wolff
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +00:00
Ralf Becker
5043404475 fixed typo 2006-01-06 04:55:51 +00:00
Ralf Becker
d0b013767b fixing the fix: sql strings (integer
index) were not used in the where clause on update/insert, causing eg. double entries for file-attachments
2006-01-06 04:52:10 +00:00
Carsten Wolff
a0f4331554 small cleanup 2006-01-06 02:47:45 +00:00
Cornelius Weiß
b55f6deb14 fix: deleting of accounts resulted in deleting of group 2006-01-04 21:01:33 +00:00
Lars Kneschke
6f05e93e26 read debugdir from egw config 2005-12-25 16:41:35 +00:00
Miles Lott
afaa6f2815 Creates LM and NT hashes natively in php 2005-12-25 10:56:54 +00:00
Lars Kneschke
916f9994b6 fix charset translation 2005-12-23 12:32:57 +00:00
Lars Kneschke
8d704fe5c0 PHP5 fixes 2005-12-20 17:45:47 +00:00
Lars Kneschke
ca2e74f153 added objectclass for rfc2307bis.schema 2005-12-16 07:12:36 +00:00
Ralf Becker
68828494ab fix for negative group-ids, which are not allowed by all dbms in auto-columns:
- egw_accounts.account_id is now again positiv for groups too
- mapping to negative group-id is done in the accounts-class now
2005-12-14 23:35:09 +00:00
Ralf Becker
b5197ce79d fixed bug in creation of new groups under ldap, they get always the same id 2005-12-14 23:33:07 +00:00
Ralf Becker
36138f346e setting group-context from (user-)context, if not set 2005-12-14 23:31:51 +00:00
Ralf Becker
5ddc4a4f85 constructor of datetime need to be called after preferences are read (again), otherwise the tz-offset is not set - easy to verify from the other end of the world ;-) 2005-12-14 06:41:27 +00:00
Ralf Becker
57998e5827 fixed to small div in multiselectbox, this should be handeled by css (overflow) 2005-12-14 06:36:27 +00:00
Ralf Becker
5f625f4289 fixed bug: privat cats were not returned / shown 2005-12-02 20:29:49 +00:00
Lars Kneschke
3abea0dbe6 fixed changing passwords using ldap 2005-12-02 12:49:50 +00:00
Ralf Becker
f2d06cbe56 fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong 2005-12-02 10:43:39 +00:00
Ralf Becker
14b93846c0 reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function 2005-12-02 10:41:50 +00:00
Ralf Becker
341eb15afb fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible. 2005-12-01 23:18:07 +00:00
Ralf Becker
332b6fabd5 fix for mssql problem reported, without SET identity_update <table> ON, mssql refuses to change the identity column (create negative group id). I cant test it, as I have no MsSQL at the moment. 2005-12-01 21:01:06 +00:00
Ralf Becker
24472f972d fixed not working sessionid in url 2005-11-29 13:05:20 +00:00
Ralf Becker
68d0668328 fix for bool columns:
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
46adb5d50b destroy the session-cache on login/logout 2005-11-28 12:47:35 +00:00
Ralf Becker
bf9ee3a86d fixed empty property warining in error_log 2005-11-28 08:24:36 +00:00
Ralf Becker
16e9475d0b fixed double navbar on access denied (eg. calling a app by url without run-rights for that app) 2005-11-27 23:11:25 +00:00
Ralf Becker
0cfdea3f97 fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server 2005-11-27 22:33:08 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Miles Lott
3617eeda1f update for new calendar function 2005-11-26 15:37:14 +00:00
Miles Lott
bcacc1ef46 phpgw->egw 2005-11-26 14:25:39 +00:00
Ralf Becker
b68c7922c0 fixed prob reported on the lists: new created account are not working 2005-11-25 19:58:05 +00:00
Miles Lott
bcb682ed9d phpgw->egw 2005-11-25 00:20:34 +00:00
Miles Lott
98bb88f545 phpgw->egw 2005-11-25 00:13:29 +00:00
Ralf Becker
43ae18fb7a finding the db-object from setup too 2005-11-24 20:48:31 +00:00
Ralf Becker
d8932b3ad3 calling invalidate_session_cache only if it exists (setup does not have/need it) 2005-11-24 20:08:09 +00:00
Ralf Becker
9606f6ea25 eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's) 2005-11-24 19:48:21 +00:00
Ralf Becker
e9bbdad358 fixed bug: only 2 levels of categories get returned 2005-11-23 23:01:28 +00:00
Ralf Becker
4169bd99e1 fixed bug in column_data_implode: numerical keys where used if $only===true 2005-11-23 08:56:43 +00:00
Cornelius Weiß
f043f76be2 fix typo 2005-11-22 22:32:21 +00:00
Cornelius Weiß
81f918c8b6 fix: font tag was not allowed 2005-11-22 22:26:35 +00:00
Ralf Becker
597e4b8589 fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false) 2005-11-21 16:39:43 +00:00
Ralf Becker
cde95cd926 fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot 2005-11-21 08:21:11 +00:00
Ralf Becker
e9cfc86e19 fixed bug: missing param 5 in egw_db::insert, which stoped login, if display errors is on 2005-11-21 07:23:37 +00:00
Ralf Becker
9320913b9e - new capability 'name_case'
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
2dbaf992fa fix for bug [ 1357995 ] LDAP account import errors 2005-11-20 08:03:06 +00:00
Ralf Becker
1549913fd7 fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class 2005-11-20 07:32:51 +00:00
Ralf Becker
c267a875de fixed quoting of bool column to return true or false, as required by newer postgres and accepted by mysql too 2005-11-19 20:14:45 +00:00
Ralf Becker
1c8ecb3992 enhanced _insertID function to deal with tables without oid's (default from 8.1+) 2005-11-19 20:13:06 +00:00
Ralf Becker
fa96e4a576 new functions to read and write a single phrase 2005-11-19 20:08:45 +00:00
Ralf Becker
c3a9b1c5e8 fix for different format of multiple cats ('1,2' instead of old ',1,2,') in new addressbook 2005-11-18 15:22:10 +00:00
Ralf Becker
96a2aad962 Adjusting the multi-selectbox width a bit 2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f fix, sorry 2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7 add a few more plugins to tinymce 2005-11-14 21:18:01 +00:00
Ralf Becker
85406b1a86 if called by setup, use setup's db-instance 2005-11-14 10:21:02 +00:00
Ralf Becker
ef43034467 added some stuff for handling db-charsets:
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
29ebabe0f5 quitent an other diagnostics 2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36 - quietent a warning if the connecting database does not exist
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
e665bbad9d quitend a debug message 2005-11-13 18:22:06 +00:00
Ralf Becker
8e25d2e29c phpgw_addressbook(_extra) --> egw_addressbook(_extra) 2005-11-13 12:05:35 +00:00
Ralf Becker
f65d804916 phpgw_interserv --> egw_interserv 2005-11-13 11:55:07 +00:00
Ralf Becker
dab141fdb7 phpgw_history_log --> egw_history_log and reworked class with new db-functions 2005-11-13 10:52:34 +00:00
Ralf Becker
1b17b82ca8 phpgw_nextid --> egw_nextid 2005-11-13 10:13:16 +00:00
Ralf Becker
1f37f024ca phpgw_access_log --> egw_access_log 2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
8add4f6398 infolog link registry ins now in infolog class 2005-11-13 09:14:02 +00:00
Ralf Becker
44bcc1247d improved docu of prefs class and phpgw_preferences --> egw_preferences 2005-11-13 07:49:56 +00:00
Ralf Becker
8a06c230c4 modernized and documented the hooks-class, phpgw_hooks --> egw_hooks 2005-11-13 06:58:38 +00:00
Ralf Becker
dafaf45680 fixed typo which caused the admin passwd to be changed, instead the one of the edited user 2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44 some more db-capabilities:
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b code cleanup and link function allows now query in the url too 2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00 fix for referer under etemplate 2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81 tinymce
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf adjust link to new view dialog 2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b fixed typo 2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583 fixed not working reference assignment 2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630 hopefully now all possebilities to construct an eGW URL are covered 2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5 new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function 2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0 phpgw --> egw plus some documentation 2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND 2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5 reverted last commit, as &amp; 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