Commit 5a85f09e authored by Jim Fulton's avatar Jim Fulton

Moved brians items from to do section.

parent 0c8b4008
Principia Changes Principia Changes
-----------------
Principia 1.4.0 Principia 1.4.0
Bugs Fixed Bugs Fixed
- Undo of transactions for which some records had been removed by - Undo of transactions for which some records had been removed by
a pack caused objects to become unusable. a pack caused objects to become unusable.
- RESPONSE.setCookie failed to set persistent cookies on IE4 browsers. - RESPONSE.setCookie failed to set persistent cookies on IE4 browsers.
- RESPONSE.appendCookie failed to append a cookie as documented. - RESPONSE.appendCookie failed to append a cookie as documented.
- RESPONSE.expireCookie expired cookies according to RFC2109, which - RESPONSE.expireCookie expired cookies according to RFC2109, which
failed with NS and IE browsers, as they dont follow the RFC. failed with NS and IE browsers, as they dont follow the RFC.
Features Added Features Added
- Added integrated Apache web server preconfigured for Principia. - Added integrated Apache web server preconfigured for Principia.
- A database with default content is now created for new installations. - A database with default content is now created for new installations.
- A number of permission names were added/rearranged to - A number of permission names were added/rearranged to
consolidate recent security enhancements. consolidate recent security enhancements.
- Improvided expression (expr) support in DTML: - Improvided expression (expr) support in DTML:
- The special variable, '_', now provides namespace access in - The special variable, '_', now provides namespace access in
addition to providing access to special "builtin" functions. addition to providing access to special "builtin" functions.
'_' and '_vars' are now bound to the same object and _vars '_' and '_vars' are now bound to the same object and _vars
is deprecated. is deprecated.
- Security-aware 'getattr' and 'hasattr' methods have been - Security-aware 'getattr' and 'hasattr' methods have been
added to the special '_' variable. added to the special '_' variable.
- New 'render' method for '_' to render expressions in much the - New 'render' method for '_' to render expressions in much the
same way that the 'name' tag attribute automatically renders same way that the 'name' tag attribute automatically renders
retrieved objects by calling sub-templates and functions. retrieved objects by calling sub-templates and functions.
Principia 1.3.0 Principia 1.3.0
Bugs Fixed Bugs Fixed
- Custom roles could be added to UserFolders, where - Custom roles could be added to UserFolders, where
they would be effectively inaccessible. they would be effectively inaccessible.
Features Added Features Added
- Added domain-based user authentication - Added domain-based user authentication
Principia 1.2.0 Principia 1.2.0
Bugs Fixed Bugs Fixed
- Renaming an object when Cut/Pasting it did not actually - Renaming an object when Cut/Pasting it did not actually
change the id of the moved object. change the id of the moved object.
Features Added Features Added
- Massive security changes - Massive security changes
- All documentation removed from distribution and available - All documentation removed from distribution and available
separately on the web site separately on the web site
- Document editing now has controls for wider/narrower and - Document editing now has controls for wider/narrower and
taller/shorter taller/shorter
- Improved handling of uninstalled products - Improved handling of uninstalled products
Principia 1.1.1 Principia 1.1.1
Features Added Features Added
- Added Cut/Paste, allowing objects to be moved in a - Added Cut/Paste, allowing objects to be moved in a
single operation. single operation.
Principia 1.1.0 Principia 1.1.0
Features Added Features Added
- Version information in Control Panel. - Version information in Control Panel.
- A major optimization of Document objects and other - A major optimization of Document objects and other
document templates. document templates.
- A new DocumentTemplate 'with' tag. - A new DocumentTemplate 'with' tag.
- Improved security for 'in' and 'tree'. Access to sequence and - Improved security for 'in' and 'tree'. Access to sequence and
tree items are checked. Each of these tags has a new tree items are checked. Each of these tags has a new
skip_unautorized flag. If this flag is used, then unauthoized skip_unautorized flag. If this flag is used, then unauthoized
items are skipped. Otherwise, access to unauthorized items items are skipped. Otherwise, access to unauthorized items
causes an Unauthorized exception to be raised. causes an Unauthorized exception to be raised.
- Tree tags have a new branches_expr attribute that allows an - Tree tags have a new branches_expr attribute that allows an
expression to be used to locate sub-branches. expression to be used to locate sub-branches.
For example, to display a tree that shows only folders, a tree For example, to display a tree that shows only folders, a tree
tag like:: tag like::
<!--#tree branches_expr="objectValues(['Folder'])"--> <!--#tree branches_expr="objectValues(['Folder'])"-->
may be used. may be used.
- Acquired acquiring objects can nor acquire from the object - Acquired acquiring objects can nor acquire from the object
they were accessed in, in addition to the object they were they were accessed in, in addition to the object they were
acquired from. acquired from.
- Folders have a new permission, 'Access Contents Information', - Folders have a new permission, 'Access Contents Information',
that exposes the methodsL 'objectIds', 'objectValues', that exposes the methodsL 'objectIds', 'objectValues',
'objectItems','hasProperty', 'propertyIds', 'objectItems','hasProperty', 'propertyIds',
'propertyValues','propertyItems' to DTML. This permission uses 'propertyValues','propertyItems' to DTML. This permission uses
the 'Shared' role by default. the 'Shared' role by default.
- Added anchors to the html generated by the - Added anchors to the html generated by the
tree tag to automatically jump to a newly tree tag to automatically jump to a newly
expanded tree item expanded tree item
- The software release no longer includes license files. - The software release no longer includes license files.
Absent (or corrupted) license files are treated as 30-day Absent (or corrupted) license files are treated as 30-day
evaluations. This means that software may be upgraded evaluations. This means that software may be upgraded
by overlaying a release without worrying about overwriting by overlaying a release without worrying about overwriting
license files. license files.
Bugs fixed Bugs fixed
- Attributes were sometimes obtained from incorrect objects in - Attributes were sometimes obtained from incorrect objects in
tree tags. tree tags.
- Authorization checks could sometimes cause incorrect objects to - Authorization checks could sometimes cause incorrect objects to
be acquired. be acquired.
- The decorations for objects in folder contents lists that show - The decorations for objects in folder contents lists that show
objects that were modified in sessions were sometimes incorrect objects that were modified in sessions were sometimes incorrect
after an undo. after an undo.
- When used from DTML scripts, Image and File constructors did - When used from DTML scripts, Image and File constructors did
not function correctly unless a REQUEST was passed, even though not function correctly unless a REQUEST was passed, even though
REQUEST was supposed to be optional. REQUEST was supposed to be optional.
- Fixed has_role for superuser object - Fixed has_role for superuser object
- DTML var tags failes when rendering Python tuples. - DTML var tags failes when rendering Python tuples.
- Acquired properties were incorrectly unauthorized. - Acquired properties were incorrectly unauthorized.
- Editing of File's failed, due to a file missing from the release. - Editing of File's failed, due to a file missing from the release.
- Editing folder permissions gave strange results (due to a bad - Editing folder permissions gave strange results (due to a bad
internal alotment of operations to permissions). internal alotment of operations to permissions).
- The shared role was not effective for operations defined in - The shared role was not effective for operations defined in
Python, like objectValues. Python, like objectValues.
- When Principia is used with a dedicated web server - When Principia is used with a dedicated web server
(so the top-level folder URL is "/" and SCRIPT_NAME is (so the top-level folder URL is "/" and SCRIPT_NAME is
empty), variables like URLx and BASEx were not computed empty), variables like URLx and BASEx were not computed
correctly. correctly.
- Pasting did not work in sessions in which no changes were - Pasting did not work in sessions in which no changes were
made. made.
Principia 1.0.10 Principia 1.0.10
Bugs Fixed Bugs Fixed
- Added has_role method to User objects - Added has_role method to User objects
Principia 1.0.9 Principia 1.0.9
Bugs Fixed Bugs Fixed
- Calling objectValues from DTML with arguments would fail - Calling objectValues from DTML with arguments would fail
Features Added Features Added
- REMOTE_USER based authorization added - REMOTE_USER based authorization added
Principia 1.0.8 Principia 1.0.8
Bugs Fixed Bugs Fixed
- The Paste feature was not accessible. - The Paste feature was not accessible.
- File objects were not accessible. - File objects were not accessible.
- Cookies would fail for MSIE 3 browsers if no expiration - Cookies would fail for MSIE 3 browsers if no expiration
was given for the cookie. was given for the cookie.
Features Added Features Added
- A new DTML function special variable, _getattr, for getting an - A new DTML function special variable, _getattr, for getting an
attribute using a computed name. (This works like Python's attribute using a computed name. (This works like Python's
getattr function, except that it enforces DTML security rules.) getattr function, except that it enforces DTML security rules.)
- A new namespace attribute of the DTML special variable, - A new namespace attribute of the DTML special variable,
'_'. '_'.
This can be used with the 'in' tag to introduce new This can be used with the 'in' tag to introduce new
variables in a section of DTML:: variables in a section of DTML::
<!--#in expr="_.namespace(x=1, y=2)"--> <!--#in expr="_.namespace(x=1, y=2)"-->
<!--#var x--> <!--#var x-->
<!--#var y--> <!--#var y-->
<!--#/in--> <!--#/in-->
Principia 1.0.7 Principia 1.0.7
Bugs Fixed Bugs Fixed
- Installers for both unix and NT now require that the superuser - Installers for both unix and NT now require that the superuser
name and password be supplied during the Principia installation. name and password be supplied during the Principia installation.
- Fixed a bug that could cause the __roles__ of a copied object - Fixed a bug that could cause the __roles__ of a copied object
to revert to defaults after pasting a copy of it. to revert to defaults after pasting a copy of it.
- Made permissions settings a bit more tolerant of adding operations to - Made permissions settings a bit more tolerant of adding operations to
permissions. permissions.
- Checked in some changes that should have been in 1.0.6. The - Checked in some changes that should have been in 1.0.6. The
missing changes cause the total absense of session modification missing changes cause the total absense of session modification
decorations in 1.0.6. Now, a red diamond (work-zone) symbol is decorations in 1.0.6. Now, a red diamond (work-zone) symbol is
shown to the right of objects in contents lists for objects shown to the right of objects in contents lists for objects
modified in the current session, and a red diamond with a lock modified in the current session, and a red diamond with a lock
is shown next to objects modified in other sessions. is shown next to objects modified in other sessions.
- DTML tags that used the expr attribute in combination with flag - DTML tags that used the expr attribute in combination with flag
attributes, as in '<!--#in expr="whatever" mapping-->' were attributes, as in '<!--#in expr="whatever" mapping-->' were
parsed incorrectly. parsed incorrectly.
- In DTML expressions, expressions like: x.y[i], x.y[:i], and - In DTML expressions, expressions like: x.y[i], x.y[:i], and
x.y[i:] were not compiled correctly. x.y[i:] were not compiled correctly.
- The newline_to_br formatting attribute in var tags was broken. - The newline_to_br formatting attribute in var tags was broken.
- Removed the Last-Modified feature for images and icons that was - Removed the Last-Modified feature for images and icons that was
introduced in 1.0.6 - NS Communicator apparently has trouble introduced in 1.0.6 - NS Communicator apparently has trouble
handling 304 responses according to the HTTP spec ;( handling 304 responses according to the HTTP spec ;(
Features Added Features Added
- The "View" view for Images now includes view tabs. - The "View" view for Images now includes view tabs.
- DTML expr expressions can now include newlines. - DTML expr expressions can now include newlines.
Newlines and carriage returns are now converted to spaces. Newlines and carriage returns are now converted to spaces.
So:: So::
<!--#var expr="1+ <!--#var expr="1+
2"--> 2"-->
is equivalent to something like:: is equivalent to something like::
<!--#var expr="1+ 2"--> <!--#var expr="1+ 2"-->
- Added 'set' method to REQUESTs, so that you can effectively set - Added 'set' method to REQUESTs, so that you can effectively set
variables in DTML. This is especially useful when invoking variables in DTML. This is especially useful when invoking
objects that acquire and get data from the REQUEST. objects that acquire and get data from the REQUEST.
For example:: For example::
<!--#var expr="REQUEST.set('foo',1)"--> <!--#var expr="REQUEST.set('foo',1)"-->
<!--#var foo--> <!--#var foo-->
Principia 1.0.6 Principia 1.0.6
Bugs Fixed Bugs Fixed
- Objects, especially Documents, were gaining spurious - Objects, especially Documents, were gaining spurious
session locks. Because these locks were spurious, they were not session locks. Because these locks were spurious, they were not
cleared when a session was saved or discarded. These made cleared when a session was saved or discarded. These made
editing of the objects impossible except in a session. editing of the objects impossible except in a session.
- The contents of the 'doc' directory have been cleaned up - The contents of the 'doc' directory have been cleaned up
dramatically. The 'FAQ.txt' file has many more listings, the dramatically. The 'FAQ.txt' file has many more listings, the
'INSTALL.txt' and 'PLATFORMS.txt' have been brought up to date, 'INSTALL.txt' and 'PLATFORMS.txt' have been brought up to date,
and the Principia Manager's Guide and DTML Manual are there in and the Principia Manager's Guide and DTML Manual are there in
HTML, PDF, and PS formats. HTML, PDF, and PS formats.
Features Added Features Added
- Image and File objects, as well as system defined images - Image and File objects, as well as system defined images
such as object icons now return a Last-Modified http such as object icons now return a Last-Modified http
header. This makes it more likely that those images will header. This makes it more likely that those images will
be cached by web clients. be cached by web clients.
- In addition to the red diamond that marks objects - In addition to the red diamond that marks objects
in contents lists that have changed in the current session, in contents lists that have changed in the current session,
we now mark objects that have changed in a session other than we now mark objects that have changed in a session other than
the current session (or in any session if not currently working the current session (or in any session if not currently working
in a session). The new mark is a red diamond together with a in a session). The new mark is a red diamond together with a
closed lock. The idea being converyed is that the object has closed lock. The idea being converyed is that the object has
been modified in a session and that it is locked and cannot be been modified in a session and that it is locked and cannot be
modified. modified.
- Added internal hook to better coordinate transactions between - Added internal hook to better coordinate transactions between
Principia and foreign transaction managers such as those Principia and foreign transaction managers such as those
for RDBMS systems accessed by Aqueduct. for RDBMS systems accessed by Aqueduct.
- Two new tags are available in DTML: - Two new tags are available in DTML:
<!--#comment--> <!--#comment-->
This text is not included This text is not included
<!--#/comment--> <!--#/comment-->
<!--#raise StupidError--> <!--#raise StupidError-->
Text of error value, which may use other tags. Text of error value, which may use other tags.
<!--#/raise--> <!--#/raise-->
Principia 1.0.5 Principia 1.0.5
Bugs Fixed Bugs Fixed
- Rotor objects would give unexpected results when decoding - Rotor objects would give unexpected results when decoding
licenses using unprintable keys on SGI machines. licenses using unprintable keys on SGI machines.
Principia 1.0.4 Principia 1.0.4
Bugs Fixed Bugs Fixed
- Certain important database storage structures were not properly - Certain important database storage structures were not properly
saved. saved.
Principia 1.0.3 Principia 1.0.3
New Features New Features
- Proxy roles for Documents were added. - Proxy roles for Documents were added.
Principia 1.0.2 Principia 1.0.2
Bugs Fixed Bugs Fixed
- Dynamically-linked extension modules didn't work on Linux. - Dynamically-linked extension modules didn't work on Linux.
- Manager roles weren't being set on a number of "add" methods. - Manager roles weren't being set on a number of "add" methods.
- The garbage-collection phase of pack failed. - The garbage-collection phase of pack failed.
- Evaluation distributions lost the ability to create folders and - Evaluation distributions lost the ability to create folders and
standard objects after the process was restarted. standard objects after the process was restarted.
New Features New Features
- Several general optimizations to accomodate large file uploads. - Several general optimizations to accomodate large file uploads.
- The size of File and Image objects is shown in their edit - The size of File and Image objects is shown in their edit
screens. screens.
- File and Image objects are more tolerant of missing content-type - File and Image objects are more tolerant of missing content-type
information during upload. information during upload.
- File and Image objects use a new lazy-load scheme which keeps - File and Image objects use a new lazy-load scheme which keeps
their data out of memory until it is absolutely needed. their data out of memory until it is absolutely needed.
- Products can provide permissions settings for Folder. For - Products can provide permissions settings for Folder. For
example, a Product that provides Foo objects, may and probably example, a Product that provides Foo objects, may and probably
should cause a "Add Foo Objects" permission setting to be should cause a "Add Foo Objects" permission setting to be
defined for folders. defined for folders.
Principia 1.0.1 Principia 1.0.1
Bugs Fixed Bugs Fixed
- Netscape publishing was broken. - Netscape publishing was broken.
- expr="objectValues('Document')" caused an error. - expr="objectValues('Document')" caused an error.
- The DTML 'in' tag variable, 'sequence-query', did not conform - The DTML 'in' tag variable, 'sequence-query', did not conform
to the DTML documentation and caused extra (harmless) to the DTML documentation and caused extra (harmless)
punctuation in URLs. punctuation in URLs.
- The DTML 'tree' tag didn't correctly fetch objects named in - The DTML 'tree' tag didn't correctly fetch objects named in
'header', 'footer', and 'leaves' tag attributes from the current 'header', 'footer', and 'leaves' tag attributes from the current
branch of a hierarchy. branch of a hierarchy.
New Features New Features
- Added size and modification-time display to file and image - Added size and modification-time display to file and image
properties form. properties form.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment