Commit Graph

1443 Commits

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