summaryrefslogtreecommitdiff
path: root/installer/install.sql
AgeCommit message (Collapse)Author
2011-01-18Get rid of the "organize needs rest" message when upgrading to theBharat Mediratta
new organize; it may be hanging around from a prior version. Reinstate the installer for this. Bump organize module to v4. Follow-on for #1584.
2011-01-17Update installer for #1612 and #1605.Bharat Mediratta
2011-01-16Fixed paging for albums ordered by random.Joe7
MySql has problems when comparing float values against -seemingly same- float input, see http://dev.mysql.com/doc/refman/5.0/en/problems-with-float.html for details. Fixes #1610
2011-01-08Use the code version when installing a module that has no installer,Bharat Mediratta
instead of hardcoding version 1. Fixes #1589.
2011-01-08Bump the organize module to version 3 and get rid of the code thatBharat Mediratta
makes sure that it depends on the REST module.
2011-01-07Don't enable the REST module by default (fixes #1585).Bharat Mediratta
Bump the info module per changes for #662.
2011-01-03Some small follow on fixes for #1559 and #1568:Bharat Mediratta
1) Make database changes in gallery_installer::install() instead of in installer/install.ql 2) Bump the version number in modules/gallery/module.info
2011-01-03Updated installer for the bump of the gallery module to v43. Fixes #1568.Bharat Mediratta
2011-01-03case fixJoe7
2011-01-03Bugfix: input validation validates description up to length of 65535 chars, ↵Joe7
but DB trimmed data over 2048 chars. Converting column into TEXT type. Note: The effective maximum length of a VARCHAR in MySQL 5.0.3 and later is subject to the maximum row size (65,535 bytes, which is shared among all columns) and the character set used. In contrast to CHAR, VARCHAR values are stored as a one-byte or two-byte length prefix plus data. The length prefix indicates the number of bytes in the value. A column uses one length byte if values require no more than 255 bytes, two length bytes if values may require more than 255 bytes.
2010-12-31Update gallery module to v42 to reflect key changes in the cacheBharat Mediratta
table in 440597356d8719bdc6733d2d86aaef5f86d05a1e for #1559.
2010-12-28Added changes to installer and upgrader scripts to support INSERT ON ↵Joe7
DUPLICATE KEY UPDATE SYNTAX in cache lib
2010-10-02Oops, forgot to update installer to match change inBharat Mediratta
f84782d6200efb424731c93bd029c7cbeb9f3dad
2010-09-16Add a module variable containing extra paths to search for binaries.Bharat Mediratta
Fixes ticket #1384.
2010-09-16Restrict viewing user profile pages to registered users only, butBharat Mediratta
provide a "show_user_profiles_to" setting to allow admins to open it up to everybody (choices there are "registered_users", "admin_users" or "everybody"). Fixes ticket #1378.
2010-09-01One more adjustment for ticket #1216. The packaging process forcesBharat Mediratta
the default email address for admin to be unknown@unknown.com and when that happens the gallery_event::user_updated() event listener fires and sets the default values. This is hard to work around, so let's just roll with it and use unknown@unknown.com as our default placeholder. So now, if an admin sets their email address and the current values are unknown@unknown.com we adopt the admin's email address for the site's mail_from/reply_to fields.
2010-08-31Don't use HTTP_HOST to get the hostname. We force that toBharat Mediratta
"example.com" when we are using the CLI so we'll get inconsistent behavior between CLI and the web interface. For now hardcode it to be example.com so that it's clear. But to do it right we need an after_install step which actually fixes it up. And probably an after_upgrade step as well.
2010-08-31Update the install sql to correspond to the change to fix ticket #1216Tim Almdal
2010-08-29Bump gallery module to v36 and add a favicon_url variable, which weBharat Mediratta
expose in Admin > Appearance > Theme Options and defaults to lib/images/favicon.ico. Thix fixes ticket #1312.
2010-08-28Add a "visible_title_length" variable that defaults to 15 and use thatBharat Mediratta
as the max title length when we do title truncation in the wind theme. Bump the gallery module to 35.
2010-08-28Oops, forgot to create an install() function and set the version ofBharat Mediratta
the organize module to 2 in 8fb56abf034dd1f5c561e7af12bf6e097a3de6f6
2010-08-14Add a key on access_caches.item_id. Without this, the Fix task queryBharat Mediratta
to find missing access_caches is very slow. Bump Gallery module to v34.
2010-08-14Update install.sql for gallery module version 3. This was left out ofBharat Mediratta
779d91cca01567a09b894e9fff4dfa32cb82d3d9 but it doesn't cause any real damage, it just means that anybody who got the code in the intervening window and did an initial install required an upgrade as well.
2010-08-06Add a "weight" column to the module table. This allows us to specifyBharat Mediratta
module ordering, which is currently being done in the moduleorder contrib module. By default, the weight will be the same as the id of the row which means that new modules will get added at the end of the list. This is covered in the upgrade case as well. The one gotcha is that we need to make sure that we don't try to sort by the weight column if the gallery module version is < 32, which is something we haven't done before.
2010-08-01Updated for gallery module v31.Bharat Mediratta
2010-06-18Update the installer/install.sql properly.Tim Almdal
2010-06-18Fix ticket #1155. For compatibility with gallery2 increase the size of the ↵Tim Almdal
tag name field from 64 bytes to 128 bytes.
2010-06-15Install the rest module by default.Bharat Mediratta
2010-06-15New dump generated by new mysqladmin has a slightly different format:Bharat Mediratta
mysqladmin Ver 8.42 Distrib 5.1.47, for debian-linux-gnu on i486 Also, updated for comment module v2.
2010-02-22Fix for ticket #1027: Add index on cache key column.Andy Staudacher
(and fix the packager to truncate the cache table before packaging)
2010-02-14Fix for ticket 901: Wrap Gallery version string into bdo tag to override the ↵Andy Staudacher
BiDi algorithm. Also, properly marking the "Powere by" string for translation. See: http://www.w3.org/International/tutorials/bidi-xhtml/#Slide0420
2010-02-09Refresh installer codeAndy Staudacher
2010-02-07Fix installer code for version 27, and introduce new module variable in ↵Andy Staudacher
version 28 as a preparation for admin area compartmentalization.
2010-01-30Update install.sql -- gallery version jumps from 23 to 25 due to a mistakeBharat Mediratta
in the version 24 upgrade code. Update packager to serialize files so that we can serialize the new .htaccess files Update init_var.php to include the newly serialized .htaccess files. Fixes ticket #587.
2010-01-30Gallery module version 23, with the failed_logins table.Bharat Mediratta
2010-01-29Oops, somebody (me?) forgot to update the gallery module versionBharat Mediratta
number in gallery_installer::install() so the install.sql was out of sync.
2010-01-28Updated for model based validation. We must now provide a placeholderBharat Mediratta
email address for the admin user, since one is required for all users.
2010-01-11Fixes ticket #671.Tim Almdal
In the graphics_rules table height and width set the maximum height and width values and should be equal. Initially, the height on the resize target rule was less than the height, which artificially constrained images in portrait mode. **Note"" this fix requires an upgrade to version 22. All the resizes will be flagged dirty.
2010-01-01Don't enable the rest module by default yet; we should make sure thatBharat Mediratta
we do a more thorough security audit on it first.
2010-01-01Change the installer so that the rest module is automatically installed in ↵Tim Almdal
new installations.
2009-12-05Use NULL instead of actual values in the vars table, so that varBharat Mediratta
tweaks result in smaller diffs.
2009-12-05Update the gallery module to version 21 in the installer.Bharat Mediratta
2009-11-19Revert "Update the installer to reflect the new location of the theme ↵Tim Almdal
related options." This reverts commit 678e22996d73b96833c48d94751344a6bd8f2899.
2009-11-18Update the installer to reflect the new location of the theme related options.Tim Almdal
2009-11-13Standardize the name of the blocks.Tim Almdal
2009-11-13Undo using the md5 hash of the module name and block_id, so duplicate blocks ↵Tim Almdal
are no allowed again
2009-11-12Re-generate the install.sql so that the keys of the block lists are an md5 ↵Tim Almdal
hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.
2009-11-12Change the keys of the block arrays in block manager to be a md5 hash of ↵Tim Almdal
module_name:block_id. This allows easier lookup of blocks to remove when modules are being deactivated. Change the module activation/deactivation to call (activate|deactivate)_blocks instead of just the sidebar blocks. This insures that when a module is deactivated any admin dashboard blocks are removed as well the site sideboard blocks. Fix for ticket #876.
2009-10-26Update the install.sql to reflect the current version number(16) and the ↵Tim Almdal
refactoring of the user module into an idnetity provider
2009-10-23Poor man's merge. Note to self, git pull before working. Next pound the ↵Chad Kieffer
steps to merge into your head.