Commit Graph

487 Commits

Author SHA1 Message Date
Miles Lott
7fc7a192c5 Possible fix for bug #461589 2001-09-24 16:43:55 +00:00
Miles Lott
70ecf36bfe GLOBALS and formatting work 2001-09-20 03:55:57 +00:00
Lars Kneschke
1f88e43cda spelling errors 2001-09-20 02:51:56 +00:00
Lars Kneschke
9827726352 fixed a typo
change the way the referer get modified, when adding addresses from email client

Miles need to review it
2001-09-20 02:43:39 +00:00
Miles Lott
4c4fcee9cc Adjust for modified cats class in view() 2001-09-18 16:42:18 +00:00
Miles Lott
9355b2486c Fix cat_id setting - again 2001-09-17 02:35:01 +00:00
Miles Lott
01ef0bdc8b Enhance detection of sqsof vars 2001-09-15 12:59:48 +00:00
Miles Lott
50a6073b51 Fix preferences to work with register_globals off 2001-09-15 12:54:43 +00:00
Miles Lott
e078b138b0 working again i think 2001-09-12 16:57:05 +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
9017a5def0 maybe this will appear again 2001-09-06 19:37:51 +00:00
Miles Lott
e247562fc7 oops! deleted $start global here somehow 2001-09-04 05:28:24 +00:00
Miles Lott
4234adb5df Fix for edit that was saving owner also as an extra field, making the record
not viewable anymore; more use of GLOBALS
2001-09-03 12:00:38 +00:00
Miles Lott
5ec4407928 Fix for incorrect lang 2001-09-03 10:53:19 +00:00
Miles Lott
d0c4053077 Using GLOBALS 2001-09-02 14:54:03 +00:00
Miles Lott
8f37b3ce5d Some formatting and additional GLOBALS work 2001-08-27 09:52:35 +00:00
Miles Lott
5d2d1be866 Some more tweaking for GLOBALS, also added introspection for list_methods() 2001-08-27 09:51:32 +00:00
Miles Lott
c81c7c5428 Fix setting of filter for nextmatchs 2001-08-24 23:35:27 +00:00
Miles Lott
a18da3100c Adjustments to pass array values (one more to go) 2001-08-23 06:57:37 +00:00
Miles Lott
b4eacadef8 Cleanup use of acl, one less db call, etc. 2001-08-23 04:29:20 +00:00
Miles Lott
ca0ed1f136 Add in function io map function, listmethods() and rework so class to create
the contacts object in the constructor
2001-08-20 16:30:02 +00:00
Miles Lott
7c3002349a Quick hack to fix owner setting on new entry 2001-08-10 16:51:45 +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
09a1130896 Working to changeover to use of arrays for all bo functions, fix some other
broken calls that were in limbo
2001-08-09 00:19:28 +00:00
Miles Lott
27e328feeb Adjusted for new nextmatchs layout 2001-08-05 13:21:35 +00:00
Miles Lott
de68820130 Hopefully a fix for acl issues, and the strip_html loop 2001-08-04 14:12:32 +00:00
Miles Lott
127c5b7636 check tid to make sure it is not '' or ' ' 2001-07-18 20:30:53 +00:00
Miles Lott
5c431fd271 Fix passing of cat_id 2001-07-13 17:57:10 +00:00
Miles Lott
e66982968d Rename to emphasize this is not for single vcards 2001-07-13 17:51:50 +00:00
Miles Lott
ccd52fc7a8 Fix for no prefs column display 2001-07-13 15:05:50 +00:00
Miles Lott
3daaf14c25 Moved preferences to ui/bo 2001-07-13 09:03:31 +00:00
Miles Lott
5ec7e29c20 What? you want to delete an entry?! (thanks, DB) 2001-07-12 04:09:12 +00:00
Miles Lott
5e6c6bae46 Trying to fix cat_id setting if cat = 0 or '' 2001-07-12 02:42:26 +00:00
Miles Lott
5d4eb501d5 Fix (?) for cat_id... i just don't know anymore 2001-07-12 01:36:51 +00:00
Miles Lott
fabda30701 small tweak to sort querystring 2001-07-12 01:13:07 +00:00
Miles Lott
bba5990cda Fix for php4 for fix for php3... 2001-07-12 01:01:11 +00:00
Miles Lott
2ae98b0577 Some export and prefs fixes 2001-07-11 11:20:35 +00:00
Miles Lott
9b94656ff3 Fixes for import 2001-07-10 20:47:26 +00:00
Miles Lott
07f5bb292c php3 did not like entry[cat_id][] in the form, so this is now fcat_id[] 2001-07-10 20:20:45 +00:00
Miles Lott
ea3e4e4d30 php3 fixes 2001-07-10 19:52:30 +00:00
Miles Lott
6b990a110e Fix export, remove incomplete Italian import file 2001-07-09 23:20:46 +00:00
Miles Lott
86e928a092 Replace Outlook export with lang-spefic files 2001-07-09 23:20:11 +00:00
Miles Lott
3ee4ab412a Replace refs with copies to avoid php3 problems, i hope 2001-07-09 18:06:03 +00:00
Miles Lott
5df37c28ff Switch to using /index.php 2001-07-09 17:35:27 +00:00
Miles Lott
01e19687ef Enable view hook 2001-07-08 22:07:12 +00:00
Miles Lott
9e60b3b784 ceb says this should not be feminine, so... ;) 2001-07-08 14:52:36 +00:00
Miles Lott
5faec95d69 trying to fix reset of start... again 2001-07-08 14:31:59 +00:00
Miles Lott
d1e13ba917 Fix nofname/nolname 2001-07-08 14:12:05 +00:00
Miles Lott
a9b7ad66d8 Moving these, also adding seperate lang versions of cvs import 2001-07-08 13:57:04 +00:00
Miles Lott
ace91371c8 Starting to commit mostly working redesign using 3layer 2001-07-08 13:54:40 +00:00
Miles Lott
376f78c22e old file... 2001-07-05 23:31:23 +00:00
Miles Lott
82ca350f9f moved to api 2001-07-05 07:41:37 +00:00
Miles Lott
a6be13d37a This should complete the remerge of contacts class to api 2001-07-05 07:41:08 +00:00
Miles Lott
6e05eaab28 Renamed 2001-07-05 05:12:30 +00:00
Miles Lott
0d4b201c68 Cleaned up import in vcard class to handle files directly using in_file() 2001-07-03 09:02:16 +00:00
Miles Lott
340bf3f249 Cleanup, add one TODO about use of array_shift() 2001-07-03 08:10:21 +00:00
Miles Lott
09832b0496 Now using limit_query, show_hits (.13 only); Change refs to $this to $contacts;
Cut down on duplicated strings for $sql
2001-07-03 07:17:13 +00:00
Miles Lott
cdd707d2ea I think these are actually working now, except for weather 2001-06-29 01:17:32 +00:00
Miles Lott
62b49ea460 Formatting 2001-06-29 00:30:06 +00:00
Miles Lott
199eed4e71 Possible php3 fix, need to verify on 4 again 2001-06-28 09:51:57 +00:00
Miles Lott
26c28ed4a4 Fix for php3 2001-06-28 09:11:40 +00:00
Miles Lott
b9620485f9 Update to new constants 2001-06-27 05:17:03 +00:00
Miles Lott
eb459be3b5 Display changes to use theme colors... 2001-06-24 06:42:31 +00:00
Miles Lott
99ddadcacc Add preference for default filter - response to patch #429178 2001-06-24 01:30:37 +00:00
bettina
6bd62f7ae5 update formatted_address() to use lang for the countryname 2001-06-23 00:02:07 +00:00
Miles Lott
93e8af054a Add @ to silence extra_fields on update if none 2001-06-22 19:57:23 +00:00
bettina
667eb328ee update addresses 2001-06-22 07:37:59 +00:00
bettina
11d0e8247d update addresses 2001-06-22 05:55:15 +00:00
bettina
c51d053f5f update addresses 2001-06-22 05:29:43 +00:00
Miles Lott
9bf2e8a0ad Final(?) change to country selection, since this is now a combined admin and
preferences option
2001-06-22 01:34:06 +00:00
Miles Lott
12d0ce51e9 Fix for country select 2001-06-21 23:40:09 +00:00
Miles Lott
e71dc5f440 Add an @ to be quiet... 2001-06-16 17:09:32 +00:00
Miles Lott
4d938c1a0b Fix for new hook method 2001-06-11 19:35:11 +00:00
Miles Lott
145959da71 Moving to templated style for admin/config settings 2001-06-10 12:52:50 +00:00
Miles Lott
e6d04696b0 Remove second link 2001-06-10 11:32:35 +00:00
Miles Lott
3baa2c3504 Add new config.inc for admin hook 2001-06-10 11:30:05 +00:00
Miles Lott
1ae38c8f7b Add new notify hook, roughly a copy of hook_home 2001-06-07 10:54:59 +00:00
seek3r
4b1390eb0f had to make several changes and cleanups for php3 compatibility 2001-05-31 10:11:18 +00:00
Ralf Becker
95b42ecd6b added ' around cat_id, else you get invalid sql on new install with default cat set to 'all' or any other not numeric values 2001-05-30 21:51:20 +00:00
Miles Lott
2d615d84b9 Enable ldap to search multiple cats, I hope 2001-05-26 12:37:24 +00:00
Miles Lott
3038c414e4 Set DEBUG back to 0 2001-05-26 11:25:38 +00:00
Miles Lott
33337decd9 Remove CONCAT from last patch, use alternate method for multiple cat_id 2001-05-26 11:20:03 +00:00
skeeter
775e90b953 This is a better design for admin/preference hooks. Can now be globally modified from each of the appropriate index files. 2001-05-24 01:13:09 +00:00
Miles Lott
055aa6273b Add some inline doc 2001-05-23 20:57:10 +00:00
Miles Lott
956c6d97b0 Update to use new schema 2001-05-23 20:50:35 +00:00
Miles Lott
93db684a70 Last of recent changes from Ralf Becker 2001-05-23 20:49:52 +00:00
Miles Lott
fafc7d39c9 Update from Ralf for multiple cat select (?) 2001-05-23 20:16:19 +00:00
Miles Lott
15a83640fa Add admin function to set config value for country list 2001-05-21 22:52:56 +00:00
Miles Lott
ced6e5cc0e Undo last change 2001-05-21 22:31:31 +00:00
slypup
7b6c0acbd9 fixes so that hr works properly 2001-05-21 20:32:17 +00:00
skeeter
8bc4d7f5da Fix for the birthday check. 2001-05-19 05:00:18 +00:00
Miles Lott
f3bb7b7c4e Add in code from Tombstone <pablo@averbuj.com> to use ldap_del in update 2001-05-17 03:50:34 +00:00
Miles Lott
7401f57ed9 Modify contact owner field 2001-05-14 12:22:05 +00:00
Miles Lott
bb017a4c40 And one more debug turned off 2001-05-14 02:00:35 +00:00
Miles Lott
779c578b49 Disable some debugging output 2001-05-14 02:00:04 +00:00
Miles Lott
7902ce2969 phpgwtypeid was not being checked correctly 2001-05-14 01:57:43 +00:00
Miles Lott
6a26375a68 Make ldap strings lowercase in the contacts array 2001-05-14 01:55:26 +00:00
Miles Lott
7aa4a48ebe This is work in progress using schema in api/doc/ldap 2001-05-14 01:50:45 +00:00
skeeter
7185c8fdb1 More controlled manual app. Controller can be more easily modified bya single source. 2001-05-14 00:18:12 +00:00
bettina
15011c6adc update hook_preferences to enable global cats plus levels 2001-05-12 01:28:55 +00:00
angles
b63d389f34 templatization of preferences 2001-05-11 17:19:20 +00:00
Miles Lott
323d44f8e9 Now using PHPGW_APP_TPL 2001-05-11 14:01:06 +00:00
skeeter
34a91dbb46 New New manual - multi-language capabilities. 2001-05-11 02:34:43 +00:00
Miles Lott
8764e4aec8 Some formatting 2001-05-10 18:09:15 +00:00
Miles Lott
6e55f7b3dd Formatting 2001-05-10 13:05:30 +00:00
skeeter
18bf9da775 Fixed the problem where calendar items were not being deleted. Tracked it down to a ->db overwrite problem where todo was using ->db and the deleteaccount.php page was using the same. 2001-05-09 03:05:22 +00:00
skeeter
e9f9189cd9 This should be the final format for the manual. 2001-05-08 01:17:31 +00:00
Miles Lott
c703dbb740 Reformatting 2001-05-07 05:04:13 +00:00
Miles Lott
2a6769a8b7 Formatting 2001-05-07 04:49:00 +00:00
Miles Lott
17f1114d6d More efficient displaycol function, and some formatting 2001-05-06 16:43:45 +00:00
skeeter
5af7116030 New manual layouts 2001-05-06 16:37:40 +00:00
Miles Lott
66991480ca Formatting 2001-05-01 09:32:52 +00:00
jengo
30789a2083 Changed some wording 2001-04-30 17:53:04 +00:00
Miles Lott
ebae1c6323 Add some verification that account_id exists for use in accounts storage 2001-04-29 13:41:36 +00:00
Miles Lott
bddc2b415b Add created by back to edit screen, move this on edit form 2001-04-28 04:33:13 +00:00
Miles Lott
0b93b50f1e Maybe a little nicer look? 2001-04-28 04:18:24 +00:00
Miles Lott
7903d05f32 Display 'sound' - doing something with it will be another story 2001-04-28 04:04:09 +00:00
Miles Lott
f31696c256 Remove superfluous prefs->read_repository, and chg custom field size 2001-04-27 14:30:06 +00:00
Miles Lott
1d97b2b433 Fix SQL for apps that did not send at least a tid in the filter. 2001-04-26 01:40:59 +00:00
Miles Lott
8e481b4cfe If no prefs are set, was causing an each error 2001-04-23 07:13:57 +00:00
Miles Lott
6c91a354e0 Add functions to edit custom fields 2001-04-21 14:51:25 +00:00
Miles Lott
ac37f5b6da Fix phpversion... 2001-04-21 12:23:49 +00:00
skeeter
76a8955574 Fix for birthday check on home page- this time fixes for tomorrow. 2001-04-21 02:14:33 +00:00
skeeter
d48689bba8 Fix for birthday check on home page 2001-04-21 02:09:20 +00:00
Miles Lott
8a69409111 Hopefully fixes sql search bug that showed other's private entries 2001-04-20 23:13:56 +00:00
Lars Kneschke
bfc67191a7 applied again a patch [ #416612 ] catagory item all not in option tags
Thanks to Tony Puglisi (tony-devel)
2001-04-17 09:30:08 +00:00
jengo
38715027d6 Fixed 2 bad link() calls 2001-04-14 20:21:41 +00:00
Miles Lott
1e7fc18384 Add referer tracking for add_email from email and squirrelmail 2001-04-14 14:58:29 +00:00
Miles Lott
a6081e5184 Changeover to SEP 2001-04-10 04:34:33 +00:00
Miles Lott
ace6936802 Bday length checking 2001-04-09 12:56:22 +00:00
Miles Lott
ab11b27114 LDAP filtering adjustments 2001-04-09 12:54:43 +00:00
Miles Lott
513aa81135 Href added for link to view the entry with the matching birthday 2001-04-08 14:21:39 +00:00
Miles Lott
8d7264120a Add alt tag, alter wording. 2001-04-08 08:22:36 +00:00
Miles Lott
235ce3153d Add some about this app info 2001-04-08 08:19:38 +00:00
Miles Lott
91c2b49c5d This should now work at least for sql contacts 2001-04-08 07:25:31 +00:00
Miles Lott
338538d943 Fix to query for bday 2001-04-08 07:04:10 +00:00
Miles Lott
f01f85354c Move showbirthdays into a hook_home, still need to update it 2001-04-08 06:50:18 +00:00
Miles Lott
3f61ced92e Add bday to list of queried fields 2001-04-06 21:14:38 +00:00
Miles Lott
d4d317c6df Use strip_html to clean entries for display in all forms 2001-04-04 01:59:24 +00:00
Miles Lott
33fa130720 Use global cats editor 2001-04-01 07:18:21 +00:00
jengo
dc61a0adcd Moved ACL preferences to work under the new common place 2001-03-31 10:36:24 +00:00
skeeter
0224d6d9da Misnamed hook file. This will now either delete all records for the user or change ownership to another user when deleting a user. 2001-03-30 04:42:23 +00:00
Miles Lott
95dc6489fc Add change_owner for admin 2001-03-30 04:18:22 +00:00
skeeter
ef73912b1e Misnamed hook file 2001-03-30 04:16:32 +00:00
Miles Lott
2be72e113f Fix delete all extra table column name 2001-03-30 03:57:38 +00:00
Miles Lott
526229cefe Add default tid to update 2001-03-30 03:37:21 +00:00
skeeter
3313bb0a39 Changed to . 2001-03-30 02:32:23 +00:00
skeeter
22e093dc07 Rename of hook_deleteaccount.inc.php to hook_admin_deleteaccount.inc.php 2001-03-30 02:14:17 +00:00
Miles Lott
c9af0a21e7 Fix php tags 2001-03-29 19:53:19 +00:00
Miles Lott
2f87627bf7 Trying to get cats and other filters to behave, this is the best yet 2001-03-29 17:53:26 +00:00
Miles Lott
a031515dbe Fix cat_id select, and ldap filter 2001-03-29 16:07:34 +00:00
Miles Lott
c4ebab9d28 Fix selection of cats 2001-03-29 15:40:10 +00:00
Miles Lott
f6636247c7 Fix setting of prefs for default cat, remove phpversion check 2001-03-29 11:12:03 +00:00
Miles Lott
36d417cbaa Clean up a lot of GET/POST nonsense, moving to POST where possible 2001-03-29 10:45:29 +00:00
Miles Lott
7be7aa0595 Fix LDAP filtering, I think. 2001-03-29 09:56:43 +00:00
Miles Lott
c6b541291b Disable java for now 2001-03-29 09:08:08 +00:00
jengo
2a46126b1b Finished adding ACL to the addressbook, I belive it should now work. Needs testing 2001-03-29 08:09:50 +00:00
Miles Lott
7ffd9c2858 Fill in default if no custom fields 2001-03-29 02:55:11 +00:00
Miles Lott
5acca29f4d Add onsubmit to cat select 2001-03-28 12:53:39 +00:00
Miles Lott
0319a6e05b New hook for admin/deleteaccount.php 2001-03-28 12:44:05 +00:00
Miles Lott
f57e5d0c3a Modify delete_all() to handle account record deletion by admin 2001-03-28 12:39:42 +00:00
Miles Lott
dcdf02842e Update contacts class documentation, rename file 2001-03-28 11:22:25 +00:00
Miles Lott
d8c21b2961 Setup new var, remove vars from class extension file (shared) 2001-03-28 00:57:47 +00:00
Miles Lott
30fe68b84c Better filtering and correct field updates - imagine that! 2001-03-27 21:57:26 +00:00
Miles Lott
68df73e563 Make option dialog use ncat_id not cat_id 2001-03-27 21:50:37 +00:00
Miles Lott
7100c51a3a Remove a stray tab, yes I am stalling 2001-03-27 21:20:56 +00:00
Miles Lott
9917a39116 More ldap filtering fixes 2001-03-27 17:15:47 +00:00
Miles Lott
dac252934e Add tid to update as an option 2001-03-27 14:44:50 +00:00
Miles Lott
ca2f4389cb Add function to filter ldap_fields array 2001-03-27 14:33:16 +00:00
Miles Lott
73259969c4 Add $tid to add routine 2001-03-27 13:11:23 +00:00
Miles Lott
ed84d3b861 Add default tid filter 2001-03-27 12:48:46 +00:00
Miles Lott
b2da5d14f0 Fix addition of hr profiles 2001-03-26 23:41:34 +00:00
Miles Lott
e6d9173490 Add saving of cat_id into new phpgwcatid attribute - filters pending 2001-03-26 13:33:50 +00:00
Miles Lott
df41f9fefe More adjustment to sql filter strings 2001-03-26 13:08:59 +00:00
Miles Lott
7b2ab4f697 Some more filtering fixes, I hope 2001-03-26 02:00:47 +00:00
Miles Lott
528db46464 Add delete_all() to sql for testing ONLY :) 2001-03-25 23:25:23 +00:00
Miles Lott
a0ec697e28 Fix sql error in add() 2001-03-25 23:21:01 +00:00
Miles Lott
382347be76 Some work on sql filter mods since the intro of acl 2001-03-25 14:11:43 +00:00
Miles Lott
e783530f7f Add default category setting of all 2001-03-25 09:14:43 +00:00
Miles Lott
3c0832cab2 Add autosetting of cat_id on add if pref set for default 2001-03-25 09:07:58 +00:00
Miles Lott
030388d193 Also set $fand to NULL; 2001-03-25 07:46:13 +00:00
Miles Lott
e9bcd7a91b Fix if no grants are set - this is because of changes for cat_id 2001-03-25 07:44:01 +00:00
Miles Lott
32e82f77ef Don't allow select all in edit/add 2001-03-25 06:07:00 +00:00
Miles Lott
fb1aa7062b Add ability to select all/none or a specific category 2001-03-25 06:02:52 +00:00
Miles Lott
37cdf6faf1 Adding category support to addressbook 2001-03-25 05:41:06 +00:00
Miles Lott
10790a2005 Add category editing 2001-03-25 02:50:04 +00:00
Miles Lott
8b605f50ff Switch LDAP to o,ou,streetaddress, add access to functions.inc.php 2001-03-24 21:54:31 +00:00
Miles Lott
99f310b1b4 Remove another silly mistake in update() for owner field 2001-03-24 15:51:28 +00:00
Miles Lott
7e03760d36 Silence reset if no records 2001-03-24 15:31:59 +00:00
Miles Lott
058d9bcb2e Fix update error in access field 2001-03-24 15:12:33 +00:00
Miles Lott
3806a09744 Added grants var and setting 2001-03-24 15:04:35 +00:00
jengo
72b4870a4c Started working on edit ACL, its not complete 2001-03-24 11:11:45 +00:00
jengo
f3df7a0ff4 Started working on ACL, so far index has been updated 2001-03-24 09:58:09 +00:00
Miles Lott
1cfe152bad Add missing field request for 'access' 2001-03-24 08:49:25 +00:00
Miles Lott
a7742b1685 Add return of access field, modify read_single/last to return these explicitly 2001-03-24 08:45:52 +00:00
Miles Lott
933685fb30 Add checks to make sure ldap_contact_context is set 2001-03-24 07:58:03 +00:00
Miles Lott
0852eb8678 Add not-for-release delete_all() and commented call to it in index.php 2001-03-24 07:46:31 +00:00
Miles Lott
d2b5ae466b Fix selection of fieldnames when using ldap (key=>value of stock fields mixup) 2001-03-23 20:01:16 +00:00
Miles Lott
6a3cfaacaf Fix add to correctly search for next available uidnumber via common->last_id,
also more work on search.
2001-03-23 04:44:55 +00:00
Miles Lott
26a852cf05 Search working, still need to limit to one match per row 2001-03-22 20:36:26 +00:00