Changes from Gallery 2.1-RC-2a to Gallery 2.1 official release
==============================================================
2006/03/09
wider sidebar for item/site/user admin
themes/hybrid/theme.css
2006/03/11
New version of Siriux theme from Nico Kaiser.
Improved appearance in admin interface; group-by-year and prev/next imagemap
are now configurable theme settings.
themes/siriux/theme.css
themes/siriux/theme.inc
themes/siriux/templates/admin.tpl
themes/siriux/templates/album.tpl
themes/siriux/templates/error.tpl
themes/siriux/templates/photo.tpl
themes/siriux/templates/progressbar.tpl
2006/03/11
update reference to old docs/EMBEDDING to point to codex page
embed.php
2006/03/12
set content-type to html / utf8
lib/tools/phpunit/index.php
2006/03/13
Show left/right arrows when imagemap feature in use.
Also 2 xhtml fixes in imagemap.
themes/siriux/theme.css
themes/siriux/templates/photo.tpl
2006/03/14
Rounding out the iconpack for 2.1
modules/icons/iconpacks/paularmstrongdesigns/icons.css
2006/03/14
Iconpack updates:
- Removed new slideshow.gif; use existing icon for slideshow applet
for its site admin icon.
- Add new icons to icons-rtl.css too.
- Cleanup in both css files: remove some dups, better support of -album
and -photo suffix, better grouping/sorting.
modules/icons/iconpacks/paularmstrongdesigns/icons-rtl.css
modules/icons/iconpacks/paularmstrongdesigns/icons.css
2006/03/14
Rename _setupMockAdapter to the more appropriate _setupAdapterWithMocks
modules/core/test/phpunit/TemplateAdapterTest.class
2006/03/14
added a missing $ret check and fixed some indenting
modules/core/ItemEditAlbum.inc
2006/03/14
fix for 1448158 checkpoint to close lock files for batch operations
(tested by the bug reporter)
modules/core/ItemEditAlbum.inc
modules/core/classes/BuildDerivativesTask.class
2006/03/15
Don't escape ? in RewriteRule
modules/rewrite/templates/Httpdini.tpl
2006/03/15
Enable {g->theme url="..."} template calls to use local overrides if they
are available. So if you do {g->theme url="theme.css"} it will look for
module/yourtheme/local/theme.css and fall back on module/yourtheme/theme.css
modules/core/classes/GalleryTemplateAdapter.class
modules/core/test/phpunit/TemplateAdapterTest.class
2006/03/15
Postgres generator was missing not-null check for <add><column>.
Fixed this and rebuilt all sql: only sql generated from
A_GalleryAccessMap_1.0 was affected.
lib/tools/bin/generate-sql.php
modules/core/classes/GalleryStorage/schema.tpl
modules/rss/classes/Maps.inc
2006/03/15
add siriux update in what's new
README.html
2006/03/15
small change to splitHtml regexp so it can work if body contains some
javascript with <body in it (like document.write calls); there are still
cases that can break the regexp though.. avoid head/body tags in inline
javascript.
modules/core/classes/GalleryTheme.class
2006/03/16
make g2embeddiscoverytools embed.php path discovery work for multisites.
thanks to michiel1981 for the fix.
embed.php
2006/03/17
Group names were not translated.. fixed this, and changed the names to
strings already used in core module. Copied all available translations
for these from core to members po files.
modules/members/AdminMembers.inc
2006/03/17
Regenerate schema.tpl to pick up Valiant's change to make PG set the default value in the alter statement that adds the column.
modules/core/classes/GalleryStorage/schema.tpl
2006/03/17
oops, put not-null after set-default for Postgres <add><column>
lib/tools/bin/generate-sql.php
modules/core/classes/GalleryStorage/schema.tpl
2006/03/17
pg fix: default value must be set in the very alter table call that adds a new column, else only new rows get the default value and the existing ones are still null.
lib/tools/bin/generate-sql.php
2006/03/17
translate names shown in theme list
modules/core/AdminThemes.inc
2006/03/17
update required core/module api versions
lib/tools/creator/module.inc.tpl
2006/03/18
Add Afrikaans (af_ZA) to language list
modules/core/classes/GalleryTranslator.class
2006/03/18
Update security text; make a Security section
README.html
2006/03/18
relativeRequireOnce->requireOnce!
modules/migrate/Redirect.inc
2006/03/18
translate theme names in the heading at the top of each theme tab,
and in status messages for activate/deactivate, etc.
modules/core/AdminThemes.inc
modules/core/test/phpunit/AdminThemesControllerTest.class
2006/03/18
translate title at top of page (this string is already in the po files)
install/templates/Multisite.html
2006/03/19
Split <add><index> into its own <add> in T_InstallerTest_2.xml.
This fixes sql generation for oracle (did not change generated sql
for other dbs).. added comment in generate-sql that the logic for
oracle currently depends on add/remove index being in their own
<add> or <remove>, not combined with other columns/keys.
lib/tools/bin/generate-sql.php
modules/core/classes/GalleryStorage/schema.tpl
modules/core/classes/GalleryStorage/xml-src/T_InstallerTest_2.xml
2006/03/19
embedUri = /foo/bar/ (no file part) wasn't handled correctly in initNavigation().
thanks to kiz_0987 for reporting
modules/core/classes/GalleryUrlGenerator.class
modules/core/test/phpunit/UrlGeneratorTest.class
2006/03/19
remove redundant case 'ADD' and case 'REMOVE' for oracle.. these were old
and incomplete, and not used due to newer case statements above them.
also fixed DROP TABLE for oracle to check for drop of Schema table like
every other db type does.. this fixed T_InstallerTest_4 section for oracle
in core schema.tpl.
lib/tools/bin/generate-sql.php
modules/core/classes/GalleryStorage/schema.tpl
2006/03/20
Oracle doesn't have a BIT type.. change this back to INTEGER.
(broken in CVS since sql generator refactor on 26-Sep-2005)
lib/tools/bin/generate-sql.php
modules/core/classes/GalleryStorage/schema.tpl
2006/03/20
add return url in view cart link
modules/cart/templates/blocks/ShowCart.tpl
2006/03/20
applied (and modified slightly) a patch from Nico to support newitems module
themes/siriux/theme.css
themes/siriux/templates/album.tpl
2006/03/20
don't use & for url in email
modules/register/templates/AdminEmail.tpl
2006/03/20
fix to allow upgrade from G2.0 Alpha-4, haha
modules/comment/module.inc
2006/03/20
ignore errors from selectAdminUser prior to core upgrade.
some core APIs in this function may fail when upgrading from old enough
gallery versions.
upgrade/steps/UpgradeCoreModuleStep.class
2006/03/20
properly set language for test so 2 tests pass when run in en_GB or a
couple other locales that are in the test data.
modules/core/test/phpunit/RepositoryIndexTest.class
modules/core/test/phpunit/RepositoryTest.class
2006/03/20
some fixes for upgrade from 2.0 Alpha-4
- fix sql in case 0.9.5 that I broken a while back when backporting
changes for a later upgrade
- only merge userId/groupId into userOrGroupId for upgrade from 0.9.6
or later, as older upgrades will do this in the step mentioned above
- don't require mkdir of data.gallery.plugins dir to succeed, as that
path is now in gallery2 dir, not g2data, and may not be writable
- only try to populate isBroken for GalleryDerivativeImage entities
to avoid errors from RandomHighlightDerivativeImage (this entity type
no longer exists)
modules/core/CoreModuleExtras.inc
2006/03/21
fix MULTI_INSERT syntax
modules/core/classes/GalleryStorage/OracleStorage.class
2006/03/21
fix in parsing of schema.tpl files to ensure all trailing semicolons are
parsed off before executing statements (this helps oracle; other dbs seem
to ignore these).
this change can be applied for all db types, but we're very close to 2.1
now so only applies to oracle for now. update this code after 2.1.
modules/core/classes/GalleryStorage/GalleryStorageExtras.class
2006/03/22
Help oracle avoid unit test failures for '' vs null.
(write '' to a column in oracle and read it back --> null)
_normalizeValue in OracleStorage allows changing null to ''
when reading fields for any entity.
pluginhelper change affects all db types, but we don't really
write null value into any plugin parameters so it's ok to cast
to string here.
modules/core/classes/GalleryStorage/OracleStorage.class
modules/core/classes/helpers/GalleryPluginHelper_simple.class
2006/03/22
add display:inline-block for IE on a couple divs to resolve rendering issues
themes/floatrix/theme.css
themes/floatrix/templates/album.tpl
2006/03/22
bump plugin versions for Gallery 2.1 release
modules/albumselect/module.inc
modules/archiveupload/module.inc
modules/captcha/module.inc
modules/cart/module.inc
modules/colorpack/module.inc
modules/comment/module.inc
modules/core/CoreModuleExtras.inc
modules/core/module.inc
modules/customfield/module.inc
modules/dcraw/module.inc
modules/debug/module.inc
modules/exif/module.inc
modules/ffmpeg/module.inc
modules/fotokasten/module.inc
modules/gd/module.inc
modules/getid3/module.inc
modules/hidden/module.inc
modules/icons/module.inc
modules/imageblock/module.inc
modules/imageframe/module.inc
modules/imagemagick/module.inc
modules/linkitem/module.inc
modules/members/module.inc
modules/migrate/module.inc
modules/mime/module.inc
modules/multilang/module.inc
modules/netpbm/module.inc
modules/newitems/module.inc
modules/nokiaupload/module.inc
modules/panorama/module.inc
modules/password/module.inc
modules/permalinks/module.inc
modules/photoaccess/module.inc
modules/picasa/module.inc
modules/publishxp/module.inc
modules/quotas/module.inc
modules/randomhighlight/module.inc
modules/rating/module.inc
modules/rearrange/module.inc
modules/register/module.inc
modules/remote/module.inc
modules/reupload/module.inc
modules/rewrite/RewriteModuleExtras.inc
modules/rewrite/module.inc
modules/rss/module.inc
modules/search/module.inc
modules/shutterfly/module.inc
modules/sitemap/module.inc
modules/sizelimit/module.inc
modules/slideshow/module.inc
modules/slideshowapplet/module.inc
modules/squarethumb/module.inc
modules/thumbnail/module.inc
modules/thumbpage/module.inc
modules/uploadapplet/module.inc
modules/useralbum/module.inc
modules/watermark/module.inc
modules/webcam/module.inc
modules/zipcart/module.inc
themes/classic/theme.inc
themes/floatrix/theme.inc
themes/hybrid/theme.inc
themes/matrix/theme.inc
themes/siriux/theme.inc
themes/slider/theme.inc
themes/tile/theme.inc
2006/03/22
change ydsf to dropshadow to match change that was already made in css
themes/floatrix/templates/theme.tpl
2006/03/22
i commented out array_fill but unit test still complains.. use array-fill in comment
modules/core/classes/GalleryStorage/OracleStorage.class
2006/03/22
oops, array_fill is php 4.2+
modules/core/classes/GalleryStorage/OracleStorage.class
2006/03/22
s/release candidate/official release/
better color for link in a .important box
README.html
2006/03/23
add precision setting for round() calls.
defaults to one (was omitted==zero); can override with query param.
lib/tools/reports/localization.php
lib/tools/reports/localization/main_detail.inc
lib/tools/reports/localization/main_summary.inc
lib/tools/reports/localization/plugin_rowdata.inc
2006/03/23
synchronize with core.DownloadItem:
- add isAllowedInEmbedOnly==true, shouldSaveSession==false
- add malicious url check
modules/watermark/DownloadItem.inc