Commit Graph

434 Commits

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