Up to [Local Repository] / interchange / code / UI_Tag
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.
Big copyright and version number update to prepare for 5.3.2 release.
* Make output_repeated option work.
Header/license fix or Version update+minor formatting fix, or both
* Back out change at 1.14 which broke auto-wizard (removed %overall_opt hash). * Remove unneeded and unwanted ui_data_fields and extended members from the options sent to the table editor.
Make "Cancel" button return to main site index page, not admin index page. (If admin page is wanted, the option can be given as a tag parameter, of course). Patch by Joshua Lavin <joshua@kingdomdesign.com>. Thanks!
Enable overall options when template is passed to the tag.
Commented out 'duplicate' assignment.
Allow row_template for non database items. Commented out some debug statements.
Typo.
* Fix typo (now works with itl conditionals)
* Fix extra parameter passing in wizard.
updated LINUXIA branch to 4.9 sources in order to use it as testbed again
* Major changes to the Interchange output model and UI.
* There will be more commits for menu data.
UI
-------
* Zeald's redesign of the UI layout is almost fully implemented. There
are but a few pages that don't incorporate the new layout.
* Each page can have an entry in mv_metadata, which allows setting
of page titles, display types, menus, and more via database setting.
An editor is provided.
* Virtual UI pages are fully supported. This will allow catalog-specific
UI settings to be transmitted to a catalog with simple database updates.
Each page is simply an entry in mv_metadata.
* The second-level menu can be set either with the page class, as before,
or in the page metadata with $Scratch->{second_menu}.
* There is a third-level menu callable via $Scratch->{third_menu}. There
are few situations where the old "next_line" menu setting causes the
third-level menu -- old menu files should be compatible but where possible
the third-level menu is explicitly specified.
* [table-editor] and [tabbed-display] can now do tabs to the third-level
menus. This provides a very seamless tabbed display that does not
require a page access to change.
* Many changes made to pages to map output to the new template.
* New GPG encryption wizard to make setting up of encryption as close
to painless as I can make it.
* Change to menu editor to incorporate better menu loading.
* New merge_metadata function allows management of new metadata when
updating the UI.
* Many, many minor changes and visual improvements.
* A good deal of documentation about the metadata and table editor
has been written, and those items should be committed soon. Many
of the features are covered.
Core
-----
* Output of the parser is now sent to @Vend::Output, which allows remapping
of the parser output before output by the Server module.
There should be no difference in behavior by default.
Each piece of output is pushed onto an array, and pointers
are maintained as to the name of the output. The default if
the output is not remapped is to go to the $Vend::OutputMap{''} space.
When output is done in non-mapped mode, @Vend::Output is simply
joined and sent.
The behavior diffence comes if you use the Vend::Page::output_cat
routine. It will output the value of a named space.
You can map output with the ITL tag:
[output-to name=foo]
To return to the default space, you use:
[output-to name=""]
To return to the *previous* named space, use:
[output-to]
That is not normally what is wanted, though.
All of the above allows you to map pieces of a page to different named
spaces and unpack them with the [unpack] tag.
This is all perhaps easier illustrated than described -- the illustration
is in the changes to the UI, which map output from the page code to the
template.
* Add general purpose survey and mailed-form creator for the UI. Puts a customer satisfaction survey in the foundation -- probably should provide a mailed feedback example, too. * Make outdated bin/update command work better. Probably should remove this script, though. * Bring "edit items in sequence" into the Vend::Table::Editor intrinsically. No need now to do the munging of item_id_left on the select page, but still compatible with that (to ease problems for users who have done custom select pages). * Add intro_text option for the table editor so that the first page of a wizard can have some stuff. * Revamp auto-wizard to work with the survey table's mv_metadata structure. Provides several standard output options for wizards. (online help is in process).
* Allow a wizard input to come from mv_metadata or any other table that has a similar structure. db_id: survey::the_survey::the_question This will read [data table=survey hash=1 key="the_survey::the_question"] and use its metadata settings to formulate the display. The overall wizard will soon be able to formulate itself based on something similar.
* Change URL generation to streamline and bring one generation routine
for form_link, tag_page, tag_area.
-- form_link() stuff now done in tag_area and Vend::Util::vendURL,
aliased to tag_area
-- tag_page() calls tag_area to get URL
-- [order ..] also calls tag_area
-- Add three options to page/area/order:
no_session eliminates mv_session_id and mv_pc always
link_relative links relative to current page
match_security generates http:// on http:// page and
https:// on https:// page
-- Allow override of Scratch url format options
option Scratch
--------------- -----------------
no_session_id mv_no_session_id
no_count mv_no_count
add_dot_html mv_add_dot_html
add_source mv_add_source
* Make static page generation work again
-- Change call to Vend::SearchObject to proper $::Instance->{SearchObject}
-- check arguments for flypage (will probably need to remove flylist)
-- unhexify() the scan path
* Change auto_wizard tag to use new [table-editor] tag, remove abortive
[table-editor-tpl].
* Passes all regression tests, fully builds standard Foundation static
* Revamp of content edit. I think it is starting to get there..... * "Edit page", "Edit menu", even "edit component" links are inserted when you are logged in as admin. * Complete cleanup of page/template/component parsing code, now perhaps someone besides me could understand it. 8-) * File navigator only now used for pages, not for templates/components, retains context. * Hooks are there for doing an entire edit session then pushing new content all at once. Theoreticially, you could create an entire new site, browse it and test it without the public seeing it, and then push one button to publish it all. I say theoretically because I haven't done it yet, but it should be there soon. * Preview now holds true for browsing catalog. * Now can create and edit pages that have no template wrapper. * Closed all Bugzillas relating to it. -- New pages not creating properly -- Unable to edit in subdirectories -- Templates not written properly * TODO: -- Allow alternate DSN for staging database tables. -- Document this puppy, finally. -- Change templates so that left-side/right-side components interchange, and so that most class=content components can go vertical. -- Vet the new [menu][/menu] component so that left-hand side menu can be directory/location sensitive. -- Build in the "use the index.html page in the current directory as the template" functionality.
* Various fixes to auto_wizard.
Added missing endtag </tr>
* Major changes to the content editing scheme. I finally think it is really usable. * Requires a CSS/Javascript 1.3 compliant browser. Tested on Mozilla 0.9.8, MSIE 5.51, Opera 6.0tp2. All work pretty well; Mozilla is a bit slow, Opera doesn't have CSS widths down. * Page editor has a quasi-visual layout that should be much more intuitive. Support for a "PAGE_PICTURE" file in the templates allows visual links to the editor page. * Components, templates, and pages are now all editable. Template and component editors need to be brought up to speed with the page editor, but work fairly well. * Publishing scripting not yet done. * Added new lib/UI/ContentEditor.pm module which implements this stuff in conjunction with lib/UI/pages/include/*_editor. A bit of a JavaScript dependency nightmare on the generated attribute editors, but I make get this more canned as time goes on. * Lets get this on record -- this content editiing WILL NOT UNDER ANY CIRCUMSTANCES EVER WORK ON NETSCAPE 4. Do not ask, though I know the people who monitor this stuff won't. * Added new "auto_wizard" which builds a wizard from a file like in the example. I think this is pretty cool, if I do say so myself. It will be the method to provide scripted content addition. * More table-editor updates -- added notable option, and all_opts option which allows building the options in Perl and then doing: [table-editor all-opts=`\%opts`] * Look for major updates on the table editor to make it completely templateable. * That's all the comments for now -- try it out!