Commit Graph

2755 Commits

Author SHA1 Message Date
Miles Lott
72ba1e141a Add selection of default category 2001-03-25 07:36:21 +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
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
Miles Lott
654b4488f2 Add some additional Debug files for Netscape import 2001-03-11 17:51:37 +00:00
Miles Lott
6a1525653b Rename debug files to reflect that they are for outlook only, netscape files to follow 2001-03-11 17:37:52 +00:00
Miles Lott
b5cd836f7f Working LDIF import 2001-03-11 17:34:58 +00:00
Miles Lott
8b49d16008 Import now working for csv only 2001-03-11 07:37:26 +00:00
Miles Lott
1e6bd1b847 Import now working 2001-03-11 07:36:43 +00:00
Miles Lott
16f18088d3 Getting closer - still only giving debug output 2001-03-11 07:21:18 +00:00
Miles Lott
3d06057c20 Formatting and some adjustment to start making actual imports work again 2001-03-11 06:58:57 +00:00
Miles Lott
ed3da58048 Make buffer an array 2001-03-11 06:58:20 +00:00
Miles Lott
4171e4ada3 Moving to contacts class for Import, so no distinction per LDAP/SQL is needed
for the actual import.
2001-03-11 06:07:32 +00:00
Miles Lott
b2b1f7bca2 Rename "Debug MySQL" to "Debug SQL" and fix table name 2001-03-11 06:00:16 +00:00
Miles Lott
66c6504c23 Update link() calls 2001-03-11 05:40:38 +00:00
jengo
9f5b45bf5c Cleaned up calls to link() 2001-03-10 08:16:33 +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
Miles Lott
6fb051add4 Fix default column display if no prefs set 2001-03-08 14:36:35 +00:00
Miles Lott
be121d6339 Update link() call 2001-03-08 14:07:26 +00:00
Miles Lott
1df64ba847 Fix URL for call to nextmatchs ( for new link() call ) 2001-03-08 13:37:17 +00:00
Miles Lott
8eb384e4ee Adjust link() calls 2001-03-08 13:31:05 +00:00
Miles Lott
ffadfe324e Update link() calls 2001-03-08 13:25:10 +00:00
Miles Lott
7b43c53132 Adjust formatting - no functional change 2001-03-08 12:18:12 +00:00
jengo
c264cdcea5 Cleaned up link() calls 2001-03-08 09:56:18 +00:00
Miles Lott
2df1e99322 Fix setting of fields when no preferences are set (thanks, patrick) 2001-03-08 03:26:16 +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
f35ae43c2c Fix display of # records available based on search 2001-02-21 23:17:29 +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
175cc243b1 Fix display of email - change to check new d_email field 2001-02-19 13:17:29 +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
142624d6c5 Cleanup display, and include addressbook's custom fields 2001-02-19 12:51:38 +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
5a4b832fa2 Make enums into char or varchar 2001-02-19 03:55:44 +00:00
Miles Lott
5124d8a6e1 Change middle to "middle name" 2001-02-19 03:43:07 +00:00
Miles Lott
ebf3e7b0e0 Add function to read last id on submission, then redirect to view.php 2001-02-19 03:35:43 +00:00
Miles Lott
1e23bb9861 Add read_last_entry function, used for when adding records 2001-02-19 03:34:59 +00:00
Miles Lott
25c347227b Add in one comment to columns_display section 2001-02-19 00:43:37 +00:00
Miles Lott
efee303284 Move acl stuff into functions.inc 2001-02-18 13:41:24 +00:00
Miles Lott
65005c07fb Remove acl code 2001-02-17 10:35:10 +00:00
Miles Lott
a82811fffb Add in this file to check acl 2001-02-16 02:41:38 +00:00
Miles Lott
7901f3f256 Undo use of acl until it is working 2001-02-15 23:38:39 +00:00
Miles Lott
5f99335cd0 Add new template for vcardin 2001-02-15 17:32:07 +00:00
Miles Lott
8f189d4f36 Minor adjustments 2001-02-15 17:21:38 +00:00
Miles Lott
2fe467a133 Remove last acl call from vcardout 2001-02-14 00:58:52 +00:00
Miles Lott
7d2d4c7658 Make vcardout use functions for reading entry 2001-02-14 00:57:27 +00:00
Miles Lott
a3e18e5064 Move contacts class calls into functions.inc.php to prepare for acl implementation 2001-02-14 00:56:07 +00:00
Miles Lott
22a608090a Add another missing tpl 2001-02-13 12:10:10 +00:00
Miles Lott
c18f86e7d6 Added missing template 2001-02-13 12:05:16 +00:00
seek3r
d80f6a4e79 working toward app install/upgrdae within setup prog 2001-02-13 10:53:18 +00:00
Miles Lott
db2739bbb3 Update acl code including prefs manager 2001-02-13 03:20:33 +00:00
Miles Lott
6af32de6f0 deleting templates 2001-02-13 03:16:33 +00:00
Miles Lott
54a87a12de deleting template 2001-02-13 03:14:51 +00:00
Miles Lott
6fa230df27 Fix it again, more better 2001-02-13 02:44:21 +00:00
Miles Lott
173d83b55a Fix one bad db var 2001-02-13 02:43:36 +00:00
Miles Lott
064ff8e3e9 Edit comments only 2001-02-13 02:42:47 +00:00
Miles Lott
22be3d497c Remove loaddb - to test this file, include it in a setup .php file after loaddb 2001-02-13 01:45:31 +00:00
Miles Lott
2203e3deac Remove trailing comma 2001-02-13 01:41:57 +00:00
Miles Lott
9a6482d86b Added old access field if anyone needs it 2001-02-13 01:38:16 +00:00
Miles Lott
5d877e2951 Does the upgrade, but gives class redeclaration error when done 2001-02-13 01:32:25 +00:00
Miles Lott
ff072b55d5 Getting closer 2001-02-13 01:15:43 +00:00
Miles Lott
38ae5e2213 Trying to fix db calls 2001-02-13 01:06:14 +00:00
Miles Lott
a74a6539f7 Remove superfluous result object 2001-02-13 00:08:15 +00:00
Miles Lott
e0cb096281 Temporary location for addressbook to contacts upgrade function 2001-02-13 00:05:26 +00:00
Miles Lott
431cb0a36e Fix adr_countryname case 2001-02-12 23:20:36 +00:00
Miles Lott
350f22470f Fix acl in vcardout 2001-02-12 22:40:29 +00:00
Miles Lott
d8400b494a Add acl to delete and fix bad refs to account_id 2001-02-12 22:39:17 +00:00
Miles Lott
d6274ffd3a Add some acl checks into index, view, and edit 2001-02-12 13:57:59 +00:00
Miles Lott
799d4c7382 No functional change, just reformatting 2001-02-11 04:16:18 +00:00
Miles Lott
97c08d331e Begin removing references to access field in prep for acl usage 2001-02-11 03:23:58 +00:00
Miles Lott
c5055a9d04 Add default acl hook to be called by admin for new accounts 2001-02-11 00:42:31 +00:00
Miles Lott
9e8c705ed7 Comment out discontinued accounts function 2001-02-10 23:36:49 +00:00
jengo
cf3564035a Setup will now read the directorys and figure out which applications are present, then it will insert into the phpgw_applications table depending on what was found 2001-02-10 19:47:39 +00:00
Miles Lott
06be889cc6 Update to latest from calendar 2001-02-10 13:59:13 +00:00
Miles Lott
d6ea3f792f Changing tabs to spaces, hope this still works. 2001-02-10 12:56:49 +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
Miles Lott
28a751a4ca Addin default columns and row count if no prefs set 2001-02-07 13:49:28 +00:00
Miles Lott
b9bcbdb06a Add read_repository 2001-02-07 13:47:52 +00:00
Lars Kneschke
d3d05690ce introduced PHPGW_INCLUDE_ROOT 2001-02-06 16:24:29 +00:00
Miles Lott
02588d9ef7 Remove unneccessary check for name=access in filtering section of read 2001-02-06 13:09:28 +00:00
Miles Lott
ba49fd9fdd Enable DEBUG for filter 2001-02-06 12:55:32 +00:00
Miles Lott
91b0c37877 Move parsecard's functions to functions.inc.php and basically remove call to parsecard.php 2001-02-05 05:38:26 +00:00
Miles Lott
90170e57d7 Access control list should work now - this is still not acl 2001-02-04 21:02:31 +00:00
Miles Lott
2daff5b792 Filtering should work now 2001-02-04 20:59:05 +00:00
Miles Lott
d99a6501ed Filtering should work now - see index.php for example 2001-02-04 20:58:51 +00:00
Miles Lott
33a9bf669f More work on filtering 2001-02-04 20:00:46 +00:00
Miles Lott
9817089eac add vars and change all table names to $this->std_table or $this->ext_table 2001-02-04 19:45:39 +00:00
Miles Lott
2332762d94 Move null fields list to class 2001-02-04 19:10:02 +00:00
Miles Lott
94e85da4c5 Add default null array to fields var for read() 2001-02-04 19:09:39 +00:00
Miles Lott
93b5cce3da Fix call to read 2001-02-04 19:06:00 +00:00
Lars Kneschke
000fd660ad there was a comma to much 2001-02-04 15:44:56 +00:00
Miles Lott
4fdff3b94d Fix all fields to lowercase 2001-02-04 13:40:19 +00:00
jengo
b6b7059e89 Fixed the bad case so things will work in postgresql 2001-02-04 13:35:20 +00:00
Miles Lott
46850aae4d Change fieldnames to lower case 2001-02-04 13:19:07 +00:00
Miles Lott
ad2248923f Change fieldnames to lowercase 2001-02-04 13:00:33 +00:00
Miles Lott
9fb0322fea Change fieldnames to lowercase 2001-02-04 12:55:22 +00:00
Miles Lott
cd7df86ee8 Change default table names 2001-02-04 12:43:46 +00:00
Miles Lott
f0db2cc208 Change default table names to phpgw_addressbook, etc 2001-02-04 12:42:55 +00:00
Miles Lott
3ce7b2e348 Make ldap pw a password field 2001-02-04 12:34:54 +00:00
Miles Lott
9ef0d25187 Remove bogus keys 2001-02-04 12:27:32 +00:00
Miles Lott
f06b0b6d88 Added drop and newtables scripts 2001-02-04 12:27:05 +00:00
Miles Lott
5d2b6490a7 Remove dysfunctional comment regarding ldap 2001-02-04 12:08:15 +00:00
Miles Lott
91e528b0d6 Add root dn and pw config for ldap contacts 2001-02-04 12:06:38 +00:00
Miles Lott
3475178412 Update to use get_tpl_dir 2001-02-04 11:11:55 +00:00
Miles Lott
81caecf253 Update to use get_tpl_dir call 2001-02-04 11:11:34 +00:00
Miles Lott
27b7ec75a4 Modified to pass filter to class - not yet working 2001-02-04 10:45:07 +00:00
Miles Lott
b6c8094da1 Add in some filtering - not quite there yet 2001-02-04 10:44:41 +00:00
Miles Lott
225d78c33d Fix query for new fields - this part needs to be reworked 2001-02-04 09:10:24 +00:00
Miles Lott
4d705f504e Updated to new field names 2001-02-04 09:03:53 +00:00
Miles Lott
3f4ebf92ab Update templates for justweb/verdilak 2001-02-04 06:04:52 +00:00
Miles Lott
d14e785daa Label change to reflect that ldap not operational yet. 2001-02-04 05:56:14 +00:00
Miles Lott
21096481b9 Several form changes and mods to vcardout. 2001-02-04 05:53:24 +00:00
Miles Lott
78bd44e89e Oops on last commit 2001-02-04 03:56:36 +00:00
Miles Lott
6075633a25 Add array and function to normalize column display names 2001-02-04 03:55:35 +00:00
Miles Lott
469b60f4bf Modify to normalize display of column names 2001-02-04 03:55:06 +00:00
Miles Lott
5f1e2fe0e7 Modify to use new array for nicer display 2001-02-04 03:54:42 +00:00
Miles Lott
11b9d5b5bc Make array elements match for now 2001-02-03 21:50:25 +00:00
Miles Lott
362a867c95 Changed to match the class changes - look ok, skeeter? 2001-02-03 18:49:01 +00:00
Miles Lott
081a7ddfaa Fix correct display of email type 2001-02-03 16:13:40 +00:00
Miles Lott
f7abf27fcb Change remaining ab refs to stock for function and var names 2001-02-03 15:52:30 +00:00
Miles Lott
3805c05bf7 Add comments for field names 2001-02-03 03:14:54 +00:00
Miles Lott
a2cac196ae Add tid field - type of the lid field. 2001-02-03 02:58:37 +00:00
Miles Lott
898ae982fe Add tid field for type of id (group/account). 2001-02-03 02:55:18 +00:00
Miles Lott
e19979e156 Added week old delete.tpl - whoops! 2001-02-02 16:40:42 +00:00
Miles Lott
4f9371c78b Modify list of email_types 2001-02-02 16:36:23 +00:00
Miles Lott
90553ed9d4 Generate list of email types 2001-02-02 16:33:59 +00:00
Miles Lott
299f373766 New template field for email type 2001-02-02 16:33:36 +00:00
Miles Lott
ca81e77597 Some changes to templates and php files to add some custom fields 2001-02-02 16:19:37 +00:00
Miles Lott
48b42b2db8 Insert merge of what are now extra fields to query 2001-02-02 14:54:51 +00:00
Miles Lott
3d02ca8f9e Fix ORG_Name field 2001-02-02 14:35:35 +00:00
Miles Lott
435c1dc721 Update to new field names and add ADR_Country 2001-02-02 07:24:45 +00:00
Miles Lott
4f95d122cd Update field names to new class 2001-02-02 07:23:59 +00:00
seek3r
d97225c0c1 fixed problem with default settings 2001-02-02 07:06:08 +00:00
seek3r
a31ba57a86 moving the files to where they belong 2001-02-02 07:00:58 +00:00
Miles Lott
ffc0247f71 Fix call to check_owner 2001-02-02 06:46:44 +00:00
Miles Lott
b98b41451a This is the new table structure for the addressbook tables 2001-02-02 06:34:42 +00:00
Miles Lott
c37ee4936c Deleted. 2001-02-02 06:34:10 +00:00
Miles Lott
c682033620 Correct field mapping and fix prefs to work with class. 2001-02-02 06:29:27 +00:00
Miles Lott
d124b891b8 Remove now unused classes. 2001-02-02 01:38:14 +00:00
Miles Lott
182384fc2e First of a few major changes to enable the contacts class 2001-02-02 01:34:22 +00:00
Miles Lott
c1a1c61066 Another update from calendar's version to fix group acl 2001-02-01 04:20:27 +00:00
Miles Lott
7508a0d03f Add new not yet functional hook to setup for contact apps setup. 2001-02-01 04:05:26 +00:00
seek3r
80722d6260 applied patch from sf which is not fully testes 2001-01-30 10:26:15 +00:00
Miles Lott
5df0c4ae7d Update to latest generic acl_prefs from calendar app 2001-01-24 03:45:00 +00:00
Miles Lott
0c1ee930fb Removed. 2001-01-23 13:45:00 +00:00
Miles Lott
d36bae98ff Import calendar acl stuff, not working yet. 2001-01-23 13:43:15 +00:00
Miles Lott
929f59dcc8 Imported calendar acl stuff, not working yet. 2001-01-23 13:42:18 +00:00
Miles Lott
b1df65cdfe Another template update to allow for better customization in index.php. 2001-01-23 13:40:42 +00:00
Miles Lott
210ae70a45 Redo template set for index.php to allow for better customization. 2001-01-23 04:28:06 +00:00
Miles Lott
330fea80a4 Correct return of company fields. 2001-01-22 12:58:57 +00:00
jengo
a4e979eb0f Fixed link() not passing the extra variables correctly 2001-01-22 06:30:37 +00:00
Miles Lott
9d77bffd4c SQL fix to have entries display when switching to timetrack enabled and no company_id is set 2001-01-21 20:34:50 +00:00
Miles Lott
9c20cc177e Fix to save correct data into company_id when timetrack is enabled. 2001-01-21 07:40:46 +00:00
Miles Lott
9d6b19c1b7 Minor field tweaking. 2001-01-21 06:39:35 +00:00
Miles Lott
979d35be52 Add 'add' function to handle new add.php. 2001-01-21 06:37:33 +00:00
Miles Lott
0c582297c4 Altered to handle objects and classes. 2001-01-21 06:36:59 +00:00
Miles Lott
7e79770cb1 Remove old files. 2001-01-21 02:59:51 +00:00
Miles Lott
57e4a4440f Quick fix to broken search. 2001-01-21 02:46:17 +00:00
Miles Lott
aba0107f88 Begin move to classes for addressbook. Note ldap is a copy of sql for now. 2001-01-21 02:31:24 +00:00
Miles Lott
d0542822f9 Cancel link updates. 2001-01-15 02:30:29 +00:00
Miles Lott
d38960ad7a Add import.tpl to verdilak. 2001-01-14 23:12:02 +00:00
Miles Lott
ba0a1b2e8c Add import features from cdb, including templifying those files. 2001-01-14 21:35:04 +00:00
Miles Lott
7423bffc57 Template-enabled view.php. 2001-01-14 03:29:39 +00:00
Miles Lott
a4f54a4a1c Pre-template view.php. 2001-01-14 03:29:16 +00:00
Miles Lott
6465766f8f Add view templates. 2001-01-14 03:28:56 +00:00
Miles Lott
9b1dcbfefb Fix a couple of lang calls for extra phone numbers. 2001-01-14 02:50:51 +00:00
Miles Lott
9f74d6ddd9 Add edit and form templates. 2001-01-14 02:44:38 +00:00
Miles Lott
dbee648038 Added templates for add.php, edit.php and inc/functions.inc.php. 2001-01-14 02:43:14 +00:00
Miles Lott
391dbe96b5 Remove ^M's. 2001-01-13 22:34:51 +00:00
skeeter
81274c36a6 changed to form buttons instead of links 2001-01-13 22:17:13 +00:00
Miles Lott
4335b02e7a Match up lang call to "AddVCard". 2001-01-13 19:25:38 +00:00
Miles Lott
c90cff1857 Add templates for index.php. 2001-01-13 19:13:04 +00:00
Miles Lott
a5dfb30ddc This is the old non-template version of index.php. 2001-01-13 19:06:59 +00:00
Miles Lott
2384932ada Begin template enabling of addressbook. See oldindex.php. 2001-01-13 19:06:36 +00:00
Miles Lott
e396d52301 Add missing footer call. 2001-01-11 12:35:35 +00:00
skeeter
7a907ae0d6 corrected footer call 2001-01-07 17:14:36 +00:00
skeeter
89c7cf2604 new template 2001-01-06 15:26:47 +00:00
skeeter
1ed4e92e1b applied patch for setting preferences 2000-12-31 22:58:41 +00:00
seek3r
f504d8f6a7 adding in some of the special setup files and dirs 2000-12-29 22:10:24 +00:00
skeeter
f3abbd9ae4 fixes for new preferences class 2000-12-27 15:07:14 +00:00
skeeter
1c5bbc90e1 wrong filenames 2000-12-24 15:21:19 +00:00
jengo
947a4f5067 Changed all exit; calls to use the new common->phpgw_exit() 2000-12-23 22:50:32 +00:00
seek3r
73a5ec994a added the security check to all vunerable files 2000-12-23 09:43:04 +00:00
skeeter
c5ea413e9e can now view addressbook entries 2000-12-23 01:23:11 +00:00
skeeter
ea66a64a46 new hook file for preferences 2000-12-22 21:18:35 +00:00
seek3r
f795023f8f hopefully settled the directory structure once and for all 2000-12-21 09:16:30 +00:00
seek3r
e045c4236e added functions needed to detect template and image dirs 2000-12-19 18:14:22 +00:00
seek3r
d3c59526f0 moved all the images into the templates dir so that they can be changed as well 2000-12-19 15:33:48 +00:00
seek3r
22590c65a3 converting to the new hooks system 2000-12-15 22:09:13 +00:00
seek3r
c115717da0 converting to the new hooks system 2000-12-15 21:56:09 +00:00
jengo
e4eed5aa2d Updated preferences to the new format of the functions 2000-12-14 11:58:51 +00:00
jengo
3a42ea8a5b Change around the format of the preference table to use serialize() and unserialize() 2000-12-13 15:19:03 +00:00
bettina
7647221d96 changed db selection to work with ttracker 2000-12-08 17:25:51 +00:00
jengo
de79a3fc12 Finished moving all of the htmlentitites() to strip_html() 2000-12-07 22:10:08 +00:00
jengo
b0f3a9f137 Merged in patch that some fields wheren't being displayed 2000-12-01 05:10:28 +00:00
jengo
1d36311c9f Fixed group filters 2000-11-22 04:38:07 +00:00
skeeter
cec8e1be2e error checking 2000-11-18 22:00:35 +00:00
Lars Kneschke
493b2bc85d added "enable_nextmatchs_class" => True 2000-11-16 22:03:49 +00:00
jengo
4a985d2fae Addressbook wasn't showing the header and navbar 2000-11-16 08:10:43 +00:00
seek3r
066cc921b3 new disable by default policy should help performance 2000-11-16 07:40:37 +00:00
jengo
6f675c8c86 Added the date preferences into the addressbook, added special formating to view, fixed date preference not working in todo list, and fixed the target of <a href in index.php 2000-11-12 11:35:51 +00:00
jengo
d71247ebe6 Fixed notes field not showing up in view 2000-11-06 09:50:33 +00:00
pjw
d463ead260 Added Qbert's vcard patch... 2000-11-03 22:24:12 +00:00
jengo
f32802380c Added missing file 2000-11-03 21:29:27 +00:00
jengo
4fa39a29f5 Forgot to add a few files 2000-11-03 21:11:39 +00:00
jengo
9d323346b3 Merged in patch for vcard support 2000-11-03 20:07:57 +00:00
jengo
970073d7bd Clean up the code for my patch merge in. Everything seems to on order now. 2000-11-01 12:48:48 +00:00
jengo
58d7eb8f15 Working on cleaning up the view addressbook section and added a new column called URL 2000-11-01 12:32:36 +00:00
jengo
793040b5ba Working on merging in a patch for the addressbook, but first cleaning up some code 2000-11-01 10:26:14 +00:00
skeeter
f265c39252 bad query 2000-10-29 02:51:54 +00:00
skeeter
e395f267c6 fixed company to ab_company 2000-10-27 02:07:59 +00:00
jengo
b33d3e05c4 Working on converting the account_lid owner fields to account_id 2000-10-25 21:09:00 +00:00
jengo
e9fa1314a9 Cleaned up a ton of code in preferences and fixed a few preferences bug in the main screen and in email 2000-10-23 20:56:29 +00:00
jengo
9d9bd233ad Working on fixing preferences 2000-10-23 19:16:20 +00:00
jengo
660c80f4e9 Working on changing all of the preferecnes to work of a new type of array. I added a column for appname 2000-10-12 17:36:47 +00:00
jengo
e9039ac2ea link() function is working correctly with passing no URL. Moved addressbook preferences into its own section, cleaned up a little code, preferences functions are now updated to the new preferences table 2000-10-12 14:34:25 +00:00
seek3r
d08ca90692 Added simple version management and added massive updates to the addressbook that were submited by neotexan, so that things will interact with his application better 2000-10-04 17:49:36 +00:00
skeeter
7876b477f3 can't remember 2000-10-03 02:30:27 +00:00
jengo
bdedd300cd Corrected SQL error 2000-10-02 08:29:25 +00:00
sjb4891
263fdedd2a Added $phpgw->common->phpgw_footer() function, and changed all
places that were including the footer.inc.php to use the function.

Re-arrange phpgw.inc.php to include optional classes after reading the DB config
misc bugfixes.
2000-09-29 05:24:18 +00:00
skeeter
ed85618a37 fixes with new db structures 2000-09-28 01:01:37 +00:00
skeeter
8d52ea0dc7 fixes with new db structures 2000-09-28 00:19:04 +00:00
jengo
8d4a0aded9 Started converting fields names to work with Oracle 2000-09-18 20:00:25 +00:00
jengo
ffd1efa794 Merged in addressbook patch 2000-09-12 22:14:33 +00:00
seek3r
7fb329645c moving to new translation system 2000-09-07 23:31:08 +00:00
seek3r
59347a7bf0 moving to new translation system 2000-09-07 22:47:52 +00:00
seek3r
ba68c71ebb moving to new translation system 2000-09-07 20:49:55 +00:00
seek3r
081ad0be4b converted from phpgw_flags to phpgw_info[flags] 2000-09-05 18:36:13 +00:00
jengo
fd01629533 *** empty log message *** 2000-09-05 07:31:20 +00:00
jengo
1562717d19 Fixed check_owner() and fixed a parse error 2000-09-05 07:12:26 +00:00
jengo
ef2bc22fba Removed references to session->id and added a few missing link()s 2000-09-05 03:24:51 +00:00
jengo
ade3d1ab28 Remove the session->loginid references 2000-09-05 03:14:08 +00:00
skeeter
ea856c8741 working with new session class 2000-09-03 19:30:13 +00:00
skeeter
af7f61ecdc now works with new accounts class 2000-08-28 00:09:45 +00:00
jengo
054cff7517 The new accounts class is working 2000-08-26 08:27:30 +00:00
jengo
f6dde056d6 Fixed the company name not being searched 2000-08-25 17:45:23 +00:00
jengo
b6477fdb2a Merged in spainish patch 2000-08-24 20:59:43 +00:00
jengo
96e36d90e4 Merged in dutch patch 2000-08-19 12:49:52 +00:00
jengo
a863826b21 Added filter by group 2000-08-19 05:39:30 +00:00
seek3r
fb03d1cbaa Initial revision 2000-08-18 03:24:22 +00:00