Commit Graph

319 Commits

Author SHA1 Message Date
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
Miles Lott
4573f18ad7 Sorting works, filtering very strict 2001-03-22 20:19:40 +00:00
Miles Lott
7b91787b6f Minor changes to sorting routines to check for empty values 2001-03-22 20:05:32 +00:00
Miles Lott
dbe10c6a6d Introduce some associative array sorting for ldap 2001-03-22 19:48:14 +00:00
Miles Lott
66bea73872 Editing now working via update function 2001-03-22 09:36:51 +00:00
Miles Lott
fa4bbf00f3 Major changes to add and update, add uses new common function nextid 2001-03-22 07:57:38 +00:00
Miles Lott
f0fdf157dc Fix read to use correct db object for setting contact_value from db 2001-03-22 02:56:37 +00:00
Miles Lott
8e2baeb263 Fix setting of context in delete and update - very important 2001-03-22 02:52:10 +00:00
Miles Lott
c11807d24a Fix setting of context in read_single_entry 2001-03-22 02:50:14 +00:00
Miles Lott
1bafd75341 Fix start/offset/limit 2001-03-22 02:39:38 +00:00
Miles Lott
649078db4a read_single_entry works, read working without filters and correct limits 2001-03-22 00:23:40 +00:00
Miles Lott
7d8a40f222 Make vcardin use vcard class, alter class comments to reflect how it uses it 2001-03-21 20:52:02 +00:00
Miles Lott
65eec865a5 Add cleanup for KEY vcard field 2001-03-21 19:48:17 +00:00
Miles Lott
f65e2edda5 Add some conversion arrays, and sample usage comments 2001-03-21 18:49:00 +00:00
Miles Lott
5ae83147c5 Add a reset to the internal export array, just in case 2001-03-21 08:27:22 +00:00
Miles Lott
8e57b2ef36 Update ldap attribute names 2001-03-21 08:23:33 +00:00
Miles Lott
7e157b369a Add main works of vcard import/export class 2001-03-21 08:11:50 +00:00
Miles Lott
65bcf832a4 Fix mis-labeling of label and pubkey fields 2001-03-21 00:38:03 +00:00
Miles Lott
e7829e8ab8 Allow editing of LABEL 2001-03-21 00:31:27 +00:00
Miles Lott
703ae63dbb Remove debugging call 2001-03-19 17:57:05 +00:00
Miles Lott
bbb3cdf388 Fix for read_last_entry, causing pgsql to fail due to diff return field from max() 2001-03-19 17:56:43 +00:00
Miles Lott
8edfe83318 Slightly better vcard import, we can now read our own vcards ;) 2001-03-19 09:07:00 +00:00
Miles Lott
d71bed9146 Add comment to stock field array as to use of name vs. value 2001-03-19 03:46:41 +00:00
Miles Lott
f14824f012 Fix a call not allowing ldap, and fix the return of stock_fieldnames 2001-03-19 03:45:46 +00:00
Miles Lott
c057ec36a6 For this first major rewrite sql->ldap, all but read are done 2001-03-19 01:02:07 +00:00
Miles Lott
db3467bed1 Begin ldap class, fix read_last_entry in sql to also return adr_XXX_type fields 2001-03-18 18:49:19 +00:00
Miles Lott
d5b6201f37 Move most input form tags into template, add pref note next to each phone # 2001-03-18 17:22:17 +00:00
Miles Lott
2f1586c5f5 Very minimal palm pdb class, can write palm docs only so far 2001-03-18 07:58:44 +00:00
Miles Lott
b58867a92b Add some logic to set the limit variable, or not, so you can read all records if you want 2001-03-18 06:49:31 +00:00
Miles Lott
61463122ff Add addressbook_read_last_entry 2001-03-18 02:46:50 +00:00
Miles Lott
e87d1171cc Backtrack to older class read(), no filtering/ordering/searching on extras yet 2001-03-17 21:29:44 +00:00
Miles Lott
4a460c164c Move sql files to sql dir 2001-03-17 15:51:35 +00:00
Miles Lott
2effa26748 Update readme, add sql files for table creation manually 2001-03-17 15:48:01 +00:00
Miles Lott
0d60a943c9 Add ability to manage custom fields, field edit forms still need work 2001-03-16 17:56:18 +00:00
Miles Lott
001faf9127 Change a couple of field names for display only 2001-03-16 03:54:15 +00:00
Miles Lott
1575e37617 Remove drop table again 2001-03-16 03:03:42 +00:00
Miles Lott
0eedd1ffc3 Table upgrade and changes to implement better vcard std and more useful fields 2001-03-16 01:31:25 +00:00
Miles Lott
46f97bdea0 Fix result of parsevcard explode on url value 2001-03-13 17:14:08 +00:00
Miles Lott
429ab044c1 Fix vcard swapping of home/work phone 2001-03-12 01:59:15 +00:00
Miles Lott
5c89ffd830 Hopefully fix home/work phone confusion again 2001-03-12 01:57:51 +00:00
Miles Lott
f77d5388a2 Remove table DROP, fix $sql syntax in read() 2001-03-11 22:23:33 +00:00
bettina
5a982fc4a3 added test file for join_statement 2001-03-11 22:11:07 +00:00
jengo
ee94089549 Updated to the new link() 2001-03-08 23:55:58 +00:00
Miles Lott
f42f077d35 Add comment regarding broken field editing 2001-03-08 14:48:10 +00:00
Miles Lott
34f99bb3dd Fix check of std fields for filtering in read() 2001-03-08 14:37:42 +00:00
jengo
c264cdcea5 Cleaned up link() calls 2001-03-08 09:56:18 +00:00
Miles Lott
045462717d Fix swapped home/work phone in add/edit form 2001-03-06 03:07:13 +00:00
Miles Lott
a7c6bc50e2 Fix "" vs '' on line 334 for pgsql 2001-03-01 03:38:17 +00:00
Miles Lott
af02fc4df7 Remove num for int size spec on create temp table 2001-02-28 22:09:09 +00:00
Miles Lott
1ff5f201a9 Comment out first drop table in read which breaks pgsql 2001-02-28 21:53:42 +00:00
Miles Lott
e025f87d8c Remove commented access field 2001-02-28 21:51:20 +00:00
Miles Lott
e156a2626f Shorten temp table name that was truncating in pgsql 2001-02-28 15:24:30 +00:00
Miles Lott
05dbe075d3 FINALLY made the birthday month selection use lang, sorry guys 2001-02-28 00:41:32 +00:00
Miles Lott
3b23a73fab Add some fields to parsevcard 2001-02-27 13:44:31 +00:00
Miles Lott
d22b947dbc Move note as new field in stock contact fields 2001-02-27 13:34:26 +00:00
Miles Lott
c4cf4bb037 Move bday and url into class as std vcard fields 2001-02-27 00:31:20 +00:00
Miles Lott
6fd67ec9e8 Add temporary mysql check for dropping the table 2001-02-22 17:46:23 +00:00
Miles Lott
bdac59038b Add code to check extra_fields and add them to the create spec even if no data existed 2001-02-22 15:53:38 +00:00
Miles Lott
dc5e1437f0 Add check to see if extra_fields variable exists 2001-02-22 15:13:29 +00:00
Miles Lott
5c9b01628c Fix extra comma in cross-table sql 2001-02-22 15:05:48 +00:00
Miles Lott
42bddcf774 Add n_middle to search 2001-02-21 23:20:06 +00:00
Miles Lott
f796e68e7a Add basic querying back in 2001-02-21 23:04:09 +00:00
Miles Lott
a0f49c6a3e Massive change to read function to help ordering and filtering 2001-02-21 22:41:37 +00:00
Miles Lott
74d54f6c6e Fix selection and display of extra fields in prefs and index 2001-02-19 13:16:07 +00:00
Miles Lott
fb714abc55 Change timezone to time zone 2001-02-19 13:04:25 +00:00
Miles Lott
767c0362a9 Comments to tell of status 2001-02-19 12:25:52 +00:00
Miles Lott
d77aeef420 Update acl_prefs, many minor formatting changes 2001-02-19 12:14:25 +00:00
Miles Lott
5124d8a6e1 Change middle to "middle name" 2001-02-19 03:43:07 +00:00
Miles Lott
1e23bb9861 Add read_last_entry function, used for when adding records 2001-02-19 03:34:59 +00:00