Up to [Local Repository] / interchange / code / Filter
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix incorrect license in headers GPL v2 -> GPL v2 "or later". Update copyrights.
Fix incorrect license in headers GPL v2 -> GPL v2 "or later". Update copyrights.
- code/Filter/qb_safe.filter: remove 3 lines of comment - code/SystemTag/*, code/UserTag/*: apply HTML sanitization patches by Toni Mueller (support@oeko.net). Thanks! I've only applied patches to the 4 out of 7 files he sent us - those that I thought were simple to verify for correctness. Should you see any problem with the commit, I'm willing to fix the problems. In the following days, I will review/fix/commit the rest as appropriate.
Big copyright and version number update to prepare for 5.3.2 release.
* Add Stefan's suggested Visibility modification for CodeDef options.
By default the visibility is public.
It wants something like:
codedef:JavaScriptCheck
Will return all public Descriptions.
codedef:JavaScriptCheck:private -- return public and private.
codedef:JavaScriptCheck:private,admin -- return public,private,admin
If Visibility is "with Foo::Bar", it checks to see if $Foo::Bar::VERSION
is true and returns the option if it is.
* Create routine to automatically select Routine for certain type of
CodeDef. Currently there are many separate methods of doing that.
This one prefers local over global, and is called with:
codedef_routine($type, $name);
For instance, codedef_routine('OrderCheck', 'multistate') will
return $Vend::Cfg->{CodeDef}{OrderCheck}{multistate} if it exists,
otherwise returns $Global::CodeDef->{OrderCheck}{multistate}.
* Modify Form.pm to use this for JavaScriptCheck. More will be
added.
* Modify filters to add private Visibility for non-mainstream filters.
* Modify meta editor to use this.
* Add descriptions to filters. Some descriptions for trivial, obsolete, or very complex filters were left commented out to not clutter a filter list with garbage. * Fix codedef:foo options callout to not be case sensitive. * Sort codedef:foo return lists by label.
* The great filter breakout! * All filters are now CodeDef definitions in code/Filter/*. * Besides plain move from Interpolate.pm, changes made to Filter/* include: * Adding/fixing header/license/cvsid line (all files) * Indenting (where needed) * Lowercasing output html (where needed) * Changes to Interpolate.pm: * Removed whole %Filter = ( ... ) I tested everything with the new eg/pcode script, and tried re-starting Interchange and running few filters on test page. Seems OK.
* Quickbooks updates:
- Updated documentation.
- Installation fixes.
- Rewrite of the IIF generation query page:
- Can query by order number range, date range, or "since last generation"
- Allow specification of QuickBooks invoice number to be used
and incremented during IIF generation.
- Filters out deleted orders.
- IIF Generation changes:
- Use the country name instead of the country code.
- Some filter updates (the period is not as dangerous as it looks).
* Quickbooks updates:
- Documentation built from updated Interchange + Quickbooks HOWTO.
- Major change to IIF generation routine:
- IIF files are generated on-demand via the Admin UI
- In-route method still available
- New "Generate new IIF files" and "download IIF files"
- New "qb_safe" filter, to cater to Quickbooks sensative side.
- New default values (like defaulting to cash receipt instead of invoice)
- Payment and Shipping methods are recorded in corresponding Quickbooks fields.
- Allow customization of the transaction account (new default is "Checking")
- Optionally set the transaction class (e.g., to track online sales in a
separate class from walk-in sales, and report on them differently).
- Optional Item Prefixes (e.g. if all items are accounting in Quickbooks under
a given category.
- Optionally get the tax agency from the "state" table, falling back to the
configured default tax agency.
- Bug fixes