Commit Graph

1585 Commits

Author SHA1 Message Date
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
skeeter
24944500f2 j3rry's fix for the error class. 2001-08-15 13:02:32 +00:00
Miles Lott
21e323111d Add create_server() verify_server() for the 'special' needs they have 2001-08-15 03:54:15 +00:00
skeeter
6da089837d Various optimizations to the API. This also does a little internal caching of some of the account data, but, only for a single page session. 2001-08-15 02:14:18 +00:00
Miles Lott
fb00930ab8 Fix syntax error in client, make non-ssl xmlrpc work 2001-08-13 22:30:50 +00:00
Miles Lott
bf3f08b0fd Fix xmlrpc calls 2001-08-13 22:17:22 +00:00
Miles Lott
07a3679c01 Switch to GLOBALS 2001-08-13 22:05:50 +00:00
Miles Lott
bf10b87e07 Formatting 2001-08-13 22:03:26 +00:00
Miles Lott
3e8e749624 Add some phpgw headers for id 2001-08-13 21:56:41 +00:00
Miles Lott
705dfe3785 Add additional trust relationships 2001-08-13 20:49:48 +00:00
Miles Lott
948bdea4d1 Starting to add initial support for server coop, needs api mod/update 2001-08-13 16:24:03 +00:00
skeeter
cd2676a3a6 Cleaned up an extra warning that was being generated when cache_phpgw_info was turned off. 2001-08-11 14:50:15 +00:00
skeeter
f942605e30 Defined the ->log in CreateObject() as a global, and moved the Actual CreateObject() for the log class to the very beginning of the class CreateObject list. 2001-08-11 14:49:12 +00:00
skeeter
076bb37660 Simple caching of name2id and id2name values. 2001-08-11 14:45:56 +00:00
zone
824de4ee1d Formatting changes. Nothing to see here, move along. 2001-08-11 09:01:47 +00:00
Miles Lott
85bb35cb2b Move/copy a soap server to phpgw root 2001-08-10 00:31:21 +00:00
zone
d0e954b674 Put defines in single quotes 2001-08-10 00:03:02 +00:00
Miles Lott
f5b5c2b24f Add new system.listApps function 2001-08-09 15:51:06 +00:00
Miles Lott
d94c15d2e8 per skeeter, a different fix to the problem 2001-08-09 04:53:31 +00:00
Miles Lott
79dc14fd01 set 'ha' element of $_xh global to '' to avoid erroring 2001-08-09 04:50:11 +00:00
skeeter
a936811004 Somewhat fork of the xml-rpc classes. Major optimization and some redefinition in the global vars. 2001-08-09 02:54:56 +00:00
Miles Lott
66013bfe3c Make contacts->add() return the id, since it finds it anyway 2001-08-09 00:32:59 +00:00
Miles Lott
7849d1ecbb Start work on calling boclasses 2001-08-08 23:28:03 +00:00
angles
2601c65f05 email prefs handling updated 2001-08-08 19:37:17 +00:00
Miles Lott
7d29a24c1e Re-add condition for $p1 == 1 in createobject, fix tabs 2001-08-08 14:03:20 +00:00
skeeter
8694494bff Changed the way the and check for '_UNDEF_' in ExecMethod(). This was discussed with Seek3r and Milosch. 2001-08-08 11:13:32 +00:00
seek3r
961757eec8 updated to use ExecMethod and log 2001-08-08 08:27:12 +00:00
seek3r
f5166ce4d1 removed hoax 2001-08-08 07:44:27 +00:00
jerrywestrick
f83036ae9d __FILE__, __LINE__ parameters 2001-08-08 07:21:29 +00:00
zone
5108e6c37e Added District of Columbia, spelling corrections 2001-08-08 05:07:18 +00:00
mdean
af6d27da68 Added support for get_last_insert_id($table, $field). pgsql is currently the only class making use of the params since it returns the unique OID for the system. The params are required so pgsql compatibility is forcibly maintained. 2001-08-08 03:14:05 +00:00
mdean
ea40a2ac06 Added get_last_insert_id() to return the last auto increment ID from an insert query. 2001-08-08 00:45:47 +00:00
jerrywestrick
079d4db3e3 Correction of sql syntax error... 2001-08-08 00:25:27 +00:00
seek3r
eee5228676 fixed my formatting nightmare 2001-08-08 00:13:00 +00:00
Miles Lott
b51bb7b055 Convert foreach to while loop 2001-08-07 23:18:21 +00:00
Miles Lott
c1acca2fd7 New includes for xml/soap, at least for the time being 2001-08-07 23:04:05 +00:00
Miles Lott
84f87d8d71 Import current version of classes from http://xmlrpc.usefulinc.com/php.html#download,
broken into seperate files.
2001-08-07 23:00:28 +00:00
seek3r
c85008c270 renamed ExecObject() to ExecMethod() 2001-08-07 16:02:55 +00:00
jerrywestrick
939cbd600b change calling format to new array() style... 2001-08-06 17:53:07 +00:00
jerrywestrick
19840a15bf changed calling format of errorlog routines 2001-08-06 17:49:01 +00:00
jerrywestrick
88b295ea9d ename of file/class from log to errorlog Nameing colision with php3. 2001-08-06 16:32:40 +00:00
jerrywestrick
60dcef3164 Change class "log" to "errorlog" because of php3 nameing conflic class "log" to "errorlog" because of php3 nameing conflictt 2001-08-06 16:20:45 +00:00
seek3r
9c33f26ab4 added support for strange _UNDEF_ and True 2001-08-06 07:32:24 +00:00
seek3r
cd9cf4ef29 fixed multi-dimensional support in ExecObject() 2001-08-06 07:29:09 +00:00
skeeter
1edb9cfbaf Small restructuring for speed. 2001-08-06 02:37:56 +00:00
skeeter
cd18ede17e This makes the '* page' use the lang settings. 2001-08-06 02:36:26 +00:00
Miles Lott
d2e7cf6a5b undo local change we are not yet ready for 2001-08-06 00:31:44 +00:00
Miles Lott
4b512874d8 Add some @ to print_debug() calls to silence php3 2001-08-06 00:28:15 +00:00
Miles Lott
54f987a321 php3 array fixes 2001-08-06 00:23:38 +00:00
Miles Lott
f4359e5514 Add workaround in createobject for VERY weird case where $p1 == '_UNDEF_' evaluates as True
if $p1 = True or 1 ;)
2001-08-05 22:40:32 +00:00
seek3r
17347d9bcb removed an echo I left in ExecObject() 2001-08-05 16:51:53 +00:00
seek3r
5bbe1f8056 fixing supid parsing errors I left in my last commit 2001-08-05 16:39:14 +00:00
seek3r
6d5c881877 added support for multi-dimensional objects 2001-08-05 16:33:44 +00:00
jengo
2eb317a488 Added eventloging 2001-08-05 10:13:37 +00:00
jengo
3c64f8fc3e Started adding in some eventlog reporting 2001-08-05 09:54:44 +00:00
jengo
7017e7223c Forgot what I fixed .. 2001-08-05 09:54:16 +00:00
jengo
ce08ad632e Fixed adding an entry that doesn't have an account_id 2001-08-05 09:18:40 +00:00
jengo
3a4779f5ff Converted to use the dbs timestamp field 2001-08-05 08:04:36 +00:00
jengo
ccf42f2b2a Fixed timestamp converstion not working 2001-08-05 08:04:10 +00:00
zone
89fbd4e755 Update to accounts->membership 2001-08-05 07:53:59 +00:00
jengo
7f8beb1d37 Fixed PostgreSQL issues 2001-08-05 07:43:51 +00:00
jengo
b1eb420217 Finished merging patch for eventlog 2001-08-05 06:59:20 +00:00
jengo
a4b8a88d81 Added dummy function for timestamp conversions 2001-08-05 06:52:25 +00:00
jengo
e0583a830f Started working on the functions to convert timestamps to the databases version 2001-08-05 06:49:50 +00:00
jengo
775e55fc86 Added patch for eventlog 2001-08-05 06:48:42 +00:00
skeeter
d1ecda416d Fix for bug #447188. 2001-08-05 03:39:35 +00:00
skeeter
366349179c This now adds the cats on the same line with search/filter for show_tpl and adds a new function call cats_search_filter(). 2001-08-05 03:15:46 +00:00
skeeter
7c14b13aa4 Added a search_filter by itself. Can now switch in mid stream from old style to new style menuaction=... by including it in the parameter. 2001-08-05 01:50:48 +00:00
skeeter
b958ac035d Got nextmatchs to work. 2001-08-04 20:38:52 +00:00
Miles Lott
8c570fcb19 php3 fix, rename accounts->memberships() to accounts->membership() to avoid conflict with class var 2001-08-04 14:26:10 +00:00
Miles Lott
5110bf226a Fix setting of $phpgw_info flag in createobject, formatting 2001-08-04 13:18:49 +00:00
seek3r
632ebd0950 added new version of ExecObject and GLOBALS ized everything 2001-08-04 12:11:07 +00:00
skeeter
a4bccad3db Small fixes. 2001-08-04 03:02:01 +00:00
jengo
263a96944f Moved nextmatchs over to template blocks 2001-08-04 02:47:19 +00:00
skeeter
9e51952c23 Renamed the ExecObj() to ExecObject() and redid the exploding of the app.class.function to use a list() in both ExecObject() and CreateObject(). 2001-08-03 21:43:21 +00:00
Miles Lott
52745a7577 fix minor syntax problem 2001-08-03 21:12:28 +00:00
seek3r
9383ac2d97 added inital version of ExecObj 2001-08-03 21:10:02 +00:00
skeeter
12de1bd609 Nextmatchs class now deals with the n-tier layering. 2001-08-03 19:14:10 +00:00
Miles Lott
8f4f5e105c Rollback php3-incompatible code in createobject 2001-08-02 14:56:23 +00:00
Miles Lott
c19c3f3966 Add obj creation test with error_report adjust for createobject, make lang handle
array as first value
2001-08-02 14:33:35 +00:00
Miles Lott
e9635e2082 Convert foreach to reset/while (tested) 2001-08-02 08:59:08 +00:00
Miles Lott
67eb3c7e99 Fix use of $this->headers, was being ignored 2001-08-02 08:31:48 +00:00
skeeter
3d79308405 This will now return the 521 error whenever the socket is not previously opened. 2001-08-01 11:10:23 +00:00
zone
136100fff8 Now with super-multi-switch capabilities (file_repository choice in setup) 2001-07-31 07:00:43 +00:00
zone
48b0508a7c Renamed vfs_wip to vfs_sql 2001-07-31 06:37:55 +00:00
skeeter
83086f8900 This brings the SOAP server up to date as of 27 July 01 with the developers release code. 2001-07-30 03:40:08 +00:00
Miles Lott
a7108085a3 Undo foreach conversion, set debug flags 2001-07-28 20:24:32 +00:00
skeeter
e73a82a001 Small fixes for the automatic inclusion of the ui<app>.header() and ui<app>.footer(). 2001-07-28 14:21:32 +00:00
skeeter
2c726647f5 Small fix for php3 support. 2001-07-28 13:10:17 +00:00
skeeter
176aee8b50 Moved a ->db->query() call inside a condition branch. Cuts down on an unneeded db hit. 2001-07-28 02:18:17 +00:00
angles
016f6e5ce3 fixed typo causing a href not to have closing tag 2001-07-27 19:01:40 +00:00
Miles Lott
f0bd45dd45 Formatting 2001-07-27 10:40:23 +00:00
Miles Lott
e3fbe2fd7a Minor formatting 2001-07-27 10:16:54 +00:00
Miles Lott
7b96d56609 Silence each error 2001-07-27 10:15:15 +00:00
Miles Lott
1fe026c4c0 Rolling back file_space addition 2001-07-27 10:04:54 +00:00
Miles Lott
a2c0d12173 Formatting 2001-07-26 11:25:35 +00:00
Miles Lott
375750ea7e Formatting 2001-07-26 11:13:15 +00:00
Miles Lott
c80c3bbcd9 Formatting (minor) 2001-07-26 11:02:10 +00:00
Miles Lott
cd339aa676 Formatting 2001-07-26 10:54:40 +00:00
Miles Lott
e93a4c7ece Formatting 2001-07-26 10:48:07 +00:00
Miles Lott
260e5705bf Formatting 2001-07-26 10:16:42 +00:00
Miles Lott
7a53e55d30 Trying to make php3 compatible 2001-07-23 11:21:38 +00:00
Miles Lott
f265ea2717 Make _debug_array() work for php3 or 4 2001-07-23 00:02:33 +00:00
Lars Kneschke
bfa73cc185 modified link() to allow also a array as second parameter 2001-07-22 21:28:38 +00:00
Lars Kneschke
2992926f96 changed the order of the link values, the sessionid is now the last one
now you can place the cursor over the link, and the important values
2001-07-22 20:39:11 +00:00
skeeter
636666d306 Small fixes for the footer. 2001-07-21 23:56:43 +00:00
skeeter
300c84ea9a This now takes the app header/footer as methods of the application ui. For this to work, each ui that plans on implementing this, will need to create public_functions header() and footer(). 2001-07-21 23:29:07 +00:00
bettina
24f16fc191 update 2001-07-20 04:39:50 +00:00
bettina
8dac4d5616 update delete cats 2001-07-20 01:05:47 +00:00
bettina
c6f9a06500 update add() plus edit() 2001-07-18 23:50:38 +00:00
Miles Lott
132cc41e5a If the passed tid = ' ', etc, set it to 'n' 2001-07-18 04:55:31 +00:00
Miles Lott
fa7dd52ce4 Add ability to parse 3layer method into an object, will still handle simple
functions as well.  This requires some mods to expose the function params from
each bo class (so far).
2001-07-16 20:36:22 +00:00
Ralf Becker
0af94375ea make filter reload the page automaticly if js availible
button [Filter] in Templates now in <noscript>-tags
2001-07-16 09:01:02 +00:00
Miles Lott
17b5416f42 Allow Template class to be disabled 2001-07-16 06:24:17 +00:00
Miles Lott
c5a72a8bc2 Allow null first argument 2001-07-16 06:17:27 +00:00
Miles Lott
0593d5ed96 Import SOAP classes 2001-07-16 06:05:33 +00:00
Miles Lott
e02021ad21 With assistance from mdean, jengo, and ralfbecker, the multiple params feature
for CreateObject now seems to work.  Need to verify on php3...
2001-07-15 23:27:36 +00:00
Miles Lott
7e4189916e Rollback changes pending further tests 2001-07-15 13:49:37 +00:00
Miles Lott
9571b47278 CreateObject can now pass multiple params to the class 2001-07-15 10:16:12 +00:00
seek3r
3d005e094e too tired to think, so dev stopped here for the night 2001-07-13 08:37:56 +00:00
jengo
68577e4d12 - Moved access log over to 3 tier design\n- edit / view account hooks now support 3 tier design\n- Added view account access history to view account (via hook)\n- Added nexmatchs to access log\n 2001-07-13 07:02:34 +00:00
zone
d633286c8f Added get_journal (). Added the ability to update information from the file system (update_real () and get_real_info ()). Mostly vain attempt to make ls () work fully outside the virtual root 2001-07-13 05:12:18 +00:00
zone
3bc6706fe9 Added flush_journal (), more journaling/versioning tweaks 2001-07-11 23:48:25 +00:00
jengo
5fe11da983 Added feature to return only the link(), not the <a href> back 2001-07-11 22:43:10 +00:00
zone
523e7c5977 Added journaling/versioning. Not well tested yet, but seems to be working fine 2001-07-11 05:57:04 +00:00
zone
17badebebb Added meta_types, extra_sql (). Lots of abstracting SQL calls, file listings, etc. Getting ready for journaling 2001-07-10 21:35:23 +00:00
Miles Lott
55652f386a Remove trailing , 2001-07-10 19:43:30 +00:00
skeeter
b236c39ce1 Cleanup of an extra warning message. 2001-07-10 03:51:14 +00:00
skeeter
f6c3126a54 Fix for caching and ['apps']. 2001-07-10 03:50:38 +00:00
Miles Lott
49c33d7c30 Duplicate possible transy IE download fix in HEAD 2001-07-09 15:58:05 +00:00
zone
39ea83ff32 Added directory linking, slight modification to get_size () 2001-07-09 05:09:27 +00:00
Miles Lott
c0ea75e678 Fix to use new limit_query() parameters 2001-07-08 14:09:04 +00:00
Ralf Becker
17fb6dc9f2 undid the last change with stripslashes 2001-07-08 13:36:04 +00:00
jengo
3b28be028f Removed the array from limit_query() 2001-07-08 04:17:28 +00:00
jengo
59874ad788 SF Feature Request #428390 - Added option to not check the IP of sessions for those behind load balancing proxys 2001-07-08 04:05:10 +00:00
Ralf Becker
93e8af0eb4 getAccount now uses the $id value correct 2001-07-07 21:30:09 +00:00
seek3r
2d97b29cfa patched up php3 compatibility (again) 2001-07-06 06:46:10 +00:00
Miles Lott
792e64f4e2 Moving these back to api 2001-07-05 07:37:36 +00:00
uid30988
769f319a68 Added override_acl, fixed $fakebase in correct_attributes (), made modified date NULL for new dirs 2001-07-04 08:48:19 +00:00
bettina
e479e77987 update function id2name 2001-07-03 14:23:16 +00:00
bettina
446d1e927f update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:52:13 +00:00
bettina
444ef87edc update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:38:09 +00:00
bettina
1265474bfb update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:13:13 +00:00
zone
409a7766b9 Added get_size (), slightly altered ACL policy for being in a group 2001-07-02 20:38:49 +00:00
jengo
ce2c7d262c Moved to use the new limit_query() function 2001-07-02 20:08:57 +00:00
angles
c8359e22ac make custom email passwd fix available to both SM and /email 2001-07-02 20:02:15 +00:00
jengo
8b9ff102bc Moved to use the new limit_query() function 2001-07-02 19:49:50 +00:00
jengo
11d1dbc646 Changed the limit_query() function to make it easier for developers to use (NOT TESTED) 2001-07-02 19:17:04 +00:00
jengo
fc49aa8594 Changed around the limit_query() function to be easier for developers to use 2001-07-02 19:16:20 +00:00
zone
3f0af80b97 ACL support, fixes to path_parts () for / and $fakebase, changes to ls () for single file/$nofile 2001-07-02 19:00:31 +00:00
bettina
e93eb90d38 update function id2name to return also main,app,owner 2001-07-02 02:25:26 +00:00
jengo
9a35bc23ed For some reason this commit from last week never went through 2001-07-01 22:50:53 +00:00
jengo
4152c9f4b9 I fixed something, just forget what it was 2001-07-01 22:49:51 +00:00
zone
e6203dda83 Added file space option, file_space column to phpgw_accounts 2001-07-01 22:30:07 +00:00
jengo
393a9924dd If the menuaction variable is present, it will now add that for the session_action, this is meant for the 3 teir design 2001-07-01 22:26:47 +00:00
mdean
77d13d24d9 Evolved the class to be more current. Untested and incomplete (table locking not implemented). I *hate* locks, anyway... 2001-07-01 19:43:04 +00:00
jengo
50837a1db7 Added a debug array function 2001-07-01 17:57:59 +00:00
mdean
55520a7296 Added option to toggle use of pconnect. 2001-07-01 17:15:19 +00:00
mdean
f58b8aa55e Tidy up function for limit_query. 2001-07-01 17:04:42 +00:00
mdean
030232dfc3 Added limit_query function. 2001-07-01 16:55:07 +00:00
Miles Lott
19b1fcb265 Delete the config by name prior to insertion, just in case it was listed under
another appname previously
2001-07-01 12:12:39 +00:00
skeeter
dde10d310a Fixes proposed by ralfbecker on the ACL. 2001-06-30 14:55:46 +00:00
bettina
b1093ff7e1 added new function to format the number of items 2001-06-28 23:12:12 +00:00
bettina
15f2a238e7 added new function to format the number of items 2001-06-28 20:02:56 +00:00
Miles Lott
43d0b504ae Fixes for php3 and ldapimport/export 2001-06-28 08:59:39 +00:00
Miles Lott
4bd07b53e2 php3 fix - remove a comma 2001-06-28 08:58:42 +00:00
Miles Lott
c3f03c7733 Update to add new group exclusion, add nextid to create (needs table change) 2001-06-28 00:38:45 +00:00
Miles Lott
6d5b9f1c8c Not needed 2001-06-28 00:37:01 +00:00
Miles Lott
1dda9847ac This should now work, with setup3 and phpgw 2001-06-28 00:35:44 +00:00
zone
eadda85332 Updated to PHPGW_IMAGES_DIR 2001-06-27 09:31:38 +00:00
zone
6627870e4d Updated to SEP, very meager beginnings of full ACL support 2001-06-27 07:20:12 +00:00
Miles Lott
43a9aceecf Fix for new vars 2001-06-27 05:07:24 +00:00
Miles Lott
880bf3a86b Undo last change 2001-06-27 01:31:32 +00:00
Miles Lott
f9eaea8572 Add 'backup' to denied group/user list 2001-06-27 01:24:37 +00:00
Miles Lott
1f640379d3 Fix save repository 2001-06-27 00:44:20 +00:00
Miles Lott
aa53cee89e Add global denied arrays, for cases of import LDAP->contacts 2001-06-26 23:54:34 +00:00
Miles Lott
397e532e6e format class.accounts.inc.php, update class.accounts_contacts.inc.php to almost
working status
2001-06-26 23:16:18 +00:00
jengo
7e538b6df2 Removed legecy variables that should have been removed before 2001-06-26 21:40:45 +00:00
Miles Lott
83db6d7fb0 Moved the one altered function into old file as new_*, remove _wip 2001-06-26 21:29:39 +00:00
Miles Lott
43e6a077ed Slight mod to make it work independently for users/groups (for ldap) 2001-06-26 10:25:10 +00:00
Miles Lott
c099d2d296 Add as yet unused get_nextid() 2001-06-26 10:22:25 +00:00
Miles Lott
829250b0c0 Just some formatting cleanup, but preping to mod ldap to be all ldap 2001-06-26 09:51:16 +00:00
mdean
40ec10583d Added some missing functionality. 2001-06-26 01:47:36 +00:00
skeeter
b9671eacfa Fix for bug #435326. 2001-06-25 02:45:36 +00:00
skeeter
aff1f64be4 Fix for bug #432123. 2001-06-25 02:37:18 +00:00
skeeter
a704591312 Fix for bug #435743. 2001-06-24 02:18:47 +00:00
skeeter
2dd2c42356 Missed doing a ->next_record() call when loading configs cache option. 2001-06-23 11:01:59 +00:00
jengo
f35780f925 dded a way for apps to allow certain pages only to admins while keeping there currentapp set to the real appname.
$phpgw_info['flags']['admin_only'] = True;
is the format
2001-06-23 05:28:03 +00:00
Miles Lott
5304ec67f1 Lock app_sessions table in config class, and show preferences config in setup3 2001-06-23 04:37:31 +00:00
skeeter
36ee6b1dc2 fix for bug #435349. 2001-06-23 02:00:12 +00:00
skeeter
960a50b148 Admin can enable disable caching on the fly now. 2001-06-23 01:01:39 +00:00
bettina
51b8c75d57 update form_select() to use langs 2001-06-22 23:56:03 +00:00
bettina
dcbf229a19 moved formatted_address() to contacts class 2001-06-22 05:57:49 +00:00
bettina
ce483daaac added new function to format addresses in country specific style 2001-06-22 03:37:08 +00:00
bettina
2d7cb8b512 added new function to format addresses in country specific style 2001-06-22 02:19:54 +00:00
bettina
34fcd12d4b added new function to format addresses in country specific style 2001-06-22 01:58:47 +00:00
skeeter
c635b8226a Small enhancements to cache. 2001-06-22 01:22:22 +00:00
skeeter
f069e2fb06 Caching has been reworked and added back in. 2001-06-22 00:49:32 +00:00
jengo
38e1b201d7 Some changes needed for the reg app 2001-06-21 08:36:08 +00:00
jengo
8831087537 Added base64 encodeing to fix invaild char in passwords 2001-06-21 08:31:07 +00:00
seek3r
83a0af3424 trying to get windows support working 2001-06-20 08:36:55 +00:00
zone
45d28847c8 Switched arguments to write () 2001-06-18 21:34:08 +00:00
zone
14052ed584 Major changes for handling files outside the virtual root. Added real, and mask to path_parts. Got rid of RELATIVE_NONE for internal calls in favor of mask 2001-06-18 21:18:22 +00:00
zone
c86729da45 Fixed INSERT 2001-06-18 19:25:42 +00:00
skeeter
4546f7aaa1 Applying a patch from ralfbecker. This gives the admin the ability to grant ACL rights at the group level. 2001-06-18 03:03:48 +00:00
Miles Lott
41869acba8 Finish up reformatting 2001-06-17 22:30:18 +00:00
jengo
9a7c490aed Added function to return state names, minor reformating, merged the country class in 2001-06-17 22:19:00 +00:00
skeeter
7e3a1199e6 Cleanups for warning messages. 2001-06-17 16:55:04 +00:00
skeeter
6ebdeeb1eb Minor speed enhancements. Also cleans up a few warning messages. 2001-06-17 16:52:25 +00:00
zone
b1e5cb11f5 Added "clean" variables for SQL queries 2001-06-17 07:00:34 +00:00
skeeter
4659ebf46c Fixed a problem where the level still had a small problem. This will still leave a trailing '&' at the end of the URL. 2001-06-17 04:40:04 +00:00
skeeter
83c2195f27 Fixed a problem where the level parameters were not being set correctly whe using cookie based sessions. 2001-06-17 04:23:35 +00:00
zone
aa5c126bca Made INSERT's SQL compliant 2001-06-16 21:44:53 +00:00
Miles Lott
e04d9617ed Moving hook_after_navbar hook 2001-06-16 19:39:33 +00:00
skeeter
51e871070c Fixes to work with the new crypto class. 2001-06-16 19:04:44 +00:00
skeeter
7e2334d9c7 This looks like this has been a long time problem. The mcrypt_generic_init() needed to be called before _EVERY_ mcrypt_generic() and mdecrypt_generic() call. There is a change in the functionality of decrypt now. When decrypting complex object structures, it does not automatically unserialize the object. This is to give the app developer the ability to reset stdClass types to the appropriate class they should be. 2001-06-16 19:02:31 +00:00
jengo
08653f908d list_templates() only returns directorys now 2001-06-16 10:51:22 +00:00
zone
3d8137b0d5 Added __LINE__ and __FILE__ to SQL queries. Considered having path_parts return clean variables 2001-06-16 03:54:10 +00:00
Miles Lott
74b4a59581 Minor formatting update 2001-06-15 21:35:07 +00:00
Miles Lott
3356dc1453 Reformatting only 2001-06-15 21:29:33 +00:00
Miles Lott
e475245b8d Add experimental file-based translation class. Not for general
consumption, but it almost works...
2001-06-15 21:23:46 +00:00
zone
0f7534e79f Reversed order of arguments for set_attributes () to be more uniform 2001-06-14 08:50:28 +00:00
zone
29bc7a837c Added db_clean () which fixes single quote problems. Made all functions use set_attributes () 2001-06-14 08:24:24 +00:00
zone
dafbf32c4b Prevent moving directories into themselves 2001-06-14 06:39:10 +00:00
Miles Lott
c7926c1366 Reformat almost all functions, except for two, which use unbracketed
if statements and are very confusing to me... if this breaks anyone, please
rollback cvs!
2001-06-13 21:10:36 +00:00
Miles Lott
c73aeb5c62 Make sure there is new data before deleting the old data 2001-06-13 15:44:56 +00:00
Miles Lott
9d8b90e35d Formatting, including a lot of " removed, and it still works! 2001-06-13 06:27:06 +00:00
Miles Lott
1548a531b7 change from dbl to single ticks 2001-06-13 06:24:07 +00:00
Miles Lott
d9037970ec Add exception for 'config' in hook_single(); 2001-06-12 17:21:03 +00:00