Commit Graph

2354 Commits

Author SHA1 Message Date
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