Commit Graph

504 Commits

Author SHA1 Message Date
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
25f13d5072 Add category editing code, based on Notes' code, for prefs 2001-03-25 02:48:11 +00:00
Miles Lott
a5bf90d42e Add category editing templates 2001-03-25 02:45:58 +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
9b868cb86a Add use of access field 2001-03-24 21:48:41 +00:00
Miles Lott
e96dab92b8 Add selection of marking import as private 2001-03-24 16:50:30 +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
7676f0576c Make edit use class for owner check, make add use acl and access field 2001-03-24 15:21:56 +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
Miles Lott
ab0c85c467 Add acl check to view, and reinsert access field display 2001-03-24 14:55:33 +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
4a1a077a60 Fixes to detect base64 encoded input fields for ldif 2001-03-23 22:01:29 +00:00
Miles Lott
0f6b8c94d1 Fix Netscape to export base64 encoded fields as required, and fix fields in phpgw_LDIF 2001-03-23 22:00:43 +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
4df94e35d2 Fix field name display 2001-03-22 02:56:03 +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
d77f03f084 Correct column name selection and prefs to use name value of stock_fields array 2001-03-21 23:57:30 +00:00
Miles Lott
dab3d59f04 A few small comment and field choice changes 2001-03-21 22:51:37 +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
49bcdc323f Now using the vcard class. This should be a good example of how to use vcard->out 2001-03-21 20:20:30 +00:00
Miles Lott
65eec865a5 Add cleanup for KEY vcard field 2001-03-21 19:48:17 +00:00
Miles Lott
f1d60a66b9 Move import array to vcard class, change postition of objects creation 2001-03-21 18:50:25 +00:00
Miles Lott
f65e2edda5 Add some conversion arrays, and sample usage comments 2001-03-21 18:49:00 +00:00
Miles Lott
762c253c25 Add type field, remove export var from vcard - now using class var 2001-03-21 18:15:48 +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
aa803fa670 Update vcard import/export to use new vcard class 2001-03-21 08:18:32 +00:00
Miles Lott
7e157b369a Add main works of vcard import/export class 2001-03-21 08:11:50 +00:00
Miles Lott
b9c39f1f13 Moving to doc dir 2001-03-21 05:19:00 +00:00
Miles Lott
fb30695d90 Moving vcard doc to doc dir 2001-03-21 05:18:38 +00:00
Miles Lott
c4ee250d8c Fix creation of HOME label 2001-03-21 05:14:07 +00:00
Miles Lott
f63a0289b8 Remove unnecessary mkdir call and associated info - was breaking in safe_mode 2001-03-21 03:13:42 +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
196a33b9e9 Add comment to html source 2001-03-21 00:26:46 +00:00
Miles Lott
dd4d8a56bc Fix parsing of birthday and label, still some issues 2001-03-21 00:25:50 +00:00
Miles Lott
80de3179a1 Fix URL parsing on vcard 2001-03-21 00:14:04 +00:00
Miles Lott
03ed6a12e8 Fix parsing of birthday 2001-03-21 00:13:00 +00:00
Miles Lott
632c9ace34 VCard import theoretically complete 2001-03-21 00:12:39 +00:00
Miles Lott
3b84c9d15c Fix email and type settings 2001-03-20 23:12:17 +00:00
Miles Lott
0efa6f0687 Getting closer to actually parsing vcard 2001-03-20 22:57:48 +00:00
Miles Lott
df6f72c92a Fix up object calls 2001-03-20 22:55:03 +00:00
Miles Lott
cfba770497 Fix setting of msgphone and other phone 2001-03-20 22:53:06 +00:00
Miles Lott
6f8afd5875 Fix setting of msgphone, ophone 2001-03-20 22:51:40 +00:00
Miles Lott
892b8ca097 Some fixes to LABEL 2001-03-20 22:49:56 +00:00
Miles Lott
789e8fc13f Add type=pdb 2001-03-20 22:25:33 +00:00
Miles Lott
e6cea5377d Add csv type and check for it 2001-03-20 18:14:46 +00:00
Miles Lott
b6b282ab36 Force download of pdb type output 2001-03-20 18:02:48 +00:00
Miles Lott
a3784392b4 Set conferenceserver to 0, since we have no field for that 2001-03-20 18:00:14 +00:00
Miles Lott
f386666a58 Create a default xmozillaanyphone if ophone/tel_work are available 2001-03-20 17:28:00 +00:00
Miles Lott
4a8de97446 Fix export of state/region 2001-03-20 17:23:25 +00:00
Miles Lott
0b793c0a07 Reorganize functions to represent order of operation 2001-03-20 16:55:22 +00:00
Miles Lott
b86bdac902 Remove old conv dir 2001-03-20 16:40:34 +00:00
Miles Lott
b04931911d Move import files to new import subdir 2001-03-20 16:39:28 +00:00
Miles Lott
a7ef1f4775 Comment out unneeded echo 2001-03-20 16:35:02 +00:00
Miles Lott
e7417a850c Fix address type fields 2001-03-20 16:34:03 +00:00
Miles Lott
9097a41c4d Fix parsing of addresses and company/unit - I think this will work... 2001-03-20 08:01:53 +00:00
Miles Lott
d1aa599fa4 Almost correct parsing addresses, the rest should be good 2001-03-20 07:14:42 +00:00
Miles Lott
1080b3ad97 Better address and email parsing 2001-03-20 06:12:07 +00:00
Miles Lott
e44a2d17e4 Somewhat more functional, parses addresses now 2001-03-20 05:41:20 +00:00
Miles Lott
780f39e5e7 Almost functional multiple vcard export 2001-03-20 05:15:36 +00:00
Miles Lott
3523adab62 formatting 2001-03-19 18:02:06 +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
cd91a6c4a1 Fix each error in prefs checking 2001-03-19 17:18:28 +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
da9a34e49d Do some cleanup of ^M and stray commas 2001-03-19 03:30:41 +00:00
Miles Lott
72a7f4b583 New proposed phpgw_LDIF format and fix Netscape LDIF export objectclass(es) 2001-03-19 02:38:42 +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
61b688e6be Fix to actually show user's custom fields on a new entry 2001-03-18 16:23:00 +00:00
Miles Lott
e67c4b9486 Fix each error 2001-03-18 15:44:30 +00:00
Miles Lott
8f2581cec1 Add addressbook extra field 'ophone' to form.tpl 2001-03-18 15:37:25 +00:00
Miles Lott
e369c4379b Formatting changes only 2001-03-18 08:52:38 +00:00
Miles Lott
3482b8412e Make Edit based upon ACL, not check_owner 2001-03-18 08:51:03 +00:00
Miles Lott
372492ac8e Make 'Edit' a button and based upon ACL 2001-03-18 08:49:30 +00:00
Miles Lott
b3f391d33f Name changes to be more descriptive 2001-03-18 08:04:37 +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
bca46ac5c1 Add very experimental Palm PDB output, using local pdb class 2001-03-18 07:57:46 +00:00
Miles Lott
e50967960e Change heading to be more generic, more exports are coming 2001-03-18 07:20:32 +00:00
Miles Lott
86e5923971 Make SQL export include all fields, even the housekeeping ones 2001-03-18 07:15:56 +00:00
Miles Lott
4cf7cf5114 Add SQL export - via contacts class, not a direct SQL dump 2001-03-18 07:12:51 +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
88154b1e19 Set no limit on read function, class read also changes to implement this 2001-03-18 06:48:46 +00:00
Miles Lott
a51a7339be Working export to CSV or LDIF, I hope 2001-03-18 06:31:24 +00:00
Miles Lott
7ae8de2acf Make button links into method="POST" 2001-03-18 04:37:48 +00:00
Miles Lott
61463122ff Add addressbook_read_last_entry 2001-03-18 02:46:50 +00:00
Miles Lott
9eb084831e Add copy button on view page to create copy of viewed entry, fix vcard notes 2001-03-17 23:52:36 +00:00
Miles Lott
33e1003670 Add display of status 2001-03-17 21:45:10 +00:00
Miles Lott
6025d30d91 Add export link 2001-03-17 21:44:28 +00:00
Miles Lott
6bba6d68e2 Add export button 2001-03-17 21:43:51 +00:00
Miles Lott
7a4db59d28 Initial check-in of export utility - not functional yet 2001-03-17 21:32:35 +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
4257932b9f Changed tel_cel to tel_cell 2001-03-17 15:31:44 +00:00
Miles Lott
f0c3e34a7f Add home addr label, if appropriate, and custom phpgw field 2001-03-17 15:07:01 +00:00
Miles Lott
8c5c2d1744 Add one missing and one new template 2001-03-17 15:04:55 +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
a8009fde62 Last commit did not go, this should help 2001-03-16 14:27:22 +00:00
Miles Lott
32a336f474 Fix some fields in debug 2001-03-16 04:40:12 +00:00
Miles Lott
bec8ff24c6 Rename files to remove spaces (no I am not a windows user) 2001-03-16 04:33:09 +00:00
skeeter
b3ac135a54 fixes for each() error 2001-03-16 04:28:23 +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
d0d0276f66 Again!? home/work swapped 2001-03-13 18:54:22 +00:00
Miles Lott
73d6c7cfd6 Remove access related info, since we are using acl now 2001-03-13 17:18:22 +00:00
Miles Lott
46f97bdea0 Fix result of parsevcard explode on url value 2001-03-13 17:14:08 +00:00
Miles Lott
648e87dc93 Add display to ask the user to set prefs 2001-03-13 16:21:58 +00:00
Miles Lott
0eb5aeea7e Fix view if no prefs set 2001-03-13 16:19:05 +00:00
Miles Lott
7d3e2cd987 Add trim to Outlook import for each value, just in case (spaces break vcard spec) 2001-03-13 16:06:51 +00:00
Miles Lott
3ac1647e3e Oops, bad field name 2001-03-13 15:52:24 +00:00
Miles Lott
3818d23b0d Add default for d_emailtype field 2001-03-13 15:49:15 +00:00
Miles Lott
8de588c950 Add missing url field 2001-03-13 03:06:41 +00:00
Miles Lott
6732b999f7 Make use of phpgw constant SEP 2001-03-13 02:07:45 +00:00
Miles Lott
3769cef710 Fix setting of fn field to include a space between first/last when no middle 2001-03-12 02:21:20 +00:00
Miles Lott
97ed5d20ef Help make a proper URL if one was not stored in the db ( add http:// ) 2001-03-12 02:09:57 +00:00
Miles Lott
81ad9bdf63 Fixes for import of homeurl 2001-03-12 02:05:20 +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
265512bd8d Fix selection of home/work phone numbers 2001-03-12 01:48:53 +00:00
Miles Lott
1c1da7f852 Add string trim to fix Netscape import and debug 2001-03-12 01:45:43 +00:00
Miles Lott
b1a199ae36 Alter order of $street and $address2 as address fields 2001-03-12 01:33:36 +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