• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed a couple of missing package_id checks

Got the tabbed master to work ...

    • -281
    • +0
    ./tcl/subsite-integration-procs.tcl
Added master templates for plain subsite and tabbed subsite navigation, though

only the plain subsite navigation works thus far.

    • -0
    • +7
    ./lib/configure-subsite-integration.adp
    • -0
    • +41
    ./lib/configure-subsite-integration.tcl
    • -0
    • +46
    ./lib/plain-master.adp
    • -0
    • +44
    ./lib/plain-master.tcl
    • -0
    • +23
    ./lib/plain-master.xql
    • -0
    • +1
    ./lib/render-portal.adp
    • -0
    • +21
    ./lib/render-portal.tcl
    • -0
    • +107
    ./lib/tabbed-master.adp
    • -0
    • +60
    ./lib/tabbed-master.tcl
    • -0
    • +23
    ./lib/tabbed-master.xql
    • -0
    • +281
    ./tcl/subsite-integration-procs.tcl
    • -0
    • +3
    ./tcl/subsite-integration-procs.xql
  1. … 4 more files in changeset.
Simplified the blank theme...

    • -9
    • +12
    ./lib/configure-configurability.tcl
    • -30
    • +0
    ./lib/configure-extra-user-pages.tcl
Made the "all-in-one" style work for the admin page.

    • -0
    • +9
    ./lib/render-styles/all-in-one/render-page.adp
    • -0
    • +35
    ./lib/render-styles/all-in-one/render-page.tcl
Added and removed some forgotten files ...

    • -0
    • +114
    ./www/portal-configure-2.tcl
    • -0
    • +5
    ./www/portal-configure.adp
    • -0
    • +17
    ./www/portal-configure.tcl
    • -0
    • +34
    ./www/portal-configure.xql
Moved a bunch of stuff into lib, where it belongs. Removed several unused

junk files.

    • -0
    • +47
    ./lib/layouts/header3.adp
    • -0
    • +25
    ./lib/layouts/header3.tcl
    • -0
    • +46
    ./lib/layouts/simple-element.adp
    • -0
    • +40
    ./lib/layouts/simple1.adp
    • -0
    • +42
    ./lib/layouts/simple1.tcl
    • -0
    • +56
    ./lib/layouts/simple2.adp
    • -0
    • +45
    ./lib/layouts/simple2.tcl
    • -0
    • +71
    ./lib/layouts/simple3.adp
    • -0
    • +48
    ./lib/layouts/simple3.tcl
    • -0
    • +35
    ./lib/render-styles/all-in-one/render-element.adp
    • -0
    • +34
    ./lib/render-styles/all-in-one/render-element.tcl
    • -0
    • +32
    ./lib/render-styles/individual/render-element.adp
    • -0
    • +32
    ./lib/render-styles/individual/render-element.tcl
    • -0
    • +9
    ./lib/render-styles/individual/render-page.adp
  1. … 48 more files in changeset.
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 ...