• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved default theme and layout definitions to Tcl package API calls.

Yet more along the path to a configuration wizard, which works though is not

quite complete!

Saving partial work on the portal configuration wizard ...

    • -0
    • +4
    ./lib/add-applications.adp
    • -0
    • +66
    ./lib/add-applications.tcl
    • -0
    • +19
    ./lib/add-applications.xql
    • -0
    • +3
    ./lib/configure-configurability.adp
    • -0
    • +36
    ./lib/configure-configurability.tcl
    • -0
    • +5
    ./lib/configure-extra-user-pages.adp
    • -0
    • +30
    ./lib/configure-extra-user-pages.tcl
    • -0
    • +1
    ./lib/configure-finish.adp
    • -0
    • +11
    ./lib/configure-finish.tcl
    • -0
    • +15
    ./lib/configure-help.adp
    • -0
    • +10
    ./lib/configure-help.tcl
    • -0
    • +8
    ./lib/configure-private-portals.adp
    • -0
    • +19
    ./lib/configure-private-portals.tcl
    • -0
    • +50
    ./lib/portal-configure.adp
  1. … 24 more files in changeset.
Working on configuration wizard

Added parameter that controls whether to use the navbar or subnavbar css

classes when rendering our navigation bar.

These were redundant, in the wrong directory

Made new element name default to the portal datasource's pretty name, rather

than internal name.

Changed the "simple" theme to be a "standard OpenACS theme", by which I mean

it uses the portal, portal-body and portal-header .CSS classes which are

defined in our standard .CSS file. This gives portlets a look that's identical

to the non-portalled standard OpenACS index page.

Took advantage of Lars's improvement to the template engine (includes are

wrapped in "catch" now so a broken include doesn't break the entire page).

Got rid of the gross configuration page stuffed in the Tcl lib (!) and

turned it into a proper template, modified the UI a bit while doing so,

and made almost all of it work (though there's a few bits to finish up).

    • -0
    • +52
    ./lib/page-configure.adp
    • -0
    • +29
    ./lib/page-configure.tcl
    • -0
    • +30
    ./lib/page-configure.xql
    • -0
    • +41
    ./lib/region-configure.adp
    • -0
    • +79
    ./lib/region-configure.tcl
    • -0
    • +48
    ./lib/region-configure.xql
    • -4
    • +2
    ./sql/postgresql/portal-core-create.sql
  1. … 7 more files in changeset.
Worked on config page, making it (hopefully) somewhat more useful, as well

as simplifying the code somewhat. Soon it can become a template rather

than HTML-from-Tcl.

Fixed the truly lame but no longer broken portal edit page.

    • -15
    • +12
    ./www/place-element-other-page.adp
A little more incremental progress towards a usable admin UI

First cut at admin UI is working, you can now build portal pages for a

subsite using it though it is very primitive.

    • -4
    • +4
    ./sql/postgresql/portal-package-create.sql
Portal is no longer a singleton package ...

Added first bit of admin UI for the simplified installation of portlets and

their associated applications.

    • -5
    • +21
    ./sql/postgresql/portal-core-create.sql
    • -15
    • +16
    ./sql/postgresql/portal-package-create.sql
    • -0
    • +38
    ./www/admin/add-applications-2.tcl
    • -0
    • +31
    ./www/admin/add-applications-2.xql
    • -0
    • +11
    ./www/admin/add-applications.adp
    • -0
    • +40
    ./www/admin/add-applications.tcl
    • -0
    • +19
    ./www/admin/add-applications.xql
    • -0
    • +3
    ./www/admin/configure.adp
    • -0
    • +12
    ./www/admin/index.xql
More incremental progress.

    • -1
    • +27
    ./sql/postgresql/portal-core-create.sql
The usual incremental progress ...

    • -11
    • +1
    ./sql/postgresql/portal-core-create.sql
Moved rendering stuff to proper templates rather than generate them in

tcl procs.

    • -0
    • +9
    ./www/render-styles/individual/render-page.adp
    • -0
    • +35
    ./www/render-styles/individual/render-page.tcl
Moved a bunch of silly logic embedded in individual portlets into the portal

package itself. For instance, it is silly to have portal::element::render

call the portal show proc that then calls portal::show_proc_helper to do all

the work!!! Portal has everything it needs to call the portlet template all

by itself. Etc ad nauseum.

    • -1
    • +70
    ./sql/postgresql/portal-core-create.sql
Fixed some boneheaded problems with my last commit.

Fixed del vs. delete issues to make the oracle version work with 5.0 and

made the PG names the same so I can use package_exec_plsql ...

    • -4
    • +4
    ./sql/oracle/datasource-package-create.sql
    • -5
    • +5
    ./sql/oracle/layout-package-create.sql
    • -6
    • +6
    ./sql/oracle/portal-package-create.sql
    • -3
    • +3
    ./sql/postgresql/layout-package-create.sql
    • -3
    • +3
    ./sql/postgresql/page-package-create.sql
    • -4
    • +4
    ./sql/postgresql/portal-package-create.sql
    • -3
    • +3
    ./sql/postgresql/theme-package-create.sql
Fixed a variety of things ...

Removed references to service contract sql files

Moved service contract stuff to Tcl API and otherwise just incremental

progress.

    • -145
    • +0
    ./sql/oracle/datasource-sc-create.sql
    • -194
    • +0
    ./sql/oracle/datasource-sc-drop.sql
    • -148
    • +0
    ./sql/postgresql/datasource-sc-create.sql
    • -111
    • +0
    ./sql/postgresql/datasource-sc-drop.sql
    • -0
    • +85
    ./tcl/apm-callback-procs.tcl
More incremental progress, shading portlets works, hiding and restoring as

admin works ...

    • -0
    • +36
    ./www/configure-element.tcl
Futzing and fiddling, moving graphics into the resources directory, fixing

typos, etc.

  1. … 9 more files in changeset.
Moved portal resources to the resources directory ...

    • binary
    ./www/resources/themes/deco-theme/shade.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-bleft.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-bottom.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-bright.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-left.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-right.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-tleft.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-top.gif
    • binary
    ./www/resources/themes/deco-theme/tbl-tright.gif
    • binary
    ./www/resources/themes/deco-theme/unshade.gif
    • binary
    ./www/resources/themes/deco-theme/x.gif
    • binary
    ./www/resources/themes/simple-theme/shade.gif
    • binary
    ./www/resources/themes/simple-theme/unshade.gif
  1. … 25 more files in changeset.
Hey ... it works!

More progress towards getting this stuff working ...