|
From: Chris W. <la...@us...> - 2001-11-28 06:01:46
|
Update of /cvsroot/openinteract/OpenInteract
In directory usw-pr-cvs1:/tmp/cvs-serv1713
Modified Files:
Changes
Log Message:
latest changes
Index: Changes
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/Changes,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** Changes 2001/11/20 04:11:21 1.82
--- Changes 2001/11/28 06:01:44 1.83
***************
*** 5,15 ****
Overall:
! - Lots of configuration file changes. You can now use a .ini-style
configuration file instead of the perl data structure file. (Hint:
one is a lot easier to read.) The perl-structure config file was also
modified quite a bit, and many files throughout OI modified to
accommodate the changes. The changes included backward compatibility
! where possible, so it should be possible to use an old-style
! configuration file with the newer releases.
- Added 'object_activity' package to browse object activity
--- 5,16 ----
Overall:
! - Lots of configuration file changes. (PLEASE read the 'UPGRADE' file
! to ensure you get all the changes.) You can now use a .ini-style
configuration file instead of the perl data structure file. (Hint:
one is a lot easier to read.) The perl-structure config file was also
modified quite a bit, and many files throughout OI modified to
accommodate the changes. The changes included backward compatibility
! where possible, so it should be transparent to use an old-style
! (perl) configuration file with the newer releases.
- Added 'object_activity' package to browse object activity
***************
*** 17,27 ****
tendencies you might have...
! - Package 'base_page' now replaces 'static_page'. The new package
allows you to edit files in the filesystem and keep the metadata
! (title, authors, boxes, etc.) in the database. You can also use it to
! manage non-HTML files (PDFs, Excel spreadsheets, tarballs, etc.) You
! can still keep your editable content in the database, but it's now in
! a separate table, and there are no separate fields for 'content' and
! 'script'. A migration script is provided.
- Modified the Apache startup procedures so we have a single, non
--- 18,30 ----
tendencies you might have...
! - The new package 'base_page' replaces 'static_page'. The new package
allows you to edit files in the filesystem and keep the metadata
! (title, authors, boxes, etc.) in the database while keeping the
! content elsewhere. Not only can you can also use it to
! manage non-HTML files (PDFs, Excel spreadsheets, tarballs, etc.), but
! you can also use its aliasing and URL-mapping features to link to or
! bring in content from other locations on your site or anywhere on the
! web. (The URL-mapping is still crude, but it works.) A migration
! script is provided.
- Modified the Apache startup procedures so we have a single, non
***************
*** 30,33 ****
--- 33,39 ----
details.
+ - Get rid of the monster @INC, re-creating a temporary library
+ directory on every server restart.
+
Individual:
***************
*** 96,100 ****
- Updated the simple example package to version 0.09. This version
! works with OI 1.30 and includes the new template widgets. Thanks to
Steven Devijver <st...@de...> for prompting its revision.
--- 102,106 ----
- Updated the simple example package to version 0.09. This version
! works with OI 1.30+ and includes the new template widgets. Thanks to
Steven Devijver <st...@de...> for prompting its revision.
***************
*** 104,107 ****
--- 110,115 ----
method for backward compatibility
+ - Set the content-length in send_static_file()
+
* OpenInteract/ApacheStartup.pm:
***************
*** 109,113 ****
the ChildInit handler rather than the server handler, since we were
in some cases asking for a database handle in the server and never
! letting it go. (This can be bad) See 'UPGRADE' for simple but
necessary changes to your Apache config.
--- 117,121 ----
the ChildInit handler rather than the server handler, since we were
in some cases asking for a database handle in the server and never
! letting it go. (This can be bad.) See 'UPGRADE' for simple but
necessary changes to your Apache config.
***************
*** 116,120 ****
PerlSetVar in the configuration file. (Encountered some nastiness
on Solaris under 5.005_03/1.3.22/1.26 and the PerlSetVar items not
! being there.)
* OpenInteract/Auth.pm:
--- 124,131 ----
PerlSetVar in the configuration file. (Encountered some nastiness
on Solaris under 5.005_03/1.3.22/1.26 and the PerlSetVar items not
! being there. Whatever.)
!
! - Tell OI::Startup to copy all the relevant package files on
! *server* startup, since it modifies @INC
* OpenInteract/Auth.pm:
***************
*** 124,128 ****
being a member of the 'site admin' group. You can subclass this
class, override the method and specify the class in the server
! configuration to provide your own criteria.
- Broke the 'user()' method down into pieces so it can be
--- 135,140 ----
being a member of the 'site admin' group. You can subclass this
class, override the method and specify the class in the server
! configuration to provide your own criteria for who is an
! administrator.
- Broke the 'user()' method down into pieces so it can be
***************
*** 150,153 ****
--- 162,176 ----
add/clarify some docs.
+ * OpenInteract/Package.pm:
+
+ - Files copied from a base_installation package to the website
+ check the contents of a file in the directory (.no_overwrite)
+ before doing so. This way your /index.html file won't get
+ overwritten with each new base_page upgrade.
+
+ - Add copy_modules() method, which copies all the modules from both
+ a website pkg directory and its base pkg directory to a temporary
+ library location.
+
* OpenInteract/SPOPS.pm:
***************
*** 165,168 ****
--- 188,203 ----
'field_discover' key to 'yes' in your object configuration.
+ * OpenInteract/Startup.pm:
+
+ - Add create_temp_lib() method to create a temporary library
+ directory, asking each of the packages to copy their relevant
+ module files there.
+
+ - Remove code that relied on putting all the package directories in
+ @INC, and add an extra call to setup_static_environment() to copy
+ the modules for all packages in a website to a temporary library,
+ which is also put in @INC. (For Apache the call to copy is in
+ OI::ApacheStartup)
+
* OpenInteract/Template/Plugin.pm:
***************
*** 191,194 ****
--- 226,234 ----
version is now pulled from OpenInteract.pm
+ - When creating a new website, mark in .no_overwrite the
+ html/index.html file so it won't be overwritten by package
+ upgrades. Also mark the template/base_main and template/base_simple
+ files.
+
* template/base_(main|simple):
***************
*** 204,229 ****
site.
Packages changed:
! OpenInteract 1.30 -> 1.35
----------------------------
! base: 1.62 -> 1.63
! base_box: 0.33 -> 0.37
! base_component: 1.30 -> 1.30
! base_error: 1.32 -> 1.34
! base_group: 1.26 -> 1.26
! base_page: n/a -> 0.26
! base_security: 1.51 -> 1.51
! base_template: 1.27 -> 1.27
! base_theme: 1.27 -> 1.28
! base_user: 1.37 -> 1.40
! lookup: 0.15 -> 0.17
! results_manage: 0.05 -> 0.05
! system_doc: 1.25 -> 1.27
! classified: 1.28 -> 1.32
! full_text: 1.27 -> 1.30
! news: 1.33 -> 1.33
! static_page: 1.51 -> 1.52
--- 244,274 ----
site.
+ * template/*:
+ - Other widget template files had changes too minor to note here.
+
+
Packages changed:
! OpenInteract 1.30 -> 1.35
----------------------------
! base: 1.62 -> 1.63
! base_box: 0.33 -> 0.41
! base_component: 1.30 -> 1.30
! base_error: 1.32 -> 1.37
! base_group: 1.26 -> 1.27
! base_page: n/a -> 0.38
! base_security: 1.51 -> 1.53
! base_template: 1.27 -> 1.27
! base_theme: 1.27 -> 1.29
! base_user: 1.37 -> 1.44
! lookup: 0.15 -> 0.18
! object_activity: n/a -> 0.10
! results_manage: 0.05 -> 0.06
! system_doc: 1.25 -> 1.27
! classified: 1.28 -> 1.32
! full_text: 1.27 -> 1.30
! news: 1.33 -> 1.33
! static_page: 1.51 -> 1.52
|