Commit Graph

375 Commits

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