Index: openacs-4/packages/photo-album/sql/oracle/permissions.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/sql/oracle/permissions.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/photo-album/sql/oracle/permissions.sql 12 Jun 2003 06:55:44 -0000 1.2 +++ openacs-4/packages/photo-album/sql/oracle/permissions.sql 26 May 2017 18:05:36 -0000 1.3 @@ -10,7 +10,7 @@ -- -- Added custom create privileges so that creation -- of folders, albums, and photos can be controlled --- independantly. Allows one user to control folder +-- independently. Allows one user to control folder -- structure while other users add albums and photos begin Index: openacs-4/packages/photo-album/sql/postgresql/permissions.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/sql/postgresql/permissions.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/photo-album/sql/postgresql/permissions.sql 12 Jun 2003 06:55:45 -0000 1.2 +++ openacs-4/packages/photo-album/sql/postgresql/permissions.sql 26 May 2017 18:05:36 -0000 1.3 @@ -10,7 +10,7 @@ -- -- Added custom create privileges so that creation -- of folders, albums, and photos can be controlled --- independantly. Allows one user to control folder +-- independently. Allows one user to control folder -- structure while other users add albums and photos select acs_privilege__create_privilege('pa_create_album', null, null); Index: openacs-4/packages/photo-album/tcl/photo-album-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/tcl/photo-album-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/photo-album/tcl/photo-album-procs.tcl 28 Jun 2015 12:56:09 -0000 1.22 +++ openacs-4/packages/photo-album/tcl/photo-album-procs.tcl 26 May 2017 18:05:36 -0000 1.23 @@ -196,7 +196,7 @@ {-ext ""} id } { - constructs a filename for an image based on id and extention. + constructs a filename for an image based on id and extension. } { if {$ext ne "" && ![regexp {^\.} $ext foo]} { #add back the dot @@ -284,9 +284,10 @@ } { set root_folder [pa_get_root_folder $package_id] - # I check for the case that item is the root_folder first because this happens on the index page. - # Since index page accessed often, and the root_folder is within the package this avoids an unecessary - # trip to the database on a commonly accessed page. + # I check for the case that item is the root_folder first because + # this happens on the index page. Since index page accessed + # often, and the root_folder is within the package this avoids an + # unnecessary trip to the database on a commonly accessed page. if {$content_type eq "content_folder" && $item_id eq $root_folder} { return "t" Index: openacs-4/packages/photo-album/www/album-move.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/album-move.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/photo-album/www/album-move.tcl 7 Aug 2014 07:59:50 -0000 1.7 +++ openacs-4/packages/photo-album/www/album-move.tcl 26 May 2017 18:05:37 -0000 1.8 @@ -35,7 +35,7 @@ -datatype integer -widget hidden -# options query retreive all folders in package that user can add an album to +# options query retrieve all folders in package that user can add an album to set root_folder_id [pa_get_root_folder] template::element create move_album new_folder_id -label "[_ photo-album._Choose]" \ Index: openacs-4/packages/photo-album/www/base-photo.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/base-photo.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/photo-album/www/base-photo.tcl 7 Aug 2014 07:59:50 -0000 1.8 +++ openacs-4/packages/photo-album/www/base-photo.tcl 26 May 2017 18:05:37 -0000 1.9 @@ -3,7 +3,7 @@ ad_page_contract { Display page for base sized image. - Only accessable if parameter set for package + Only accessible if parameter set for package @author Tom Baginski (bags@arsdigita.com) @creation-date 2/1/2000 Index: openacs-4/packages/photo-album/www/folder-move.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/folder-move.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/photo-album/www/folder-move.tcl 7 Aug 2014 07:59:50 -0000 1.7 +++ openacs-4/packages/photo-album/www/folder-move.tcl 26 May 2017 18:05:37 -0000 1.8 @@ -42,7 +42,7 @@ -datatype integer -widget hidden -# options query retreive all folders in package that user can add an folder to +# options query retrieve all folders in package that user can add an folder to set root_folder_id [pa_get_root_folder] template::element create move_folder new_folder_id -label "[_ photo-album._Choose_1]" \ Index: openacs-4/packages/photo-album/www/doc/design.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/doc/design.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/photo-album/www/doc/design.adp 12 Sep 2016 06:08:01 -0000 1.3 +++ openacs-4/packages/photo-album/www/doc/design.adp 26 May 2017 18:05:37 -0000 1.4 @@ -144,7 +144,7 @@ relationship between the two content_items. This decision was made so the the number of image sizes per photo could be changed with minor code revision and no datamodel changes. This flexibility -comes at a cost, the queries to retreive and serve the appropriate +comes at a cost, the queries to retrieve and serve the appropriate version of a photo need to join in several tables to do so. There also is not an easy way to store the relation between different versions of the photo-attribute info such as caption and the @@ -211,7 +211,7 @@
pa_image.delete deletes a pa_image and all revisions Also schedules the binary -files for deletion from the file-sytem.
+files for deletion from the file-system.procedure delete ( item_id in cr_items.item_id%TYPE @@ -372,7 +372,7 @@ the name corresponding to item_id will be used.
pa_make_file_name {-assert:boolean} {-ext ""} id Constructs a filename -for an image based on id and extention. Files are created into a 3 +for an image based on id and extension. Files are created into a 3 tier directory structure: year/xx/zz/ for a photo_id 1234xxzz.jpg Same file would return year/xx/zz/1234xxzz.jpg. If -assert specified, proc creates directory and any parent directories if @@ -459,7 +459,7 @@ viewer image. The pa_images are created by the server whenever a pa_photo is added or edited.
The root folder for each package instance is stored in pa_root_folder_package_map. All folders, albums, photos, and images -within a package instance are decendants of the root folder for +within a package instance are descendants of the root folder for that package.
Image files scheduled for deletion are stored in pa_files_to_delete. A nightly web-server process deletes the files in this table and then removes them from the table. This table Index: openacs-4/packages/photo-album/www/doc/design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/doc/design.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/photo-album/www/doc/design.html 10 Jun 2003 10:07:46 -0000 1.1 +++ openacs-4/packages/photo-album/www/doc/design.html 26 May 2017 18:05:37 -0000 1.2 @@ -362,7 +362,7 @@ relationship between the two content_items. This decision was made so the the number of image sizes per photo could be changed with minor code revision and no datamodel changes. This flexibility comes at a - cost, the queries to retreive and serve the appropriate version of + cost, the queries to retrieve and serve the appropriate version of a photo need to join in several tables to do so. There also is not an easy way to store the relation between different versions of the photo-attribute info such as caption and the versions of the binaries.
pa_image.delete deletes a pa_image and all revisions - Also schedules the binary files for deletion from the file-sytem.@@ -711,7 +711,7 @@ CLASS="computeroutput" >pa_make_file_name {-assert:boolean} {-ext ""} id - Constructs a filename for an image based on id and extention. + Constructs a filename for an image based on id and extension. Files are created into a 3 tier directory structure: year/xx/zz/ for a photo_id 1234xxzz.jpg Same file would return year/xx/zz/1234xxzz.jpg. If -assert specified, proc creates directory and any parent directories if necessary @@ -910,7 +910,7 @@ >The root folder for each package instance is stored in pa_root_folder_package_map. All folders, albums, photos, and images within a package instance are - decendants of the root folder for that package.
Image files scheduled for deletion are stored in pa_files_to_delete. A nightly web-server process deletes the files in this table and then removes Index: openacs-4/packages/photo-album/www/doc/dev-guide.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/doc/dev-guide.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/photo-album/www/doc/dev-guide.adp 12 Sep 2016 06:08:01 -0000 1.4 +++ openacs-4/packages/photo-album/www/doc/dev-guide.adp 26 May 2017 18:05:37 -0000 1.5 @@ -213,7 +213,7 @@
VI.A.40.10 System specified attributes. Certain attributes will be specified and maintained by the system. These attributes will include: uploading_user, user_filename, -original_file_size, original_width, orginal_height, orginal_path, +original_file_size, original_width, original_height, original_path, thumb_width, thumb_height, thumb_file_size, thumb_path, view_width, view_height, view_file_size, view_path, caption, upload_date. Other attributes will be determined during the design process.
VI.A.40.20 Administrator specified attributes. @@ -295,7 +295,7 @@ sorting.
VI.C.30 Admin (exact permission required, to be determined) can add/consolidate hierarchy levels.
VI.C.40 Admin (exact permission required, to be determined) can move items around in hierarchy.
VI.C.50 Admin (exact permission required, to be -determined) can resrict the creation of new heirarchy levels.
Changes from 4.0.1 beta to 4.0.1 final.
Removed photo level premission checks. Load +
Removed photo level permission checks. Load testing showed that allowing different photos within the same album to have different permissions made the queries to get the photos in a large album very slow. I changed the application logic so that @@ -24,8 +24,8 @@ created from the viewer sized image rather from the base sized image. Creating a small image from a medium-sized image is much faster than creating a small image from a large image and does not -noticably change the image quality.
Minor revisions to plsql packages to improve -compatability with acs-content-repository.
Added more detailed documentation in both html +noticeably change the image quality.
Minor revisions to plsql packages to improve +compatibility with acs-content-repository.
Added more detailed documentation in both html and docbook format.
Fixed name conflicts with photo album lite.
Besides upgrading the rest of your acs intall to 4.1.1, you will need to mannually run photo-album/sql/plsql-packages.sql through Index: openacs-4/packages/photo-album/www/doc/release-notes.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/doc/release-notes.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/photo-album/www/doc/release-notes.html 10 Jun 2003 10:07:46 -0000 1.1 +++ openacs-4/packages/photo-album/www/doc/release-notes.html 26 May 2017 18:05:37 -0000 1.2 @@ -80,7 +80,7 @@ >
Removed photo level premission checks. Load testing showed +>Removed photo level permission checks. Load testing showed that allowing different photos within the same album to have different permissions made the queries to get the photos in a large album very slow. I changed the application logic so that all photos in album have same permission @@ -124,13 +124,13 @@ >When uploading a photo, the thumbnail is now created from the viewer sized image rather from the base sized image. Creating a small image from a medium-sized image is much faster than creating a small image from a - large image and does not noticably change the image quality. + large image and does not noticeably change the image quality.
Minor revisions to plsql packages to improve compatability with acs-content-repository. +>Minor revisions to plsql packages to improve compatibility with acs-content-repository.