Commit Graph

3966 Commits

Author SHA1 Message Date
Lars Kneschke
cecef59550 addedd javascript support class 2003-08-30 08:44:51 +00:00
Lars Kneschke
a4ecc1017c formating 2003-08-30 07:15:36 +00:00
Ralf Becker
7971e01aef some first basic branding 2003-08-28 18:17:11 +00:00
Ralf Becker
55638ce3a5 fixed some probs with not existing database 2003-08-28 18:14:45 +00:00
Ralf Becker
f34fe8088b reimported jsCal into phpgwapi/js now 2003-08-28 16:35:07 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
skeeter
aedaca8c72 Changed the require_once to CreateObject 2003-08-25 10:15:27 +00:00
ceb
0027baea33 droped class 2003-08-23 02:09:37 +00:00
ceb
4e0b29e3a9 what crap 2003-08-23 01:20:13 +00:00
ceb
6e63540873 update 2003-08-23 00:44:53 +00:00
Ralf Becker
940e0c1df9 added a helpmessage to the jsCalendar input-field 2003-08-18 23:17:56 +00:00
Ralf Becker
b32fe49d9b wrapper-class and setup-file for jsCalendar 2003-08-17 23:05:57 +00:00
Ralf Becker
3173e4dfc6 Initial revision 2003-08-17 22:44:06 +00:00
Ralf Becker
c30cd51f22 table_name returns empty if we have no db-connection instead of throwing error-messages (used in setup)
Note: daves OOP changes still needs to be merged to HEAD!!!
2003-08-13 10:56:01 +00:00
ceb
459fceb00f update 2003-07-26 23:37:55 +00:00
ceb
74040b0444 update 2003-07-25 01:11:45 +00:00
ceb
a636497b9e added function 2003-07-22 23:40:37 +00:00
ceb
a400950613 added function 2003-07-22 21:35:49 +00:00
Ralf Becker
6ab850d35c - added update from version 0.9.14.004-6 (security-fixes) and 0.9.14.508 (asyncservice)
- merged asyncservices from .16
2003-07-21 18:20:45 +00:00
ceb
6b683518ef update 2003-07-03 19:29:26 +00:00
Ralf Becker
ebee2598cf xss fix, running the content of the address-label-function through strip_html 2003-07-02 00:08:20 +00:00
ceb
b1aa23e5d0 fix 2003-06-24 22:33:40 +00:00
ceb
782fdf7c2d fix bug #3861 2003-06-24 13:32:25 +00:00
ceb
5503443533 fix bug #3522 2003-06-24 12:38:08 +00:00
ceb
64aa244e2e update 2003-06-24 11:54:22 +00:00
ceb
99cb204413 update 2003-06-21 00:59:30 +00:00
ceb
298c0d03ae fix 2003-06-17 13:23:42 +00:00
Ralf Becker
b6ef1b3605 fix for bug #3427: no email-notifications
send class does not default to port 25, as email does when smpt-port is left empty in the email-site-config
2003-05-30 16:11:36 +00:00
Ralf Becker
cef302db7b Fix for methode-hooks with no return-value 2003-05-24 14:25:13 +00:00
Ralf Becker
8d77552935 merged dave's php4.1+ change from .16 2003-05-24 12:21:42 +00:00
ceb
3a92c8d5bb update 2003-05-22 23:20:08 +00:00
ceb
6c05d396d9 update 2003-05-21 23:12:44 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
Ralf Becker
8c4912bce3 modified add and delete to set / unset default and forced prefs too 2003-05-19 23:05:32 +00:00
Ralf Becker
b03789273e killed some left-over debug-messages 2003-05-19 13:34:33 +00:00
Ralf Becker
b68857973c added lang-call to display_mainscreen 2003-05-18 19:31:21 +00:00
Ralf Becker
a09ccfb730 merged sesson-functions for .16, incl. the brute-force stuffe and cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:18:58 +00:00
Ralf Becker
53b8b8844f merged sesson-functions for .16, incl. cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:16:58 +00:00
Ralf Becker
6b8a74ecc9 fixed wrong users_localtime time:
offset in user_prefs is not against GMT but servertime
2003-05-17 21:25:09 +00:00
Ralf Becker
9a074ef8b3 added function to encode subject for 8-bit-chars and made boundary a param 2003-05-17 20:41:14 +00:00
Ralf Becker
c1f78f4efc changed username to fullname 2003-05-17 20:37:51 +00:00
Ralf Becker
02c9cec298 fixed display_fullname for missing parts of the name
merged kneckes ldap-change too
2003-05-17 20:34:55 +00:00
Ralf Becker
e51acc6ad8 fixed bug, account_id param in constructor was not used
merged jengos changes from .16 too
2003-05-17 20:26:49 +00:00
mdean
39a55af60a SV# 3634: Syntax error return Rrue; should have been return True; 2003-05-17 19:29:58 +00:00
seek3r
68e9fd40cc dd 2003-05-15 10:01:57 +00:00
seek3r
550d17d454 wrapped a couple functions in if statements because they are now part of new versions of PHP 2003-05-10 08:53:43 +00:00
seek3r
ebc98519ce fixed bad reference which caused problems on windows servers 2003-05-10 08:52:21 +00:00
Ralf Becker
52ad25deb0 call constructor of sbox class 2003-05-05 20:59:14 +00:00
Ralf Becker
0953e3e21b gnu-patch #1245 2003-05-05 20:24:57 +00:00
Ralf Becker
3d2edbc0a7 gnu-patch #740 2003-05-05 19:33:10 +00:00
Ralf Becker
a573aac782 gnu-patch #810 2003-05-05 19:25:16 +00:00
Ralf Becker
6f48cb5363 gnu-patch #1244 2003-05-05 19:11:47 +00:00
Ralf Becker
06489ff747 added an other display-type for accounts: Firstname Lastname [lid]
changed < > into [ ]
2003-05-04 15:14:06 +00:00
Ralf Becker
e152c6727d changed pref-name maildomain to domain 2003-05-04 10:30:38 +00:00
Ralf Becker
1a01f33308 account-display is now configurable via the prefs:
- Firstname Lastname (default)
- Lastname, Firstname
- username
- <username> Lastname, Firstname
2003-05-03 22:23:50 +00:00
ceb
3f24159bfd update tpl 2003-05-03 14:17:15 +00:00
Ralf Becker
3826112059 Fixed get_image_dir and get_image_path to not return the templates imagedir if it only contains the navbar icon (eg. idots or idsociety).
Thats only a fix, better would be if every app uses the image or find_image function.
2003-05-03 10:59:16 +00:00
Ralf Becker
ce1a06d831 small fix, added a wrapper for the renamed function email_address (was sub_default_addres) for email/anglemail 2003-05-03 10:58:46 +00:00
Ralf Becker
e1c1ecad78 added notify-messages to prefs:
- notify messages contain vars to be substituted, eg. $$username$$
- the var-name gets translated for editing
- new function create_notify in preferences.php
- new function parse_notify to substitute / create the notify msg
2003-05-02 01:33:32 +00:00
Ralf Becker
f44171243c fix for phrase which end (after truncating to 230 chars) in a space (which has been striped by the db) 2003-05-02 01:06:33 +00:00
ceb
7546857b3e update cats 2003-05-01 23:24:09 +00:00
Ralf Becker
52ff07f6c9 fix from sigurdne, for bug #3300 and #2740 2003-05-01 12:49:11 +00:00
Ralf Becker
21d8e8fd62 reworked preferences (ported from .16 incl. fixes):
- not set user-prefs use the default value, default values have been used only for new accounts before
- preference-table has new column preference_app
- preferences got automaticaly quoted now, eg. its save to use single and double quotes as well as backslashs
2003-05-01 09:19:50 +00:00
Ralf Becker
f81afd60a9 fixed template_alternate_row_color, so also set the row_color in the supplied template, not only in the template of the nextmatch-class 2003-05-01 09:17:44 +00:00
Ralf Becker
ad1a0a1cb3 fixed schema_proc for pgSql to properly rename a table, if forgot to rename the index 2003-04-30 11:07:24 +00:00
ceb
486e0b043f update portal 2003-04-30 02:13:17 +00:00
Ralf Becker
104bad578d added param try_unregistered to hooks::single for setup 2003-04-28 08:25:59 +00:00
Ralf Becker
2c59c61f0d added param try_unregistered to hooks::single for setup 2003-04-28 08:24:45 +00:00
Ralf Becker
b12d672c5c importing asyncservices from .16 2003-04-27 23:19:49 +00:00
Ralf Becker
4e1cd7d1f5 new type of hooks via methodes instead of separate files:
- allows to parse arguments ot the hook and return content
- all access to the hook-table is now handled by the hook-class (for admin and setup too)
- all existing hooks continue to work of cause
2003-04-27 22:26:04 +00:00
ceb
996ae97971 update img 2003-04-27 19:27:28 +00:00
ceb
7420f58b18 update img 2003-04-27 14:10:16 +00:00
ceb
79f95f0576 update 2003-04-26 20:52:59 +00:00
ceb
9cddaf2f6e added extra function for filter plus update tpl class to version .16 2003-04-26 01:19:45 +00:00
ceb
dbca6b1b6b removed charset from tpls since its added by xslt already plus update class.common: add a flag to disable any xslt output 2003-04-24 21:04:22 +00:00
ceb
ded88a0790 update js and css 2003-04-24 01:34:44 +00:00
Ralf Becker
251699f154 gugux lang-update 2003-04-22 22:30:38 +00:00
Ralf Becker
cad7e38029 fixed for login: dont call framework for login 2003-04-21 08:32:53 +00:00
ceb
0d021d3426 it was impossible to login/logout after change of framework call 2003-04-21 00:49:42 +00:00
Ralf Becker
b69defa25b added app_header via $GLOBALS['phpgw_info']['flags']['app_header'] 2003-04-20 20:47:50 +00:00
ceb
bf02473ccd update cats 2003-04-20 14:15:01 +00:00
ceb
cf343ac9d6 update hook_admin 2003-04-20 02:16:22 +00:00
ceb
2dd760281b moved function deisplay_entry from admin to api 2003-04-19 23:17:40 +00:00
Ralf Becker
fefe0305fd fix for bug reported on user-list, time-compare creates date before 1970/1/1 which is the earliest allowed date on windows 2003-04-18 08:37:04 +00:00
Ralf Becker
6b1cfa855e limited the length of the message_id to 230 and defined a constant for it 2003-04-02 17:46:37 +00:00
Ralf Becker
486fd309c0 changed wrong php-version-number 2003-04-02 10:42:12 +00:00
Ralf Becker
8a9884ec96 had to redo it as it breaks other stuff 2003-03-31 17:34:38 +00:00
Ralf Becker
64309e9e5a made it more compatible with the version in 0.9.14 2003-03-31 16:51:25 +00:00
Ralf Becker
ea968b1cd6 added function redirect_link and added nodisplay before exit 2003-03-31 16:50:49 +00:00
Ralf Becker
ec8ba8cab3 added appname to website title (as dave in .16) 2003-03-30 11:04:57 +00:00
Ralf Becker
32f1ed2b83 now admin can enable/disable the preferences as any other app, fix for bug#2967 2003-03-28 16:19:46 +00:00
Ralf Becker
a29965b1ea added a local var $oProc as reference to the global one, to be compatible with old-style default_records.inc.php 2003-03-27 18:39:49 +00:00
Ralf Becker
d948f09973 moved generation and translation of app-title into applications-class 2003-03-22 12:29:42 +00:00
Ralf Becker
b83af98a7f skwashd's patch to:
- name2id return system-global cats too
- return_array use strlen now to differ between not set and 0 parent_cat_id
2003-03-22 09:37:40 +00:00
Ralf Becker
254ba69217 dave's parse_navbar_end-fix (no more complaining it's not defined) 2003-03-22 09:04:37 +00:00
Ralf Becker
c2778383c5 2 changes:
- newer lang-files get now installed automaticaly when a user log's in
- Czech is added to the supported lang's
==> phpgwapi version updated to 0.9.14.002
2003-03-22 01:32:43 +00:00
Ralf Becker
556680d7f8 fix for 2 pgSql bugs:
- if a table get droped (eg. uninstall an app) the sequenz got not droped, which leads to complains of pgSql if you tried to reinstall the table/app
- _CopyAlteredTable (which is used by AlterColumn) uses a 'SELECT * ' and then the $db->f(0|1|2) which leads to errors when the column-order is not as expected
2003-03-22 01:28:48 +00:00
Ralf Becker
f9c53875eb Moved list_sessions and total from admin.socurrentsessions into the session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the number of loged-in-users.
Aktivated the accesslog f�r php4-sessions too.
2003-03-21 00:47:18 +00:00
Ralf Becker
0b53b03eae skwashd's patch to use last_insert_id instead of an extra max(id) query 2003-03-19 23:14:21 +00:00
Ralf Becker
4d4f86af2b an other issue with daylight-saveing in days_between solved, now the calculation is down ignoring the daylight-saveing 2003-03-18 18:02:36 +00:00
Ralf Becker
c280a1ab7e made some more messages from the users-prefs translatable 2003-03-18 17:05:42 +00:00
Ralf Becker
027cfe7207 fix for postgreSql's AddColumn, to allow to set a default and a not null contraint, they are not allowed in add column in pgSQL 2003-03-18 00:07:17 +00:00
Ralf Becker
ff708d4917 skwashd's patch to be able to retrive entries with parent_id == 0 2003-03-16 22:16:33 +00:00
Ralf Becker
2df14f0419 fix for bug #2549, patch from ||cw 2003-03-13 17:59:45 +00:00
Ralf Becker
b4f4f7c938 fix for pgsql >= 7.3 need separate LIMIT and OFFSET clause, works with 7.2.x too 2003-03-13 17:44:53 +00:00
Ralf Becker
e19a2ee41d fix multidomain header-generation 2003-03-05 14:21:49 +00:00
Ralf Becker
982f00b803 fix to include the mysql-error-msg again 2003-03-05 13:57:29 +00:00
Ralf Becker
cc9eace636 sim's patch #1218: vfs patch (to implement "view" method) 2003-03-04 18:15:38 +00:00
Ralf Becker
ff3eae22d3 sim's patch #1217: webdav client cache fix 2003-03-04 18:10:15 +00:00
Ralf Becker
6395e2a6ab sim's patch #1096: webdav client class fix (small but essential) 2003-03-04 17:46:16 +00:00
Ralf Becker
bdf2cb9d91 reimplemented the days_between function because it led to an infinite recursion in some cases and its simpler/faster now 2003-02-26 16:44:11 +00:00
Zone
241a0bbf09 Load vfs_shared class 2003-02-17 19:35:52 +00:00
Zone
f72d5d300e Move shared variables and functions to vfs_shared 2003-02-17 19:34:56 +00:00
Zone
45caae75f9 Initial commit 2003-02-17 19:33:07 +00:00
Zone
efc0287bc1 Initial commit. From Jonathon Sim <sim@zeald.com> 2003-02-06 22:45:05 +00:00
Zone
4697629414 Initial commit. Original author Leo West <west_leo@yahoo-REMOVE-.com>, changes from and submitted by Jonathon Sim <sim@zeald.com> 2003-02-06 22:43:18 +00:00
seek3r
a80e96953f added new acl class as acl2 while its being tested 2003-01-12 20:19:12 +00:00
seek3r
d1f5fdf372 oops. left debug line in safe_args() 2003-01-12 03:46:38 +00:00
seek3r
8ae1ee9e14 fixed validation bug in safe_args() and removed debug line I left in createobject() 2003-01-12 03:43:55 +00:00
seek3r
637307f51c added new safe_args function which should help to make our functions safer and more flexible 2003-01-11 08:32:44 +00:00
ceb
bf0e5e2d90 update 2003-01-04 00:54:55 +00:00
ceb
c5526be9e4 update 2003-01-04 00:12:48 +00:00
ceb
b0e538a1ff fixed forced prefs 2002-12-26 20:43:00 +00:00
seek3r
95ce24b391 *** empty log message *** 2002-12-23 01:29:19 +00:00
ceb
f8afc79b4b update help 2002-12-23 00:57:08 +00:00
ceb
a7adc68829 update to install admin/prefs/api at once during new install 2002-12-19 23:33:44 +00:00
ceb
06a871dd7c update accounts_ldap 2002-12-18 00:20:46 +00:00
ceb
f74cd4393f update help system 2002-12-16 01:20:12 +00:00
ceb
38f09178a7 update nm sort function 2002-12-05 00:27:37 +00:00
ceb
579efdde4d update help 2002-12-01 03:35:02 +00:00
ceb
de9637797d update 2002-11-30 02:22:23 +00:00
ceb
4fa662a569 started updating help system 2002-11-30 02:02:32 +00:00
ceb
ffa00332ce update verdilak layout 2002-11-28 01:38:13 +00:00
ceb
b0f46deaa0 fix in function des_cryptpasswd 2002-11-24 21:53:21 +00:00
ceb
ba80c900a7 update 2002-11-24 01:45:28 +00:00
ceb
db7be573d7 update pix 2002-11-23 03:45:40 +00:00
ceb
380db5df05 removed lang call from class applications, since this caused an english only environment. app_title gets translated in function navbar or wherever its needed 2002-11-22 02:27:20 +00:00
ceb
e39dc2a3ee update 2002-11-18 22:09:01 +00:00
ceb
df9ee52ebf update 2002-11-18 16:19:56 +00:00
ceb
92d9a97614 moved manual to the top menubar 2002-11-15 23:43:20 +00:00
ceb
1483360a0e update 2002-11-15 22:31:51 +00:00
ceb
c71c14dc96 added funkwerk layout 2002-11-15 05:15:39 +00:00
ceb
48d4f167cc moved justweb to use xslt 2002-11-08 22:42:14 +00:00
ceb
75bdb0df44 add SEP to add_file 2002-11-06 23:20:02 +00:00
ceb
6f6e06b39f removed var from hook_admin 2002-11-03 01:03:07 +00:00
ceb
d537066c83 update xslt 2002-11-02 22:25:14 +00:00
ceb
754a43388c update 2002-10-29 23:35:02 +00:00
ceb
aa1dc9eb33 update 2002-10-29 23:11:21 +00:00
ceb
27031e5523 added option to enable/disable support for old_style apps, added css class for msgbox, fixed home screen if default_app 2002-10-29 22:15:32 +00:00
ceb
9d9a6e5b35 update 2002-10-28 04:50:43 +00:00
ceb
6d142e0c7c removed app_title plus update default layout to use xslt 2002-10-26 22:39:19 +00:00
ceb
4465aa63e6 update xslt 2002-10-26 20:33:04 +00:00
ceb
b4e4be334b update xslt 2002-10-26 00:33:22 +00:00
ceb
b9f2dba2b3 update xslt 2002-10-25 22:34:04 +00:00
ceb
3e7875e1c6 update xslt 2002-10-25 21:40:09 +00:00
ceb
24aa900898 update xslt 2002-10-25 20:34:36 +00:00
ceb
6d2a19632f update xslt 2002-10-25 16:44:35 +00:00
ceb
d94b0a9ffe update to use xslt *** HEAD IS CURRENTLY BROKEN *** 2002-10-25 03:04:28 +00:00
ceb
587fa97db2 removed app_title plus update layout 2002-10-23 20:47:33 +00:00
ceb
fe749bb211 update xslt 2002-10-20 22:01:46 +00:00
ceb
fed918c353 update msgbox 2002-10-20 00:34:12 +00:00
ceb
1e3dc0bf00 update themes 2002-10-19 20:46:35 +00:00
ceb
49d8a6db1a update 2002-10-19 00:42:36 +00:00
ceb
a979f0afc1 added encoding to function export_xml 2002-10-19 00:37:23 +00:00
ceb
738455541d fixed wrong encoding in class xslttpl 2002-10-19 00:17:02 +00:00
ceb
16e38ed24f fix wrong user lang setting 2002-10-18 22:53:12 +00:00
ceb
10169aa55e update function msgbox 2002-10-18 21:45:03 +00:00
ceb
551926d13d update msgbox to use xslt 2002-10-18 00:58:32 +00:00
ceb
e6ebd3cd08 update msgbox to use xslt/fixed msgbox tpl error within apps 2002-10-18 00:20:53 +00:00
ceb
8a197707a1 update function call 2002-10-15 21:41:26 +00:00
ceb
3c48c1c3aa fix for subs not showing 2002-10-15 21:40:58 +00:00
ceb
df62f9d644 fix for bug 1308 2002-10-15 00:12:39 +00:00
ceb
23edad505e update 2002-10-13 22:04:55 +00:00
ceb
49ef265853 update 2002-10-12 22:33:24 +00:00
ceb
5cc3837622 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:03:35 +00:00
ceb
be05bc6e25 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 21:18:23 +00:00
ceb
22ff2988c7 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:01:39 +00:00
ceb
aac6b5e5f4 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 17:23:56 +00:00
ceb
212c43738a update edit cats 2002-10-12 00:50:37 +00:00
ceb
a8b4146b4e added missing ')' to search string in list function 2002-10-11 00:35:11 +00:00
ceb
7776d70236 update css 2002-10-06 22:28:41 +00:00
ceb
b93e93b33e update css 2002-10-06 19:57:58 +00:00
ceb
afa2d68758 update portal plus tpl 2002-10-06 16:18:03 +00:00
ceb
8099197a78 update img functions 2002-10-06 03:06:03 +00:00
ceb
2a39737dc2 update portalbox functions 2002-10-05 23:40:51 +00:00
ceb
c5d16e93c9 update portalbox functions 2002-10-05 22:00:25 +00:00
ceb
0ae563ca08 fix for bug 1286 2002-10-04 20:59:00 +00:00
ceb
f89c10e742 update to use xslt 2002-10-03 23:16:08 +00:00
ceb
bfc4ee7556 update to use xslt 2002-10-03 22:02:19 +00:00
ceb
f684ccd732 update to use xslt 2002-10-03 21:38:11 +00:00
ceb
d5202ca67c fixed about function plus update to use xslt 2002-10-03 02:49:22 +00:00
ceb
08c5e74c66 update to use css files 2002-10-03 00:11:48 +00:00
ceb
53d5b63359 added debugging formatting code 2002-10-02 00:44:22 +00:00
ceb
44ea293a1c update to avoid linebreaks in output where they shouldnt be 2002-10-01 23:13:31 +00:00
ceb
00b6e9a3a7 update 2002-09-29 18:22:17 +00:00
ceb
0bd42b8033 update functions to load the css file 2002-09-29 04:17:49 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
seek3r
8abf9fa1a5 Switched to using the register_exit_function() and added scrolling divs to a couple places for examples 2002-09-28 15:20:20 +00:00
ceb
6d049dfa2c update css 2002-09-27 23:49:59 +00:00
ceb
69221717ed update css 2002-09-27 23:41:49 +00:00
ceb
bb54e6d29a update css 2002-09-27 22:40:15 +00:00
ceb
d0d21f42be update 2002-09-27 17:39:49 +00:00
ceb
abfa5b6785 update css 2002-09-27 02:23:26 +00:00
ceb
71610c3297 changed functions to use css files 2002-09-27 00:14:18 +00:00
ceb
9fea7d76e0 added xsl function 2002-09-26 03:58:21 +00:00
skeeter
084bf0c8b4 Last fix for the domain cookie. 2002-09-26 03:07:50 +00:00
ceb
34deae3dde added argument layout to function get_tpl_dir 2002-09-25 04:04:24 +00:00
ceb
e9251d17e1 added function for cat_select_box using xsl tpl 2002-09-25 04:02:03 +00:00
Zone
6d6050190e Make session timeouts configurable and check for session timeout in verify() (every page load) instead of only when creating or destroying sessions 2002-09-24 05:23:30 +00:00
Zone
453c62f1b2 Fix parse errors (extra ')'s) 2002-09-24 05:19:18 +00:00
seek3r
63c28e56bd These are useful classes we can use 2002-09-23 22:36:11 +00:00
skeeter
1fd2449191 A few changes to add_file(). 2002-09-23 02:35:25 +00:00
seek3r
67ea8577cc added halt function 2002-09-22 23:03:57 +00:00
ceb
7b50d6c10c readd 2002-09-21 22:00:07 +00:00
skeeter
933f76e00d Will now only print debug statements when DEBUG_API is set. 2002-09-21 21:54:20 +00:00
seek3r
2523907723 needs more phpGW integrationg 2002-09-21 08:42:46 +00:00
seek3r
00d77ea97b Now is fully working. I will add xpath referencing support at some point 2002-09-21 06:55:50 +00:00
Zone
71ec2f0197 Updates needed for phpwebhosting -> filemanager name change 2002-09-21 05:15:32 +00:00
seek3r
20974436bd Have importing of vars and xml working on any node 2002-09-21 00:24:11 +00:00
seek3r
18859ef4d5 not ready for public use... but its getting better fast 2002-09-17 16:42:50 +00:00
skeeter
cdb7ed3e2d GNU Patch #290. 2002-09-17 10:03:37 +00:00
skeeter
143cbc5d42 GNU Patch #290. 2002-09-17 02:47:35 +00:00
skeeter
720df8a650 Minor cleanups. 2002-09-17 02:33:03 +00:00
skeeter
b44fb7dcda Missed a semicolon. 2002-09-15 23:42:56 +00:00
skeeter
328f9a4bc5 One more fix for the cookie stuff. This will at least delete properly. 2002-09-15 22:14:24 +00:00
skeeter
94eb165d39 Added mr_e's patch. 2002-09-14 21:58:39 +00:00
skeeter
bf218b85ed Missing a class variable definition. 2002-09-14 21:40:48 +00:00
skeeter
f92c84b48c This was something lacking and is now used with sitemgr. 2002-09-12 02:27:58 +00:00
ceb
e4044935f0 update cats 2002-09-08 20:40:12 +00:00
ceb
aacd03d33f update cats 2002-09-04 01:58:34 +00:00
skeeter
3a987d2164 GNU Patch #501. 2002-09-04 01:25:29 +00:00
ceb
7d38b22ddb update cats 2002-09-04 00:30:50 +00:00
ceb
b6ca89c43e updated function delete, id2name, return_sorted_array to move subcats down if delete their parent 2002-09-03 02:21:36 +00:00
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
Zone
5d6721af18 PHP3 fixes 2002-02-10 04:19:43 +00:00
Miles Lott
e00280c5b0 Add one other weird exclusion in createobject() (this should fix passing 0
to xmlrpcval class for an int type; formatting;
2002-02-09 21:19:22 +00:00
Miles Lott
ad06fdf765 formatting 2002-02-08 05:21:30 +00:00
Miles Lott
9dcc98b2d5 Formatting, replace gettype with is_??? 2002-02-08 05:04:33 +00:00
skeeter
03358f1bfa A couple of small data caching in find_image(). 2002-02-03 00:52:53 +00:00
ceb
c8352b4ae8 changed function filter plus search to pass and directly 2002-02-01 03:36:57 +00:00
ceb
340bc3c184 added type to function read_repository 2002-01-31 02:44:52 +00:00
Miles Lott
30684926fe Cleanup some globals, commented crap 2002-01-29 00:48:03 +00:00
Miles Lott
99ff77322a GLOBALS and auto_add fix 2002-01-29 00:40:16 +00:00
Miles Lott
481eb987bc Comment out alpha app sort until some configuration is written 2002-01-28 04:07:41 +00:00
ceb
03e18e60cd added version to [phpgw_info][apps] array 2002-01-28 01:52:36 +00:00
Miles Lott
8bf6b86674 Change to use phpgw_info for image type selection 2002-01-22 04:33:36 +00:00
Miles Lott
1918905b1c Change default back to gif, change switch value to phpgw_info element for config later 2002-01-22 04:30:51 +00:00
seek3r
bd2ca67eb1 now only removes all gifs is policy is set 2002-01-21 19:13:26 +00:00
seek3r
3b939f5158 now only removes all gifs is policy is set 2002-01-21 19:04:57 +00:00
seek3r
0a001801f9 oops 2002-01-21 18:51:40 +00:00
seek3r
be2435ce28 autoconvert .gif to .png 2002-01-21 18:49:57 +00:00
seek3r
e7a82bc085 allows image pref order 2002-01-21 17:51:54 +00:00
angles
5761dd24a6 nextmatches arrows not plain href, no js anymore 2002-01-17 20:52:31 +00:00
Zone
4029a33d16 Switch to arrayized parameters, various fixes 2002-01-16 06:36:51 +00:00
Zone
467ccb3213 Add array_merge () 2002-01-16 06:33:06 +00:00
skeeter
7991524018 This will disallow groups from logging into the system. 2002-01-16 02:10:56 +00:00
ceb
43c6887ae8 update cats 2002-01-15 02:52:51 +00:00
skeeter
25c4b80150 Trying to get a speed increase out of the cache. 2002-01-13 04:06:40 +00:00
skeeter
3f95bef544 Added a call to sessions->delete_cache() and a call to re-read the users session data when being set to the default preferences set by the admin. 2002-01-13 03:58:41 +00:00
skeeter
38684d2cf6 Added the ability to change the account_lid in SQL. LDAP already had that ability. 2002-01-13 03:53:43 +00:00
ceb
9783df1431 added limit_query call to the return_sorted_array function; but still doesnt work correctly 2002-01-13 00:39:26 +00:00
skeeter
27e9b9af70 Fixed the parameter substitution. Will now take parameters named either 'p1' or 'p_1'. 2002-01-12 22:12:40 +00:00
ceb
334e5f0b96 added new function to sort cats list 2002-01-12 04:08:35 +00:00
Miles Lott
5cff4754a0 fix banner 2002-01-11 02:01:24 +00:00
skeeter
3b71750055 This will allow admin members to grant group managers to user(s) of a group. 2002-01-10 18:18:44 +00:00
angles
1dd4f8b6ac add support for sub-level data manipulation in prefs 2002-01-10 10:09:10 +00:00
Miles Lott
3e12c20d7c GLOBALS 2002-01-08 03:37:51 +00:00
skeeter
846d546eb5 This should fix any HTML/js errors wen viewing apps which include a '-' in the name. 2002-01-08 02:14:47 +00:00
seek3r
c13ade18dc Several fixes in this commit because the switch from sf to savannah had to come from a day old copy of our cvs tree. Much was fixed including email being fixed for PHP3 compatibility, skeeter updated all the setup.inc.php files to say they would be comaptible with the new API version, ceb made fixes to the projects app based on newly submitted bug reports. Im sure there are more but I dont know all the details. Oh, I did add a print_r() to the php3 support files. 2002-01-07 10:50:42 +00:00
skeeter
1a1018cea4 Clears up a few warnings when logging warnings/errors to a log file. 2002-01-06 06:06:30 +00:00
skeeter
7a13d1fef3 Clears up a few warnings when logging warnings/errors to a log file. 2002-01-06 06:01:07 +00:00
bettina
ade7a6bdbf address format 2002-01-05 23:57:41 +00:00
Miles Lott
836099d5b4 Remove old accounts file, fix typo in last commit 2002-01-05 21:00:19 +00:00
Miles Lott
985fc8292c Move peer server config; add option to set default expiration for auto-created accounts 2002-01-05 20:40:44 +00:00
bettina
5d7c74b89d added address formats 2002-01-05 20:31:36 +00:00
Miles Lott
fe3e41b100 hide debug 2002-01-05 15:33:46 +00:00
skeeter
10077bcb4c I think this is nothing more than a formatting change. 2002-01-05 02:24:10 +00:00
seek3r
9468a22fbb Fixing justweb interface and made a change to the navbar function so that it always has the icon_hover set. It wasnt for home, preferences, logout and about 2002-01-04 16:47:26 +00:00
Miles Lott
0b847d98d7 Add optional debug to cmp_version_long() 2002-01-04 04:44:09 +00:00
Miles Lott
95ca582a08 Switch from asort to ksort for navbar (still need to add config to disable
this); formatting
2002-01-04 04:06:13 +00:00
Miles Lott
3279692e7a Check that preferences is an object (for use from setup) 2002-01-03 22:02:13 +00:00
Miles Lott
530b0ee678 Fix a typo 2002-01-03 19:10:32 +00:00
Miles Lott
7e4ec5264e Add inline doc and data check for create_defaults() 2002-01-03 18:11:10 +00:00
Miles Lott
d61dadfa72 Add default prefs creation for a new user in create() - will need to do this either
here or in admin.
2002-01-03 18:02:10 +00:00
Miles Lott
7c92b70b90 Move constructor to the top of the class; Use one db object instead of two;
Do the query in return_array() only once; Make formated_list() a wrapper to
formatted_list();
2002-01-03 17:16:56 +00:00
bettina
f857c1eeff fixed wrong select of the global cats 2002-01-03 03:42:13 +00:00
seek3r
ac6c2d89c4 found problem with appsession. I was purging it on accident 2002-01-02 20:50:28 +00:00
seek3r
e2b86e9082 trying to fix app session 2002-01-02 20:45:57 +00:00
seek3r
28d77dcd4a this time I really think I fixed it 2002-01-02 20:29:51 +00:00
seek3r
efd94ed2b8 fixed for pre 4.1 versions of PHP (I think) 2002-01-02 19:45:11 +00:00
Miles Lott
ab5fcad3eb _debug_array() fix; add check for enforce_ssl config - no config dialog yet 2002-01-02 14:46:00 +00:00
seek3r
e9688a73ea getting rid of Template_new which no one seems to care for, and adding my own experimental class which should have a little better performance. 2002-01-02 14:37:15 +00:00
seek3r
32306abaf6 some additional performance improvements, including a switch to the hooks class which I finished up 2002-01-02 14:33:05 +00:00
seek3r
70261207f3 added php4 sessions class and added it as an option 2002-01-02 14:32:22 +00:00
bettina
3544a46dc3 update 2002-01-01 23:25:54 +00:00
bettina
8095e83fc5 update 2002-01-01 20:58:22 +00:00
seek3r
07e38bcecb fixed my new sorting so that admin will always be on top 2001-12-31 16:10:12 +00:00
seek3r
3fd860790a sorted the navbar apps 2001-12-31 15:57:30 +00:00
skeeter
ef1c96f268 I can't totally remember if the menuaction is always passed as a GET var, but this is more cleaner. 2001-12-30 17:03:26 +00:00
skeeter
b7900846cc Should clear up a bunch of warnings if the full 10 errors are not provided. 2001-12-30 17:00:54 +00:00
seek3r
e46451e26a trying to fix problem on phpgroupware.org cvs demo 2001-12-30 09:42:55 +00:00
seek3r
64cf67dab3 removed waste layer and doing finally working checkin 2001-12-30 08:24:41 +00:00
seek3r
abf54b9909 updated for changing the hover images 2001-12-30 04:58:39 +00:00
skeeter
5739976dfd Should be backwards compatible! Will now allow the formated_list() method to be called by ExecMethod(). This is now done by setting the format variable equal to an associated array. 2001-12-29 19:31:52 +00:00
skeeter
f70f3f0179 This will now allow RELATIVE_USER_APP to work correctly for the acl_check function. 2001-12-29 18:34:04 +00:00
skeeter
128a03f3c9 Small improvement on seekers caching of image files. 2001-12-29 18:10:31 +00:00
skeeter
30d0030b13 Changed the menuaction to GLOBALS['HTTP_GET_VARS']['menuaction'] 2001-12-29 18:02:51 +00:00
seek3r
5bb76f2110 fixed php3 compatibility and added some additional feature that is not yet complete 2001-12-29 17:35:13 +00:00
seek3r
b8797c7ad6 put in new find_image function that should help performance a fair bit 2001-12-29 10:57:35 +00:00
seek3r
9262d4d93c I had left in some debugging crap 2001-12-29 10:56:57 +00:00
seek3r
a245e7d06c fixed loading of template files. They didnt seem to work at all 2001-12-29 08:53:28 +00:00
skeeter
58a42faff7 Cleanups for a few warnings. 2001-12-29 02:37:22 +00:00
Miles Lott
4264fe7820 Return fault code 9 'Access denied' if no app access 2001-12-28 18:41:33 +00:00
Miles Lott
a4cefb9b28 Add acl check for app access prior to list_methods() call 2001-12-28 16:29:27 +00:00
Miles Lott
c257dbcf86 Remove email-specific functions 2001-12-28 15:31:06 +00:00
Miles Lott
3c70493ae1 Add array_pop(); test and confirm array_pop/array_shift; add comments to each
function; order functions alphabetically
2001-12-28 07:07:32 +00:00
Miles Lott
38983d71cf format elseif for consistency 2001-12-28 06:02:30 +00:00
Miles Lott
275a3eb70c remove extra debug var, format 2001-12-28 05:57:18 +00:00
Miles Lott
ddd4181979 Add array_shift() - needs testing 2001-12-28 05:48:33 +00:00
Miles Lott
c51972cd16 formatting 2001-12-28 05:32:59 +00:00
Miles Lott
31b533d00e formatting 2001-12-28 05:25:07 +00:00
Miles Lott
bfeeced206 Fix for get_form() when testing serialization; rename get_list() to index(); ldap
fix for empty cat_id
2001-12-28 04:29:31 +00:00
Miles Lott
06dc27229c Changes for hopefully better handling of the global crypto object; remove
calls to common class functions and setting of common class vars;
2001-12-27 15:48:42 +00:00
skeeter
827eb9a223 one big irritation was that the pwd() function would return an extra space at the end of the directory name. This shouldn't have occured, because spaces are not allowed as the first/last character of the name. 2001-12-27 15:20:03 +00:00
skeeter
42a23a93c3 Fixed a quote/tick problem. 2001-12-27 15:17:29 +00:00
skeeter
5e7170193e Allows the developer to define the text when printing out a list of errors/results/warnings. 2001-12-27 15:16:22 +00:00
Miles Lott
a47351e0ec fix use of unset (php3) 2001-12-26 16:59:51 +00:00
Miles Lott
81a5b54d6f formatting by way of testing appsession 2001-12-26 05:34:45 +00:00
Miles Lott
816b7e2d47 Do not decrypt and return if no data in db (decrypt returning garbage) 2001-12-26 05:24:51 +00:00
skeeter
c84ba29fd4 Cleanups for a couple of warnings. 2001-12-25 20:16:26 +00:00
seek3r
4d41699cdc fixed very minor inline doc text 2001-12-25 09:22:31 +00:00
Miles Lott
e5e315711c formatting 2001-12-25 02:58:49 +00:00
seek3r
25f80219c0 updated some inline comments for me to better test the inilinedocparser 2001-12-24 22:48:40 +00:00
seek3r
2397001fba fixed inline comments 2001-12-24 18:15:06 +00:00
seek3r
40cd00c1b8 added arrau_unique 2001-12-24 18:05:56 +00:00
skeeter
a50f04c36b Applied patch #492246. 2001-12-24 15:34:08 +00:00
Miles Lott
de3504fd20 formatting... 2001-12-24 05:24:57 +00:00
Miles Lott
d2fa0405b6 formatting 2001-12-24 04:55:24 +00:00
Miles Lott
1073d1d61a remove some extra spaces and tabs, change all print_r to _debug_array() calls 2001-12-24 04:53:07 +00:00
seek3r
522894534a updated inline docs for test 2001-12-23 10:55:19 +00:00
seek3r
7e57e1197a updated inline docs 2001-12-23 10:15:40 +00:00
seek3r
6c2caba4ba updated inline docs 2001-12-22 22:55:15 +00:00
Miles Lott
96cd727fa5 Make the mcrypt algorithm and mode used configurable in setup/config.php 2001-12-20 17:58:48 +00:00
Miles Lott
9f98fbb9a8 crypto update; remove (un)serialize from common (en/de)crypt; add checks for
data type to crypto (en/de)crypt; add optional debugging to crypto; add call
to db_addslashes in appsession; silence file_exists calls in one common class
function per skeeter
2001-12-20 16:19:55 +00:00
skeeter
c8b43c7c76 Trying to bring it in line with coding standards and a few speed enhancements. 2001-12-20 02:38:02 +00:00
Miles Lott
561da9b50f format 2001-12-19 20:03:01 +00:00
seek3r
8d708065f9 added sanitize and registervar function. 2001-12-19 19:53:58 +00:00
angles
05c1889974 completed rewrite of email preferences handling to schema based control mode 2001-12-17 18:37:59 +00:00
zone
7baea35779 Make static p_path_parts distinguish between objects and arrays 2001-12-15 05:14:22 +00:00
skeeter
8f19156054 New mime types added. 2001-12-15 04:25:24 +00:00
skeeter
8b614db835 Start of new 3-tier layout of the filemanager. Not fully coded, but a small preview. 2001-12-15 04:24:37 +00:00
angles
3796733e17 email pass handling now seperate functions in class crypto, so current code can migrate over if necessary 2001-12-14 23:51:45 +00:00
angles
d4b52f9fcb attempt fix in class crypto, data manipulation in encrypt and decrypt should mirror each other 2001-12-14 21:38:40 +00:00
mdean
80162794d8 Applied fix from Bradley Bell to enable epoch date usage. 2001-12-14 03:42:17 +00:00
Miles Lott
45468509d6 Disable a couple of functions 2001-12-13 06:23:42 +00:00
mdean
2767210843 Hopeful fix for possible infinite loop. Also added better tracking of explicit transaction state. 2001-12-13 00:50:21 +00:00
angles
111a88617b add globals to naked php_self in function redirect, comment out some broken code in template linux-at-work 2001-12-12 19:34:29 +00:00
Miles Lott
f0f01eefd5 i sure do like formatting code 2001-12-11 01:20:45 +00:00
Miles Lott
7143511e21 i sure do like formatting code 2001-12-11 01:14:43 +00:00
skeeter
cce860ee66 Hopefully I didn't screw anything up. Changed over to use GLOBALS, and alot of coding stds. Also, found a little problem with the filesize field. Trying to get the value, prior to having it filled in the database. Always returning '0'. 2001-12-10 04:04:56 +00:00
Miles Lott
86eed797cb Changes to soap functions 2001-12-10 02:09:31 +00:00
Miles Lott
9f568f8b33 Rollback soap server class to workable state, make login/logout work 2001-12-10 02:09:17 +00:00
jengo
2b1bf39cd3 Accounts that are created from auto_add() will now be able to change there passwords 2001-12-09 20:32:17 +00:00
Miles Lott
77a7f314b4 formatting 2001-12-08 21:55:13 +00:00
Miles Lott
290aa0d6da remove extra ")" 2001-12-08 15:37:34 +00:00
Miles Lott
f3b2fef00d format the last unformatted function 2001-12-08 15:34:12 +00:00
Miles Lott
caff6e06e8 php3 "fix" 2001-12-07 21:53:12 +00:00
Miles Lott
080706caab ha element is a string 2001-12-07 21:51:36 +00:00
angles
96c8ae454f combine left and right into one function returning an array, preparing for navigation of result sets 2001-12-07 20:22:13 +00:00
Miles Lott
a9b3fe5c84 Fix listApps() 2001-12-07 00:24:33 +00:00
Miles Lott
fa7193d2d4 Wrap log object in is_object for apps that can't use this for some reason 2001-12-06 17:56:38 +00:00
Miles Lott
8e8b68bea7 silence object test 2001-12-06 16:26:08 +00:00
Miles Lott
082f05caea Use db_addslashes to insert log message 2001-12-06 16:10:55 +00:00
Miles Lott
60e82152d5 Finally fix return values, I hope 2001-12-06 15:51:06 +00:00
Miles Lott
6d507464c0 Return correct error objects 2001-12-06 14:43:05 +00:00
skeeter
ea096e29ce Small fix for a blank cat_id being passed to id2name(). 2001-12-05 01:32:32 +00:00
Miles Lott
f4fcd97d1f Fix (?) error report for invalid method, at least with system requests 2001-12-04 14:22:20 +00:00
Miles Lott
10db3ad787 Minor formatting change 2001-12-04 13:49:56 +00:00
Miles Lott
1b2e39e90b Make working system.listApps function, still commented out by default 2001-12-04 13:46:53 +00:00
Miles Lott
326210dd94 null \$plist; add Id string 2001-12-03 21:49:14 +00:00
Miles Lott
5f7dbf2b08 formatting 2001-12-03 21:47:13 +00:00
angles
c03544e09b add comments, documentation to preferences class email prefs handling, no code changes to this file 2001-12-01 00:03:30 +00:00
Miles Lott
3326dd642e This now uses the full path entered in the admin tool for peer servers. The
default is used if none was entered, hopefully.  (remove hardcoded path)

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

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

Cu
2001-09-19 14:09:11 +00:00
angles
40dd0d8563 fix show_sort_order_imap and fix html form tag locations in nextmatch tpl 2001-09-18 19:42:27 +00:00
Lars Kneschke
3985fe231d modified the ldap class, to know the type of account(u or g) 2001-09-18 17:55:36 +00:00
skeeter
ce8528e5c6 Fixes for mdeans finding if the server has users choice and a users choice has been selected. 2001-09-18 03:50:00 +00:00
skeeter
8a13e1c52b A couple of cleanups when logging errors to a file. 2001-09-18 03:48:38 +00:00
Miles Lott
fa7f0a9f88 Fix possible undefined template set var 2001-09-17 13:21:40 +00:00
mdean
fa6dca2248 Fix for getting last identity insert. 2001-09-17 02:58:41 +00:00
Miles Lott
7d57b31ba0 use db_addslashes 2001-09-17 02:26:46 +00:00
skeeter
a5f1abdf00 Fluffed up the name2id() function in categories and a couple of small code cleanups. 2001-09-17 02:24:41 +00:00
skeeter
73b04851cc Changed the call to use the execmethod() in /index.php. 2001-09-17 02:18:32 +00:00
Miles Lott
57fb69f726 array element fix 2001-09-17 02:17:26 +00:00
skeeter
4805243c8c Applied patch #460021 in a modified form. 2001-09-17 02:06:12 +00:00
mdean
566b3920af Is that JavaScript I smell? 2001-09-17 00:45:27 +00:00
Miles Lott
f930048be4 Fixes for register_globals=off 2001-09-17 00:43:35 +00:00
mdean
d169912713 Fixed swapped params. 2001-09-17 00:40:59 +00:00
mdean
8994de9d73 Added db_addslashes() function. 2001-09-17 00:29:44 +00:00
mdean
d212773f1e Upgraded stuff - added db_addslashes() function. 2001-09-17 00:26:39 +00:00
Miles Lott
f3be3189e4 Some fixes to ensure we don't put accting fields into the extra table 2001-09-09 22:55:43 +00:00
Miles Lott
7c7d5ba480 Enable app upgrade status for admins (of all applications) 2001-09-08 16:02:59 +00:00
Miles Lott
944e0e6047 Fix unsetting of status 2001-09-08 06:19:06 +00:00
skeeter
bbb50109c0 More fixes for php3 support. 2001-09-07 19:18:03 +00:00
skeeter
f0123f6cf5 Fix for php3 support. 2001-09-07 17:51:48 +00:00
skeeter
a91131a7be Fix for an error on line 333. 2001-09-07 04:27:48 +00:00
skeeter
de4d49b2fa A couple fo small cleanups and arranging of a few of the classes. 2001-09-06 19:23:56 +00:00
Miles Lott
2bc807158e Remove an undefined index error, i think 2001-09-06 08:34:38 +00:00
Miles Lott
92558b4412 Now works with service.* methods 2001-09-06 08:33:42 +00:00
Miles Lott
37213f0c30 More adjustments to ensure login works with register_globals Off, also tested
on php3 and php4 with register_globals On.
2001-09-06 08:27:22 +00:00
Miles Lott
97d808fb74 Move ldap connect to shared class, cutting down somewhat on ldap connects
per page load - more to come
2001-09-06 00:17:23 +00:00
Miles Lott
e859918f83 trying to fix a php4-only error (?) 2001-09-05 23:19:06 +00:00
skeeter
56ef840422 Fix for grab_owner_name() in comon. now calls account storage specific functions. 2001-09-05 22:46:47 +00:00
Miles Lott
c058fc3081 Remove class var duplicates 2001-09-05 14:59:12 +00:00
skeeter
dba3fc60f0 Changed around get_type() to grab the user account first, then the group accout. 2001-09-05 13:43:27 +00:00
Miles Lott
e372d5bcdc Move class vars out of constructor, remove unneeded extra db objects 2001-09-05 12:03:51 +00:00
Miles Lott
8fe80611d3 Added return of total to get_list by ref, needs tweaking 2001-09-05 11:16:58 +00:00
Miles Lott
2a7159831a Add service name wrapper classes for some basic functions 2001-09-05 10:46:39 +00:00
Miles Lott
3c92e4fb10 Odd php3 fix for undefined constant, please test on php4 2001-09-05 03:06:14 +00:00
Miles Lott
43c93130e8 Don't set included_classes to true until after the file is actually included 2001-09-04 04:52:47 +00:00
skeeter
4976ec2f54 Fixes for the caching of account_id's. 2001-09-04 03:15:03 +00:00
skeeter
dcbcdd88ce Made a few changes to the accounts LDAP storage processing. 2001-09-04 03:12:23 +00:00
jengo
c1ebab8a82 Added no permission checking for special calls to hooks (mainly for admin and preferences) 2001-09-03 23:02:36 +00:00
skeeter
bf7156a0ef Missed some GLOBALS before. 2001-09-03 09:49:03 +00:00
skeeter
e5b4517469 More checking for caching. 2001-09-03 09:48:32 +00:00
skeeter
81dfa789c0 Small changes. Added the caching back into id2name and did a little more checking for use of caching. 2001-09-03 09:47:47 +00:00
Miles Lott
2460cbbf09 GLOBALize log message call 2001-09-03 04:13:52 +00:00
Miles Lott
8dd5db4d01 Swap old/new update_lastlogin() 2001-09-03 03:56:12 +00:00
Miles Lott
e3c937326d Fix (?) gettype and name2id/id2name - group/user confusion still possible... 2001-09-03 03:21:50 +00:00
Miles Lott
0d89f77db7 Now renamed to be current ldap accounts class 2001-09-03 02:18:23 +00:00
Miles Lott
35781b842a MAJOR: changing to new ldap accounts class, _old is the old file 2001-09-03 02:17:10 +00:00
Miles Lott
f637bdc11f Add denied groups and users 2001-09-03 02:05:03 +00:00
bettina
cd4828bf09 added function to convert array to string plus ability to include arrays as extravar to the show_sort_order function 2001-09-02 18:37:38 +00:00
Miles Lott
4d676d8259 Fixes for get_next_id() and exists() 2001-09-02 14:33:13 +00:00
Miles Lott
a4a65ffcd5 Fix return of account_id from name2id(), add note about class constructor
that does not load
2001-09-02 13:53:52 +00:00
Miles Lott
e5585d24b6 This was out of date 2001-09-02 13:13:48 +00:00
Miles Lott
3c426e72e4 Move two ldap settings to the shared constructor, since the accounts_() constructor
does not load
2001-09-02 13:08:50 +00:00
Miles Lott
deb4930dc6 settype added to fix php3 error 2001-09-02 12:53:22 +00:00
Miles Lott
2b156edc17 missing ; 2001-09-02 12:37:15 +00:00
Miles Lott
b9e1fd0763 Making this more current with sql class 2001-09-02 12:27:29 +00:00
skeeter
09f6cdab74 Changed get_list() to use query_limit() instead of limit(). 2001-09-02 07:19:46 +00:00
skeeter
8f7eb4e77f A few missed GLOBALS. 2001-09-02 07:18:28 +00:00
skeeter
8f0c5ddedb A few missed GLOBALS. 2001-09-02 07:13:23 +00:00
Miles Lott
56489e8d4f Using GLOBALS 2001-09-02 00:27:19 +00:00
Miles Lott
341fd023b8 now using GLOBALS 2001-09-02 00:26:16 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
45f2ca1616 Adjust auto_add() - sql now uses a default group config in setup, or does
not configure a group at all - old behavior was to add them to account_id 1.
Some more register_globals tweaks.
2001-08-31 22:50:30 +00:00
Miles Lott
4be7d21958 Use GLOBALS 2001-08-31 08:45:44 +00:00
skeeter
cb58b67a03 New lang entries -- missed one. 2001-08-31 01:01:05 +00:00
Miles Lott
cb560611b1 using GLOBALS 2001-08-30 19:43:06 +00:00
Miles Lott
9b6465af7a Using GLOBALS 2001-08-30 19:40:44 +00:00
Miles Lott
07009748e5 using GLOBALS now 2001-08-30 19:39:13 +00:00
Miles Lott
8353d7e678 Update to version 1.0 of PHP for XML-RPC, inclusing ssl mods 2001-08-30 00:29:55 +00:00
zone
379260b37c Added command_line (), fixes for acl_check () when a user does not belong to any groups 2001-08-28 08:13:35 +00:00
Miles Lott
b482e375d0 Adjust for struct return in soap 2001-08-27 11:38:45 +00:00
Miles Lott
7399ff4342 login/logout return correct object now 2001-08-27 11:36:48 +00:00
Miles Lott
e973591705 Fix login 2001-08-27 10:42:19 +00:00
Miles Lott
f91ca87aef Login now attempts to create session based on existence of server_name OR domain in
the request.
2001-08-27 09:42:33 +00:00
skeeter
f6d785fad2 Small speed enhancement to the code for build_resp(). 2001-08-27 03:09:14 +00:00
Miles Lott
079809436f Trying to silence intermittent php3 error 2001-08-26 18:50:57 +00:00
Miles Lott
4ad548c53d Use new function to decode second and subsequent levels of the request array 2001-08-26 18:24:48 +00:00
Miles Lott
e89f074cea Slightly better multi-dimensional array routine... 2001-08-26 15:17:24 +00:00
skeeter
039b9fe3fb Passing this on to Milosch for refinement - Handling mutiple layers of an associated array. 2001-08-26 04:30:06 +00:00
jengo
4fe20e1152 Added dual pass preferences 2001-08-25 20:26:22 +00:00
skeeter
63a222f3ca Fix for seek3r's problem with the calendar and timezone settings. 2001-08-25 03:22:33 +00:00
zone
dcc1e05d85 Change set_attributes () handling of flags, add 'b' flag to fopen calls, fixes for Postgres date handling, other small tweaks 2001-08-24 07:44:43 +00:00
skeeter
bce5113662 Small cleanups of possible warning messages. 2001-08-24 01:53:52 +00:00
Miles Lott
5927992653 php3 fix, sometimes SEP='SEP' ? 2001-08-23 23:08:58 +00:00
Miles Lott
c08ed955e1 Use $GLOBALS 2001-08-23 06:55:12 +00:00
Miles Lott
73dfa28bdf Use $GLOBALS 2001-08-23 06:48:27 +00:00
Miles Lott
57ba2dfff8 Handle multi-dimensional array input, decode those xmlrpcvals 2001-08-23 06:47:50 +00:00
Miles Lott
47f3ea01eb Tentatively move ACL defines outside of currentapp logic (so they work for xml/soap) 2001-08-23 04:32:15 +00:00
Miles Lott
51fd39fac2 Fix auth check on xmlrpc.php, modify sessions verify/destroy to optionally
accept sessionid/kp3
2001-08-23 02:54:25 +00:00
Miles Lott
822b956b80 Fix login return of sessionid/kp3 for user logins 2001-08-22 20:01:05 +00:00
Miles Lott
55c06c14ad for xmlrpc, if the value sent is a string, encode it as such - phpgw will almost
always use structs...
2001-08-22 03:51:29 +00:00
Miles Lott
4201c27997 This is either a php3 fix or a nasty workaround 2001-08-21 19:54:09 +00:00
Miles Lott
dddf896338 Semi-major adjustement with the goal of removing the register_globals requirement;
Silence possible error if line# is not sent to errorlog class (often); This was
tested with the setting on again and seems to work
2001-08-21 18:34:56 +00:00
skeeter
9ebc41f0db Small fix for a parse error on line 64. 2001-08-21 16:51:21 +00:00
skeeter
a3932c4008 Added str_repeat() to fix bug #451851. 2001-08-21 00:16:36 +00:00
Miles Lott
af775b2be8 Process multi-dimensional array values to one more level deep 2001-08-20 16:51:04 +00:00
Miles Lott
898f57ae42 Add plea for jengo to check this out 2001-08-20 16:44:29 +00:00
Miles Lott
aedb803a1c Switch to always use structs for iomap since they best represent one level
associative arrays; Add ability to call a bo layer class
2001-08-20 16:33:26 +00:00
Miles Lott
eac74fee75 add xmlrpcs_logout() 2001-08-20 00:28:36 +00:00
Miles Lott
884232c7d0 Trying a new way of handling login and subsequent verification 2001-08-19 23:55:58 +00:00
Miles Lott
647723ccd8 Create add_to_map function, to later be used to add bo functions on the fly 2001-08-19 01:18:38 +00:00
Miles Lott
a08ce25d51 Move interop tests to xmlrpc.interop.php, fix interserv.php for xmlrpc again 2001-08-19 01:17:35 +00:00
Miles Lott
b2ef2fb0e5 Undo oops in session->verify_server() and make soap auth/verify work 2001-08-18 21:32:22 +00:00
Miles Lott
dc7ad12eeb Add in not yet working auth_verify 2001-08-18 20:37:33 +00:00
Miles Lott
c7edc28716 Fixes to allow for support of server auth using soap with/without ssl 2001-08-18 20:31:47 +00:00
skeeter
050cd9acd2 Applied a patch provided by the mailing list. 2001-08-18 19:09:56 +00:00
Miles Lott
927fb55c0a Formatting, add Id tags 2001-08-18 14:37:52 +00:00
Miles Lott
d247b25603 Disable acl on verify_server() 2001-08-18 13:34:10 +00:00
skeeter
e797245a5f Applied patch #449529. This will now allow using a space for the db connections password. 2001-08-18 00:48:40 +00:00
skeeter
406bfe5529 Added 2 new support functions. array_search() and in_array(). 2001-08-17 19:34:48 +00:00
seek3r
c9ea092eae added php3 support file 2001-08-16 06:32:22 +00:00
jengo
200387bdea Merged patch to fix reg exp match 2001-08-16 02:57:29 +00:00
Miles Lott
5d34135559 php3-compatibility fix to execmethod's partscount 2001-08-15 17:31:36 +00:00
Miles Lott
fefe347b33 php3 fix in call to get_list() 2001-08-15 17:05:08 +00:00
Miles Lott
4fd65d883a Formatting and php3 fixes 2001-08-15 16:30:16 +00:00
Miles Lott
6a7f952b42 Comment out debug call 2001-08-15 14:51:37 +00:00
Miles Lott
2247e8c99c Add mirror of xmlrpc ssl send call 2001-08-15 14:23:30 +00:00
Miles Lott
51a572a9f5 Move ssl client send into xmlrpc_client class 2001-08-15 14:01:44 +00:00
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
jengo
d1eaa5b619 Added function to test if an account is expired or not 2001-06-10 09:43:11 +00:00
Miles Lott
6d81baf960 Update id2name/name2/id/get_type, and add modified auth class for ldap_wip 2001-06-09 21:05:42 +00:00
Miles Lott
d54f278e45 Found more references to an unconstant 2001-06-08 15:01:35 +00:00
Miles Lott
ecc43159e8 Change sep to SEP in hook_single 2001-06-08 14:57:38 +00:00
Miles Lott
dbc7f00455 Add additional check to make sure appname is not empty 2001-06-08 14:46:18 +00:00
skeeter
8af3bb58e6 Fixed a problem where the type was trying to be changed from String to Array in hook(). That normally wouldn't work in php3. 2001-06-08 01:43:36 +00:00
skeeter
dbb58d801c Fixed a problem where the type was trying to be changed from Boolean to String. Shouldn't work in php3. 2001-06-07 12:10:15 +00:00
Miles Lott
548b5ba431 Change phpgwapi app enable to 3, set navbar to ignore 2 & 3, add notifywindow app
with enable of 2, adjust admin tools to ignore enable of 3, not 2
2001-06-07 11:28:31 +00:00
Miles Lott
9f21bfbab4 Add exception for prereferences app 2001-06-07 09:38:11 +00:00
bettina
6121405967 update formated_list to prevent error msg if array empty 2001-06-07 07:44:26 +00:00
bettina
f64f65b91a update acl in return_array 2001-06-07 06:25:48 +00:00
jengo
950eb824d2 Changed around hooks code, its now cleaner and requires you to specify the location, the hook file names have also changed, the old format was redundent 2001-06-07 01:46:12 +00:00
jengo
cbb3d833ea Removed some of the phpgw_info cache code 2001-06-07 00:33:48 +00:00
bettina
941f91ab7b update 2001-06-06 03:17:45 +00:00
angles
cc9b7f8b35 Experimental- fix multiple attachment problem, add sig before attachments, fix Message-Boundary placement 2001-06-05 07:44:39 +00:00
zone
303110b926 Added correct_attributes (), fixed dir () prototype 2001-06-05 06:32:30 +00:00
Miles Lott
a6bbcbb5f9 Add expires field to auto_add (30 day default) - how else to handle this? 2001-06-04 20:29:37 +00:00
Ralf Becker
2c0c0d2a40 sbox2 extends now sbox, new function getDate 2001-06-04 18:23:22 +00:00
Ralf Becker
a68a536616 getYears: offered range to select from has to include already selected year 2001-06-04 14:13:32 +00:00
jengo
0e768f7268 Added some transactions 2001-06-04 01:17:40 +00:00
jengo
baeb691505 Added a few transactions 2001-06-04 01:07:23 +00:00
jengo
bf66467d0d For some reason, using pg_Exec() with transaction_begin() wasn't always working 2001-06-04 00:37:22 +00:00
jengo
ebc976dbdb Possiable fix for databases not being created when the user doesn't specify a host 2001-06-03 23:50:50 +00:00
jengo
cf9686e512 I broke a few things durring last commit, tring it again ... 2001-06-03 18:20:05 +00:00
jengo
37bd9763fa Added feature to drop the previous login into appsessions, this way developer can find out how long its been since they last logged in.
- Formating in sqlssl
- Fixed change_password() in sqlssl not being correct and based on older versions
2001-06-03 17:58:12 +00:00
skeeter
1cf25cccbe Fix for bug #429849 - Returning single element rather than array 2001-06-03 17:19:02 +00:00
jengo
138cad6fd5 This file is no longer needed 2001-06-03 17:12:52 +00:00
angles
44180f84a0 improved workaround-fix for bug 421645 quotes in email_sig prefs 2001-06-01 17:54:55 +00:00
seek3r
45eda7f54e added what i think is working code to create the pgsql database 2001-06-01 09:53:42 +00:00
seek3r
777aa59e10 removed some debugging details 2001-06-01 09:23:03 +00:00
seek3r
ae7a9c3af3 removed some debugging details 2001-06-01 09:23:03 +00:00
seek3r
faff24fd34 added some debugging details 2001-06-01 09:14:06 +00:00
seek3r
dbfe053e66 added the final steps needed for creating the database for the user 2001-06-01 09:06:49 +00:00
seek3r
0c41c058d1 added the final steps needed for creating the database for the user 2001-06-01 08:57:52 +00:00
seek3r
4b1390eb0f had to make several changes and cleanups for php3 compatibility 2001-05-31 10:11:18 +00:00
seek3r
1ff5b9ab09 had to make several changes and cleanups for php3 compatibility 2001-05-31 08:50:44 +00:00
Miles Lott
720dd30f11 Add detection for Konqueror 2001-05-31 05:06:16 +00:00
Miles Lott
c1d57c05a2 fix default mime type 2001-05-31 04:45:51 +00:00
angles
2a381e6dd4 fix for bug 421645 use of quotes in email_sig preferences 2001-05-30 19:47:13 +00:00
seek3r
3510d65861 changes to the way the header version is managed 2001-05-30 08:26:24 +00:00
angles
119d3b35d4 fix for aeromail message sorting problem 2001-05-30 00:17:44 +00:00
Ralf Becker
1aa638e9db removed unnecessary note from email-addr.-search 2001-05-29 21:05:49 +00:00
Ralf Becker
797fd48aba use form.submit() insted of form.<sendbutton>.click() which depends on the buttonname
Does not work if a button is named submit
2001-05-29 20:40:17 +00:00
Ralf Becker
39100cf802 sbox for email-addresses (Version 0.000000001) 2001-05-28 23:22:48 +00:00
Ralf Becker
366aec2f8f removed some dependences with the original infolog-class 2001-05-28 20:22:33 +00:00
Ralf Becker
f07fd0041d newly created 2001-05-28 19:48:31 +00:00
Miles Lott
3d0e17958b Adjust create to hopefully work again 2001-05-26 21:39:33 +00:00
Miles Lott
201db9cb5e Add back nscd 2001-05-26 21:21:25 +00:00
Ralf Becker
2065718e34 some changes to make the import work 2001-05-26 21:16:25 +00:00
Miles Lott
ba5927b013 Add additional users to exclusion list 2001-05-26 18:27:14 +00:00
Miles Lott
4988ab7bb0 Add nscd to the exclusion list 2001-05-25 20:30:25 +00:00
Miles Lott
44ca179808 Add nscd to the ldap exclusion list 2001-05-25 20:27:56 +00:00
zone
a4c9976682 Initial revision 2001-05-25 03:34:24 +00:00
jengo
33aa5de6f5 Added in transaction support 2001-05-24 07:54:33 +00:00
bettina
b7f318560d update function edit 2001-05-24 00:51:35 +00:00
Miles Lott
63b55fb831 patch from <RalfBecker@outdoor-training.de> to allow multiple cat selection 2001-05-23 20:19:23 +00:00
Miles Lott
eb0aa37eaa Use config_app='phpgwapi' for filling 'server' array, to avoid conflicts 2001-05-21 17:30:55 +00:00
Miles Lott
131fb588ca Change config_appname to config_app 2001-05-21 17:18:39 +00:00
Miles Lott
8f49481960 Reset the country array in case this gets called twice in one page 2001-05-21 16:13:13 +00:00
Miles Lott
ab83067ef4 Formatting 2001-05-21 09:12:10 +00:00
Miles Lott
20c634e34a Remove stray whitespace 2001-05-21 09:05:21 +00:00
Miles Lott
e384123d61 Formatting 2001-05-21 09:00:41 +00:00
skeeter
4fbe90f188 Small change for return_sinle() to work using either global or app cats. 2001-05-20 21:12:44 +00:00
skeeter
d83f331f74 New class - will handle all date/time conversions from realworld to phpGW handling. 2001-05-20 01:20:20 +00:00
skeeter
5096f163b2 Should get the manual working agian. 2001-05-19 04:45:41 +00:00
skeeter
82f0b95584 Minor cleanups to remove warnings. 2001-05-19 04:44:44 +00:00
skeeter
f8e066e11f Fix for bug #424801 2001-05-18 02:18:23 +00:00
skeeter
6c511bdf96 Small cleanups for warnings. 2001-05-15 04:21:16 +00:00
zone
50ed18949d Put old VFS back in place 2001-05-15 00:55:52 +00:00
zone
709910f688 changed 2001-05-15 00:35:29 +00:00
bettina
b1fadc4908 formatting 2001-05-15 00:00:49 +00:00
skeeter
dc7578a39a Various cleanups. Trying to remove some warnings when generating php errors to a file. 2001-05-14 03:54:40 +00:00
skeeter
da47c29c24 fixes a few warnings. 2001-05-13 04:08:01 +00:00
Miles Lott
e818b9a60b very prelim var settings for <br> or <br/> etc... 2001-05-11 21:35:34 +00:00
bettina
3883ba049a modified exists() to check apps_sub_cats to a global parent_cat 2001-05-11 00:45:14 +00:00
Miles Lott
8060a2efee change create to use account_XXX, made newgroup use newer create 2001-05-10 09:34:47 +00:00
seek3r
12132dac30 trying to make progress on the documentation system 2001-05-10 07:59:48 +00:00
Miles Lott
73ff3bfc36 More changes, getting closer to all ldap 2001-05-09 13:25:19 +00:00
Miles Lott
c9d36a283d Updated somewhat for all ldap using custom attrs 2001-05-09 13:01:46 +00:00
skeeter
c347caccde Missing the accounts_expire field being saved to the db. 2001-05-09 03:07:20 +00:00
el_latino
6f90c27214 added a php class that allow us to parse XML files without having php XML
native support !!!, it main feature is to support XPath queries without navite
DOM XML support !. It will be the heart of the new setup app
2001-05-08 23:26:42 +00:00
skeeter
03a0805371 Possible fix for SF Bug #417865. 2001-05-08 23:20:13 +00:00
seek3r
674ca9a1c9 updated documentation tags 2001-05-08 21:20:47 +00:00
skeeter
44feb8e016 Moved get_account_id() closer to the top of the file. Should now be more compatible with php3. 2001-05-08 20:50:11 +00:00
skeeter
9e881820b8 Changed the font size to be dynamic to the users browser. 2001-05-08 18:49:37 +00:00
skeeter
09828d79be Now the treeview is colapsed by default. Also made a few changes in the opening/closing of the nodes. 2001-05-08 17:56:00 +00:00
skeeter
e21101da21 This is skeeter's attempt at making eldaptir and bookmarks work with the API menutree. 2001-05-08 01:14:12 +00:00
skeeter
06fc371ea4 This will now allow either a filename, string, or an array. Had to add a 5th param to handle passing html code as the target instead of just url as the 2nd param. 2001-05-08 00:59:19 +00:00
zarf
cae3392891 *** empty log message *** 2001-05-07 01:01:03 +00:00
skeeter
5af7116030 New manual layouts 2001-05-06 16:37:40 +00:00
Miles Lott
e7f38fb001 Formatting 2001-05-06 13:40:04 +00:00
Miles Lott
32eeb8c49a Formatting 2001-05-06 13:19:42 +00:00
Miles Lott
f6b3e189cf Update for create using array 2001-05-06 13:07:57 +00:00
Miles Lott
e54d4c4f1a Fix passwd field in create 2001-05-06 13:04:04 +00:00
jengo
d3af581109 Updated to accept a single array for the account values 2001-05-06 11:32:03 +00:00
jengo
b1f61c2fff create account now takes an array and made expiring accounts work 2001-05-06 11:20:53 +00:00
Miles Lott
61675e82b5 Formatting 2001-05-02 12:52:44 +00:00
Miles Lott
e7dbba7698 Formatting 2001-05-02 12:40:33 +00:00
Miles Lott
637b1c04b5 Formatting 2001-05-02 12:28:10 +00:00
Miles Lott
90d97f0881 Formatting 2001-05-02 12:08:11 +00:00
Miles Lott
19bb06a54d Add expire return 2001-05-02 09:47:12 +00:00
Miles Lott
a25ff130b7 Add return for expire 2001-05-02 09:46:10 +00:00
Miles Lott
cee6081e38 Formatting, and merged expires field into sql 2001-05-02 09:38:37 +00:00
jengo
99ff1cb575 Added account expires feature 2001-05-02 09:06:14 +00:00
jengo
eacb8a099e Added new config class 2001-05-02 08:02:32 +00:00
jengo
b5551be082 Made enable_x_class more dynamic, it now reads through a loop 2001-05-02 05:31:23 +00:00
bettina
f4a2518c32 added images for categories_format 2001-05-01 23:17:13 +00:00
Miles Lott
bbcd259b8a Formatting 2001-05-01 09:18:20 +00:00
bettina
0f2df213fd added new format to formated_list() 2001-05-01 02:15:13 +00:00
skeeter
6eb0b1606a new class 'country' 2001-04-30 03:04:58 +00:00
bettina
7d5d888c60 fixed 2001-04-30 00:27:54 +00:00
bettina
14473b076c fixed 2001-04-29 23:54:10 +00:00
bettina
8dd7dad2ed added function to check the valid main cat 2001-04-29 00:51:53 +00:00
skeeter
eac8c1a938 cleanups - formatting 2001-04-28 21:49:48 +00:00
jengo
a5b2acc3bb Fixed category sorting that wasn't showing the sub categorys under the mains in /preferences/categories.php 2001-04-28 14:01:34 +00:00
bettina
deb7bbcee0 update function add/edit/return_single 2001-04-28 12:52:20 +00:00
bettina
3593fadc84 update function add/edit 2001-04-27 22:50:02 +00:00
bettina
4e707d01bc update sort categories 2001-04-27 16:38:33 +00:00
bettina
7144eef917 update sort categories 2001-04-27 16:06:17 +00:00
jengo
a9183356a1 Made navbar() return the appname 2001-04-27 13:08:49 +00:00
jengo
955bf76715 Added an option to force a certian theme on users 2001-04-27 10:02:33 +00:00
Miles Lott
0abd645eff Fix delete function 2001-04-26 14:09:03 +00:00
Miles Lott
f5fbcfd750 This should now work in theory, but is untested 2001-04-26 14:06:23 +00:00
Miles Lott
f71cf2e0d6 Add empty denied_groups array 2001-04-26 13:54:10 +00:00
Miles Lott
d7c287e6e4 Update for proposed accounts class changes 2001-04-26 13:53:29 +00:00
count
ccb4342e88 SQL + SSL Certificate authentication for Apache + mod_ssl
provides fallback for auth_sql authentication and expects certificate
chain verification by mod_ssl. See http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6
2001-04-25 22:01:52 +00:00
jengo
665e72f75a Added name2id() and id2name() functions 2001-04-25 18:12:10 +00:00
jengo
371b4bd374 Added the ability to return a list from a certian parent, and from an app AND main or subs 2001-04-25 17:00:31 +00:00
jengo
49403cd7d5 Fixed total() not working 2001-04-25 13:12:11 +00:00
bettina
cda8181ed7 update return_single() 2001-04-24 03:26:04 +00:00
Miles Lott
02746c0697 Add lang calls 2001-04-22 20:28:22 +00:00
skeeter
a161abb81e Fix for bug #413605 2001-04-22 02:39:39 +00:00
bettina
d5343aee16 update function exists 2001-04-21 23:22:27 +00:00
skeeter
f71b6a8f54 Fix for bug #417328 2001-04-21 17:45:48 +00:00
Miles Lott
7ef9e171fb Formatting 2001-04-21 13:01:39 +00:00
Miles Lott
56f405cd7a Change to phpversion() 2001-04-21 12:43:00 +00:00
Miles Lott
9bf8708b25 change to phpversion() 2001-04-21 12:39:30 +00:00
Miles Lott
ebd58d40af Add optional third return for filterobj 2001-04-20 23:12:37 +00:00
skeeter
2bcde10643 If the template does not exist in the template dir, it will now load from the default template set. 2001-04-20 02:45:42 +00:00
Miles Lott
9776ec576d Make navbar show a default image instead of a broken link 2001-04-18 17:33:56 +00:00
jengo
1d85c1d8c7 Disabled the group filter part 2001-04-17 19:06:39 +00:00
jengo
a7c66aa628 Fixed appsessions not being updated durring a password change 2001-04-17 17:49:13 +00:00
Lars Kneschke
0b67363747 removed debug output 2001-04-16 17:45:19 +00:00
Lars Kneschke
424ba9c7e6 added some debug output 2001-04-15 22:11:08 +00:00
Lars Kneschke
a6ff8d02a3 removed debug output 2001-04-15 21:52:53 +00:00
Lars Kneschke
2890047713 we did a double serialize, that's bad!!!! i was searching the whole day. but
maybe i'm a bad coder! :)
2001-04-15 21:49:50 +00:00
Miles Lott
4d93655896 Take out group objectclassing since we are not yet storing groups in ldap 2001-04-15 21:40:26 +00:00
Miles Lott
26f0586888 Add is_opera() 2001-04-13 13:32:16 +00:00
Miles Lott
bee99d173e Add content length setting 2001-04-13 05:34:46 +00:00
Miles Lott
fb487058fe Modify content_header() to take mime type and nocache 2001-04-13 05:21:20 +00:00
Miles Lott
713272f9d2 Fix for 'Opera' 2001-04-13 05:03:18 +00:00
jengo
50c4666ecc SF #413717 - Fixed undefined function update_lastlogin(), this problem was for more then just mail_auth 2001-04-10 07:58:19 +00:00
bettina
01be8c3c6f added possibility to delete also all subcats if deleting the maincat 2001-04-09 14:45:27 +00:00
jengo
1e762b6565 SF bug #412383 & patch #413729 - Fixed POP-3 not having the users password and port number if in there preferences 2001-04-09 11:45:01 +00:00
Miles Lott
d2714dedf8 Adjust to pass account_type in data array, as with other accounts backends 2001-04-07 17:06:26 +00:00
Miles Lott
6297a4d8c6 Hope this is a real fix this time 2001-04-07 15:22:57 +00:00
Miles Lott
94e7363845 Fix syntax error 2001-04-07 15:13:50 +00:00
Miles Lott
31382231a0 Remove global call to unneeded string, and add return_array() function 2001-04-07 14:59:00 +00:00
Miles Lott
da3fec9d7c Add some additional functions 2001-04-07 14:34:37 +00:00
Miles Lott
0d001b95b8 Add enable_browser_class object creation 2001-04-07 14:29:41 +00:00
Miles Lott
c6b810baf3 Rename - converted to a class 2001-04-07 14:19:28 +00:00
Miles Lott
2811576045 Add cvs descr line 2001-04-07 13:55:34 +00:00
Miles Lott
9a168c19d7 Browser detection functions - this may be incorporated to common or functions.inc 2001-04-07 13:53:47 +00:00
Miles Lott
68b25fceba Still buggy, but the memberuid attrib is correct now 2001-04-07 05:43:06 +00:00
Miles Lott
e86fdd35fd This should update the memberuid field for groups even when changing account_id 2001-04-07 02:44:02 +00:00
Miles Lott
ed19a7d7cd This one seems to correctly update the memberuid field 2001-04-07 02:41:23 +00:00
Miles Lott
e28ab89f39 This now edit memberuid field based on members, but we need to update the acl first. 2001-04-07 01:43:56 +00:00
Miles Lott
e3c0d664fe Oops, rename to match ldap 2001-04-06 21:49:06 +00:00
Miles Lott
74cb79a5db Change auto_add. Not sure this is what you had in mind. 2001-04-06 21:42:18 +00:00
Miles Lott
43a9ef07e1 Fix missing () on an if 2001-04-06 21:38:41 +00:00
Miles Lott
8f95f4b6f6 This changes auto_add to use common->nextid, and adds account_type to $this->data. 2001-04-06 21:37:46 +00:00
Miles Lott
8e48f8b764 More adjustments - trying to add memberuid attribs based on acl 2001-04-06 20:44:48 +00:00
Miles Lott
9b5ddd3cc1 This is work in progress for what ldap accounts might be 2001-04-06 18:55:23 +00:00
jengo
57a0519eef SF #413778 - Fixed HTML in comments not showing up durring matrix view 2001-04-06 05:30:37 +00:00
Miles Lott
1e45789497 Add inetOrgPerson to objectclass for new accounts 2001-04-05 21:50:12 +00:00
Miles Lott
06957d529b Modify save and create to check for attrs, and added some users to the exclusion list. 2001-04-05 18:55:44 +00:00
jengo
01c30a42d0 *** empty log message *** 2001-04-04 07:14:31 +00:00
jengo
003ef39d11 Added ending date option 2001-04-04 06:49:03 +00:00
jengo
4b1282adcd Fixed a few bugs with tring to re-read session cache info, which is competly broken anyway. We might need to do away with the idea, it doesn't seem any faster 2001-04-04 04:54:12 +00:00
skeeter
42a593ad9b Revert the code back to the way it was. 2001-04-03 03:26:59 +00:00
skeeter
afea2d7d56 Possible fix for error on line 53 of ->preferences when logging in. 2001-04-03 03:08:50 +00:00
skeeter
dbd3c7d061 This fixes bug #412687 2001-04-03 01:42:10 +00:00
Miles Lott
443b54d641 Do not set homedir/shell for groups 2001-04-02 17:52:11 +00:00
skeeter
fa3e1b36c0 Making global to the function hook_single(). 2001-04-01 20:55:47 +00:00
skeeter
d13a6b11c9 trying to gain speed effeciencies. 2001-03-31 14:40:52 +00:00
skeeter
f99672dca8 Small cleanups for readability. 2001-03-31 14:38:22 +00:00
skeeter
18cea66193 small fixes for calendar error msgs. 2001-03-31 14:37:32 +00:00
jengo
609f855217 Added session_dla field to phpgw_app_sessions to make sure things get cleaned up 2001-03-31 08:11:41 +00:00
skeeter
486e412862 Fix for persistent connections and disconnect() 2001-03-31 01:10:15 +00:00
bettina
035693bef3 update return_array 2001-03-30 21:12:56 +00:00
skeeter
278bd972c1 Delete now locks the accounts table. 2001-03-30 04:21:10 +00:00
skeeter
f2329fc7bc Guarrantee maxmatchs is an integer value. 2001-03-30 01:00:33 +00:00
skeeter
2026b25976 Fixes for NNTP. Was not returning results. Also, cleanups and now meets coding standards. 2001-03-30 00:58:38 +00:00
Miles Lott
e274ab6a23 Fix php tag 2001-03-29 20:17:54 +00:00
Miles Lott
6a59701d07 Set {filter} to '' if no $filter_obj 2001-03-29 17:13:35 +00:00
Miles Lott
50be1bbeb5 get_list() did not know about ldap_context, oops 2001-03-29 08:49:09 +00:00
Miles Lott
6238ac903d Initial add; This is very prelim 2001-03-29 08:10:04 +00:00
Miles Lott
fef9d740a9 Add min/max account_id to admin config.inc.php, and ldap accounts is using it 2001-03-29 07:26:28 +00:00
Miles Lott
2c5d6daae2 Another try at checking if $id > $max, I like this better 2001-03-29 06:15:57 +00:00
Miles Lott
f67f7719c2 Added min/max to nextid/lastid 2001-03-29 06:10:47 +00:00
Miles Lott
5713329ff9 Add LINE,FILE to nextid/lastid 2001-03-29 04:32:33 +00:00
Miles Lott
0b15657e4c Add account_id for future use 2001-03-29 04:20:12 +00:00
Miles Lott
c7b682d525 Add homedirectory and loginshell to ldap 2001-03-29 03:40:14 +00:00
bettina
acb00bf31c added cat_access 2001-03-27 07:19:28 +00:00
bettina
0953acb424 added access_field 2001-03-27 03:40:18 +00:00
bettina
8f21b5275a added access_field 2001-03-27 03:10:30 +00:00
Miles Lott
e2afce4073 Fix account_id use in update_lastlogin to use get_account_id; formatting 2001-03-26 21:36:32 +00:00
Miles Lott
501f75b630 Add optional use of $offset to limit the list 2001-03-26 20:44:49 +00:00
Miles Lott
ece1208b07 Complete template var setting for filter 2001-03-26 08:24:35 +00:00
skeeter
0b717ac195 cleanups for readability 2001-03-25 22:24:19 +00:00
skeeter
f6d0ed1eb6 possible fix for sending email and teh RCPT TO: address 2001-03-25 21:04:41 +00:00
skeeter
a2e4b791c9 Fix for bug #411157 - Free/Busy and fullnames 2001-03-25 14:41:17 +00:00
bettina
82b727df35 added global cats 2001-03-25 07:21:37 +00:00
bettina
b464dd7249 added global cats 2001-03-25 06:22:25 +00:00
bettina
5c4dbe12cc added global cats 2001-03-25 05:58:28 +00:00
themaniac
39b44180c0 start of inline docs 2001-03-24 23:19:39 +00:00
skeeter
7d197afd49 Stream lined the getuser_ip() usage in create(). 2001-03-24 18:07:00 +00:00
Miles Lott
db4c710847 Change lastid to return 1 instead of -1 2001-03-24 15:44:35 +00:00
themaniac
9047dcec22 inline docs 2001-03-24 08:01:26 +00:00
skeeter
4f6f05629c added saving of data to phpgw_accounts table when saving records to LDAP 2001-03-24 04:01:04 +00:00
skeeter
f22e071fbd minor touches for cosmetics 2001-03-24 02:33:44 +00:00
el_latino
43f048acca added a new function cmp_version 2001-03-23 05:56:15 +00:00
themaniac
c2357d72a3 spelling mistake in inline doc tag 2001-03-23 05:38:11 +00:00
Miles Lott
b628a2dd9f Add last_id function to check current id without incrementing 2001-03-23 04:42:22 +00:00
skeeter
0d28ccd10b Fixes for delete() in ldap. 2001-03-23 03:10:57 +00:00
skeeter
c9af8bfe46 Created new delete() for sql. 2001-03-23 03:10:28 +00:00
jengo
cc33076dad display_fullname() had lastname and firstname mixed 2001-03-22 18:10:09 +00:00
bettina
7716dc48d4 update function formattime to show 12 as pm 2001-03-22 17:29:37 +00:00
jengo
35a2d6bc9a Fixed inline doc comment 2001-03-22 13:26:54 +00:00
jengo
3f3c2e7d01 Created a little bit cleaner version of display_fullname() 2001-03-22 13:25:06 +00:00
Miles Lott
db844b2ddb Add phpgw_nextid table and common->nextid function 2001-03-22 08:23:35 +00:00
Miles Lott
3604032b53 Add unset(password) before modify if the account existed in ldap already 2001-03-22 08:02:27 +00:00
themaniac
d5fcd31dea very draft inline docs added 2001-03-22 06:10:22 +00:00
Miles Lott
913f1580c1 Start adding vcard import/export class 2001-03-21 08:06:40 +00:00
skeeter
afc340b7c5 fixed missing next_record() 2001-03-21 06:13:42 +00:00
skeeter
e7a9f708bc set the default account_id again 2001-03-21 06:05:44 +00:00
skeeter
30bae00dc9 set the default account_id again 2001-03-21 06:00:06 +00:00
skeeter
93c2a3f15d set the default account_id again 2001-03-21 05:51:33 +00:00
skeeter
9dfd13af5e Juggling get_account_id() again. 2001-03-21 05:42:40 +00:00
skeeter
a441160b19 Juggling get_account_id() again. 2001-03-21 05:40:54 +00:00
skeeter
9a3cf6f1f7 Created ['user']['account_id'] as a default user if nothing found 2001-03-21 05:28:00 +00:00
skeeter
730d467703 Changed it for an initial instantiation 2001-03-21 05:09:14 +00:00
skeeter
c40f06de24 Juggling the location of get_account_id(). 2001-03-21 05:01:28 +00:00
skeeter
ed199e06eb Fixed misspeling in exists(). Change to 2001-03-21 04:54:10 +00:00
skeeter
e18b447599 Setting default values if nothing passed. 2001-03-21 04:41:20 +00:00
skeeter
e2a2e74619 Fixed a problem with the categories class not being instantiated correctly. 2001-03-21 03:30:29 +00:00
skeeter
7aefe02121 fix for create() 2001-03-21 01:00:56 +00:00
skeeter
111a3f1e2f removed extraneous parameter 2001-03-20 04:46:40 +00:00
skeeter
9fcb041eb4 mistype the name of the new function get_account_id() 2001-03-19 23:09:47 +00:00
skeeter
dde3854be5 possible clarification in memberships() 2001-03-19 20:55:48 +00:00
skeeter
4b31a3a93b fix in get_grants() if the user is by some unknown reason, not associated to a group 2001-03-19 20:50:46 +00:00
skeeter
4199aceffc mistype the name of the new function get_account_id() 2001-03-19 20:37:09 +00:00
skeeter
b9da94fd2e New function get_account_id(). This will take either an account_id # as either an integer or a string and return a true intval(account_id) or take a string of a users lid and return the account_id as an integer 2001-03-19 20:25:04 +00:00
themaniac
a2e2ed23f3 incline docs; alot of this needs to be looked at 2001-03-19 03:16:56 +00:00
skeeter
ecb54c6800 I'm thinking this is the way it should be. Resetting the variable with each iteration through for the individual records. 2001-03-18 18:31:17 +00:00
skeeter
e52c72c4eb should solve problems for the accounts->exists() 2001-03-18 18:09:46 +00:00
skeeter
79639009d9 something I was playing with.. 2001-03-18 17:20:45 +00:00
skeeter
94f59cfde8 Trying to determine if variables are getting their types messed up. 2001-03-18 16:29:05 +00:00
skeeter
dd2ff0d4b4 fixes to the exists function. This will now accept either an account_lid or an account_id. The preferred method is the account_lid. 2001-03-18 14:08:39 +00:00
jengo
4f6e553e15 Cleaned up exists(), it was looking for account_id which is shouldn't do 2001-03-18 13:35:53 +00:00
jengo
5d7cb50e74 Added some comments about legecy code and started adding in debugging info into the API 2001-03-18 05:16:00 +00:00
jengo
40fb427d31 Added PHPGW_ACL_PRIVATE constant 2001-03-18 04:55:36 +00:00
Miles Lott
15fcaf6bbb Enhance exists() to not error due to empty $account_id 2001-03-18 03:34:56 +00:00
Miles Lott
e19c852d38 Replace 707 with 770 - I think this is all of them 2001-03-16 04:04:08 +00:00
themaniac
c71a3684c7 ..some more inline documentation; i'm done in here now someone can add some detail 2001-03-15 05:55:06 +00:00
skeeter
7eff94a52d added ability to designate Sender: field 2001-03-15 05:35:30 +00:00
Miles Lott
7791256228 Modify create to modify an account if already in ldap, else add it 2001-03-14 18:54:30 +00:00
themaniac
063db53e99 some more inline documentation added (draft) 2001-03-14 17:21:09 +00:00
Miles Lott
9aefe9a58b Make the delete function delete from ldap as well 2001-03-14 16:50:17 +00:00
jengo
aea8c10989 Accounts will now be able to change there password by default 2001-03-14 12:26:11 +00:00
jengo
2a7a4229e1 Fixed preferences hooks not being included 2001-03-14 12:17:24 +00:00
jengo
af81ed5a8a hook() now checks user permissions BEFORE the hook is included 2001-03-14 12:10:01 +00:00
themaniac
f8304f1b3f start of incline documentation 2001-03-14 06:38:11 +00:00
skeeter
130a36248a stronger type casting 2001-03-14 03:00:13 +00:00
themaniac
d2b0d33199 start of inline documentation 2001-03-13 23:28:27 +00:00
themaniac
82decf9cc9 start on inline documentation 2001-03-13 18:30:21 +00:00
jengo
5d4493670c Converted nextmatchs to work off templates 2001-03-13 13:15:53 +00:00
jengo
4b932ff6df Added fp() finish parse short cut 2001-03-13 11:52:17 +00:00
themaniac
57e1b92f8f beginnings of inline documentaion 2001-03-13 04:58:57 +00:00
themaniac
2b4a766474 beginnings of inline documentaion 2001-03-13 04:27:22 +00:00
el_latino
30e8f6e58b Fix for bug [ #406681 ] function read_group_names() not exist, thx to Patrick Naubert <patrickn@tygerteam.com> 2001-03-12 15:09:00 +00:00
jengo
1ac2174b70 Added in a class to validate input 2001-03-12 13:17:38 +00:00
jengo
82936fd3c8 Added function to return the total categories depending on filter. Also, applied some source formating 2001-03-12 12:16:14 +00:00
jengo
d879bf8c96 Fixed PHP warning 2001-03-12 12:01:56 +00:00
skeeter
716b8fe6ee new acl function to grab apps enabled for user and groups associated to 2001-03-11 22:38:19 +00:00
Miles Lott
d3e54884f1 Make random uidnumber not create invalid uid ( <65536 ) 2001-03-10 14:59:28 +00:00
Miles Lott
f7533ca3d0 Added create function - still needs work 2001-03-10 12:27:22 +00:00
Miles Lott
f63a01ce6b Change back the setting of account_id also 2001-03-10 00:17:32 +00:00
jengo
4157660b0e Rolling back changes to the const 2001-03-09 23:33:09 +00:00
jengo
4fc5186eb8 Added ability to pass the database handle to the accounts const 2001-03-09 23:21:52 +00:00
jengo
a48625a0f6 Fixed PHP warnings on disconnects 2001-03-09 15:55:34 +00:00
themaniac
a4b37d1f37 added inline comments (start of) 2001-03-09 04:38:42 +00:00
jengo
a26155472a Possiable fix for link() not working durring login 2001-03-09 01:05:48 +00:00
skeeter
57c5024274 forgot to return the preferences array 2001-03-08 18:51:17 +00:00
jengo
6deda7f240 Cleaned up how link() works, it should work with different styles of webserver_url now 2001-03-08 08:44:57 +00:00
el_latino
b2a4c580f1 Transy - create new lang set: disappearing translated string 2001-03-08 02:05:29 +00:00
skeeter
d5a4a0bc7e new code for email notification - NOT IMPLEMENTED 2001-03-07 19:02:25 +00:00
themaniac
c144045ce0 added inline documentation 2001-03-07 00:14:48 +00:00
bettina
3f06a8752b update categories class to count items 2001-03-05 00:44:50 +00:00
skeeter
faab4e668e didn't handle retrieving structures from appsession properly 2001-03-04 04:13:54 +00:00
jengo
0cd0e810ad Fixed a php warning being spit out with new users 2001-03-01 18:17:33 +00:00
Miles Lott
25f3b8f34c Oops, move the phpgw_info above the class spec 2001-03-01 16:41:38 +00:00
Miles Lott
6b154b447e Move global_denied_users list into accounts class, sql is an empty array 2001-03-01 16:20:48 +00:00
Miles Lott
a311f8bad1 Make get_list return allValues[0]["???][0] instead of using non incrementing $i 2001-03-01 15:32:52 +00:00
Miles Lott
ebace1a65f Change insert into preferences to correct (new) table name 2001-03-01 03:01:06 +00:00
bettina
e387e95008 fixes 2001-03-01 01:29:31 +00:00
jengo
c3e29775ab Added the session_flags column to phpgw_sessions 2001-02-28 15:56:47 +00:00
bettina
aacca9b4da included total_matchs to read categories 2001-02-27 01:41:59 +00:00
jengo
03223c14eb Fixed PHP 3 warning 2001-02-26 21:03:53 +00:00
jengo
2509cf0e65 Added a short cut to echo $phpgw->template->finish($phpgw->template->parse('out','form')); 2001-02-26 15:48:53 +00:00
Lars Kneschke
1f844318f6 make session working again 2001-02-25 20:47:29 +00:00
Lars Kneschke
a835a9b1e6 moved session stuff from squirrelmail to teh api 2001-02-24 23:39:22 +00:00
Lars Kneschke
ed50495e1a made appsession working again 2001-02-24 22:56:31 +00:00
chrwei
0b409c5b02 flags for imap_append and Sent email flagged Seen 2001-02-24 04:07:01 +00:00
skeeter
99883c4bb0 improper default prefs 2001-02-22 05:35:53 +00:00
jengo
b9caa7f710 Fixed adding permissions to an account not adding in the proper level for run 2001-02-22 04:42:01 +00:00
skeeter
10a7b5f836 fixes for email and passwords 2001-02-21 03:48:59 +00:00
jengo
b733042a9a Remove un-needed variable in acl add 2001-02-21 03:02:20 +00:00
bettina
548d841d1e updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:56:10 +00:00
bettina
6fa74c988f updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:23:23 +00:00
jengo
385a94f09e Started working on getting the admin account sections to work again 2001-02-20 14:06:32 +00:00
jengo
cdd1abffb1 Create a shared function for checking weather to use the system defaults or the users preference for mail settings 2001-02-20 08:29:31 +00:00
jengo
ab36b7bb85 Fixed appsessions() not returning the users password correctly 2001-02-20 06:50:36 +00:00
bettina
e385245ecf removed cat_owner from sql_statements 2001-02-19 11:26:08 +00:00
skeeter
c7ec8ad982 previously calling name2id to get the name 2001-02-18 23:28:15 +00:00
skeeter
26b4025092 guarantees returned id is int value 2001-02-18 23:26:53 +00:00
skeeter
7f551f895e fix for php4'isms 2001-02-18 22:30:53 +00:00
skeeter
2d8260f332 minor cosmetics 2001-02-18 22:30:16 +00:00
skeeter
97056a2ad6 fix for call to appsession() 2001-02-18 22:29:49 +00:00
jengo
aed86715fe Fixed edit account, it now appears to be working again 2001-02-17 09:40:29 +00:00
el_latino
064a6bf960 *** empty log message *** 2001-02-16 20:48:24 +00:00
el_latino
195f02657b Fri, 16 Feb 2001 20:43:03 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtal.com>

  A mising ' in class.sessions.inc.php
2001-02-16 20:47:36 +00:00
el_latino
01e47441d9 Fri, 16 Feb 2001 20:22:46 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtual.com>

 Fixed the s/'/"/g problem on class.sessions.inc.php that make this class non ANSI-SQL complilant
2001-02-16 20:28:11 +00:00
Lars Kneschke
2222b135ef more exetensions to my graphics class 2001-02-14 20:55:10 +00:00
Lars Kneschke
ad3eecef15 updated my graphics class 2001-02-14 19:27:37 +00:00
jengo
f3e93891a9 Changed the preferences table to use the phpgw_ prefix 2001-02-13 19:30:18 +00:00
Miles Lott
5945a456e7 Formatting 2001-02-13 15:19:19 +00:00
Lars Kneschke
98213efd4e get_list() is working now 2001-02-13 14:31:35 +00:00
seek3r
d80f6a4e79 working toward app install/upgrdae within setup prog 2001-02-13 10:53:18 +00:00
skeeter
5de5b936ab readjust grantor record layout 2001-02-13 01:00:16 +00:00
Lars Kneschke
9ebb3bfaae make password changing working from user admin pages 2001-02-12 21:13:09 +00:00
Miles Lott
8ce2e59b25 Fix ldap_root_pw, and indent the ldapConnect function 2001-02-12 21:11:08 +00:00
jengo
401d02fe7d Just some silly formating 2001-02-12 19:21:45 +00:00
Lars Kneschke
71e21b9377 created a test page for automaitc button creation and a class 2001-02-12 14:27:50 +00:00
Lars Kneschke
16856ebc2b reverted my changes at appsession() 2001-02-12 13:43:37 +00:00
skeeter
6694dca315 fix for pgsql not liking the " instead of \' 2001-02-12 12:22:29 +00:00
Lars Kneschke
b9efe46355 removed cvs conflicts 2001-02-12 09:11:49 +00:00
Lars Kneschke
c2c5993f1a removed cvs conflicts 2001-02-12 09:06:25 +00:00
skeeter
b84e51fc39 fix for get_grants working with group access 2001-02-12 04:59:10 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
skeeter
7551afd156 new function get_grants() - who grants rights to an app 2001-02-11 19:07:56 +00:00
skeeter
3c55ebb349 added a local instantiation of acl in memberships 2001-02-11 19:06:22 +00:00
skeeter
996f25f84e fix for pgsql and the "" 2001-02-11 15:16:49 +00:00
Lars Kneschke
6b787678ea useradmin pages rewrite started 2001-02-11 03:07:43 +00:00
skeeter
68efb23f14 better support of ->memberships() results for getGroups() 2001-02-11 02:39:45 +00:00
skeeter
b4fa70ccd7 takes into account 0 acl entries for the user/group 2001-02-10 19:59:23 +00:00
skeeter
a411f728ee cosmetics 2001-02-10 18:14:38 +00:00
jengo
d5e4f4b587 Added the session_action field, so admin can watch what users are working on. Just your basic big brother stuff ... 2001-02-10 15:14:14 +00:00
jengo
57e2b9408c Fixed template not loading up for apps 2001-02-10 14:09:35 +00:00
skeeter
2d96794df0 fixes for read_repository() 2001-02-10 03:58:12 +00:00
skeeter
b2427590f9 small fix for constructor 2001-02-10 03:56:28 +00:00
jengo
93877426a3 Added some better error report for people who have created there header.inc.php file and not setup there database 2001-02-10 03:15:48 +00:00
jengo
f6540f93c4 Fixed sessions not giving the users password back from appsessions and made all of references to time() work off a variable set at the begining of the function 2001-02-09 04:45:44 +00:00
skeeter
a7cbc1e476 minor optimizations 2001-02-09 04:35:57 +00:00
skeeter
a33f2f4fa2 fix the update accounts lastloginfrom 2001-02-09 04:31:47 +00:00
seek3r
6fb62107fe cleaner dir seperator 2001-02-09 03:56:24 +00:00
seek3r
a4b361cf91 make this a tiny bit cleaner 2001-02-09 03:23:26 +00:00
seek3r
b88aeb3515 make this a tiny bit cleaner 2001-02-09 03:21:57 +00:00
skeeter
ea94c3fa4d fixes authing against ldap 2001-02-09 03:11:59 +00:00
bettina
31ad91769e read_group_names/membership 2001-02-08 21:57:00 +00:00
jengo
f0bafc4987 Added missing function strip_html() 2001-02-08 21:27:23 +00:00
jengo
dbd48f7e6f Renamed the applications table to phpgw_applications 2001-02-08 20:11:13 +00:00
jengo
015a627b1e Renamed the config table to phpgw_config 2001-02-08 19:34:14 +00:00
jengo
2d3924eed6 Added footer call to "Access not permitted" screen 2001-02-08 06:10:36 +00:00
skeeter
ac1eac623f can now edit group info 2001-02-08 06:05:39 +00:00
jengo
617c270598 Possiable fix for cache not updating when submitting preferences 2001-02-08 05:41:05 +00:00
jengo
d61f3e5b4d Change the mcrypt encryption to use md5(sessionid . kp3 . static number) instead of just kp3 2001-02-08 05:39:39 +00:00
jengo
96d70f8d8a Fixed user preferences, they are now working with theme support again 2001-02-08 05:15:23 +00:00
jengo
eac8fd0b93 The users password is now stored in a seperate entry in appsessions(), and fixed kp3 not working as it should. Since mcrypt is only accepting the first 32 charaters, passing extra data before kp3 was making it the same encrypted values every single time 2001-02-08 05:13:43 +00:00
jengo
fcb18dbb03 Caching the phpgw_info array is now a server option 2001-02-08 04:59:19 +00:00
jengo
29baf10107 The caching of the phpgw_info array now works on or off ... 2001-02-08 04:52:57 +00:00
jengo
2ebd03ec7d Started moving the cache for the phpgw_info array over to appsessions() .... some things aren't working correclty yet. mainly preferences 2001-02-08 04:42:44 +00:00
skeeter
65a1ff5488 cosmetic 2001-02-08 04:06:15 +00:00
skeeter
18e2eaa767 minor fixes for memberships() 2001-02-08 03:25:22 +00:00
seek3r
a0628a66bb seek3r is a dope fix 2001-02-08 01:06:45 +00:00
seek3r
ff2eb0bb36 cleaned up functions.inc.php
There are still problems to resolve, but might need help resolving them. I can basicly login now
2001-02-08 00:49:34 +00:00
seek3r
5383da6583 moving this out of the way because it screws up windows machines which dont support case in file names 2001-02-07 22:32:57 +00:00
Lars Kneschke
a2355179a0 fixing parser errors 2001-02-07 22:25:57 +00:00
seek3r
1ba6eb78d2 Moving large chunks of code around so that the functions.inc.php file is the main file to getting data loaded into the phpgw_info array. Basicly functions is the file to follow to see whats being loaded and where. We will need to add a bunch of debugging flags throught this file so that debugging can be turned on and the path can easily be followed. 2001-02-07 20:22:17 +00:00
jengo
1054c949b4 Fixed session->update_session_info() should only be called if its for the current session 2001-02-07 15:27:19 +00:00
jengo
df7ef82a06 Fixed last login information not being updated 2001-02-07 13:19:09 +00:00
jengo
aaedec89bf Removed some no longer needed comments 2001-02-07 13:07:09 +00:00
jengo
b1d7e24dd3 Cleaned up warnings durring login 2001-02-07 13:00:56 +00:00
skeeter
ae028712f2 sql_search works again 2001-02-07 11:52:19 +00:00
seek3r
65f1101563 Adding xml-rpc classes which will be needed in future xml-rpc interface to our class 2001-02-07 09:09:43 +00:00
seek3r
256b40b169 Adding xml-rpc classes which will be needed in future xml-rpc interface to our class 2001-02-07 08:16:55 +00:00
jengo
c59b6e286c Removed create_specialobject() 2001-02-06 20:13:58 +00:00
jengo
5f0c2433db Returned cvs to how it was last night (with including the class.accounts.inc.php) file first 2001-02-06 20:13:06 +00:00
Miles Lott
b0227a29ae use new defines 2001-02-06 14:16:04 +00:00
jengo
58bb2a282f Fixed functions.inc.php being included instead of the apps functions.inc.php file 2001-02-06 14:11:44 +00:00
jengo
907e34c001 More path fixes 2001-02-06 13:49:08 +00:00
jengo
7f244941f1 Started moving over some variable names to use the new contastants 2001-02-06 13:46:50 +00:00
jengo
fcd9d43bba Fixed footer call 2001-02-06 13:29:14 +00:00
jengo
16cad5e0b4 Forgot to include the contructor 2001-02-06 13:24:33 +00:00
jengo
e219167262 Updated LDAP to the new class name 2001-02-06 13:21:07 +00:00
jengo
e0b8a07f9c Fixed not being able to login and clean up a ton of code. It was a mess in there, things flow a little but better now. I still have some cleaning up to do 2001-02-06 13:18:51 +00:00
Lars Kneschke
d7a25387c4 added a missing '' araound a sql statement 2001-02-06 12:38:35 +00:00
Lars Kneschke
2d4dedfbd5 new classes support 2001-02-06 12:36:02 +00:00
seek3r
7483d5a8f9 one more before I passout. I have yanked conversion of id, so now you need to pass account_id only 2001-02-06 12:06:17 +00:00
seek3r
f6430b723b need sleep, you guys are stuck with what I have so far 2001-02-06 11:58:39 +00:00
seek3r
99256dc16c working on complete update of sessions class 2001-02-06 11:00:26 +00:00
seek3r
00b23411ef moved to define() for path vars. Also starting to hack sessions to be phpgw_info manager 2001-02-06 09:19:38 +00:00
Lars Kneschke
f4c9533c37 the new accounts class 2001-02-05 22:31:18 +00:00
seek3r
3f44799099 I have things working to a point where the user can login. I still wil lhave to do MAJOR cleanup of session class and fix a few things in the acl that I commented out 2001-02-05 22:30:21 +00:00
Lars Kneschke
a09fb881a4 working on the new accounts class 2001-02-05 21:56:23 +00:00
Lars Kneschke
2dbca7efea building the new class 2001-02-05 21:26:40 +00:00
seek3r
a6abda7775 going back to a shared accounts class structure 2001-02-05 21:11:55 +00:00
Lars Kneschke
f4fa3e15b3 move to seek3r definition 2001-02-05 21:05:24 +00:00
seek3r
cfb29e83dd switching to new definition as documented in phpgwapi/doc/class.acounts
I for accounts_sql we still need to add a few functions.
2001-02-05 20:40:30 +00:00
seek3r
cbe5e2e4a5 cleaned up constructor a bit 2001-02-05 20:39:06 +00:00
Lars Kneschke
f02cdb1bd3 accounts -> phpgw_accounts 2001-02-05 19:04:47 +00:00
Lars Kneschke
e4dda639c7 made ldap working again 2001-02-05 19:01:06 +00:00
Lars Kneschke
f4faad636b put all funtions from _sql into _ldap to make it working again
there are still other prob, but at least this class should wotk now
2001-02-05 18:38:43 +00:00
jengo
fa4a12e8a8 Finished mergeing over the things from accounts_shared to common 2001-02-05 16:37:38 +00:00
jengo
f6adca46c7 Changed the accounts class to use the new smaller version of the phpgw_accounts table 2001-02-05 14:58:03 +00:00
skeeter
94b6d81a37 minor fixes for reading group info 2001-02-04 20:29:18 +00:00
skeeter
2c046331c4 email now checks for new messages on home page 2001-02-04 19:57:24 +00:00
jengo
fb16ff2fe2 Fixed help/about link not adding in the proper info 2001-02-04 11:27:50 +00:00
Lars Kneschke
8a3da8d252 make ldap working again 2001-02-04 11:17:58 +00:00
Lars Kneschke
19a6c40768 removed debug output 2001-02-04 10:30:23 +00:00
Lars Kneschke
d902c27d85 some changes for ldap support 2001-02-04 10:26:15 +00:00
jengo
5a4e1a11a1 Fixed some variables being treated has strings becuase of things like "$somevar" 2001-02-04 08:27:35 +00:00
Lars Kneschke
33a24db25b first modifications to make ldap working again 2001-02-03 22:51:20 +00:00
Lars Kneschke
1af442eb97 changed function names, to match the sql ones 2001-02-03 21:14:23 +00:00
seek3r
3ac75481c1 classes are in the newer format. Still some cleanup to do but the concept is at least in progress 2001-02-03 10:48:41 +00:00
jengo
ef7c988605 Added returning a single category 2001-02-03 06:55:22 +00:00
skeeter
b38b7d975e minor changes 2001-02-03 03:31:00 +00:00
sjb4891
f35a6a9a19 Fix from stinger to allow mail auth to work agains POP3 and IMAP servers 2001-02-02 19:04:19 +00:00
skeeter
2bd2c994b7 edit/new accounts works with new acl/applications and w/o warnings 2001-02-02 12:28:39 +00:00
seek3r
60d5f7322d fixed problem with default settings 2001-02-02 07:07:09 +00:00
seek3r
d97225c0c1 fixed problem with default settings 2001-02-02 07:06:08 +00:00
seek3r
1360248588 moved files 2001-02-02 07:02:03 +00:00
Miles Lott
404f0c79da Correct field mapping 2001-02-02 06:28:56 +00:00
Miles Lott
f6c10d906a Begin changes to implement VCard as a standard - SQL only 2001-02-02 03:13:01 +00:00
seek3r
208adb1792 added first version of auto create accounts 2001-02-02 01:08:03 +00:00
Lars Kneschke
053e5aaea8 making the email app working again
class.menutree.inc.php needs still some work
2001-02-01 21:23:34 +00:00
Miles Lott
bd9153e50c Reorg into shared/sql/and dummy ldap file. Also includes new contact_application var. 2001-02-01 04:04:15 +00:00
skeeter
5beb7a4174 removed a commented debug statement 2001-02-01 04:03:01 +00:00
skeeter
e77271dde8 now completely acl based 2001-02-01 04:02:01 +00:00
Lars Kneschke
7300588677 let the email app show all folders again 2001-01-31 19:42:13 +00:00
bettina
e60c1fc07d commented out line 102 2001-01-31 18:42:45 +00:00
bettina
3d52cc0292 changed to count 2001-01-31 18:33:45 +00:00
jengo
585be61e0e *** empty log message *** 2001-01-31 07:46:26 +00:00
skeeter
b1cf1322a6 preps for editgroup/newgroup and calendar 2001-01-31 05:51:52 +00:00
jengo
c4d3423bde Fixed ACL checks not working in the middle of a db query 2001-01-31 03:02:00 +00:00
skeeter
b58ac26b3a change the loading of the application params 2001-01-30 11:35:23 +00:00
seek3r
52796590bf trying to get code ready for admin pages 2001-01-30 10:46:09 +00:00
seek3r
3509042d9b moved code so that group memberships are based on ACL entries 2001-01-30 10:11:34 +00:00
skeeter
abb21d96e4 cleanups 2001-01-30 02:13:38 +00:00
skeeter
1222384e5d various little cleanups 2001-01-30 02:12:03 +00:00
skeeter
8bc405905d does a reset of the array and checks for a rogue int application 2001-01-30 02:10:45 +00:00
skeeter
50cf9c05ae now handles the multi args in CreateObject() 2001-01-30 02:09:32 +00:00
jengo
81c7d0be94 Fixed limit(), I must have been a sleep when I wrote the function :) 2001-01-30 00:12:27 +00:00
skeeter
8345e26b12 fixes the preference pages for the different apps 2001-01-29 04:40:16 +00:00
seek3r
80c8300172 corrected contrustor problem 2001-01-29 02:17:08 +00:00
Miles Lott
4ace69d421 Rename phpgw_fillarray to fill_user_array to match sql. 2001-01-28 13:31:44 +00:00
Miles Lott
6938a42803 Addin username/groupname conversion functions from sql. 2001-01-28 13:29:14 +00:00
seek3r
5544af855f looks good. please test 2001-01-28 12:24:38 +00:00
seek3r
d3ed4a59ae Working on load order simplification. It still needs ALOT of work 2001-01-28 12:07:20 +00:00
seek3r
9b8a1cd8f7 fixed get_app_list_for_id and get_location_list_for_id so that they return on the entries for the specified user or group. As would be expected. 2001-01-28 01:37:34 +00:00
skeeter
0cc6d28d3c added constructor to class 2001-01-27 16:32:09 +00:00
seek3r
caa97ad127 I think this fixes it 2001-01-27 15:59:19 +00:00
seek3r
a000b3d00d around and around we go 2001-01-27 04:23:32 +00:00
seek3r
e9c319813d fixd 2001-01-27 04:07:29 +00:00
seek3r
fd8a910b08 fixed logic problem 2001-01-27 03:29:33 +00:00
jengo
716c0c7f24 Fixed the sorting issue 2001-01-27 03:24:53 +00:00
Miles Lott
91316c0538 Modify read to optionally handle queries 2001-01-26 21:37:04 +00:00
seek3r
14399c60c4 went full blown with app assignments via ACL. Still need to do teh admin pages tho 2001-01-26 11:58:00 +00:00
Miles Lott
786bffc4c5 Add read_single_entry 2001-01-26 04:30:02 +00:00
Miles Lott
05109519c4 Add var to show total_records, and modify read to set it. 2001-01-26 00:23:46 +00:00
skeeter
77e137a1c1 fixes for removing user grants 2001-01-25 17:58:08 +00:00
Miles Lott
39334f25ec fix limit function to return offset var 2001-01-25 07:07:57 +00:00
Miles Lott
ab86478263 Add filters to sql. 2001-01-25 07:07:04 +00:00
jengo
9505b365d6 Moved sql_limit() to the db classes and renamed it to limit() 2001-01-25 06:09:08 +00:00
jengo
c075d32f83 Added in the new contacts class, it still needs some work 2001-01-25 03:03:45 +00:00
seek3r
435a794d5e fixed some various issues with acl 2001-01-25 01:30:39 +00:00
seek3r
c98109234f reversed some lame hard coded path that jengo put 2001-01-24 19:28:08 +00:00
skeeter
8a23de20ea changed around the check function a little 2001-01-24 03:21:16 +00:00
skeeter
9c554ba6d9 cosmetic fixes 2001-01-23 12:01:55 +00:00
skeeter
bcc5246ac6 fixed a misspelling for account to accounts 2001-01-22 19:28:41 +00:00
skeeter
ebff5e1d61 minor fixes in view_app_list 2001-01-22 19:26:43 +00:00
skeeter
db8884dfe7 fix for adding new groups 2001-01-22 17:48:15 +00:00
seek3r
36acf4e5c6 cleaned up skeeter app rights via ACL implmentation 2001-01-22 10:35:31 +00:00
sjb4891
450f05d209 Hack to work around link() problems experienced by r0kawa when running
PHP as a cgi under windows.
2001-01-22 01:35:47 +00:00
skeeter
76ba0c8b53 removed trailing ) from delete 2001-01-21 23:20:30 +00:00
skeeter
877985274a allows setting app for anonymous access 2001-01-21 23:18:05 +00:00
skeeter
30db1fa811 initial implementation of ACL class 2001-01-21 21:34:36 +00:00
skeeter
2f10a6cc28 fix for group box in calendar 2001-01-21 14:30:53 +00:00
seek3r
00c39efa78 patch for error when array is returned 2001-01-21 08:22:35 +00:00
skeeter
abf8c3bcd9 implementation of applications class 2001-01-21 01:26:23 +00:00
jengo
31f38a5d8e Fixed a few problems with the result objects 2001-01-19 23:45:37 +00:00
skeeter
1272648985 *** empty log message *** 2001-01-19 13:16:30 +00:00
skeeter
47a938e92a small performance fixes 2001-01-19 13:16:00 +00:00
skeeter
e42fcb0ad8 new applications class - not used 2001-01-19 04:20:37 +00:00
skeeter
fb4c04b950 new applications class - not used 2001-01-19 04:15:58 +00:00
skeeter
5f85de1ccc new applications class - not used 2001-01-19 04:10:45 +00:00
skeeter
010a789b9b changes for locking while reading/saving preferences 2001-01-18 05:14:59 +00:00
seek3r
24de5a9611 now we have two template classes. Developers are free to choose the one they want to use, until the best one rises to the top 2001-01-17 18:43:37 +00:00
seek3r
94ec5b8661 php3 fix 2001-01-17 04:53:14 +00:00
skeeter
12badc6dc1 cleanups - to make it more OO 2001-01-17 02:50:16 +00:00
seek3r
4e3e6c77cb fixed banners so that they are all uniform and complete 2001-01-16 13:52:32 +00:00
skeeter
a04004a0e7 now works with Object Factory 2001-01-15 19:45:29 +00:00
Miles Lott
c61806fea5 The manual was looking for class.rssparser, and the file was class.rssparse.inc.php. 2001-01-15 03:35:55 +00:00
skeeter
d3be920701 fixed copyrite info 2001-01-14 19:25:51 +00:00
jengo
1201f2693a Fixed banner messages not including the GPL license on files which we did not fully write 2001-01-14 15:37:07 +00:00
skeeter
a378bc1efc fix for url substitution 2001-01-13 16:16:35 +00:00
seek3r
fba1a92446 Put in new license details 2001-01-13 10:18:50 +00:00
seek3r
cc4d40e2b1 fixed link function to handle installations at root of a domain 2001-01-13 07:52:08 +00:00
seek3r
2a880eeaeb cleaned up problems with utilities classes 2001-01-12 04:26:51 +00:00
seek3r
970c3090cf cleaned up problems with utilities classes 2001-01-12 04:07:40 +00:00
seek3r
23755c07b3 allow change of from 2001-01-11 20:42:44 +00:00
seek3r
dbd8bbb072 moved crypto to use createobject 2001-01-11 19:41:38 +00:00
seek3r
156a6b6220 fixed createobject to only include any given file once 2001-01-11 17:54:32 +00:00
jengo
3e2952ece1 Fixed it not loading properly, due to last nights changes to how classes are loaded 2001-01-11 15:33:23 +00:00
jengo
ace2ca59ce Everything seems to be working now 2001-01-11 14:53:07 +00:00
jengo
ed0135f488 Categories class is now somewhat working 2001-01-11 13:37:37 +00:00
seek3r
69769d81a0 Im going to stick to using the phpgw.inc.php 2001-01-11 10:30:36 +00:00
seek3r
e7e6373e52 Im going to stick to using the phpgw.inc.php 2001-01-11 10:22:21 +00:00
seek3r
431f841cba switching to the new Object factory method 2001-01-11 10:04:28 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00
skeeter
327588521e fixed calendar to be printer friendly 2001-01-11 01:10:08 +00:00
seek3r
c8cc472302 moved cookies to preferences section of setup/config and also added some details about a fix needed in some environrments 2001-01-10 18:24:31 +00:00
seek3r
9b5e9550f8 moved theme selection 2001-01-10 08:18:11 +00:00
jengo
0e29679846 Fixed templates messing up w/ certian languages 2001-01-10 04:11:17 +00:00
seek3r
09f8a61d04 fixed default template problem 2001-01-10 02:21:37 +00:00
seek3r
a946c16b17 added templates selection 2001-01-10 02:03:16 +00:00
seek3r
83de0f612d added templates selection 2001-01-10 00:53:30 +00:00
seek3r
5422e66f34 moved <html> tags to templates, Im making the core html compliant, and added a greybar on the rightside 2001-01-09 20:25:49 +00:00
seek3r
5fc390a75c moved <html> tags to templates, Im making the core html compliant, and added a greybar on the rightside 2001-01-09 18:58:34 +00:00
seek3r
235a4d42d0 putting back in my changes 2001-01-09 17:23:05 +00:00
Lars Kneschke
abc91c7f3e reverted the changes from seek3r, because the broke more then they did
repair
2001-01-09 16:48:08 +00:00
seek3r
068cb47ae3 fixed use of link() with no params 2001-01-08 20:51:48 +00:00
seek3r
aa6137e272 added comment about what bug will apear soon 2001-01-08 20:20:13 +00:00
seek3r
2d05366f51 added comment about what bug will apear soon 2001-01-08 20:09:22 +00:00
seek3r
b9a41b61c4 fixed problem with link() scheme 2001-01-08 19:23:54 +00:00
seek3r
1db613d9ed changed the link() and webserver_url to return the entire path 2001-01-08 18:51:39 +00:00
seek3r
45cac2c216 added a couple of values in the array 2001-01-08 17:13:56 +00:00
jengo
0fd18d7d62 Remove up the email on main screen and removed uneeded graphics 2001-01-08 17:10:06 +00:00
jengo
68da4219c0 Cleaned up the images for the new layout and made the red icon work w/ home and preferences 2001-01-08 15:01:37 +00:00
jengo
883b40c508 common->phpgw_exit() is now called when there is a halt becuase of a database error and I started adding the auto_stripslashes feature 2001-01-08 10:08:32 +00:00
jengo
c9ca56e4a6 phpgw_exit() can now call phpgw_footer() before it exits 2001-01-08 09:53:40 +00:00
skeeter
abe2072c1a Fixed problem with saving of user preferences 2001-01-08 03:41:34 +00:00
skeeter
d674b1e46b better way of handling preferences 2001-01-08 01:25:43 +00:00
skeeter
a4982a7f0a fix for user preferences 2001-01-07 23:34:39 +00:00
skeeter
49cc2b5ae1 minor fixes for reading out of bounds email 2001-01-07 21:16:33 +00:00
skeeter
cf5f3680c7 new portal templates 2001-01-07 19:53:22 +00:00
seek3r
2bdc3cd5bd fixed a few small bugs 2001-01-07 09:57:34 +00:00
seek3r
6bfe707ddd fixed bug that wasnt loading up default if admin gave users the chioce, and they didnt make one 2001-01-07 06:29:18 +00:00
seek3r
39e22a5202 fixed bug that wasnt loading up default if admin gave users the chioce, and they didnt make one 2001-01-07 06:25:34 +00:00
skeeter
a8062d13db new utility - will put into template 2001-01-07 04:02:06 +00:00
skeeter
b4c4b517ab minor changes - can't remember 2001-01-07 03:59:56 +00:00
skeeter
29a957dcf3 minor cleanup of file format 2001-01-07 02:35:27 +00:00
Lars Kneschke
5c98a89a6f automatic language detection is now working 2001-01-06 23:06:00 +00:00
Lars Kneschke
71cb70e46c lang support is not working correctly, just deactivated it 2001-01-06 21:17:13 +00:00
Lars Kneschke
f9a2fa3840 added funtions for detecting users preferred language automatically 2001-01-06 21:09:05 +00:00
seek3r
82c5aac5de corrected new navbar_end function 2001-01-06 09:20:33 +00:00
seek3r
6e76be6a3c cleaned up a few bugs in the interface/templates code 2001-01-06 07:28:44 +00:00
seek3r
6341dbac76 fixed problem with icons not showing if a certain template set is not fully supported by apps 2001-01-06 06:32:07 +00:00
jengo
40d3507e7a Things are now using the templates 2001-01-06 04:17:47 +00:00
jengo
635b7f1de0 Added in the new templates set, there are still a number of things not working or broken ... I will start cleaning them up now 2001-01-06 04:03:42 +00:00
jengo
13cf6da7aa Changed navbar() to return and array and each template set will now use its own navbar.inc.php file. Theres still much to do, but its at least working 2001-01-05 13:35:42 +00:00
seek3r
c8290ae8c5 added code into some acl functions 2001-01-05 10:08:17 +00:00
seek3r
bc71ebf3e0 changed link() better handle mis-use 2001-01-05 07:59:46 +00:00
skeeter
891c0f2d6e fix for default page set to calendar now displays default calendar view 2001-01-05 01:38:12 +00:00
Lars Kneschke
13b082b088 retunr flase, if password changing was not succesfull 2001-01-04 20:53:50 +00:00
Lars Kneschke
1e1fe30c51 commented $entry["phpgw_lastpasswd_change"] = time(); out
it's not ldap conform
2001-01-04 20:43:36 +00:00
Lars Kneschke
aa5d415752 use $phpgw->common->ldapConnect() for ldap connects 2001-01-04 20:37:46 +00:00
seek3r
75c26a23fe moved change_password code to the auth class where it belongs 2001-01-04 20:29:28 +00:00
seek3r
534337b237 moved change_password code to the auth class where it belongs 2001-01-04 20:20:43 +00:00
skeeter
f248381a6f missed a stray setting 2000-12-31 03:28:08 +00:00
skeeter
fe8d288061 now php3 compatible 2000-12-31 02:19:56 +00:00
skeeter
61be9586c4 fix for missing hooks call in sync() 2000-12-30 21:39:16 +00:00
skeeter
b693138a0b sessions should work correctly/restructure of code 2000-12-30 17:10:20 +00:00
skeeter
1433ec0b6f beginnings of a working manual app 2000-12-30 04:07:14 +00:00
skeeter
c16da3e05b fix for crypto and password 2000-12-29 19:40:09 +00:00
jengo
19a79c9735 Working on fixing serialize() with encryption, seems to work on 3.0.16 2000-12-29 09:56:04 +00:00
jengo
0c5e127b53 Started converting the code to encrypt the session_info field, and it now uses kp3 properly. This needs to be tested 2000-12-29 09:00:52 +00:00
skeeter
4985bb1605 small fixes for editting accounts 2000-12-29 04:33:29 +00:00
skeeter
3ef93d16db small fixes for new users and group edits 2000-12-29 03:49:29 +00:00
skeeter
1e4f1ecc8b small fixes for new users and group edits 2000-12-29 03:05:30 +00:00
jengo
b150a2a1c4 This might be the final fix to get things working with serialize() in all version of PHP 2000-12-28 11:29:05 +00:00
skeeter
a329803c8e now allows changing of preference values 2000-12-28 01:09:12 +00:00
Lars Kneschke
1c61949d9c it was not able to change preferences, because $preferences->account_id as
not set
2000-12-27 22:58:42 +00:00
skeeter
22feaafc29 fix for themes 2000-12-27 21:59:05 +00:00
skeeter
5909a9738a fix for missing param 2000-12-27 21:49:06 +00:00
skeeter
ce195b4f2c fix for preferences on login 2000-12-27 21:14:41 +00:00
jengo
1f29754cc0 Wokring on final fix for PHP 4.0.4 2000-12-27 11:11:38 +00:00
jengo
20bd0cab2d Fixed SQL error 2000-12-27 10:00:43 +00:00
jengo
e48f4f0c65 Changed around the preferences class to work with users other then the current one 2000-12-27 03:05:34 +00:00
skeeter
b6631877a0 removed addressbook and todo from api 2000-12-26 20:29:47 +00:00
skeeter
cbc8000109 calendar removed from api 2000-12-26 20:13:34 +00:00
seek3r
65fd880cfc cleaned up reference 2000-12-26 19:45:20 +00:00
seek3r
1e7aa992a0 sorting out the final details 2000-12-26 19:42:15 +00:00
seek3r
40e3054b17 I think I got the apps include order corrected this time 2000-12-26 19:36:40 +00:00
seek3r
28140d4b6c I think I got the apps include order corrected this time 2000-12-26 19:30:51 +00:00
seek3r
c8ed443755 trying to sort out app include order 2000-12-26 19:21:00 +00:00
seek3r
cf8c6eeb99 trying to sort out app include order 2000-12-26 19:20:15 +00:00
seek3r
680b766dbb corrected a problem with the order we include app header and app functions 2000-12-26 18:55:58 +00:00
jengo
d30890881a Started fixing edit account 2000-12-26 06:30:51 +00:00
jengo
bddad0c03d Merged some duplicate code 2000-12-24 09:55:51 +00:00
jengo
5ef7bdf190 Working on possiable fix for LDAP apps problems 2000-12-24 09:52:27 +00:00
seek3r
6563053c82 I think this should solve the auth problem with ldap 2000-12-24 09:08:03 +00:00
seek3r
d3d2963522 I think this should solve the auth problem with ldap 2000-12-24 08:59:06 +00:00
seek3r
554e82ea12 trying to solve auth problems from non-sql 2000-12-24 08:50:59 +00:00
seek3r
3df6699a06 trying to solve auth problems from non-sql 2000-12-24 08:49:24 +00:00
seek3r
66ecfc35b5 trying to solve auth problems from non-sql 2000-12-24 08:28:41 +00:00
jengo
07fb9f217f Fixed link() putting domain at the end of the code and tring to fix some E-Mail folder problems 2000-12-24 06:13:24 +00:00
jengo
a38ed2f62c Fixed msg->status not reporting the correct number of new messages 2000-12-24 00:30:41 +00:00
skeeter
3e420acc5b minor additions 2000-12-23 16:34:13 +00:00
skeeter
943a5229a4 various little fixes - now using sbox 2000-12-23 16:33:22 +00:00
seek3r
73a5ec994a added the security check to all vunerable files 2000-12-23 09:43:04 +00:00
jengo
a4292c95b9 Added in the title tag to the navbar so it will show up in certain browsers 2000-12-23 09:15:38 +00:00
jengo
75a45c9405 Fixed illegal index type errors, fixed permission sorting, fixed account active not showing up 2000-12-23 06:28:34 +00:00
jengo
4d0970d8a6 Added in time select boxes 2000-12-23 05:24:41 +00:00
jengo
5a4701066e Removed some commented code and fixed the "about about" problem 2000-12-23 03:23:17 +00:00
jengo
82b205a432 Last commit failed 2000-12-23 03:18:44 +00:00
skeeter
073d4f53b9 set to ->db in grab_full_name() 2000-12-23 00:56:48 +00:00
jengo
27c0c9125a Added in the new about code 2000-12-23 00:45:58 +00:00
skeeter
ea66a64a46 new hook file for preferences 2000-12-22 21:18:35 +00:00
seek3r
e9d9507a09 fixed loop problem, I think 2000-12-22 20:06:05 +00:00
seek3r
4b75a3ef52 added te new about icon, and fixed a minor bug that stopped the about icon from being displayed 2000-12-22 06:10:16 +00:00
seek3r
55b0109618 changed the format for the version flags so that each app can have their own app version dumped into the new array 2000-12-21 20:43:26 +00:00
seek3r
ae23b3fc29 tweaked out the about window feature, and added a new hook function so that an admin can pick a single app they want to have hook into them. This is good for apps that are looping thru apps for various other reasons 2000-12-21 19:32:50 +00:00
seek3r
c5796a0690 added support for an about button 2000-12-21 09:51:24 +00:00
seek3r
f795023f8f hopefully settled the directory structure once and for all 2000-12-21 09:16:30 +00:00