Commit Graph

1239 Commits

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