Commit Graph

1830 Commits

Author SHA1 Message Date
Miles Lott
7c1621ea40 Move definition of SEP ahead of class instantiation so that php5 won't barf if we use SEP in one of those classes 2003-10-19 18:05:27 +00:00
Miles Lott
ed5e8a5f8e Updated to work with current code (somewhat) 2003-10-19 15:15:00 +00:00
Miles Lott
61bf56843f Oops, this is a more accurate count 2003-10-19 08:12:16 +00:00
Miles Lott
c02c4f563e possibly more efficient record counting query, and fix limit case on queries that return less than limit 2003-10-19 08:06:52 +00:00
Miles Lott
fb3eb50ef8 Close potential security hole for xmlrpc/soap calls 2003-10-18 11:15:48 +00:00
Miles Lott
dec0934ee3 Now using copyobj() - please advise if it breaks and how 2003-10-18 11:12:19 +00:00
Miles Lott
2da29d2861 Add one note about baseline tables 2003-10-18 10:54:47 +00:00
Miles Lott
4c74f7e463 Allow passing of single, non-array paramater for e.g. POST or GET to get_var() 2003-10-18 10:36:34 +00:00
Miles Lott
0103ae5f98 silence the error in another way 2003-10-17 07:45:56 +00:00
Miles Lott
521a3b94d8 These are not strings... 2003-10-17 07:31:23 +00:00
Ralf Becker
94a2f4e043 added function-backtrace to db-error-messages 2003-10-16 16:59:31 +00:00
Ralf Becker
cb12c82707 added function to generate a function-name backtrace 2003-10-16 16:41:35 +00:00
Ralf Becker
3f3d0c79e9 added function to generate a function-name backtrace 2003-10-16 16:34:45 +00:00
Ralf Becker
7abb19b143 added message to login: account is expired 2003-10-16 14:55:12 +00:00
Miles Lott
3a298a8c7d Check that $var is set and not False - some installs will error on the array element not being set 2003-10-16 11:41:40 +00:00
Miles Lott
e07e330732 Add copyobj() function for php5 object cloning vs php3/4 copies, fix _debug_array() for php5 2003-10-16 10:37:31 +00:00
Miles Lott
7d999cd13c Moved inclusion of extension classes after definition of extended class, for php5 (and 3 ;) ) 2003-10-16 10:27:34 +00:00
Lars Kneschke
b2e4e6327e big-5 is supported by php 4.3.X 2003-10-16 04:59:46 +00:00
Lars Kneschke
616a09880a hide errormessage about unsupported charset 2003-10-15 19:15:25 +00:00
Ralf Becker
726607234e register globals 2003-10-15 13:18:13 +00:00
Ralf Becker
f7b2cefbf3 not longer used, as we require php4 now 2003-10-15 13:15:06 +00:00
Ralf Becker
7363643128 removed stupid debug messages 2003-10-15 12:29:27 +00:00
Ralf Becker
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
Ralf Becker
842adc7ae0 reverted lars/dave's change as it does not work !!!
PHPSESSIONID is wrongly encoded in the url
2003-10-14 12:50:51 +00:00
Ralf Becker
26eef15651 suppressed warning about unknown user/pw if db not yet created 2003-10-14 10:06:07 +00:00
Ralf Becker
7818d9902d phpGroupWare --> eGroupWare in login blocked message 2003-10-14 09:32:39 +00:00
Ralf Becker
cfdfd365c6 translated app-name about to phpgwapi, seems to fix problem with open-basedir-restrictions 2003-10-12 19:33:32 +00:00
Lars Kneschke
73d8277b40 fixes for warning about unsupported charset 2003-10-11 20:55:16 +00:00
Lars Kneschke
d8692a29f7 some small fixes from dave hall 2003-10-11 13:30:52 +00:00
Lars Kneschke
ec9e4e621e little fix from dave hall 2003-10-11 13:26:01 +00:00
Lars Kneschke
5fb17b08f6 search for app/template specific css.file
put your app specific css in appname/template/default(or templatename)/app.css
2003-10-11 07:58:40 +00:00
shrykedude
18f7b1e05f pgsql fix for empty var 2003-10-11 00:02:23 +00:00
Ralf Becker
d73cfd3122 fixed get_account_name to convert the values 2003-10-10 12:45:07 +00:00
Ralf Becker
71c2acae50 fix for not set system_charset 2003-10-10 12:06:40 +00:00
Lars Kneschke
00db10168f fix convert for us-ascii 2003-10-10 05:01:49 +00:00
Lars Kneschke
cb65e22c87 typo 2003-10-10 04:42:08 +00:00
Lars Kneschke
a7318559fe converted to convert for correct utf-8 support 2003-10-10 00:55:43 +00:00
Ralf Becker
33389df33d new param to translate, for string to add if no translation present, default '*' 2003-10-10 00:07:20 +00:00
Ralf Becker
e291aa7339 charset 2003-10-10 00:05:28 +00:00
Lars Kneschke
43ec195c6e added check if function iconv exists 2003-10-09 23:38:24 +00:00
Pim Snel
0ee40b75d5 added template var for logout icon in setup 2003-10-09 23:12:41 +00:00
Ralf Becker
9c322199d6 fixed bug in conversation table --> schema for bigint 2003-10-08 19:08:30 +00:00
Ralf Becker
0cba91137e added fallback to iconv if mbstring is not availible and killed a waring if no langs installed 2003-10-08 10:50:24 +00:00
Ralf Becker
7b409a410d some sql-insertion protection 2003-10-08 00:00:55 +00:00
Ralf Becker
3360c838f6 use db from phpgw_setup if the phpgw one is not availible 2003-10-07 22:38:06 +00:00
Ralf Becker
519e874afb use db from phpgw_setup if the phpgw one is not availible 2003-10-07 22:02:30 +00:00
Lars Kneschke
b3dfa3d386 little fix for gb2312 2003-10-07 20:56:33 +00:00
Ralf Becker
4c922ae28a applied ilia's patch for binary columns (mysql returns varchar(#) binary) 2003-10-07 16:41:00 +00:00
Ralf Becker
49d4216305 fix for not set up user-charset 2003-10-07 15:05:14 +00:00
Ralf Becker
10318b0554 fixed annoying typo, that caused the lang-files to be loaded on every login 2003-10-07 09:59:40 +00:00
Ralf Becker
cb01770f48 small fix 2003-10-07 01:02:19 +00:00
Lars Kneschke
d13e4685dc added kses-0.2.1 2003-10-06 11:46:38 +00:00
Ralf Becker
6e69d6965f converting all charsets to lowercase 2003-10-06 11:30:21 +00:00
Ralf Becker
cfc0ec8eb4 updated translation_sql::convert:
- now handles arrays or strings
- autodetects the from charset if not set
- uses the system_charset as to charset if not set
2003-10-05 15:41:59 +00:00
Ralf Becker
c7407b9ed1 small addition to automaticaly deal with a not set system-charset 2003-10-05 13:45:46 +00:00
Ralf Becker
def9a6e4df fix for new install 2003-10-05 10:57:50 +00:00
Ralf Becker
0ca093c04f added multibyte-support for conversation of other charsets then utf-8 and iso-8859-1 2003-10-05 10:44:16 +00:00
Ralf Becker
90faf20801 added some db-unspecific functions to deal with db-results-sets as associative arrays and form new querys from column/value arrays with automatical addslash/intval based on the column-type 2003-10-05 10:42:07 +00:00
Ralf Becker
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
Ralf Becker
30bdbd48a9 biger Text for the y-axis-texts, transparent background and other cosmetics 2003-10-04 15:31:31 +00:00
Ralf Becker
878f345099 changed the gant-chart-lines to bars 2003-10-04 14:49:39 +00:00
Ralf Becker
c65032a812 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:27:38 +00:00
Ralf Becker
658dfdce96 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:24:34 +00:00
Ralf Becker
eeae3102df fix to give the files in vfs only minimal rights (rw for owner, rwx for owner on dirs) 2003-10-04 07:37:03 +00:00
Ralf Becker
8c0e4fd6d7 fixes to get dave's mime_magic class working 2003-10-03 11:58:51 +00:00
Ralf Becker
03e9bb126d fixed add for numerical values 2003-10-03 10:00:21 +00:00
shrykedude
8a2a675b37 expanded !$var check to use empty($var) 2003-10-03 02:01:21 +00:00
Ralf Becker
c218e158b1 added a check agains ldap-insertion in the login-name 2003-10-02 21:01:37 +00:00
Ralf Becker
8ca7b7af8a killed some warnings if open_basedir restrictions do not allow to access the session-files 2003-10-02 16:58:46 +00:00
Ralf Becker
44eaf69f8f imported ceb's changes til 2003/10/01 (reverted the german lang-file to iso8859-1) 2003-10-02 11:16:50 +00:00
Ralf Becker
30a4f77153 fix for delete with empty account_id 2003-10-01 14:50:34 +00:00
Lars Kneschke
67277ed3e8 let the cookie expire after 3 hours 2003-09-28 15:45:07 +00:00
Lars Kneschke
50cee38d83 [ 813855 ] project fix for bug 813570
https://sourceforge.net/tracker/index.php?func=detail&aid=813855&group_id=78745&atid=554340

Author: Shryke Dude (shrykedude)
2003-09-28 14:07:13 +00:00
Lars Kneschke
8dc102aa50 code from jarg - dunno what it does :) 2003-09-28 12:31:16 +00:00
Lars Kneschke
209f477b20 make this class working on windows too 2003-09-28 12:14:08 +00:00
Lars Kneschke
72f6806810 fix for bug [ 805146 ] ldap addressbook query slow
https://sourceforge.net/tracker/?func=detail&atid=554338&aid=805146&group_id=78745
2003-09-28 11:06:44 +00:00
Lars Kneschke
171addbc59 use stream_set_timeout only with php 4.3.0 and above 2003-09-28 10:32:12 +00:00
Lars Kneschke
509aff2cda make it working again 2003-09-28 10:17:21 +00:00
Ralf Becker
ff3a3ce3c8 fixed schema_proc to deal correct with empty ('') defaults 2003-09-25 01:32:08 +00:00
Ralf Becker
54bcb34236 fixed account-enabled check for account-storage != ldap 2003-09-24 12:21:38 +00:00
Lars Kneschke
d0d9dc1721 patch for [ 807213 ] HTTP-AUTH fails
solved by Bernd Oeggl (beoe)
2003-09-24 05:44:57 +00:00
Lars Kneschke
d6a6b37cde use proxy authentication if needed 2003-09-24 05:23:29 +00:00
Ralf Becker
060311ab7d fixed prob with login-scree-message and no cookie 2003-09-23 21:26:58 +00:00
Lars Kneschke
d26cfa20e9 little tricky error 2003-09-23 14:56:25 +00:00
Ralf Becker
1ed1b0f431 some fixes for setup:
- back-button for manage-header
- header-update shows lang-selection
- lang-selection is sorted now alphabetical
- lang-selection in header-admin shows up only if called the first time (without login)
- manage-languages and add-applications respekt now different translations for the same phrase in different apps
2003-09-23 13:08:40 +00:00
Ralf Becker
63d7cc09a3 extended historylog::delete to delete all entries of an app, to be used by setup 2003-09-22 23:43:48 +00:00
Ralf Becker
1433761aa6 some code-modernisation while looking for the fix to show title of disabled apps 2003-09-22 10:58:57 +00:00
Lars Kneschke
d1ffe11af9 fix for creating valid sql 2003-09-21 19:43:29 +00:00
Lars Kneschke
2a4b75c483 ldap fixes 2003-09-21 19:02:12 +00:00
Ralf Becker
90331f1b45 fix to allow '=' in urls and a lot of space to tab conversation in skwashd's comments 2003-09-21 14:04:13 +00:00
Ralf Becker
c30487281b vfs_sql::mkdir creates missing base-directories (like /home, when createing /home/<user>) now automaticaly and updates the directory content if the directory already exists. 2003-09-21 13:54:07 +00:00
Pim Snel
bae60c5128 fixed old theme support when css-dir is empty 2003-09-19 08:51:26 +00:00
Ralf Becker
43024ba1cc second (optional) param. to add_app to specify the language 2003-09-15 08:42:47 +00:00
Lars Kneschke
bfb56ec1de ldap fixes 2003-09-14 14:35:36 +00:00
Ralf Becker
3492fbbe3f code-cleanup and saved loaded apps in an array, so its save to call it more than once 2003-09-14 10:20:46 +00:00
Ralf Becker
cf20f79d91 added the html-class to the API 2003-09-14 10:19:42 +00:00
Lars Kneschke
8c40bd3358 imported phpmailer 2003-09-14 10:08:47 +00:00
Lars Kneschke
78c74e5726 ldap fixes again 2003-09-14 08:29:29 +00:00
Lars Kneschke
ea7f4ffde7 ldap improvments 2003-09-14 06:11:52 +00:00
Lars Kneschke
c579775999 again some ldap fixes
and

support for ldap version 3
2003-09-14 06:02:25 +00:00