• last updated 10 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make static pages work with tip 43; bump to 5.2.0d2, upgrade oracle, postgres

    • -0
    • +180
    ./upgrade/upgrade-5.2.0d1-5.2.0d2.sql
  1. … 6 more files in changeset.
Fixed relative path, removed extra single quotes not needed outside plpgsql

function.

merge of 4.6.3b1 to HEAD

  1. … 18 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

  1. … 14 more files in changeset.
Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

  1. … 32 more files in changeset.
Now correctly sets mime type using sp_maybe_create_new_mime_type,

rather than always using text/html.

  1. … 6 more files in changeset.
Upgrade script now properly converts existing filenames from page to

server root relative, for both Oracle and Postgres.

  1. … 1 more file in changeset.
- Now supports multiple static-pages package instances, each with its

own fs_root parameter.

- static_pages.filename column is now relative to server root, not

page root. May still need an upgrade sript to convert old values in

db, see TODO comment in oracle upgrade-4.2a-4.3.sql.

- Added update to singleton_p = 'f' to upgrade scripts, which I left

out before.

- (Did NOT yet change www/page-visit.tcl to support files beneath the

packages/*/www/ directories.)

- Added other misc. comments.

  1. … 6 more files in changeset.
file upgrade-4.2a-4.3.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.2a-4.3.sql
  1. … 1 more file in changeset.
- Name of root folder is now unique in the CR even if have multiple

package instances, for both Oracle and Postgres.

- All Postgres functions now defined with "create or replace".

  1. … 2 more files in changeset.
Moved Postgres functions and bodies out of static-pages-create.sql

into separate files (just like for Oracle) - necessary to more cleanly

support upgrade files. No other changes.

file static-page-pb.sql was initially added on branch oacs-4-6.

Added sp_folder_get_tree_sortkey function to the drop script

Added code to make use of David Walker's wonderfully abusive hack on the

pg_proc table that showed me how to write recursive SQL functions. We now

have good use of the index on tree_sortkey when climbing the tree, woo-hoo!

  1. … 18 more files in changeset.

Changed the representation of tree_sortkeys from "text" to "bit varying".

  1. … 62 more files in changeset.
Removing unused static-pages-sws files from sql/postgresql

Fixed file update error in postgreql. It adds an mtime column, update your

datamodel on PG. Code checks for storage_type to run the correct queries/code

for Oracle/PG.

  1. … 4 more files in changeset.

Removed some misnamed files from file-storage and removed a garbage file

from static-pages.

  1. … 6 more files in changeset.
fixed static_page__delete

More fixes to static_page__grant/revoke permission and static-pagses-procs-postgresql.xql

  1. … 4 more files in changeset.
Fixed commentability on nested folders

more adds

    • -0
    • +846
    ./#static-pages-create.sql#
    • -0
    • +25
    ./static-pages-sc-create.sql
    • -0
    • +7
    ./static-pages-sc-drop.sql
Fixed more bugs in static-pages-create. Drop script now works.

Fixed static_page content type and static_page__new

*** empty log message ***

Fixed static folders. Now stores file path relative to installation root and uses cr_fs_path to get the full file path.

  1. … 4 more files in changeset.
*** empty log message ***

  1. … 7 more files in changeset.
Fixed info file for postgresql and fixed Oracle version

  1. … 8 more files in changeset.
Postgresql ported - still needs modifications to work with static-pages. Oracle not tested and probably broken

  1. … 6 more files in changeset.
Fixed seq/sequence in static-pages-create.sql