forked from interchange/interchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWHATSNEW-4.7
1906 lines (1278 loc) · 66.4 KB
/
WHATSNEW-4.7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
------------------------------------------------------------------------------
What's new in each version of Interchange
(since the version 4.6 branch)
------------------------------------------------------------------------------
Interchange 4.8.1 released 2001-08-13.
Foundation
----------
* Fix flypage typo preventing display of options.
* Fix stock-alert thumbnail display (based on image availability).
* Changed from and reply-to email address to __EMAIL_SERVICE__
This brings it line with the name in the variable table.
* Fix to catalog.cfg that closes longstanding history-scan "expired" problem.
* Fix problem with PostgreSQL userdb table definition found by Brian Kosick
* Add counties of Ireland to state.txt, correct two minor UK/EI mistakes.
Thanks to Donal H. <[email protected]> for submitting this update.
* Add DECREMENT_INVENTORY to the default variable.txt, fixing bug #292.
* Rename some images to get around long path problems when not using
a reasonable tar program, e.g.:
dist/foundation/templates/sampledata/tools/images/items/gift_certificate_large.gif
* Remove GNUisms from Foundation configuration scripts.
Admin UI
--------
* Allow setting UI_SECURE with environment variable MV_UISECURE.
* Set UI_HELP_URL to interchange.redhat.com by default, to enable access to
most up-to-date online help in the UI.
* Add MV_DEMO_MODE variable and MVC_DEMOMODE makecat setting.
* Swedish UI locale (sv_SE) added by Tommi Labermo <[email protected]>.
* Many more i18n improvements from Stefan Hornburg.
* Do something reasonable if transactions or userdb is defined LARGE.
- If LARGE and no search input comes to order page, bounce to
flex_select with proper table selected and page title set to something
reasonable.
- If a query by example is put in, use order.html (transactions)
or customer.html (userdb) to actually display the item.
* Fix longstanding admin/admin/error bug when you hit a non-existent
transactions or userdb table.
* Allow manual setting of order number from UI.
* Make new dbconfig stuff show up if UI_DBCONFIG is set.
* Carry destination forward on failed login attempt at login.html.
* Disable useless meta link in the wizard.
* Define new action-click parameter to put an mv_click in
where it will only be executed on Next --> {next_text}.
* Make Cancel really work on order number setting, using above strategy.
* Fix page footer include on wizard/do_launch.html.
* Add link to documentation after initial preview build....
* Update wizard_profiles to use did_products=required instead
of old products=defined
* In the wizard, the admin user was being created in both the Admin
database, and the Customer database. This left the admin user password
in plaintext in the customer database. Now the admin is created in the
admin db, and the customer in the customer db.
* Modify all pages to use ui_wizard_fields instead of the
table=variable and fake keys.
* Slightly refine default tax location so it is only presented for US.
* Make "Detect Settings" dependent on MV_DEMO_MODE.
* Don't die if ImageMagick not there. Give error saying bad thumbs.
* Fix Primitive.pm reference integrity problem
($Vend::UI_Entry->{table_control_ref}).
* Make secret not mandatory for AuthorizeNet setup in Wizard.
* Add missing file pages/include/order_delete_archive preventing order
deletion/archiving.
Tags
----
* In display tag, add option for cases where we don't want a translation
(e.g. mv_metadata may be written in another language).
* In image-collate tag:
- Always push sku/image/thumb data onto stack. Before, image files
didn't get copied from the upload directory if an 'image' field was
already properly set up and the 'Generate thumbnails' option was
not chosen.
- Add support for plain tar archives.
- Copy correct thumb filename (rarely caused trouble since we usually
use the same filename for both).
* return-to tag: When mv_data_table was in ui_return_to, would get
transformed to the name of the table variable set to a blank value.
This tromped on any field named the same as the table. Resolves bug #288.
* In table-editor, allow disabling meta on a per-form basis with no-meta=1
parameter.
Core
----
* Fix problem where refresh or add of items would set cart back to "main".
Now, once you set the cart to something besides main it should stick.
* Fix bug where -u or -i did not work because the Config.pm setting
ignored the fact that the other option was defined. Resolves bug #286.
* Always set PriceDivide in operation if any Locale is set.
* Make PriceDivide work properly for shipping.
* Make documented "o PriceDivide = 1" work properly.
* Fix bug where if table was not imported prior to tag_perl tables call, it
would be imported but the $Db{table} object would never be set. Resolves
Bugzilla #289.
* Changes to support linkmode configuration in makecat.
* In Order.pm, put the real profile name into error log ('Unknown order
check ...').
* In Util.pm: Fix bug where a merge hash would not properly set options
if the base hash was a ref.
* Fix problems with AuthorizeNet module found by Pann McCuaig
- changed zip reference to b_zip
- Removed requirement for secret
- added country and email to variables sent
Install/makecat
---------------
* Makefile.PL --nocpaninstall option added, needed to fix the longstanding
Debian bug #93669.
* Overhaul permission setting when making catalogs as root. Now makes image
files group writable (never needed before UI image upload), as well as
making files the correct group depending on M/G/U permission modes.
* Add automatic determination of MVC_CATGROUP based on permission
mode and supplied UIDs.
* Only offer setting of default linkmode if one is root.
Miscellaneous
-------------
* Added script for use in cronjobs, reset_order_number. Provides
date-based order numbers for Interchange. From an idea posted to the
[email protected] mail list by Leon Harris <[email protected]>.
* Added new component 'news' to eg directory. Enables the shop owner to
easily add news items to the foundation catalog. By Ton Verhagen.
Packaging
---------
* Much reworking of Debian packages. Stefan no longer considers them to be
experimental status.
* Update RPM documentation to cover interchange-foundation-demo and
interchange-doc, and some other missing things.
------------------------------------------------------------------------------
Interchange 4.8.0 released 2001-07-27.
* Minor bugfixes.
------------------------------------------------------------------------------
Interchange 4.7.7 released 2001-07-26.
Admin UI
--------
* Change payment wizard to do a better job. Only alters one global parameter,
MV_PAYMENT_MODE, to set up the route. The rest are done via Route.
- Change payment stuff to use Payment routes.
- Change CyberCash config to have them upload their merchant_conf.
- Add some parameters to Skipjack and Signio.
- Rename parameters to be gateway-specific.
- Set up to use new ui_wizard_fields= and wizard support, reducing page
complexity.
* More admin translations.
* Update admin order entry page to use [item-options]. Delete reference to
old "related" field in products. Remove [item-accessories size] and color.
* Prevent double-escaping of [ characters in item.html.
* page_new.html: Prevent path name in template name from polluting
template file spec. Prevent lack of current content from aborting page
edit. Make "New Page" honor UI_TEMPLATE_DIR.
* ship_data.html: Read shipmode from either CGI or Values, which allows us
to bounce to the ship_data page and retain the mode.
* table-editor:
- Remove improperly-set default for widget type disabling metadata from
the mv_metadata table.
- Wizard mode no longer requires a table, it creates a transitory
database object "mv_null" and uses that.
- In wizard mode, you don't need to have a key field, and you can
specify "ui_wizard_fields" instead of having to supply both
ui_data_fields and ui_display_only.
- Wizard no longer displays a Back button if no "mv_prevpage" is defined.
- View now can be "none" to override table display info in mv_metadata.
- Add start of some docs.
Foundation
----------
* Add "Require module DBI" to foundation catalog configuration to further
isolate errors with SQL problems.
* Make address and fname field lengths match between userdb and transactions.
* On Stock-alert page, only display a thumbnail if it exists.
* Fixed bug #275, found by Barry Flanagan. Up-sell question was mislabeled
as "cross-sell".
* Change results.html button style to text type for Macs, which can't handle
onClick with type=image. Resolves Bugzilla #268.
Core
----
* Remove CyberCash directive, but warn so old catalogs don't fail startup.
Never use CyberCash directive or never-implemented mv_payment_mode
for charges.
* Clean up some discount pricing routines.
* Encode HTML entities for accessories <textarea>s. (Keeps <img src="...">
from being processed for the current image directory in UI page or
template editing areas.)
* Move cart copy to before inline_profile is run.
* Put a structure in sesssion with the payment_id for each route, so that
split charges can be tracked.
* Fix problem with payment_mode being run in check_only mode.
* Change Order.pm so that it handles failed routes properly, even subroutes.
* Get gateway from either Route or MV_PAYMENT_GATEWAY if not defined and
there is no gateway.
* Unique check allows passing a custom message like "Username already
exists" instead of the default somewhat cryptic message.
* Document --sharedir and --shareurl in makecat POD.
* Fix --DEBUG startup option docs, resolving Bugzilla #158.
Packaging
---------
* Several Debian packaging improvements.
------------------------------------------------------------------------------
Interchange 4.7.6 released 2001-07-18.
Core
----
* Instituted VAT and extended taxing, including UI support.
If the SalesTax directive is set to "multi", the type of tax is read from:
[data table=country col=tax key="[value country]"].
NOTE: Most everything is configurable for variable name and
field name via Variable MV_*, but defaults are shown below.
1. If no string is found, tax returns 0.
2. If string "simple:(\w+)" is found, uses fly_tax() as with
recent standard demos.
3. If string "state" is found, does a re-lookup with
select tax from state where country = country and state = state
and value is applied below.
4. If just digits are found, rate applied directly -- i.e. "0.05"
5. If N.NN% is found, applied as percentage.
6. If category = N.NN%, default = N.NN% is found, the tax_category
field in the products database is used to determine tax basis.
If no tax_category, "default" rate is used.
This product data
sku price tax_category
os28003 10.00 tools
os28004 20.00 food
with this country and state data:
code name tax
US U.S.A. state
JP Japan tools=10%, default=15%
code country state name tax
0001 US IL Illinois 6.5%
0002 US OH Ohio default = 5.5%, food = 1%
0003 US AZ Arizona
Will yield tax for one each of os28003 and os28004 of:
Japan $4.00
US/IL $1.95
US/OH $0.75
US/AZ $0.00
* Add PRELOAD_EMPTY_ONLY option for preloading files once at the beginning
of time, which is what we really want for icmenu.txt and ichelp.txt.
* tlink.c: Implement patch from Tamas to make tlink.c compile with no
complaint on all compilers. Resolves bugzilla #22.
* Add INDEX capability for SQL databases -- uses CREATE INDEX template.
* Change INDEX Database parameter to array type, adjusting routines
in Vend::Table::Common to handle for ASCII indexing.
* Add report=1 option to [item-options ...] tag. This returns a comma-
separated list of options, i.e.:
blade: Steel, knob: Ebony
Separator and joiner are ": " and ", " by default, but can be changed
with [item-options report=1 joiner=";" separator="="] or somesuch.
* Add pragma safe_data, with same function as safe_data option available on
some tags.
* Parse [pragma] tags on flypages before interpolating fly-list.
* Change fly-page and fly-list so variables don't get parsed twice, but
still get parsed before flypage substitutions. Add opt variable to call
for control; could be used in future for other purposes.
* Fix [fly-list] tag so that the options work; previously they never
would have.
* Add pragma dynamic_variables_file_only to avoid opening databases
when GDBM -- if needed.
* Order single-widget matrix options by o_sort, as suggested by Ton V.
* Fix new defined check type to actually work -- checks to see if
$Values->{$var} is defined.
* Set default lock type to 'fcntl' for HP/UX, possibly resolving bug #267.
* Make UPDATE and INSERT work properly with DBM.
* Make mv_successpage set in a form work right when a profile check succeeds.
* Added first general-purpose functionality to [image] tag:
Given sku os29000 in the Foundation demo, and assuming the products
database specifies os29000.gif in the image field for os29000,
the tag [image os29000] returns HTML code something like this:
<img src="/foundation/images/os29000.gif" width=120 height=150
alt="3' Step Ladder" title="3' Step Ladder">
If file os29000.gif hadn't existed, or the products database image
field were empty, the tag would check for files called "(sku).jpg",
"(sku).gif", etc. and use the first one it found.
Full documentation is in POD format in the usertag itself.
* Require catalog IDs be of pattern ^[-\w]+$, which makes sure that
expireall and other utilities will find all catalogs. This was
documented but not enforced by makecat. Resolves Bugzilla #209.
Admin UI
--------
* Add da_DK (Danish) locale by Kim Lauritz Christensen <[email protected]>.
* Add nl_NL (Dutch) locale by Ton Verhagen.
* Allow localization of month names, and other localization tune-ups.
* Allow Variable in imagehelper directory and path
* Fix Knar editor entry so returns to flex_select?mv_data_table=variable
with appropriate page title.
* The affiliates submenu ("create new affiliates") in the UI, was set to
exclude_on:affiliates, instead of depend_on:affiliates.
* Error message from flex_select added.
* Fix double-escaping of left brackets in flex_editor.
* Fix save profile so that it uses $Values (and automatically picks
up new additions).
* Fix entry order problem found by Bob Jordan.
* Hide more customer delete buttons if user doesn't have permission, and
prevent surreptitious passing in of delete command.
* Fixed problem where we leave secure mode at various places.
* Changed the font sizes on the Admin UI admin menu so that the different
section names matched in size to their description.
* UI_STD_HEAD and UI_STD_INIT cleaned up.
* Display country in order view if not the same as SHIP_DEFAULT_COUNTRY.
Resolves Bugzilla #212.
* ByAffiliate.html report: Add the bd (mv_base_directory) attribute to the
search for non-absolute TrackFile values.
* Add warning if Spreadsheet::*Excel modules not installed, as that will
cause a fatal error attempting to import XLS spreadsheets. Resoves
Bugzilla #239 -- thanks to Tal Hart for reporting.
* Several item options patches by Mark Johnson:
- Fix wholesale price overwriting regular price in variant edit.
- Stop including "none, " in description of an empty option.
- pages/include/item_option_simple:
* Added separate 'opt_label_*' form var
* Added js to set label to name (and reset to previous value)
* Replaced '[sql-*]' with q{[sql-*]} for strings
* Added sql/entities filter where appropriate
* Change setting of sku in table-editor to override as opposed to "default",
preventing previous setting of "sku" to cause corruption of display.
* Wizard: Make "images" piece run after everything else, so that products
uploaded will be in database. Other miscellaneous changes to the wizard.
* New usertags: [cp], [image-collate].
* Prevent Interchange tags in database fields from being parsed when
displaying with [table-editor] tag.
Foundation
----------
* Fix Foundation indexing for PostgreSQL.
* Minor database table changes to support VAT and new multi taxing.
- Add tax_category field to products.txt (including sampledata/tools)
- Add tax field to country database
- Set default type in pgsql/country.pgsql to varchar(255)
- Set default type in oracle/country.ora to varchar2(128)
* Use new [item-options report=1] in mailed reports and log_transaction.
* Use [scratch mv_autocreate] to supply mv_username/mv_password for order
status link, similar to what we do for anonymous downloadable products.
Resolves Bugzilla #226.
* Added sale_price and image_large to the batch product upload template.xls.
* Changed the mv_nextpage from customerservice.html to @@MV_PAGE@@. If you
selected a new country or shipping method for yourself, it'd kick you back
to the customer service page and that was kind of annoying.
* Changed the "Buy it Now!" text button on the flypage to a graphic button.
* Fixed the Checkout page to use [button] tags for the bottom Place Order
and Recalculate image buttons.
* Added some default admin Groups to the access database -- Content Manager,
Merchandiser, Sales/Orders.
* Fix modular_create view so that o_master is tied to the SKU of what we are
creating.
* Adjust default widgets in metadata for modular_create view.
* Fix typo in SAMPLEHTML setting.
* Rename fullwidth template to noleft to match region.
* Make label for retrieving address be the nickname, not the city, as
suggested by [email protected].
* Fix promo component to use [table-organize] for settable number of columns.
Resolves Bugzilla #240.
* Add tax_category field to products database for tools type.
* Remove banner database that is not used and is just cluttering things up.
* Fix installsample so that it tolerates no images/ directory in sample
data set.
* Do downloadable product authorization during log_transaction so that
auto-created users are handled.
* Change deliver action so that auto-created users can log in and download.
* Remove EncryptProgram directive, no longer needed (found globally
and by default).
* Add EncryptKey directive -- PGP now works out of the box with the wizard.
* Change catalog.cfg to use PGP_KEY instead of GPG_KEY Variable for pgp_key
in routes.
* Add PGP_KEY to Preferences, and put it and ENCRYPTOR in "Encryption" area.
Packaging
---------
* Debian packages can produce a demo.
* Minor Foundation hostname problem in RPM install fixed.
------------------------------------------------------------------------------
Interchange 4.7.5 released 2001-07-03.
Core
----
* Allow GlobalSub session autoloads.
* Introduce use of AutoVariable for global.
* Overhaul encryption just a bit. We now recognize natively three
encryption programs, gpg, pgp, and pgpe. Each has argument strings
automatically generated, and the catalog.cfg directive EncryptKey
is used by default for encryption. If you pass a directive value
which is only (/usr/local/bin/)?gpg, it uses these default argument
values. The defaults:
gpg gpg --batch --always-trust -e -a -t -r '%s'
pgp pgp -fat - '%s'
pgpe pgpe -fat -r '%s'
These have all been tested with the exception of pgpe, but that
should be good.
* Route encrypt_program value may not be overridden by expansion from
variables or by extended. This is for security -- otherwise a change
in route or variable could allow an arbitrary program to be run.
* Add refinement to bar_link and the area.txt databases where you
can specify the sort field (or other additional parameters) by entering
in "search" column. Will make top-category stuff ordered in category
order instead of random based on prod_group.
* Remove explicit setting of order routes in ValuesDefault, use
the "cascade" setting of the master route instead.
* Refuse access for empty passwords or "anything" passwords (empty in DB).
* Make username and password minimum lengths customizable (defaults 2, 4).
* When creating UserDB object, use Vend::username instead of session
username for better security.
* Allow AdminUser superuser access to all catalogs; no access DB required.
* Log attempts by anyone other than superusers to change another user's
password (e.g. by munging form variable mv_username).
* Make reconfig tags reference RunDir vice ConfDir, resolving bug #207.
* Fix configuration parsing for simple 'Locale xx_XX' directives (for
pulling locale info from system).
* Enable use of Net::SMTP for systems without sendmail. All are
likely to have it, as Bundle::libnet is part of Bundle::Interchange.
* Change the Vend::Config::parse_executable check to allow use of a Perl
module as an option, doing a require for it.
* Change sql_statement error handling to always die upon parse
error. This will allow the calling routines to trap errors better.
* Order single-widget matrix options by o_sort, as suggested by Ton Verhagen.
* Add matrix option widget and handling so that you can select the
variants based on individual widgets instead of one. Uses the
methodology of taking multiple settins of mv_skuN, where N is the cart
line. Each is joined with a - character, and
$::Variable->{MV_VARIANT_FILLER}|| 0 is inserted if it is blank.
* Method to tell if the individual widget method is used is to have both
o_matrix and o_modular set. This is less than ideal, and a better method
is needed. Will not document this until the method is set.
* Change handling of option updates so that if an illegal variant
is selected from the database the code and mv_ib refuse to change.
* Fix problem with quoting wrong entity setup in textarea.
* Change add_items() quantity handling to strip letters and fractionals
(unless FractionalItems).
* Change default order routes so that it comes from $Values instead of
$CGI. This allows the FormIgnore to block form-entered order routes.
* Change route code so that an empty route will never be emailed.
* change_url function needed with resolve_links() had bug in adding
arguments. Discovered by Taylor Mitchell and Erik Wichern.
(User)Tags
----------
* Add random saying component and usertag [fortune], based on
/usr/games/fortune.
* Make [reconfigure] tag use RunDir instead of ConfDir.
* Add run=1 option to file-info tag.
* Return nothing from tag [table-organize] if there are not <td> elements.
* Add [if pragma ...] conditional.
* Add [if global VARIABLE] for testing on globals.
* Added new core [msg] tag for doing parse-time locale substitutions.
* Change the [mail] routine in Vend::Interpolate to use
Vend::Util::send_mail so that it can use Net::SMTP.
* Fix [options] so that SKU on multiple-widget will always be
set even if not previously.
* Fix [record ...] tag to work with all DB types.
* Fix [catch] tag so that you can put ITL inside the error evals;
all errors are now delimited by [/pattern/] [/(?pattern/)?]
* Add new [warnings] tag to eliminate the problem with overwriting
and fragmentation of [data session failure], [data session error], [data
session ui_failure], [data session ui_error], etc. Will add separate
namespaces in next iteration so that we can use different ones for UI.
* Add ranges option to [loop list="A..Z" ranges=1] to allow alpha-numeric
lists. Limit number of produced options to
$Vend::Cfg->{Limit}{option_list}.
* Add auto=1 option to [timed-build ...]. Makes an MD5 digest of the
contained text, then auto-builds using that go generate a filename.
Demonstrated in latest templates/components/category_vertical.
Admin UI
--------
* Multi-locale UI (selectable at login time) improved.
* New admin context-sensitive help topics added.
* Fixed images/products combined upload problem (Bugzilla #251).
* Add re-routing map capability to wizard maps so that the
same pages can be used when only the mv_nextpage/mv_prevpage
stuff changes. We set up the map in pages/include/wizard_profiles.
* Go to password change page after new user is created, so admins won't
forget to set a password for new users.
* Build categories even if sampleproducts not selected, give
chance to turn off on preview page.
* Change so that the save will set the pref_group on the
Variable, which allows it to be later edited logically under
Administration->Preferences.
* Fix uploadhelper mv_click so that preceding path will be stripped.
* Refine guess_info to work with either standard wizard or CommerceLauncher.
* Change shipping wizard a bit to allow the user to select their default
country and shipmode in all cases.
* Add ability to pass form params in via the checklist menus.
* Sort item options when producing matrix options, so new matrix
separate mode will work.
* Fix target page for login errors.
* Rework password changing in admin UI to always use UserDB functions
instead of directly writing to database.
Foundation catalog
------------------
* Break out different order methods in different checkout profiles.
Eliminate the fax_order variable. Retain old checkout_profile for
compatibility.
* Move default category_vertical component to second instead of
third slot to prevent duplicate category lists on some of the
default foundation pages.
* Finished the advanced search (searching by category now works, as well
as searching by item field).
* Move default category_vertical component to second instead of
third slot to prevent duplicate category lists on some of the default
foundation pages.
* Add timed-build capability to category_vertical.
* Fixed merch components so that if an image doesn't exist, it will not
display a broken one.
* Change item_option.html to use [record ...] tag instead of separate
[data ...]. Add Matrix options with separate IDs, still need JS logic
to insert -0- on empty option.
* Fix item_options in matrix form, removing silly overload of o_modular
bit. o_matrix now can have two values, 1 (one widget) and 2 (separate
widgets). The item-option tag can override the separate/single display type
with a display-type=separate or display-type=one (default) option.
* Add o_enable to variant creation form, which enables the option for
display.
* Default table/area/category to some reasonable defaults.
* Trailing blanks were causing problems in admin/order.html when displaying
archived/pending orders. Made all definitions consistent at char(1).
* Fix "nullsellect" typo in mv_metadata.
Various
-------
* Added file UPGRADING, rudimentary help on updating Interchange, to
complement icupgrade(8) docs.
* Support running Interchange under Cygwin for testing purposes.
* Fixed the small search box components - substring matching was not working,
only whole word matching.
* Add companion page to qb_getord.pl (get_orders.html), which allows
you to download orders and move the file to a new location so that
future orders will start a new file.
* Add widget key selector for GnuPG keys.
* Added flat-file table editor utility (eg/te).
* Removing eg/make_gnumeric.sh tool, since Gnumeric dropped support for
the flat-file table format.
* Silly workaround to make Perl 5.6.1 compatible with File::Copy under Safe.
* Fix host and port changes in makecat.PL when selecting INET mode.
* Place STDIN in binmode so tlink.pl will work with Cygwin/Apache.
* Added mv_session_id hidden form value in a few places it was missing to make
cookie-free browsing work everywhere.
* Fix the intro script so it will build even if not run from Makefile.PL,
given an Interchange Root. This will allow a "update_cvs_limited" script
that updates bin / lib / selected_other_files.
* Minor HTML and CSS fixes.
* Removed unused images.
------------------------------------------------------------------------------
Interchange 4.7.4 released 2001-06-16.
Core
----
* Fix bug #220, Interchange server crashing in Server.pm. Caused by
inappropriate "next" upon select timeout after MaxServer > Num_servers
condition.
* Change default of [catch] to NOT interpolate. Impossible to conditionally
execute code if that is the case.
* Fix [catch] to work with only the proper body, not with both THEN and ELSE.
* Add maxsize parameter to file write in tag_value_extended, fulfilling
enhancement request #99 in Bugzilla.
* Add a filter for decode_entities, and make encode_entities an alias to
entities.
* Add ability to restrict tag execution in a region. If a restricted tag is
encountered, it is simply output. Based on an idea from Jon Jensen.
[restrict policy=deny*|accept enable="tag1 tag2" disable="tag1 tag2"]
restricted area
[/restrict]
options:
policy "allow" or "deny". Default is deny.
enable space or comma-separated list of tag names, including
UserTag names.
disable space or comma-separated list of tag names, including
UserTag names.
For instance, this:
[restrict enable=page]
[area something]
[page aboutus]A link</a>
[/restrict]
will output something like:
[area something]
<a href="http://sam.heins.net/cgi-bin/mfound/aboutus.html">A link</a>
Defaults are important:
interpolate=0
reparse=0
It would defeat the purpose to set interpolate or reparse, but it can be
done.
* Allow parameters for comment tag -- not parsed, but at least tolerated.
* Fix some Interpolate.pm bugs in option display to allow overriding for
simple options too, and to select the widget type for matrix options.
* Add get=1 to setlocale tag. That is sort of counter-intuitive, so I added
a [getlocale] alias for [setlocale get=1].
* Fix makecat instructions on how to set ShareURL if using ~yourname/
style paths, and allow ShareURL to be empty if passed from command line.
Admin UI
--------
* Added German UI images and other text translations.
* Automatically symlink to default en_US UI images for missing images in
other locales.
* Fix problem with IMAGE_DIR variable being inadvertantly changed for store-
front by UI. (Thanks to John Beima for finding this.)
* Fix area and cat reordering problem in layout.html of admin with a patch
from Mark Johnson. Fixes bug #180.
* Finished help pages for the Wizard.
* Make UI_SECURE behave so that global policy can be enforced --
i.e. if @@UI_SECURE@@ = 1 then the setting of __UI_SECURE__ does not matter.
@@UI_SECURE@@ isn't set in the foundation demo, so this doesn't affect
current defaults.
* Move @@UI_STD_HEAD@@ before item bounce checks, so that when the bounce
occurs it will go to the right URL. Because we now use [table-editor],
the positioning is no longer necessary. Should fix Bugzilla bug #217,
though that was marked invalid because we don't support different
SSL/non-SSL domains.
* Fixed missing mv_session_id variables in admin UI form posts, causing
problems when cookies were not used.
* Add database-table based backup capability. Depends on a table "backup"
being available. Looked at CVS, but the repository creation/management
issues are too daunting at this point. Since it is likely that an entire
catalog would want to be in CVS, this partial solution seems wiser.
* More improvements to page editor:
- Policy for editing individual components/page/template can be set in
template as well as globally. Soon we will have per-page and per-user
control.
- A PREAMBLE and POSTAMBLE area is defined, so that code can be run before/
after template regions without being restricted to what you can do with
the page settings.
- preamble and postamble are editable on a per-template basis.
- Preview works on latest version of Mozilla, Netscape 4, and MSIE 5.
* Usertag changes:
- Update read_ui_page to support latest page edit.
- Add diff tag in support of new backup capability.
* New, improved admin UI graphics make you healthy, wealthy, and wise.
* Minor [table-editor] fix affecting special Wizard profiles.
Foundation
----------
* Add supplant=1 to master route. Left in "main" so that it would be
compatible with old checkout forms, shouldn't cause any harm.
* Turn off transactions by default in catalog.cfg -- not needed or wanted for
MySQL and DBM, two most common dbs. Since we have had virtually zero
complaint about transaction atomicity in general, it makes sense to disable
this. If someone wants transactions, they merely need to enable the
TRANSACTION_TABLES variable.
* Add currency_locale field to transactions, resolving Bugzilla enhancement
request #128. This is valuable because if there is an exchange rate
situation, it needs to be known at time of purchase.
* Include options in the emailed receipt and report.
* Fix product description display in receipt.html.
* Add example for configurable spec sheets for products. Can be extended to
track lists for albums, etc.
* Fix template settings for some lesser-used pages.
* Fixed a small typo in the 'cross' component. width_percent was set to 100,
instead of 100%, causing an occasional cross item to look very skinny.
Other
-----
* RPM specfile reworked to build 3 RPMs: core, foundation skeleton, foundation
live demo. Foundation demo made friendly for relocation by RPM build.
* Various cleanups: removal of unneeded variables, files, etc.
------------------------------------------------------------------------------
Interchange 4.7.3 released 2001-06-12.
Core
----
* Add Skipjack and iTransact to list of gateways supported.
* Item options improvements and bugfixes.
- Fix a bug that ignores name= in the display tag when using option_format,
date, imagehelper, or uploadhelper types.
- Fix a bug that prevented changing your selection once you had selected one
(code was only updated if mv_sku was not already set).
* Increase limit of possible keys returned for lookup in DBM.
* Full pedantic HTML 4 compliance. (Ability to change URL data separator.)
* Allow attaching a version number to usertags, for later use in Require and
Suggest directives.
* Fixed bug that caused Interchange to silently fail to start if -q(uiet)
option was given on command line and a Suggest or Require directive was
used in one of the config files.