• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Datamodel now installs for oracle...

    • -12
    • +24
    ./sql/oracle/datasource-package-create.sql
    • -2
    • +1
    ./sql/oracle/datasource-package-drop.sql
    • -8
    • +116
    ./sql/oracle/portal-core-create.sql
    • -15
    • +18
    ./sql/oracle/portal-package-create.sql
Added optional package_id parameter to allow creation of portals in apm callbacks when ad_conn package_id returns the subsite package id.

Made nested tabbed navigation work by writing a special master template for

this mode.

    • -2
    • +7
    ./lib/configure-subsite-integration.tcl
    • -0
    • +126
    ./lib/nested-tabbed-master.adp
    • -0
    • +84
    ./lib/nested-tabbed-master.tcl
    • -0
    • +23
    ./lib/nested-tabbed-master.xql
Oops ... didn't pass all the necessary properties to the theme template

Changed the path of the subsite portlet to point directly to the acs-subsite

template!!

Added sidebar-style layouts, improved a bunch of minor things

    • -0
    • +11
    ./lib/configure-subsite-integration.tcl
    • -0
    • +7
    ./lib/undecorated-element.adp
    • -0
    • +57
    ./lib/layouts/left-right-sidebar.adp
    • -0
    • +30
    ./lib/layouts/left-right-sidebar.tcl
    • -0
    • +46
    ./lib/layouts/left-sidebar.adp
    • -0
    • +30
    ./lib/layouts/left-sidebar.tcl
    • -0
    • +46
    ./lib/layouts/right-sidebar.adp
    • -0
    • +30
    ./lib/layouts/right-sidebar.tcl
  1. … 3 more files in changeset.
Fiddled a bunch of stuff ... and added the portal admin portlet

    • -0
    • +1
    ./lib/portal-admin-portlet.adp
    • -0
    • +10
    ./lib/portal-admin.adp
    • -0
    • +34
    ./lib/portal-admin.tcl
    • -0
    • +21
    ./lib/portal-admin.xql
    • -1
    • +13
    ./sql/postgresql/portal-core-create.sql
Mostly coalesced the various dumb "simple" layout templates into one smart

layout template.

    • -0
    • +36
    ./lib/layouts/simple.adp
    • -0
    • +50
    ./lib/layouts/simple.tcl
Fixing some formatting things ...

Got rid of the horrible layout-elements proc that some bright OF type wrote

to handle a maximum of eight portlets in a column. Getting rid of it simplified

the layout templates, not surprisingly. If nested "list" tags worked I could

get rid of the various simple column layout templates as a matter of fact.

  1. … 3 more files in changeset.
Changed parameter handling a bit ... set_value now takes a parameter id, as

do some other procs. set_value in particular was very dangerous as it would

change the values for ALL parameter entries with the same key.

Fixed up the master/slave stuff and made the wizard configure stuff correctly

according to the new scheme, made some minor changes to the other admin pages.

    • -12
    • +12
    ./lib/configure-configurability.tcl
    • -6
    • +0
    ./lib/configure-subsite-integration.adp
    • -19
    • +59
    ./lib/configure-subsite-integration.tcl
Rewrote the tabbed master to use the user portal theme to decorate application

pages.

Changed "f" default to "0" to fit boolean expression

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).