Commit Graph

865 Commits

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