Commit Graph

1583 Commits

Author SHA1 Message Date
ceb
e189e7d4c5 update add function to return the id 2002-09-02 22:03:00 +00:00
skeeter
6d47da13a3 One more stupid mistake for the datetime class. 2002-09-02 02:39:36 +00:00
skeeter
40df324cf5 GNU Bug #800. 2002-09-02 02:32:10 +00:00
skeeter
9d50404d22 GNU Patch #483. 2002-09-01 15:03:19 +00:00
skeeter
73bf8e96fa GNU Patch #492. 2002-09-01 13:37:10 +00:00
ceb
117e089722 update gdbutton 2002-08-30 02:16:15 +00:00
ceb
f1119c3860 added class to create gd/ttf buttons 2002-08-29 23:20:22 +00:00
Zone
402b797472 Add support of storing file contents in the database 2002-08-26 04:20:33 +00:00
Miles Lott
2808bec6c5 If PHP_SELF is not set, a REG_EMPTY error is generated - there is probably a better fix... 2002-08-24 15:22:14 +00:00
Miles Lott
6a5c1bd2de Fix problem of ???_langs() functions recursing instead of calling translation class.
This meant no lang installation/upgrade except when working with lang.php.
2002-08-23 04:28:28 +00:00
Miles Lott
e25be5b24a GNU Patch #488 2002-08-22 12:22:58 +00:00
skeeter
6ec153c54e Added a few isset()'s. This clears a few warnings from being logged. 2002-08-22 03:07:00 +00:00
skeeter
883882338d Changed EXP_DEBUG_APP to DEBUG_APP. 2002-08-22 03:05:58 +00:00
Miles Lott
eec43e2901 Remove stray whitespace 2002-08-20 12:41:48 +00:00
skeeter
94b08474d0 Was missing this piece.. Now it will display the timer debug statement. 2002-08-17 19:28:09 +00:00
skeeter
89ebd8ea8a Did I miss commiting this? 2002-08-13 23:39:39 +00:00
Miles Lott
0a3912cf96 verify that get_var did not return an empty cookie var (breaks noncookie sessions) 2002-08-12 00:59:34 +00:00
skeeter
0ce9edd060 Small change letting the system warnings to use user preference of template set for images. 2002-07-20 13:16:33 +00:00
skeeter
9db6ba3adc Possible fix for the network class error on line 81. 2002-07-20 01:32:00 +00:00
ceb
325b6d81dd update global_cats selection 2002-07-03 00:55:47 +00:00
skeeter
32bc0ab15c GNU Patch #305. 2002-06-30 12:18:07 +00:00
skeeter
297a820544 GNU Patch #373. 2002-06-29 12:24:11 +00:00
skeeter
45978168e2 GNU Bug #631. 2002-06-25 01:38:34 +00:00
Miles Lott
dce6255685 Add two auth methods, both of which require third party PHP modules (see source) 2002-06-24 12:16:50 +00:00
Zone
5371495831 Compensate for bug in ACL 2002-06-24 04:02:14 +00:00
Zone
fc3df2e82e Savannah Patch #370 (modified) - Fix and extend ACL - Thanks gisu 2002-06-24 03:18:59 +00:00
skeeter
3c51862e9c A more enahanced datetime class. This one will store the server's TZ offset in the cache and use that value to calculate GMT. 2002-06-23 18:05:15 +00:00
skeeter
550bb2f132 GNU Patch #304. 2002-06-23 17:10:28 +00:00
skeeter
ca58fb532e GNU Patch #325 2002-06-09 02:17:37 +00:00
skeeter
3520aa9eff GNU Patch #336 2002-06-09 01:30:55 +00:00
skeeter
34848f8414 GNU Patch #347 2002-06-09 00:17:59 +00:00
seek3r
273c381628 updating for my netscape 4.x patches 2002-06-03 22:17:56 +00:00
seek3r
198abc90cc updated for a few bug fixes and some html comliance 2002-05-31 22:14:10 +00:00
seek3r
e1cdcafb61 updated idsociety to new format. works fine for me in normal/tables and frames mode 2002-05-31 21:22:25 +00:00
seek3r
9bd5ee2de5 left forced frames mode again 2002-05-31 18:37:18 +00:00
seek3r
0e2e0f5446 fixed design to allow for backwards compatibility 2002-05-31 18:13:07 +00:00
seek3r
161047f121 Apps dont need to halt on template error. Now it just reports 2002-05-31 10:18:57 +00:00
seek3r
96577bfcd9 few minor bug fixed 2002-05-31 09:25:52 +00:00
seek3r
4004c9a4e1 updated so that login page will destroy frames, cleaned up various other issues like better lang support in msgbox, now langs trailing char can be turned off. several other improvements 2002-05-31 08:29:19 +00:00
seek3r
03a64409f8 accidently left forced frames mode 2002-05-30 21:14:29 +00:00
seek3r
eb0b6aaf30 updated phpgwapi/inc/functions.inc.php to follow a nice and orderly loadup process. Added back in the support for CSS, added support for preloading images, fixed javascript problems, updated themes to use , overall just got this api nice and tight in the loadup and template areas. Now we need to update all the template sets and apps to follow suit 2002-05-30 21:13:07 +00:00
seek3r
4a2729a720 massive and sweeping change to the link() function, the way the app loads up, to a single templates class instance, to a new template set structure which automaticly handles frames support. We will have much cleanup to do to get apps working again and have them following the new guidelines 2002-05-30 09:47:09 +00:00
seek3r
de3fcb1c70 updated wit new msgbox 2002-05-27 08:22:12 +00:00
seek3r
60a0c1ac74 fixed password strength rules names to be compatible with phpGW 2002-05-27 03:13:28 +00:00
Miles Lott
75c9dc23f0 This should allow for another app to load its own contacts class as a replacement
for the api version.  If the app wants to include the api shared class, it should
do so manually.
2002-05-27 01:32:04 +00:00
Miles Lott
fcde09f5ab Change user-agent to phpGroupWare 2002-05-27 00:52:00 +00:00
Miles Lott
2b950e3583 Add encoding to output 2002-05-27 00:50:28 +00:00
Miles Lott
d9ac13b22a Silence undefined variable error 2002-05-27 00:43:29 +00:00
Miles Lott
5cf60ba4ee Add encoding to return value 2002-05-27 00:40:30 +00:00
Miles Lott
cdc2926ff3 formatting 2002-05-26 21:16:25 +00:00
Miles Lott
f8ee781c06 formatting 2002-05-26 20:32:54 +00:00
Miles Lott
3861b64b16 formatting 2002-05-26 20:22:24 +00:00
Miles Lott
2a6ff0ffd4 format, fix banner 2002-05-26 20:14:02 +00:00
Miles Lott
bd6d7aac97 formatting 2002-05-26 20:09:01 +00:00
Miles Lott
090f676483 remove stray whitespace, etc 2002-05-26 20:00:35 +00:00
Miles Lott
96432a8a97 remove stray whitespace, add descr for sha password encrypt function 2002-05-26 19:57:35 +00:00
seek3r
d2f00f43ce added password validation routines, as well as general improvements on sanitize function 2002-05-26 08:50:40 +00:00
seek3r
2d37f41455 added password validation routines, as well as general improvements on sanitize function 2002-05-26 08:26:44 +00:00
seek3r
80e3cdf02d added lang() call to the msgbox error text 2002-05-26 08:23:49 +00:00
seek3r
3a76b0f6f0 subverted error_list() to use msgbox 2002-05-24 22:30:35 +00:00
seek3r
d8e16f226c more improvements on the msgbox 2002-05-24 21:56:56 +00:00
seek3r
c74e97e907 bug in phpgw_header wasnt calling the msgbox, and also seperate msgbox_row block for more control over good and bad rows 2002-05-24 20:47:28 +00:00
seek3r
88f19d299d added msgbox and now have templates class auto add the navbar values 2002-05-24 19:15:24 +00:00
seek3r
cf2a12ba1c made changes to the loading of the header, navbar, appheader, and footers 2002-05-24 10:38:03 +00:00
seek3r
48bffd5e2a fixed dumb bug 2002-05-24 02:51:20 +00:00
seek3r
563107b8c8 added new css support, common/shared template file support, and printer templates support 2002-05-23 21:28:59 +00:00
Miles Lott
66b702e1f7 add home app for loading all langs 2002-05-21 03:03:22 +00:00
Miles Lott
5dc37bbc0d Fix the 'too early to get the userlang' problem 2002-05-20 01:11:27 +00:00
Miles Lott
01aff05336 Tweak to work more like the sql version (no more global lang var) 2002-05-20 00:45:52 +00:00
Miles Lott
852c11cec9 same as previous commit, but for the delete 2002-05-19 22:59:00 +00:00
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