Commit Graph

1813 Commits

Author SHA1 Message Date
Miles Lott
dc9a06b7ce Update inserts to account for new field type of preference_owner 2002-05-19 22:57:41 +00:00
Miles Lott
b08b5717b1 Add in sha passwd crypt for ldap (requires mhash to configure and use) ...
Concept by Matt Pavlovich <mpav@algx.net>
2002-05-14 01:02:19 +00:00
skeeter
a057be8a98 GNU Patch #301. 2002-05-13 23:40:56 +00:00
Miles Lott
8b5007c987 case-insensitive check for 1st char (some rdbms) 2002-05-13 23:39:30 +00:00
Miles Lott
ad9134c5d9 fix stupid sql error 2002-05-13 23:27:40 +00:00
Miles Lott
03a1333c4f Part two of two - implement filter by first char of last name, fullname, or company (for now) 2002-05-13 00:43:57 +00:00
Miles Lott
40494093e6 add remote ip check function (not used) 2002-05-11 19:30:10 +00:00
Miles Lott
08d18591cd cancel quotes in search string 2002-05-07 12:54:12 +00:00
seek3r
d23d4b1235 adding msg classes. Still need additional cleanup work on the _sock classes, but they are good enough to toss in here for now 2002-05-06 09:05:44 +00:00
Miles Lott
7bb5e67739 this should be a fix for the account_type setting in get_list, but it is hard to believe it was actually this broken 2002-05-05 02:51:26 +00:00
Miles Lott
4b0053280f remove extra ) 2002-04-30 11:42:08 +00:00
skeeter
14a4078963 More utilization of the get_var() function. Also, added a define() of the menuaction. This will cut down on repetitive calls to get_var for the same variable. 2002-04-30 03:35:52 +00:00
skeeter
aee8a57ece Added the SERVER usage for HTTP_SERVER_VARS, and added the 4.2.0 check to use the newer [common_functions.inc.php>method>]. 2002-04-30 03:01:01 +00:00
skeeter
0337992b16 Taking advantage of the get_var() function. 2002-04-29 00:29:12 +00:00
skeeter
14c913404c Some cleanups of warnings. 2002-04-29 00:27:32 +00:00
skeeter
11d91ef485 Bad, Bad, Bad, on my part. 2002-04-27 22:32:18 +00:00
skeeter
63b54968a3 A few changes to bring in line with what the phpGW.org site is running. 2002-04-27 22:14:33 +00:00
Miles Lott
23ec34bd88 OK, maybe this fixes IE downloads (part of GNU patch #136) 2002-04-24 13:27:46 +00:00
Miles Lott
068b4bc3c1 add timelimit setting for large requests (same as .14) 2002-04-24 13:21:10 +00:00
Miles Lott
30e832e992 Better ldap filtering (GNU Bug# 100340) 2002-04-24 12:15:31 +00:00
Miles Lott
0a91bc00b7 Use is_array() instead of gettype() 2002-04-23 02:18:30 +00:00
Miles Lott
8443b10a60 Clear up syntax error, but trapping dl errors is still impossible... 2002-04-22 00:01:18 +00:00
Miles Lott
8af4b49bef Add new class to test for php extensions and optionally attempt to load them 2002-04-21 23:00:42 +00:00
skeeter
53344baf01 GNU Patch #246. 2002-04-21 17:42:40 +00:00
Miles Lott
918233979c remove echo 2002-04-20 16:57:56 +00:00
Miles Lott
425b4520c2 Add str_pad() and defines 2002-04-20 16:54:21 +00:00
Miles Lott
99455f4c8f Added new class for reading/writing tar(gz) files. This was written by
Josh Barger <joshb@npt.com>, who was kind enough to convert his license
to LGPL.  It has been munged a bit to make it php3-compatible.
2002-04-20 16:31:16 +00:00
skeeter
0403808c94 Fix for Oracle support. 2002-04-18 19:14:25 +00:00
skeeter
4f422d4608 Added GNU Feature Request #100744. 2002-04-17 23:43:29 +00:00
skeeter
264313338f Made the rest of tr_color as GLOBALS. 2002-04-17 23:41:55 +00:00
skeeter
99afed5175 Had a - instead of an =. 2002-04-17 15:31:53 +00:00
skeeter
6ef3aa92a1 GNU Patch #244. 2002-04-17 11:58:09 +00:00
skeeter
d3887570b2 This part of a major fix for the calendar. 2002-04-16 15:45:50 +00:00
skeeter
2cc39d765e It was missing a '. 2002-04-15 04:03:09 +00:00
skeeter
44ab61718d Fix for double 'Select One' choice in user preferences. 2002-04-15 03:41:04 +00:00
skeeter
5f9a2dbc82 Fixed Call-by-reference. 2002-04-15 02:26:21 +00:00
skeeter
78950a92bf Fix for mssql or ODBC support. 2002-04-14 03:27:50 +00:00
Miles Lott
bfc712116d format, add one cache header 2002-04-13 21:38:34 +00:00
Miles Lott
c7f4184b69 Fix for addressbook custom fields 2002-04-13 03:34:23 +00:00
skeeter
a862c217c0 Cleaned up the extra comma at the end of the langs that are installed. 2002-04-13 03:02:22 +00:00
skeeter
9b853a9ba0 This should fix the sending of any emails and the saving to the users sent folder. 2002-04-12 14:21:57 +00:00
skeeter
33267908d2 Fixes for a deprecated call by reference. 2002-04-11 14:12:34 +00:00
Miles Lott
3f78583e6e This has worked for awhile now in php3/4 2002-04-11 10:49:06 +00:00
seek3r
1ef33ce9ae fixed php3 support problem 2002-04-11 06:11:44 +00:00
skeeter
5a609ab5da Fix for a call by reference. 2002-04-10 18:30:33 +00:00
skeeter
475489d2d2 Fixed it so the phpgw_website will not be visible in the get_tempalte function. This should stop the demo from being dorked up. 2002-04-10 18:29:28 +00:00
skeeter
4e929d519c Cleanup a few small warnings. 2002-04-09 23:48:36 +00:00
skeeter
bbbb67a74e GNU Patch #108. 2002-04-08 14:23:27 +00:00
Miles Lott
3c8fffb1e7 Manageheader now handles editing of multiple domains 2002-04-07 23:56:03 +00:00
skeeter
3be9e05fa3 Clean-up of more warnings. 2002-04-07 20:01:13 +00:00
skeeter
cf031d14bc Clearing up a couple of warnings. 2002-04-07 17:51:37 +00:00
skeeter
27d6f340bf GNU Patch #127 - create_defaults being called twice. 2002-04-07 14:28:43 +00:00
skeeter
92c0505fe3 This now allows the _debug_array() to either print or not print the debug info. 2002-04-06 15:13:51 +00:00
skeeter
1ffc7e1ecc GNU Patch #210. 2002-04-04 20:52:04 +00:00
skeeter
e54b0278c7 Applied GNU Patch #205. 2002-04-02 14:15:24 +00:00
Miles Lott
b4f2cfaae4 php3 failed to set the controls, now checking for is_array vs. != '' 2002-03-31 14:22:08 +00:00
Miles Lott
87f3a8e6b8 add string return option to gethttpsocketfile() 2002-03-30 16:32:08 +00:00
skeeter
b221f83ec2 Added the db_addslashes() call to name2id(). 2002-03-26 19:25:49 +00:00
skeeter
b0999ae0e1 GNU Patch #180. 2002-03-26 04:37:03 +00:00
Miles Lott
1e1fd8efe1 update to reflect new classnames 2002-03-20 03:35:42 +00:00
Miles Lott
fa37f0a481 Change class names internally to fix object creation (?), add todo 2002-03-20 03:30:56 +00:00
ceb
1f178214ba update img path 2002-03-16 03:30:03 +00:00
ceb
eafc493ef3 update to use pix in api img dir 2002-03-16 03:29:32 +00:00
skeeter
9dd8a8d708 in_array() should now be compatible with php3. 2002-03-16 02:59:13 +00:00
skeeter
50175afd99 Adding line/file error catching to table_names(). 2002-03-16 02:58:03 +00:00
skeeter
3be3f5d506 Interim step in moving a a<less|more>thanb to some sommon functions to use it for app_registry functions. 2002-03-16 02:56:57 +00:00
ceb
85e547f31f update img path 2002-03-15 22:27:31 +00:00
ceb
a1aa3788b9 added function to fetch some accountsdata 2002-03-14 02:26:21 +00:00
ceb
5471e1fda9 added function to fetch some accountsdata 2002-03-14 01:42:15 +00:00
ceb
0c22fc3f0b update cats 2002-03-13 16:30:51 +00:00
ceb
f612468342 update cats 2002-03-13 04:16:46 +00:00
Miles Lott
225e7f6a82 fix for BUG# 100527 2002-03-10 18:44:59 +00:00
Miles Lott
bb762ae965 Use in_array() 2002-03-08 04:10:58 +00:00
Miles Lott
ddfa5d9d4b use in_array() instead of class function; formatting 2002-03-08 04:08:12 +00:00
Miles Lott
611c40af04 switching to is_??? 2002-03-08 04:02:44 +00:00
Miles Lott
900cc6eb52 expire setup login after 20 minutes of idle time - cookies are reset on each page load 2002-03-06 03:00:23 +00:00
Miles Lott
ce8be5f8d3 remove some crap i was working on 2002-03-06 02:47:47 +00:00
Miles Lott
438d2def56 Disable expiration of cookies by default 2002-03-06 02:42:15 +00:00
Miles Lott
9279e65f17 Add expiration of 20 minutes (to be changed to idle time check later); Change
login behavior to be able to verify acceptance of the cookies before showing
the page (using refresh - tested on NS, Mozilla, IE, Konqueror)
2002-03-06 02:40:30 +00:00
Miles Lott
aaccb90b2e Use only the phpgw_setup->oProc object 2002-03-04 07:18:46 +00:00
Miles Lott
2d742a0488 one more fix for oProc 2002-03-04 05:00:08 +00:00
Miles Lott
8fcb9b1dcf Fix name of oProc object to match current table scripts 2002-03-04 04:49:42 +00:00
Miles Lott
b95925ae4d add one missing lang call 2002-03-04 03:12:50 +00:00
Miles Lott
6d81d7547c Add lang for invalid password 2002-03-04 03:10:57 +00:00
Miles Lott
be67e0d962 Add lang for logout message 2002-03-04 03:08:47 +00:00
Miles Lott
79d886e345 Hopefully better logic for login/logout of the two setup logins 2002-03-04 02:55:53 +00:00
Miles Lott
ca9651d890 Moving schema_proc classes to the api 2002-03-03 21:48:34 +00:00
Miles Lott
7561909c9b Moving new setup classes to the api 2002-03-03 21:47:30 +00:00
Miles Lott
78d862aacb minor formatting and grammar 2002-03-02 04:08:20 +00:00
skeeter
6970aefe57 Split out common files from functions.inc.php so that the API and setup can have a single source base. 2002-03-01 12:31:50 +00:00
Miles Lott
2e3ec5c126 Add list_apps function back (new name) - this needs touching up 2002-03-01 10:34:12 +00:00
Miles Lott
e61f24032b Modified to use new get_var() api function for start, sort, etc... 2002-02-28 03:53:32 +00:00
skeeter
9a63aa57ae Adding the new get_var(). 2002-02-28 03:46:34 +00:00
Miles Lott
7ccf86785b add lastpasswdchange as zero in create() 2002-02-27 03:48:52 +00:00
Miles Lott
038cc6d0e2 Updating to ralf's latest version 2002-02-24 21:21:53 +00:00
skeeter
1cd5737c51 Will now download the requested app. Still need to add the setup/install process to it. 2002-02-24 21:00:59 +00:00
Miles Lott
4aea8e09ad make _debug_array() look good on php4 again 2002-02-23 18:07:45 +00:00
skeeter
caeeb6a766 Missed another semicolon. 2002-02-23 14:39:24 +00:00
skeeter
30aad35397 Missed a semicolon. 2002-02-23 14:35:31 +00:00
skeeter
924617a0e4 Renamed the system call package_app_byid() to package_app(). 2002-02-23 14:23:13 +00:00
skeeter
ce5d0d62e9 This is a few after the fact cleanups. I think this will now handle passing either the app_id or the app_name to package_app(). 2002-02-23 13:40:31 +00:00
skeeter
a3c1738bec This will now create the files after d/l'ing them. This could be dangerous as it actually overwrites any files that are in your apps directory. Remember, overwrites, it does not delete the app directory and reinstalls. Maybe it should as it would need to be allowed to remove old unused files. 2002-02-23 13:22:59 +00:00
Miles Lott
4b878ddca9 adjust inline docs 2002-02-20 04:57:49 +00:00
Miles Lott
54ce2d1d33 Modify to go back to old behavior (load langs only on first use of translate() 2002-02-20 04:44:19 +00:00
Miles Lott
15bc5ac202 Switch to using class var for $lang; translate function now does only this, and
the constructor is used to load the lang array;  I think this is faster in one place,
slower in another;
2002-02-20 04:30:19 +00:00
skeeter
6697ac21b4 Adding new functionality. Can now request an app to be delivered to your system from a host server via XML-RPC. The app is passed via an associated array of [] = base64_encoded();. Using base64 to maintain binary file types (images/foreign lang files). 2002-02-20 03:46:27 +00:00
jengo
282c4198a4 - Added class to check network connections via ping 2002-02-19 17:51:09 +00:00
Miles Lott
090b9022b6 Add printing of var type in print_r() 2002-02-18 10:25:57 +00:00
skeeter
9742f613e6 One more file needed to be changed over for the language table update. This is for the lang function. 2002-02-18 01:54:15 +00:00
Miles Lott
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
Miles Lott
6422885811 Formatting 2002-02-17 18:43:31 +00:00
Miles Lott
6c8ce90ce0 Fix version check and display 2002-02-17 15:34:13 +00:00
Miles Lott
13cc3694e7 rework function to remove php3 error - need to test on php4 again 2002-02-16 14:30:40 +00:00
seek3r
a91c9e31b2 left debugging crap 2002-02-16 03:58:03 +00:00
skeeter
220e0a5c62 Adding parts of new app registry system. Initial calls allow get_appby[id/name] and find_new_app. More to follow. 2002-02-15 19:05:40 +00:00
skeeter
e9fd4b08b4 Small cleanup in the query. 2002-02-15 18:57:30 +00:00
skeeter
d369ae674a Added the var to the class variables. 2002-02-15 18:55:11 +00:00
skeeter
562a34a9c5 GNU Support #100373 - Fix for datetime history not being saved to the table. 2002-02-15 12:32:02 +00:00
skeeter
74dcff3c83 GNU Patch #105. 2002-02-15 01:25:20 +00:00
seek3r
3bfa6c85d3 extending print_debug() to be able to trap the data and toss it into a database as an option 2002-02-14 18:57:11 +00:00
seek3r
d3311b7244 updated the calls to print_debug() in the functions.inc.php 2002-02-14 07:29:26 +00:00
skeeter
5a46e73fef minor rewrite of a set of &quote; to ' and changing the comment to say ExecMethod instead of ExecObject. 2002-02-14 02:22:17 +00:00
skeeter
1f5241ca4c GNU Patch #132 - User friendly warnings for unsuccessful mkdir(). 2002-02-14 02:16:14 +00:00
seek3r
878040118f corrected a typo 2002-02-12 10:09:53 +00:00
seek3r
86c430e66e finished multi-dimensional array support for data type debugging 2002-02-12 10:06:06 +00:00
seek3r
2df5d74dd3 fixed header to use and added my debug constants along with my replacement for print_debug 2002-02-12 09:10:40 +00:00
Miles Lott
3ea803c565 Add single_tpl() - allows an included file to return a value instead of echo, etc. 2002-02-10 19:34:11 +00:00
Miles Lott
84eb1201ce formatting; reorder by alpha 2002-02-10 12:28:24 +00:00
Miles Lott
9e110669d7 formatting 2002-02-10 12:17:19 +00:00
Miles Lott
6ad604a565 Formatting 2002-02-10 12:04:10 +00:00
Zone
5d6721af18 PHP3 fixes 2002-02-10 04:19:43 +00:00
Miles Lott
e00280c5b0 Add one other weird exclusion in createobject() (this should fix passing 0
to xmlrpcval class for an int type; formatting;
2002-02-09 21:19:22 +00:00
Miles Lott
ad06fdf765 formatting 2002-02-08 05:21:30 +00:00
Miles Lott
9dcc98b2d5 Formatting, replace gettype with is_??? 2002-02-08 05:04:33 +00:00
skeeter
03358f1bfa A couple of small data caching in find_image(). 2002-02-03 00:52:53 +00:00
ceb
c8352b4ae8 changed function filter plus search to pass and directly 2002-02-01 03:36:57 +00:00
ceb
340bc3c184 added type to function read_repository 2002-01-31 02:44:52 +00:00
Miles Lott
30684926fe Cleanup some globals, commented crap 2002-01-29 00:48:03 +00:00
Miles Lott
99ff77322a GLOBALS and auto_add fix 2002-01-29 00:40:16 +00:00
Miles Lott
481eb987bc Comment out alpha app sort until some configuration is written 2002-01-28 04:07:41 +00:00
ceb
03e18e60cd added version to [phpgw_info][apps] array 2002-01-28 01:52:36 +00:00
Miles Lott
8bf6b86674 Change to use phpgw_info for image type selection 2002-01-22 04:33:36 +00:00
Miles Lott
1918905b1c Change default back to gif, change switch value to phpgw_info element for config later 2002-01-22 04:30:51 +00:00
seek3r
bd2ca67eb1 now only removes all gifs is policy is set 2002-01-21 19:13:26 +00:00
seek3r
3b939f5158 now only removes all gifs is policy is set 2002-01-21 19:04:57 +00:00
seek3r
0a001801f9 oops 2002-01-21 18:51:40 +00:00
seek3r
be2435ce28 autoconvert .gif to .png 2002-01-21 18:49:57 +00:00
seek3r
e7a82bc085 allows image pref order 2002-01-21 17:51:54 +00:00
angles
5761dd24a6 nextmatches arrows not plain href, no js anymore 2002-01-17 20:52:31 +00:00
Zone
4029a33d16 Switch to arrayized parameters, various fixes 2002-01-16 06:36:51 +00:00
Zone
467ccb3213 Add array_merge () 2002-01-16 06:33:06 +00:00
skeeter
7991524018 This will disallow groups from logging into the system. 2002-01-16 02:10:56 +00:00
ceb
43c6887ae8 update cats 2002-01-15 02:52:51 +00:00
skeeter
25c4b80150 Trying to get a speed increase out of the cache. 2002-01-13 04:06:40 +00:00
skeeter
3f95bef544 Added a call to sessions->delete_cache() and a call to re-read the users session data when being set to the default preferences set by the admin. 2002-01-13 03:58:41 +00:00
skeeter
38684d2cf6 Added the ability to change the account_lid in SQL. LDAP already had that ability. 2002-01-13 03:53:43 +00:00
ceb
9783df1431 added limit_query call to the return_sorted_array function; but still doesnt work correctly 2002-01-13 00:39:26 +00:00
skeeter
27e9b9af70 Fixed the parameter substitution. Will now take parameters named either 'p1' or 'p_1'. 2002-01-12 22:12:40 +00:00
ceb
334e5f0b96 added new function to sort cats list 2002-01-12 04:08:35 +00:00
Miles Lott
5cff4754a0 fix banner 2002-01-11 02:01:24 +00:00
skeeter
3b71750055 This will allow admin members to grant group managers to user(s) of a group. 2002-01-10 18:18:44 +00:00
angles
1dd4f8b6ac add support for sub-level data manipulation in prefs 2002-01-10 10:09:10 +00:00
Miles Lott
3e12c20d7c GLOBALS 2002-01-08 03:37:51 +00:00
skeeter
846d546eb5 This should fix any HTML/js errors wen viewing apps which include a '-' in the name. 2002-01-08 02:14:47 +00:00
seek3r
c13ade18dc Several fixes in this commit because the switch from sf to savannah had to come from a day old copy of our cvs tree. Much was fixed including email being fixed for PHP3 compatibility, skeeter updated all the setup.inc.php files to say they would be comaptible with the new API version, ceb made fixes to the projects app based on newly submitted bug reports. Im sure there are more but I dont know all the details. Oh, I did add a print_r() to the php3 support files. 2002-01-07 10:50:42 +00:00
skeeter
1a1018cea4 Clears up a few warnings when logging warnings/errors to a log file. 2002-01-06 06:06:30 +00:00
skeeter
7a13d1fef3 Clears up a few warnings when logging warnings/errors to a log file. 2002-01-06 06:01:07 +00:00
bettina
ade7a6bdbf address format 2002-01-05 23:57:41 +00:00
Miles Lott
836099d5b4 Remove old accounts file, fix typo in last commit 2002-01-05 21:00:19 +00:00
Miles Lott
985fc8292c Move peer server config; add option to set default expiration for auto-created accounts 2002-01-05 20:40:44 +00:00
bettina
5d7c74b89d added address formats 2002-01-05 20:31:36 +00:00
Miles Lott
fe3e41b100 hide debug 2002-01-05 15:33:46 +00:00
skeeter
10077bcb4c I think this is nothing more than a formatting change. 2002-01-05 02:24:10 +00:00
seek3r
9468a22fbb Fixing justweb interface and made a change to the navbar function so that it always has the icon_hover set. It wasnt for home, preferences, logout and about 2002-01-04 16:47:26 +00:00
Miles Lott
0b847d98d7 Add optional debug to cmp_version_long() 2002-01-04 04:44:09 +00:00
Miles Lott
95ca582a08 Switch from asort to ksort for navbar (still need to add config to disable
this); formatting
2002-01-04 04:06:13 +00:00
Miles Lott
3279692e7a Check that preferences is an object (for use from setup) 2002-01-03 22:02:13 +00:00
Miles Lott
530b0ee678 Fix a typo 2002-01-03 19:10:32 +00:00
Miles Lott
7e4ec5264e Add inline doc and data check for create_defaults() 2002-01-03 18:11:10 +00:00
Miles Lott
d61dadfa72 Add default prefs creation for a new user in create() - will need to do this either
here or in admin.
2002-01-03 18:02:10 +00:00
Miles Lott
7c92b70b90 Move constructor to the top of the class; Use one db object instead of two;
Do the query in return_array() only once; Make formated_list() a wrapper to
formatted_list();
2002-01-03 17:16:56 +00:00
bettina
f857c1eeff fixed wrong select of the global cats 2002-01-03 03:42:13 +00:00
seek3r
ac6c2d89c4 found problem with appsession. I was purging it on accident 2002-01-02 20:50:28 +00:00
seek3r
e2b86e9082 trying to fix app session 2002-01-02 20:45:57 +00:00
seek3r
28d77dcd4a this time I really think I fixed it 2002-01-02 20:29:51 +00:00
seek3r
efd94ed2b8 fixed for pre 4.1 versions of PHP (I think) 2002-01-02 19:45:11 +00:00
Miles Lott
ab5fcad3eb _debug_array() fix; add check for enforce_ssl config - no config dialog yet 2002-01-02 14:46:00 +00:00
seek3r
e9688a73ea getting rid of Template_new which no one seems to care for, and adding my own experimental class which should have a little better performance. 2002-01-02 14:37:15 +00:00
seek3r
32306abaf6 some additional performance improvements, including a switch to the hooks class which I finished up 2002-01-02 14:33:05 +00:00
seek3r
70261207f3 added php4 sessions class and added it as an option 2002-01-02 14:32:22 +00:00
bettina
3544a46dc3 update 2002-01-01 23:25:54 +00:00
bettina
8095e83fc5 update 2002-01-01 20:58:22 +00:00
seek3r
07e38bcecb fixed my new sorting so that admin will always be on top 2001-12-31 16:10:12 +00:00
seek3r
3fd860790a sorted the navbar apps 2001-12-31 15:57:30 +00:00
skeeter
ef1c96f268 I can't totally remember if the menuaction is always passed as a GET var, but this is more cleaner. 2001-12-30 17:03:26 +00:00
skeeter
b7900846cc Should clear up a bunch of warnings if the full 10 errors are not provided. 2001-12-30 17:00:54 +00:00
seek3r
e46451e26a trying to fix problem on phpgroupware.org cvs demo 2001-12-30 09:42:55 +00:00
seek3r
64cf67dab3 removed waste layer and doing finally working checkin 2001-12-30 08:24:41 +00:00
seek3r
abf54b9909 updated for changing the hover images 2001-12-30 04:58:39 +00:00
skeeter
5739976dfd Should be backwards compatible! Will now allow the formated_list() method to be called by ExecMethod(). This is now done by setting the format variable equal to an associated array. 2001-12-29 19:31:52 +00:00
skeeter
f70f3f0179 This will now allow RELATIVE_USER_APP to work correctly for the acl_check function. 2001-12-29 18:34:04 +00:00
skeeter
128a03f3c9 Small improvement on seekers caching of image files. 2001-12-29 18:10:31 +00:00
skeeter
30d0030b13 Changed the menuaction to GLOBALS['HTTP_GET_VARS']['menuaction'] 2001-12-29 18:02:51 +00:00
seek3r
5bb76f2110 fixed php3 compatibility and added some additional feature that is not yet complete 2001-12-29 17:35:13 +00:00
seek3r
b8797c7ad6 put in new find_image function that should help performance a fair bit 2001-12-29 10:57:35 +00:00
seek3r
9262d4d93c I had left in some debugging crap 2001-12-29 10:56:57 +00:00
seek3r
a245e7d06c fixed loading of template files. They didnt seem to work at all 2001-12-29 08:53:28 +00:00
skeeter
58a42faff7 Cleanups for a few warnings. 2001-12-29 02:37:22 +00:00
Miles Lott
4264fe7820 Return fault code 9 'Access denied' if no app access 2001-12-28 18:41:33 +00:00
Miles Lott
a4cefb9b28 Add acl check for app access prior to list_methods() call 2001-12-28 16:29:27 +00:00
Miles Lott
c257dbcf86 Remove email-specific functions 2001-12-28 15:31:06 +00:00
Miles Lott
3c70493ae1 Add array_pop(); test and confirm array_pop/array_shift; add comments to each
function; order functions alphabetically
2001-12-28 07:07:32 +00:00
Miles Lott
38983d71cf format elseif for consistency 2001-12-28 06:02:30 +00:00
Miles Lott
275a3eb70c remove extra debug var, format 2001-12-28 05:57:18 +00:00
Miles Lott
ddd4181979 Add array_shift() - needs testing 2001-12-28 05:48:33 +00:00
Miles Lott
c51972cd16 formatting 2001-12-28 05:32:59 +00:00
Miles Lott
31b533d00e formatting 2001-12-28 05:25:07 +00:00
Miles Lott
bfeeced206 Fix for get_form() when testing serialization; rename get_list() to index(); ldap
fix for empty cat_id
2001-12-28 04:29:31 +00:00
Miles Lott
06dc27229c Changes for hopefully better handling of the global crypto object; remove
calls to common class functions and setting of common class vars;
2001-12-27 15:48:42 +00:00
skeeter
827eb9a223 one big irritation was that the pwd() function would return an extra space at the end of the directory name. This shouldn't have occured, because spaces are not allowed as the first/last character of the name. 2001-12-27 15:20:03 +00:00
skeeter
42a23a93c3 Fixed a quote/tick problem. 2001-12-27 15:17:29 +00:00
skeeter
5e7170193e Allows the developer to define the text when printing out a list of errors/results/warnings. 2001-12-27 15:16:22 +00:00
Miles Lott
a47351e0ec fix use of unset (php3) 2001-12-26 16:59:51 +00:00
Miles Lott
81a5b54d6f formatting by way of testing appsession 2001-12-26 05:34:45 +00:00
Miles Lott
816b7e2d47 Do not decrypt and return if no data in db (decrypt returning garbage) 2001-12-26 05:24:51 +00:00
skeeter
c84ba29fd4 Cleanups for a couple of warnings. 2001-12-25 20:16:26 +00:00
seek3r
4d41699cdc fixed very minor inline doc text 2001-12-25 09:22:31 +00:00
Miles Lott
e5e315711c formatting 2001-12-25 02:58:49 +00:00
seek3r
25f80219c0 updated some inline comments for me to better test the inilinedocparser 2001-12-24 22:48:40 +00:00
seek3r
2397001fba fixed inline comments 2001-12-24 18:15:06 +00:00
seek3r
40cd00c1b8 added arrau_unique 2001-12-24 18:05:56 +00:00
skeeter
a50f04c36b Applied patch #492246. 2001-12-24 15:34:08 +00:00
Miles Lott
de3504fd20 formatting... 2001-12-24 05:24:57 +00:00
Miles Lott
d2fa0405b6 formatting 2001-12-24 04:55:24 +00:00
Miles Lott
1073d1d61a remove some extra spaces and tabs, change all print_r to _debug_array() calls 2001-12-24 04:53:07 +00:00
seek3r
522894534a updated inline docs for test 2001-12-23 10:55:19 +00:00
seek3r
7e57e1197a updated inline docs 2001-12-23 10:15:40 +00:00
seek3r
6c2caba4ba updated inline docs 2001-12-22 22:55:15 +00:00
Miles Lott
96cd727fa5 Make the mcrypt algorithm and mode used configurable in setup/config.php 2001-12-20 17:58:48 +00:00
Miles Lott
9f98fbb9a8 crypto update; remove (un)serialize from common (en/de)crypt; add checks for
data type to crypto (en/de)crypt; add optional debugging to crypto; add call
to db_addslashes in appsession; silence file_exists calls in one common class
function per skeeter
2001-12-20 16:19:55 +00:00
skeeter
c8b43c7c76 Trying to bring it in line with coding standards and a few speed enhancements. 2001-12-20 02:38:02 +00:00
Miles Lott
561da9b50f format 2001-12-19 20:03:01 +00:00
seek3r
8d708065f9 added sanitize and registervar function. 2001-12-19 19:53:58 +00:00
angles
05c1889974 completed rewrite of email preferences handling to schema based control mode 2001-12-17 18:37:59 +00:00
zone
7baea35779 Make static p_path_parts distinguish between objects and arrays 2001-12-15 05:14:22 +00:00
skeeter
8f19156054 New mime types added. 2001-12-15 04:25:24 +00:00
skeeter
8b614db835 Start of new 3-tier layout of the filemanager. Not fully coded, but a small preview. 2001-12-15 04:24:37 +00:00
angles
3796733e17 email pass handling now seperate functions in class crypto, so current code can migrate over if necessary 2001-12-14 23:51:45 +00:00
angles
d4b52f9fcb attempt fix in class crypto, data manipulation in encrypt and decrypt should mirror each other 2001-12-14 21:38:40 +00:00
mdean
80162794d8 Applied fix from Bradley Bell to enable epoch date usage. 2001-12-14 03:42:17 +00:00
Miles Lott
45468509d6 Disable a couple of functions 2001-12-13 06:23:42 +00:00
mdean
2767210843 Hopeful fix for possible infinite loop. Also added better tracking of explicit transaction state. 2001-12-13 00:50:21 +00:00
angles
111a88617b add globals to naked php_self in function redirect, comment out some broken code in template linux-at-work 2001-12-12 19:34:29 +00:00
Miles Lott
f0f01eefd5 i sure do like formatting code 2001-12-11 01:20:45 +00:00
Miles Lott
7143511e21 i sure do like formatting code 2001-12-11 01:14:43 +00:00
skeeter
cce860ee66 Hopefully I didn't screw anything up. Changed over to use GLOBALS, and alot of coding stds. Also, found a little problem with the filesize field. Trying to get the value, prior to having it filled in the database. Always returning '0'. 2001-12-10 04:04:56 +00:00
Miles Lott
86eed797cb Changes to soap functions 2001-12-10 02:09:31 +00:00
Miles Lott
9f568f8b33 Rollback soap server class to workable state, make login/logout work 2001-12-10 02:09:17 +00:00
jengo
2b1bf39cd3 Accounts that are created from auto_add() will now be able to change there passwords 2001-12-09 20:32:17 +00:00
Miles Lott
77a7f314b4 formatting 2001-12-08 21:55:13 +00:00
Miles Lott
290aa0d6da remove extra ")" 2001-12-08 15:37:34 +00:00
Miles Lott
f3b2fef00d format the last unformatted function 2001-12-08 15:34:12 +00:00
Miles Lott
caff6e06e8 php3 "fix" 2001-12-07 21:53:12 +00:00
Miles Lott
080706caab ha element is a string 2001-12-07 21:51:36 +00:00
angles
96c8ae454f combine left and right into one function returning an array, preparing for navigation of result sets 2001-12-07 20:22:13 +00:00
Miles Lott
a9b3fe5c84 Fix listApps() 2001-12-07 00:24:33 +00:00
Miles Lott
fa7193d2d4 Wrap log object in is_object for apps that can't use this for some reason 2001-12-06 17:56:38 +00:00
Miles Lott
8e8b68bea7 silence object test 2001-12-06 16:26:08 +00:00
Miles Lott
082f05caea Use db_addslashes to insert log message 2001-12-06 16:10:55 +00:00
Miles Lott
60e82152d5 Finally fix return values, I hope 2001-12-06 15:51:06 +00:00
Miles Lott
6d507464c0 Return correct error objects 2001-12-06 14:43:05 +00:00
skeeter
ea096e29ce Small fix for a blank cat_id being passed to id2name(). 2001-12-05 01:32:32 +00:00
Miles Lott
f4fcd97d1f Fix (?) error report for invalid method, at least with system requests 2001-12-04 14:22:20 +00:00
Miles Lott
10db3ad787 Minor formatting change 2001-12-04 13:49:56 +00:00
Miles Lott
1b2e39e90b Make working system.listApps function, still commented out by default 2001-12-04 13:46:53 +00:00
Miles Lott
326210dd94 null \$plist; add Id string 2001-12-03 21:49:14 +00:00
Miles Lott
5f7dbf2b08 formatting 2001-12-03 21:47:13 +00:00
angles
c03544e09b add comments, documentation to preferences class email prefs handling, no code changes to this file 2001-12-01 00:03:30 +00:00
Miles Lott
3326dd642e This now uses the full path entered in the admin tool for peer servers. The
default is used if none was entered, hopefully.  (remove hardcoded path)

Thought I fixed this already, but anyway...
2001-11-30 04:46:50 +00:00
Miles Lott
07772e9d7f Add ssl test, not able to test here; fix php error created by $fs not defined in response class 2001-11-30 04:19:59 +00:00
Miles Lott
5450560dfd Finish the job of adding edd's patch, and add two more tests to the testsuite app 2001-11-30 04:05:07 +00:00
Miles Lott
a9e47b31f0 Merge in Edd Dumbill's changes to header parsing in release 1.02 of xmlrpc for php;
Now allows whitespace in the xml itself
2001-11-30 03:59:21 +00:00
bettina
b65f4bcb29 added to the call to limit_query because this worked ;) 2001-11-30 02:49:04 +00:00
bettina
0517dbdc98 removed from call to limit_query because this didnt work 2001-11-30 02:38:24 +00:00
jengo
1edd9f4331 You can now name a XML-RPC method one name, and have it call a different function name. For example, the method name is list and it calls _list() 2001-11-30 00:48:25 +00:00
jengo
99c96525b8 Changed to use the xmlrpcfault() function 2001-11-29 22:07:51 +00:00
jengo
94dd77324c Added xmlrpcfault for handling faults and stopping execution of the application 2001-11-29 22:07:28 +00:00
jengo
64d0fc337e Experimental error reporting for XML-RPC and SOAP ... 2001-11-29 19:55:37 +00:00
skeeter
9165bf5f60 Fix for group accessing calendar events. A few places I removed some extraneous code. 2001-11-29 03:12:01 +00:00
Miles Lott
2c70e602a3 possible fix for no app cats on add 2001-11-25 10:18:38 +00:00
Miles Lott
79968a165b remove debug output 2001-11-25 02:49:35 +00:00
Miles Lott
bd2a20dcd8 another fix for log object does not exist in setup 2001-11-25 01:29:04 +00:00
Miles Lott
886f62667e fix for log object does not exist in setup 2001-11-25 01:24:42 +00:00
Miles Lott
aaf0b21cf8 GLOBALS, formatting 2001-11-24 23:03:33 +00:00
Miles Lott
8fe284ea7d GLOBALS 2001-11-23 19:38:17 +00:00
Miles Lott
97c7d485ff formatting 2001-11-23 19:35:45 +00:00
Miles Lott
332cb51db9 GLOBALS 2001-11-23 19:23:22 +00:00
Miles Lott
db074c4dd7 GLOBALS; remove uneeded class vars in common (I hope) 2001-11-23 19:19:04 +00:00
Miles Lott
2ab805ebe6 minor formatting 2001-11-23 17:56:51 +00:00
Miles Lott
7ea5603c67 minor formatting, add banner 2001-11-23 17:54:13 +00:00
Miles Lott
189015a1d9 formatting 2001-11-23 17:49:57 +00:00
Miles Lott
032424dbf7 add Id tag, minor formatting 2001-11-23 17:24:49 +00:00
Miles Lott
c74d00b8ff show also private when "show all" is selected 2001-11-23 03:49:56 +00:00
Miles Lott
8ba7bbbbcc Now doing a single OR search on query, instead a bunch of single field queries;
move class vars to top where possible.
2001-11-23 01:58:19 +00:00
Miles Lott
3993c41752 Make query into a loop to check all std fields. 2001-11-23 00:59:02 +00:00
jengo
c6c4a4b985 Made it possiable for XML-RPC to grab the users rights to applications 2001-11-19 05:50:08 +00:00
Miles Lott
5d4eb42476 allow only subs of current main cat to be returned if $public=True 2001-11-18 06:11:05 +00:00
skeeter
8d24e53c65 Fix for bug #482239. 2001-11-17 03:02:30 +00:00
jengo
0e5e1f91b3 You can now have a method that doesn't accept a parameter but returns some 2001-11-16 18:23:21 +00:00
skeeter
1e377b3007 Made the LDAP storage aware of the query for get_list. Also, in the sql, set the total to the total records meeting the condition in get_list(). 2001-11-16 04:11:38 +00:00
skeeter
23c0708751 Now using GLOBALS where I can. 2001-11-16 04:10:09 +00:00
Miles Lott
ad28fc933c php3 array fix 2001-11-14 13:07:06 +00:00
jengo
ebe631bc10 - Reverted yesterdays changes back to the orginal
- Fixed returning integer values of 0 loosing the value once the XML reponse is being created
2001-11-13 21:03:24 +00:00
skeeter
7ab7c98412 Fix to be compatible with the new preferences->create_email_preferences(). Still need to change SM to use it. 2001-11-13 18:19:53 +00:00
Miles Lott
09512b2072 formatting 2001-11-13 14:05:13 +00:00
jengo
0b9d3e5f44 Added a band-aid(tm) to prevent things from blowning up when you don't pass parameters to a method 2001-11-12 22:07:52 +00:00
skeeter
ca05d0d9f4 This now contains the create_email_preferences() function. This will allow for other apps to use the same function. 2001-11-12 21:44:31 +00:00
jengo
e237d169f4 These changes are needed for my XML-RPC tests with client side apps. Most of the code was commented out, it _should_ allow everything else to run like normal. *BUT*, if you call a method, it *MUST* return the XML-RPC vals and resps manually 2001-11-12 18:30:58 +00:00
jengo
7df6f0200b Not sure ... I did something in here working on the XML-RPC client 2001-11-12 18:28:57 +00:00
seek3r
0a673cbfaf allows to look in other apps files 2001-11-12 18:01:42 +00:00
skeeter
3b0bf20d6b Fix for bug #471251. 2001-11-10 23:34:19 +00:00
skeeter
9689d6a2b6 Fix for bug #463970. 2001-11-10 20:48:43 +00:00
jengo
efd42b032f Allowing update_dla() to be called from XML-RPC 2001-11-09 03:03:40 +00:00
jengo
a43f8b6071 Converted to Unix system files 2001-11-01 04:05:18 +00:00
skeeter
26fbf18c3f Small change to only allow read perms for a group, when viewing calendar events. 2001-10-23 11:10:31 +00:00
skeeter
b1d090de44 This now adds the ability to view an entire groups calendar events. 2001-10-23 10:58:53 +00:00
Miles Lott
9bebfc89c4 now uses the class var only as a default for the app part of the URL 2001-10-22 21:13:11 +00:00
Miles Lott
b673d7c52c rename members() to member() to avoid potential php3 conflict with LDAP accounts and class var, $members 2001-10-22 13:05:07 +00:00
skeeter
03a0fdd1a6 Does a small check to see if the requested class exists, before attempting to load and instantiate. 2001-10-21 10:53:33 +00:00
skeeter
dab358dfa5 Should be only fixes to make the portal box movement possible (up/down). 2001-10-21 10:49:29 +00:00
skeeter
8a4b563143 Fixes for the listbox portion of portals. 2001-10-19 02:11:46 +00:00
skeeter
810a1c1267 New code to accomodate portalbox hooks.. 2001-10-19 01:52:39 +00:00
Miles Lott
6d40e78fe9 format, add headers 2001-10-17 22:08:38 +00:00
Miles Lott
e6e3e567bc formatting, globals 2001-10-17 18:15:04 +00:00
skeeter
76f27696c1 No longer needed. 2001-10-17 03:44:25 +00:00
jengo
466ef523fa - Added delete function
- Added a way to have alternate functions handle the parsing of the status in return_html
  Its some what limited, the function can ONLY handle 1 parameter and it needs to be the first
  Plus, it needs to be defined globally
2001-10-17 02:33:05 +00:00
jengo
af432ae688 The record_id paramter is now required 2001-10-17 02:21:03 +00:00
jengo
5706d356af Fixed return_array() only displaying the first line 2001-10-17 02:01:41 +00:00
jengo
aa8339f99c - Fixed return_html() not working when no history is present
- Fixed return_array() not working when using the show_only paramter
2001-10-17 01:10:23 +00:00
skeeter
16ded6c03f Making use of the new portalbox. 2001-10-16 01:31:47 +00:00
skeeter
4a02b10e31 New portal stuff. 2001-10-16 01:25:23 +00:00
loic
fe9cae6737 Fix xmlrpc critical bugs 2001-10-10 15:10:56 +00:00
jengo
e13cdddda8 Added way to only return records with a certain history_status 2001-10-06 04:36:48 +00:00
jengo
ae36eeb708 Added error checking for name2id() and id2name(), return False when the account_id or account_lid is missing 2001-10-06 03:37:58 +00:00
jengo
e23f615f88 Added new class for keeping track on an entrys history 2001-10-06 02:36:08 +00:00
jengo
68ae85eb5f Default preferences are now being added into the db durring account creation 2001-10-05 03:15:45 +00:00
jengo
1dc787e40d Started working on allowing md5 passwords to be sent from login.php 2001-10-02 05:38:35 +00:00
Miles Lott
724d90feb7 formatting 2001-10-02 05:10:14 +00:00
Miles Lott
8bc29b952f formatting 2001-10-02 04:38:53 +00:00
Miles Lott
f1a97f8b88 formatting 2001-10-02 04:32:21 +00:00
Miles Lott
77db927501 formatting 2001-10-02 04:17:19 +00:00
Miles Lott
b7b205a2fa GLOBALS, format, replace if/else with switch 2001-10-02 04:11:39 +00:00
Miles Lott
a77fd203f3 GLOBALS 2001-10-02 03:52:56 +00:00
Lars Kneschke
bb0cfbf43e fixed a problem when using post/php-nuke and phpgroupware on one server
*nuke is setting a cookie $lang, which is a string

the translation functions are using $lang as GLOBAL too, but as array
which creates funny results :)
2001-10-01 02:52:53 +00:00
skeeter
80062a3afe Missing the menuaction for checking of the footer. 2001-09-29 01:31:29 +00:00
Miles Lott
4d929cadc2 formatting 2001-09-29 00:33:05 +00:00
jengo
bba0ba2eb7 - Fixed destroy() not killing the correct session
- Passing the sessionid and kp3 is now required, to make sure its the correct session
- Removed deleting cookies, which is done by logout.php ... its redundent
2001-09-28 21:39:42 +00:00
Miles Lott
81833f8843 formatting, globals 2001-09-28 21:38:29 +00:00
Miles Lott
2f0bed436e GLOBALS 2001-09-28 21:32:44 +00:00
Miles Lott
58761840e8 add license info from original 2001-09-28 21:31:39 +00:00
Miles Lott
ffcb54d88f formatting 2001-09-28 21:27:40 +00:00
Miles Lott
4820ee5c02 Formatting (double->single ticks), use GLOBALS 2001-09-28 20:41:36 +00:00
skeeter
bf62acc4b5 Fix for bug # 458995. 2001-09-28 02:18:55 +00:00
Miles Lott
fa9c5c1943 no longer used 2001-09-26 08:51:58 +00:00
Miles Lott
ebac6bc21d Commit GLOBALS patch sent by J�rgen Henge-Ernst <juergen@henge-ernst.de> 2001-09-25 22:28:37 +00:00
Miles Lott
0200b57c48 Please test - commiting changes for use with register_globals off 2001-09-25 14:52:10 +00:00
Miles Lott
87cd2a48dd SECURITY UPDATE - merged from phpxmlrpc dist:
All releases up to and including version 1.0 of XML-RPC for PHP have a
serious security vulnerability, allowing hostile remote clients or
servers to execute arbitrary code on your machine.
2001-09-25 14:42:43 +00:00
jengo
8acd9d12e8 Merged in patch for NIS auth - Thanks Dylan Adams <l0n@users.sourceforge.net> 2001-09-24 22:27:53 +00:00
zone
813c3ab5cd Removed array () as default value in function prototypes per loic's patch #464195 2001-09-24 18:17:26 +00:00
Miles Lott
d233269b13 remove empty file 2001-09-23 19:42:47 +00:00
Miles Lott
a1d0444bf9 GLOBALS 2001-09-23 19:41:20 +00:00
Miles Lott
b9ae8c8238 formatting, GLOBALS 2001-09-23 19:38:24 +00:00
Miles Lott
0d1dcab48d formatting 2001-09-23 19:33:39 +00:00
Miles Lott
cc3247e481 formatting 2001-09-23 19:23:49 +00:00
Miles Lott
121e9072fc GLOBALS... 2001-09-23 19:08:44 +00:00
Miles Lott
e436c522c1 formatting 2001-09-23 19:05:56 +00:00
Miles Lott
46f9c75630 formatting 2001-09-23 18:58:31 +00:00
Miles Lott
379a433cf6 Formatting, add index_names() function - only pg returns data so far 2001-09-22 02:47:06 +00:00
Lars Kneschke
f52e3cbf59 no stripslahes() for serialized data 2001-09-21 05:47:32 +00:00
skeeter
c5a54adbaf Fix for the sql get_account_name(). 2001-09-19 23:08:44 +00:00
Lars Kneschke
86106fc365 some changes again 2001-09-19 15:49:57 +00:00
Lars Kneschke
d8a9ec138a the addressbook was returning only 1 row
very bad!! :)

Cu
2001-09-19 14:09:11 +00:00
angles
40dd0d8563 fix show_sort_order_imap and fix html form tag locations in nextmatch tpl 2001-09-18 19:42:27 +00:00
Lars Kneschke
3985fe231d modified the ldap class, to know the type of account(u or g) 2001-09-18 17:55:36 +00:00
skeeter
ce8528e5c6 Fixes for mdeans finding if the server has users choice and a users choice has been selected. 2001-09-18 03:50:00 +00:00
skeeter
8a13e1c52b A couple of cleanups when logging errors to a file. 2001-09-18 03:48:38 +00:00
Miles Lott
fa7f0a9f88 Fix possible undefined template set var 2001-09-17 13:21:40 +00:00
mdean
fa6dca2248 Fix for getting last identity insert. 2001-09-17 02:58:41 +00:00
Miles Lott
7d57b31ba0 use db_addslashes 2001-09-17 02:26:46 +00:00
skeeter
a5f1abdf00 Fluffed up the name2id() function in categories and a couple of small code cleanups. 2001-09-17 02:24:41 +00:00
skeeter
73b04851cc Changed the call to use the execmethod() in /index.php. 2001-09-17 02:18:32 +00:00
Miles Lott
57fb69f726 array element fix 2001-09-17 02:17:26 +00:00
skeeter
4805243c8c Applied patch #460021 in a modified form. 2001-09-17 02:06:12 +00:00
mdean
566b3920af Is that JavaScript I smell? 2001-09-17 00:45:27 +00:00
Miles Lott
f930048be4 Fixes for register_globals=off 2001-09-17 00:43:35 +00:00
mdean
d169912713 Fixed swapped params. 2001-09-17 00:40:59 +00:00
mdean
8994de9d73 Added db_addslashes() function. 2001-09-17 00:29:44 +00:00
mdean
d212773f1e Upgraded stuff - added db_addslashes() function. 2001-09-17 00:26:39 +00:00
Miles Lott
f3be3189e4 Some fixes to ensure we don't put accting fields into the extra table 2001-09-09 22:55:43 +00:00
Miles Lott
7c7d5ba480 Enable app upgrade status for admins (of all applications) 2001-09-08 16:02:59 +00:00
Miles Lott
944e0e6047 Fix unsetting of status 2001-09-08 06:19:06 +00:00
skeeter
bbb50109c0 More fixes for php3 support. 2001-09-07 19:18:03 +00:00
skeeter
f0123f6cf5 Fix for php3 support. 2001-09-07 17:51:48 +00:00
skeeter
a91131a7be Fix for an error on line 333. 2001-09-07 04:27:48 +00:00
skeeter
de4d49b2fa A couple fo small cleanups and arranging of a few of the classes. 2001-09-06 19:23:56 +00:00
Miles Lott
2bc807158e Remove an undefined index error, i think 2001-09-06 08:34:38 +00:00
Miles Lott
92558b4412 Now works with service.* methods 2001-09-06 08:33:42 +00:00
Miles Lott
37213f0c30 More adjustments to ensure login works with register_globals Off, also tested
on php3 and php4 with register_globals On.
2001-09-06 08:27:22 +00:00
Miles Lott
97d808fb74 Move ldap connect to shared class, cutting down somewhat on ldap connects
per page load - more to come
2001-09-06 00:17:23 +00:00
Miles Lott
e859918f83 trying to fix a php4-only error (?) 2001-09-05 23:19:06 +00:00
skeeter
56ef840422 Fix for grab_owner_name() in comon. now calls account storage specific functions. 2001-09-05 22:46:47 +00:00
Miles Lott
c058fc3081 Remove class var duplicates 2001-09-05 14:59:12 +00:00
skeeter
dba3fc60f0 Changed around get_type() to grab the user account first, then the group accout. 2001-09-05 13:43:27 +00:00
Miles Lott
e372d5bcdc Move class vars out of constructor, remove unneeded extra db objects 2001-09-05 12:03:51 +00:00
Miles Lott
8fe80611d3 Added return of total to get_list by ref, needs tweaking 2001-09-05 11:16:58 +00:00
Miles Lott
2a7159831a Add service name wrapper classes for some basic functions 2001-09-05 10:46:39 +00:00
Miles Lott
3c92e4fb10 Odd php3 fix for undefined constant, please test on php4 2001-09-05 03:06:14 +00:00
Miles Lott
43c93130e8 Don't set included_classes to true until after the file is actually included 2001-09-04 04:52:47 +00:00
skeeter
4976ec2f54 Fixes for the caching of account_id's. 2001-09-04 03:15:03 +00:00
skeeter
dcbcdd88ce Made a few changes to the accounts LDAP storage processing. 2001-09-04 03:12:23 +00:00
jengo
c1ebab8a82 Added no permission checking for special calls to hooks (mainly for admin and preferences) 2001-09-03 23:02:36 +00:00
skeeter
bf7156a0ef Missed some GLOBALS before. 2001-09-03 09:49:03 +00:00
skeeter
e5b4517469 More checking for caching. 2001-09-03 09:48:32 +00:00
skeeter
81dfa789c0 Small changes. Added the caching back into id2name and did a little more checking for use of caching. 2001-09-03 09:47:47 +00:00
Miles Lott
2460cbbf09 GLOBALize log message call 2001-09-03 04:13:52 +00:00
Miles Lott
8dd5db4d01 Swap old/new update_lastlogin() 2001-09-03 03:56:12 +00:00
Miles Lott
e3c937326d Fix (?) gettype and name2id/id2name - group/user confusion still possible... 2001-09-03 03:21:50 +00:00
Miles Lott
0d89f77db7 Now renamed to be current ldap accounts class 2001-09-03 02:18:23 +00:00
Miles Lott
35781b842a MAJOR: changing to new ldap accounts class, _old is the old file 2001-09-03 02:17:10 +00:00
Miles Lott
f637bdc11f Add denied groups and users 2001-09-03 02:05:03 +00:00
bettina
cd4828bf09 added function to convert array to string plus ability to include arrays as extravar to the show_sort_order function 2001-09-02 18:37:38 +00:00
Miles Lott
4d676d8259 Fixes for get_next_id() and exists() 2001-09-02 14:33:13 +00:00
Miles Lott
a4a65ffcd5 Fix return of account_id from name2id(), add note about class constructor
that does not load
2001-09-02 13:53:52 +00:00
Miles Lott
e5585d24b6 This was out of date 2001-09-02 13:13:48 +00:00
Miles Lott
3c426e72e4 Move two ldap settings to the shared constructor, since the accounts_() constructor
does not load
2001-09-02 13:08:50 +00:00
Miles Lott
deb4930dc6 settype added to fix php3 error 2001-09-02 12:53:22 +00:00
Miles Lott
2b156edc17 missing ; 2001-09-02 12:37:15 +00:00
Miles Lott
b9e1fd0763 Making this more current with sql class 2001-09-02 12:27:29 +00:00
skeeter
09f6cdab74 Changed get_list() to use query_limit() instead of limit(). 2001-09-02 07:19:46 +00:00
skeeter
8f7eb4e77f A few missed GLOBALS. 2001-09-02 07:18:28 +00:00
skeeter
8f0c5ddedb A few missed GLOBALS. 2001-09-02 07:13:23 +00:00
Miles Lott
56489e8d4f Using GLOBALS 2001-09-02 00:27:19 +00:00
Miles Lott
341fd023b8 now using GLOBALS 2001-09-02 00:26:16 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
45f2ca1616 Adjust auto_add() - sql now uses a default group config in setup, or does
not configure a group at all - old behavior was to add them to account_id 1.
Some more register_globals tweaks.
2001-08-31 22:50:30 +00:00
Miles Lott
4be7d21958 Use GLOBALS 2001-08-31 08:45:44 +00:00
skeeter
cb58b67a03 New lang entries -- missed one. 2001-08-31 01:01:05 +00:00
Miles Lott
cb560611b1 using GLOBALS 2001-08-30 19:43:06 +00:00
Miles Lott
9b6465af7a Using GLOBALS 2001-08-30 19:40:44 +00:00
Miles Lott
07009748e5 using GLOBALS now 2001-08-30 19:39:13 +00:00
Miles Lott
8353d7e678 Update to version 1.0 of PHP for XML-RPC, inclusing ssl mods 2001-08-30 00:29:55 +00:00
zone
379260b37c Added command_line (), fixes for acl_check () when a user does not belong to any groups 2001-08-28 08:13:35 +00:00
Miles Lott
b482e375d0 Adjust for struct return in soap 2001-08-27 11:38:45 +00:00
Miles Lott
7399ff4342 login/logout return correct object now 2001-08-27 11:36:48 +00:00
Miles Lott
e973591705 Fix login 2001-08-27 10:42:19 +00:00
Miles Lott
f91ca87aef Login now attempts to create session based on existence of server_name OR domain in
the request.
2001-08-27 09:42:33 +00:00
skeeter
f6d785fad2 Small speed enhancement to the code for build_resp(). 2001-08-27 03:09:14 +00:00
Miles Lott
079809436f Trying to silence intermittent php3 error 2001-08-26 18:50:57 +00:00
Miles Lott
4ad548c53d Use new function to decode second and subsequent levels of the request array 2001-08-26 18:24:48 +00:00
Miles Lott
e89f074cea Slightly better multi-dimensional array routine... 2001-08-26 15:17:24 +00:00
skeeter
039b9fe3fb Passing this on to Milosch for refinement - Handling mutiple layers of an associated array. 2001-08-26 04:30:06 +00:00
jengo
4fe20e1152 Added dual pass preferences 2001-08-25 20:26:22 +00:00
skeeter
63a222f3ca Fix for seek3r's problem with the calendar and timezone settings. 2001-08-25 03:22:33 +00:00
zone
dcc1e05d85 Change set_attributes () handling of flags, add 'b' flag to fopen calls, fixes for Postgres date handling, other small tweaks 2001-08-24 07:44:43 +00:00
skeeter
bce5113662 Small cleanups of possible warning messages. 2001-08-24 01:53:52 +00:00
Miles Lott
5927992653 php3 fix, sometimes SEP='SEP' ? 2001-08-23 23:08:58 +00:00
Miles Lott
c08ed955e1 Use $GLOBALS 2001-08-23 06:55:12 +00:00
Miles Lott
73dfa28bdf Use $GLOBALS 2001-08-23 06:48:27 +00:00
Miles Lott
57ba2dfff8 Handle multi-dimensional array input, decode those xmlrpcvals 2001-08-23 06:47:50 +00:00
Miles Lott
47f3ea01eb Tentatively move ACL defines outside of currentapp logic (so they work for xml/soap) 2001-08-23 04:32:15 +00:00
Miles Lott
51fd39fac2 Fix auth check on xmlrpc.php, modify sessions verify/destroy to optionally
accept sessionid/kp3
2001-08-23 02:54:25 +00:00
Miles Lott
822b956b80 Fix login return of sessionid/kp3 for user logins 2001-08-22 20:01:05 +00:00
Miles Lott
55c06c14ad for xmlrpc, if the value sent is a string, encode it as such - phpgw will almost
always use structs...
2001-08-22 03:51:29 +00:00
Miles Lott
4201c27997 This is either a php3 fix or a nasty workaround 2001-08-21 19:54:09 +00:00
Miles Lott
dddf896338 Semi-major adjustement with the goal of removing the register_globals requirement;
Silence possible error if line# is not sent to errorlog class (often); This was
tested with the setting on again and seems to work
2001-08-21 18:34:56 +00:00
skeeter
9ebc41f0db Small fix for a parse error on line 64. 2001-08-21 16:51:21 +00:00
skeeter
a3932c4008 Added str_repeat() to fix bug #451851. 2001-08-21 00:16:36 +00:00
Miles Lott
af775b2be8 Process multi-dimensional array values to one more level deep 2001-08-20 16:51:04 +00:00
Miles Lott
898f57ae42 Add plea for jengo to check this out 2001-08-20 16:44:29 +00:00
Miles Lott
aedb803a1c Switch to always use structs for iomap since they best represent one level
associative arrays; Add ability to call a bo layer class
2001-08-20 16:33:26 +00:00
Miles Lott
eac74fee75 add xmlrpcs_logout() 2001-08-20 00:28:36 +00:00
Miles Lott
884232c7d0 Trying a new way of handling login and subsequent verification 2001-08-19 23:55:58 +00:00
Miles Lott
647723ccd8 Create add_to_map function, to later be used to add bo functions on the fly 2001-08-19 01:18:38 +00:00
Miles Lott
a08ce25d51 Move interop tests to xmlrpc.interop.php, fix interserv.php for xmlrpc again 2001-08-19 01:17:35 +00:00
Miles Lott
b2ef2fb0e5 Undo oops in session->verify_server() and make soap auth/verify work 2001-08-18 21:32:22 +00:00
Miles Lott
dc7ad12eeb Add in not yet working auth_verify 2001-08-18 20:37:33 +00:00
Miles Lott
c7edc28716 Fixes to allow for support of server auth using soap with/without ssl 2001-08-18 20:31:47 +00:00
skeeter
050cd9acd2 Applied a patch provided by the mailing list. 2001-08-18 19:09:56 +00:00
Miles Lott
927fb55c0a Formatting, add Id tags 2001-08-18 14:37:52 +00:00
Miles Lott
d247b25603 Disable acl on verify_server() 2001-08-18 13:34:10 +00:00
skeeter
e797245a5f Applied patch #449529. This will now allow using a space for the db connections password. 2001-08-18 00:48:40 +00:00
skeeter
406bfe5529 Added 2 new support functions. array_search() and in_array(). 2001-08-17 19:34:48 +00:00
seek3r
c9ea092eae added php3 support file 2001-08-16 06:32:22 +00:00
jengo
200387bdea Merged patch to fix reg exp match 2001-08-16 02:57:29 +00:00
Miles Lott
5d34135559 php3-compatibility fix to execmethod's partscount 2001-08-15 17:31:36 +00:00
Miles Lott
fefe347b33 php3 fix in call to get_list() 2001-08-15 17:05:08 +00:00
Miles Lott
4fd65d883a Formatting and php3 fixes 2001-08-15 16:30:16 +00:00
Miles Lott
6a7f952b42 Comment out debug call 2001-08-15 14:51:37 +00:00
Miles Lott
2247e8c99c Add mirror of xmlrpc ssl send call 2001-08-15 14:23:30 +00:00
Miles Lott
51a572a9f5 Move ssl client send into xmlrpc_client class 2001-08-15 14:01:44 +00:00