Commit Graph

2320 Commits

Author SHA1 Message Date
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
Lars Kneschke
9f8740113a fix get_account_name to make acls working correctly again 2004-02-07 20:52:42 +00:00
Miles Lott
63819d4dd7 Add some more debug notes and turn debug off during login/logout/home 2004-02-07 03:38:35 +00:00
Miles Lott
bade598435 Patch from kevindouglas@yahoo.com to re-enable the most recent change here (error when selecting idsociety template, etc.) 2004-02-06 22:32:46 +00:00
Ralf Becker
f18b38e74e fixed wrong header_admin_password, if no new one was entered 2004-02-06 07:08:19 +00:00
Miles Lott
f2f773f8ab disable transactions, since they break in 7.3.X so far 2004-02-06 00:34:24 +00:00
Ralf Becker
b58f7c344d moved the existing caching-code into the shared class and implemented caching for get_list 2004-02-05 21:20:41 +00:00
Miles Lott
6adc7fda6f Add some notes to the smd5_compare() function 2004-02-05 02:14:31 +00:00
Miles Lott
dfa356e0c6 Fix smd5 password comparison for sql 2004-02-05 02:01:39 +00:00
Miles Lott
85495afde2 Fix to ensure correct encryption type is used in the creation of accounts 2004-02-05 01:35:53 +00:00
Ralf Becker
891229149e allow sitemgr to use an other domain then the default domain (first defined in the header.inc.php) 2004-02-04 00:33:37 +00:00
Miles Lott
49726e4623 Undo last commit for now to fix bug when selecting idsociety template 2004-02-03 07:22:42 +00:00
Miles Lott
ee57d4698d disable direct api call from xml-rpc 2004-02-03 06:25:36 +00:00
Miles Lott
8c301efe44 Fix error for Bug #887735, although there must be another problem 2004-02-03 06:06:54 +00:00
Miles Lott
7f6c343ce8 Move pgw_ver back outside of new loop - oops! 2004-02-02 23:07:07 +00:00
Miles Lott
6d860f2d3e Add sidebox link to return to main setup menu 2004-02-02 23:04:07 +00:00
Miles Lott
6024c9331b Adjust banner, cleanup formatting and use foreach() where possible 2004-01-31 19:48:34 +00:00
Pim Snel
c646b67eca fix some buttons and update the rest of the htmlarea tree 2004-01-29 21:50:00 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00
Miles Lott
d456632ae3 Fix failure to select sql mode for password encryption; 2004-01-29 03:28:00 +00:00
iliaa
28a0a7e01a Fixed a bug that could result in an invalid path being picked for default
template path if the theme name can be found >1 inside the path.

Ex. /home/foobar/www/egw/app/foo
would become
/home/defaultbar/www/egw/app/default
2004-01-28 19:36:52 +00:00
Miles Lott
300badbfec Cleanup other cases of PHP_OS testing for WINNT 2004-01-28 13:34:47 +00:00
reinerj
75df9443b0 bugfix from David Desquiens for WIN problem 2004-01-28 00:46:30 +00:00
bgigon
a4b6f98f04 Modify Accounts Modify function (otherwise crash) 2004-01-27 13:33:38 +00:00
Miles Lott
17340424c1 Switch to different host for currentversion check 2004-01-26 14:00:52 +00:00
shrykedude
2f6ad147af accountid should be int, so enforce the type 2004-01-26 09:21:47 +00:00
shrykedude
c353fa6469 acl rights should be int, so need to enforce the type 2004-01-26 08:56:11 +00:00
Miles Lott
1336dfef54 switch to _GET and remove stray whitespace 2004-01-26 03:34:17 +00:00
Miles Lott
afcc4231f4 ereg_replaceD 2004-01-26 03:33:09 +00:00
Miles Lott
ae216a7346 fix some formatting issues 2004-01-26 03:31:56 +00:00
Miles Lott
136f437912 minor change to encode/decode 2004-01-26 03:30:16 +00:00
Miles Lott
82ed6bc041 fix bad var name in account add 2004-01-26 03:26:11 +00:00
Miles Lott
0d23f90fd4 ensure integer value sent to avoid badfilter 2004-01-26 03:24:40 +00:00
Miles Lott
4f724bc9b1 add empty functions for create_database() 2004-01-26 03:23:06 +00:00
Miles Lott
d26eacbeea move check for auth object 2004-01-26 03:22:15 +00:00
Miles Lott
04067c7a04 Add SMD5 hashing for sql and ldap based on my debian experience today 2004-01-26 03:01:54 +00:00
Lars Kneschke
61c768f8d3 add a first and last name for auto created accounts too 2004-01-25 22:38:26 +00:00
Lars Kneschke
893c085f78 added addaccount-hook for auto created accounts 2004-01-25 22:27:31 +00:00
Miles Lott
1dabd74aa0 Cleanup format of if() 2004-01-25 21:29:20 +00:00
shrykedude
9e0d88fd69 fix for changing non-nullable fields in postgres 2004-01-25 06:40:59 +00:00
Miles Lott
0039d2a51c Cleanup badfilter on empty values; cleanup formatting 2004-01-25 00:04:40 +00:00
Miles Lott
f07775857e use foreach where possible vs. reset/while; Move extra loop in read() and read_single_entry() into the existing loop in sql/ldap classes. 2004-01-24 15:57:57 +00:00
shrykedude
ab21a58d75 enable more debug output 2004-01-22 20:52:14 +00:00
Miles Lott
934067f137 Fix the function call some more 2004-01-21 23:13:02 +00:00
Miles Lott
56085e8acf Fix bad function call for md5 passwords 2004-01-21 23:10:05 +00:00
Miles Lott
9be5a8982d Consolidate password updates and remove debug output, i think 2004-01-21 22:53:02 +00:00
Miles Lott
cae90732c6 Add check in ldapConnect() for presence of ldap_functions per bug# 880672 2004-01-21 13:55:22 +00:00
Miles Lott
d7db3b384e update credits by request 2004-01-20 21:31:33 +00:00
Miles Lott
33eac40a77 This should fix the detection and setting of passwords in the header 2004-01-20 13:16:45 +00:00
Lars Kneschke
0364332b5c add stripslashes for a second level for arrays 2004-01-20 05:28:04 +00:00
Miles Lott
372f742c69 Fix extra domain being added by empty config_user variable 2004-01-20 00:52:11 +00:00
Miles Lott
77fd8f4882 Move password functions to auth class; Add support for new encryption types in setup
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Miles Lott
037369b6e6 Add header and per-domain user login values - default is admin during the upgrade process.
Hopefully these are all the files.
2004-01-18 21:03:56 +00:00
shrykedude
b79a7e67ea load DB port with other settings 2004-01-18 02:24:42 +00:00
shrykedude
653a5e78d3 Avoid multiple NOT NULL parameters, as with MySQL auto_increment fields 2004-01-18 02:23:48 +00:00
shrykedude
9197af0108 Allow local socket connection to MySQL DBs, from bug #878395 2004-01-17 19:42:02 +00:00
Miles Lott
e733502283 Add initial version of server class using EPI xml-rpc; default to use old class for now with no config 2004-01-17 18:41:34 +00:00
Miles Lott
63d80f2fcd Add the search for 1st character of certain fields, showing alphabet at the top. This feature was lost for 2 years(!), so hopefully it works for you. 2004-01-17 03:21:21 +00:00
alpeb
1dd27ea7c0 fix id2name not returning cat_name. This avoided category names to be shown in phpbrain 2004-01-16 17:57:19 +00:00
Lars Kneschke
05b73a96b0 enable check for casesensitive usernames 2004-01-16 07:44:38 +00:00
Miles Lott
a2553c138b And a similar fix for getntpoffset() 2004-01-15 08:55:48 +00:00
Lars Kneschke
247d678ec0 fix for [ 865676 ] Windows does not support dates prior to midnight (00:00:00), 2004-01-15 01:25:29 +00:00
Lars Kneschke
69e0eea014 strip slashes from value only if it exists 2004-01-12 06:11:23 +00:00
Miles Lott
da05690b13 really fix Id string 2004-01-10 15:18:52 +00:00
Miles Lott
32b2d29415 format and fix Id string 2004-01-10 15:18:12 +00:00
Miles Lott
f61e52640f formatting 2004-01-10 15:14:01 +00:00
Miles Lott
e0e5763821 stripslashes on the first level of a posted array, per discussion with lars 2004-01-10 15:04:17 +00:00
Ralf Becker
618960e067 fixed the header 2004-01-08 09:07:07 +00:00
Ralf Becker
1e39ae995d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
==> translations for jscalendar and htmlarea now in own apps
2004-01-08 09:06:40 +00:00
Ralf Becker
3881bfbcc0 fix to allow to set more then one onLoad parameter in the body tag: the get concated, so dont forget the ';' after each one!!! 2004-01-08 09:06:15 +00:00
Ralf Becker
a4d5d57722 fix for find_image to use the aktive template set 2004-01-08 09:04:58 +00:00
Ralf Becker
a3a85a862d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
2004-01-08 09:03:17 +00:00
Miles Lott
5c76f8b80f fix email address 2004-01-07 09:22:07 +00:00
Miles Lott
27619fb663 check_db now takes $setup_info 2004-01-07 09:19:38 +00:00
Miles Lott
2808518560 spell check 2004-01-07 09:17:15 +00:00
Miles Lott
d0904ebde2 Reinstate setting of cookies similar to standard api logins by cookie; Reorganized login/logout logic; Switched to class var for $ConfigDomain 2004-01-06 13:38:45 +00:00
Miles Lott
27f2acb285 Switch back to prior setcookie method, but add path 2004-01-03 22:44:49 +00:00
Miles Lott
6a08a48087 Should fix array posting problem 2004-01-03 10:36:50 +00:00
Miles Lott
5dbef396f9 Appears to fix problems with bad data sent to a couple of functions, causing bad SQL generation 2004-01-02 22:49:10 +00:00
Lars Kneschke
b11297fc59 make password changing using ldap working again 2004-01-02 15:07:04 +00:00
Miles Lott
6d4b027d1a Fix error in nextmatchs (oops) switch tpl class to foreach() 2004-01-02 06:11:21 +00:00
Miles Lott
cb1f65ec54 Switch to foreach vs. reset/while 2004-01-02 06:04:35 +00:00
Miles Lott
ff8d604036 Maybe some minor speed improvements 2004-01-02 05:47:24 +00:00
Miles Lott
9cd1308d2f update authors ;) 2004-01-02 02:54:29 +00:00
Lars Kneschke
75e6e79ddb added stripslashes when magic qoutes is on 2004-01-02 01:42:23 +00:00
Miles Lott
e0d336f7ee Borrow cookie setting methods from api sessions class as test for IE issues 2004-01-02 00:19:04 +00:00
Ralf Becker
65034dab5a small fix to get sitemgr working with php4 sessions 2003-12-29 21:10:46 +00:00
Ralf Becker
21ccc36222 added 2 functions to:
- add a user/group
- add an ACL record
for use by all default_records.inc.php files
2003-12-29 21:05:06 +00:00
Miles Lott
0f85f3763f Modified md5_cryptpasswd() function to create {md5}xxx style password;
Add actual function to deal with sha passwords, and added ability for use of ssha;
2003-12-28 17:27:34 +00:00
Miles Lott
4f382debb6 Show correct copyright for this file 2003-12-28 15:19:25 +00:00
Miles Lott
eaad270825 Another spell-check and wrapper added 2003-12-28 14:54:17 +00:00
Miles Lott
6d5de5038e mime, not mine 2003-12-28 14:51:24 +00:00
Miles Lott
e506ffa377 fix string offset error - maybe php5 only 2003-12-27 18:05:20 +00:00
Ralf Becker
51b445e0fb make it a bit more xhtml compatible: lowercase tag- and attribute-names
added charset to htmlspecialchars (might fix some probs with chiniese charsets)
2003-12-26 21:00:00 +00:00
Ralf Becker
96b8f96ad2 bugfix: in days_between (missing brakets) 2003-12-26 20:58:43 +00:00
Ralf Becker
5f91c1c62c fixed bug in id2name 2003-12-23 22:24:55 +00:00
Miles Lott
82e79812d3 This might fix the index creation error - will be testing asap. 2003-12-23 13:54:45 +00:00
Lars Kneschke
c839398de4 hack to check for cn and sn, which must be set in ldap 2003-12-22 12:46:38 +00:00
Lars Kneschke
65d2177084 enabled domainnames with . in the name
kneschke.de becomes kneschke_de as variable name
2003-12-22 11:43:06 +00:00
Miles Lott
53352e87eb Instead of adding a default port in the form, set one based on the default_db_ports var in manageheader.php 2003-12-22 02:57:52 +00:00
Miles Lott
021ec31824 Fix error caused by move to str_replace - upgrade works again 2003-12-22 00:27:43 +00:00
Miles Lott
0e9e0c2da2 formatting, ereg_ replaced, remove rude comments 2003-12-20 18:41:42 +00:00
Miles Lott
6f2f6d23dc use str_replace() where possible 2003-12-20 18:34:55 +00:00
Miles Lott
07af3f1b54 use str_replace() where possible and fix some spellings 2003-12-20 18:32:53 +00:00
Miles Lott
90dbed8d0e use str_replace() where possible 2003-12-20 18:29:02 +00:00
Miles Lott
e51d3f26ab intval -> (int) 2003-12-20 18:26:24 +00:00
Miles Lott
13813b67de Change error message to egw 2003-12-19 10:46:37 +00:00
Ralf Becker
2aa000eac8 fixed fallback to images in the api-dir, did not work if no api-image was used before 2003-12-18 06:11:08 +00:00
Miles Lott
b5854dbaee missed one call in last commit 2003-12-18 02:27:03 +00:00
Miles Lott
3c12d529f8 Modifed GetIXSQL routines to actually return valid index SQL for postgresql; This needs to be tested further, but does appear to work. 2003-12-17 13:58:02 +00:00