Tim Almdal
b07bc1af08
Allow the administrator to set the number of tags to display in the cloud via the advanced settings. Fixes ticket #1649 .
2011-04-22 16:15:56 -07:00
Bharat Mediratta
05e031d403
Follow on fix for #1645 to update the installer.sql
2011-04-22 11:47:38 -07:00
Chad Kieffer
3bce5d00ee
Renamed apple_touch_url to apple_touch_icon_url.
2011-04-22 12:50:21 -04:00
Chad Kieffer
4a9b45c9c3
Created apple-touch-icon and added to wind and admin_wind themes.
2011-04-22 12:37:28 -04:00
Bharat Mediratta
c12c43a415
A little more work on kandsten's fix for IPv6 support in
...
10785b1e82 :
- some style cleanup
- bump the module version in module.info
- rebuild the installer.sql
2011-03-27 11:38:37 -07:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
f657a05d7e
Get rid of the "organize needs rest" message when upgrading to the
...
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-18 10:08:38 -08:00
Bharat Mediratta
df703fbd5c
Update installer for #1612 and #1605 .
2011-01-17 20:06:54 -08:00
Joe7
0020f87d6a
Fixed paging for albums ordered by random.
...
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-16 16:58:58 -08:00
Bharat Mediratta
7d07190af1
Turn off session.use_trans_sid -- that feature attempts to inject session ids
...
into generated URLs and forms, but it doesn't interoperate will with Gallery's
Ajax code.
2011-01-08 16:58:40 -08:00
Bharat Mediratta
e1e1e860cd
Use the code version when installing a module that has no installer,
...
instead of hardcoding version 1. Fixes #1589 .
2011-01-08 16:51:25 -08:00
Bharat Mediratta
4fc5d50eb8
Bump the organize module to version 3 and get rid of the code that
...
makes sure that it depends on the REST module.
2011-01-08 12:59:12 -08:00
Bharat Mediratta
d17ba036ee
Don't enable the REST module by default ( fixes #1585 ).
...
Bump the info module per changes for #662 .
2011-01-07 20:44:45 -08:00
Bharat Mediratta
d74aad072d
Some small follow on fixes for #1559 and #1568 :
...
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-03 12:25:51 -08:00
Bharat Mediratta
8263cb023f
Updated installer for the bump of the gallery module to v43. Fixes #1568 .
2011-01-03 11:14:58 -08:00
Joe7
70ac063c55
case fix
2011-01-03 11:08:28 -08:00
Joe7
b26eff7f23
Bugfix: input validation validates description up to length of 65535 chars, 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.
2011-01-03 11:08:21 -08:00
Bharat Mediratta
affbc28876
Update gallery module to v42 to reflect key changes in the cache
...
table in 440597356d for #1559 .
2010-12-31 22:29:00 -08:00
Joe7
440597356d
Added changes to installer and upgrader scripts to support INSERT ON DUPLICATE KEY UPDATE SYNTAX in cache lib
2010-12-28 23:14:04 -08:00
Bharat Mediratta
6ac82bc6b7
Detect safe_mode and abort the install. Fixes #1534 .
2010-12-16 11:33:41 -08:00
Bharat Mediratta
45c63f4d11
Use mt_rand() instead of rand() since it provides better portability.
...
Fixes #1527 .
2010-12-15 12:48:56 -08:00
Bharat Mediratta
97a5656296
Check for the PHP Ctype extension. Fixes ticket #1474 .
2010-11-08 11:09:06 -08:00
Bharat Mediratta
6decb90eaf
Oops, forgot to update installer to match change in
...
f84782d620
2010-10-02 17:15:33 -07:00
Bharat Mediratta
3e1743b21f
Add a module variable containing extra paths to search for binaries.
...
Fixes ticket #1384 .
2010-09-16 20:43:48 -07:00
Bharat Mediratta
5e316f78c6
Restrict viewing user profile pages to registered users only, but
...
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-16 15:17:00 -07:00
Bharat Mediratta
4a94182971
Stop trying to implode a string. Fixes ticket #1337 .
2010-09-06 11:37:36 -07:00
Bharat Mediratta
23b566e592
One more adjustment for ticket #1216 . The packaging process forces
...
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-09-01 23:52:19 -07:00
Bharat Mediratta
78c590ebae
Don't use HTTP_HOST to get the hostname. We force that to
...
"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-31 21:07:43 -07:00
Tim Almdal
35e5d51e28
Update the install sql to correspond to the change to fix ticket #1216
2010-08-31 20:59:19 -07:00
Bharat Mediratta
4c8445852d
Bump gallery module to v36 and add a favicon_url variable, which we
...
expose in Admin > Appearance > Theme Options and defaults to
lib/images/favicon.ico.
Thix fixes ticket #1312 .
2010-08-29 16:27:32 -07:00
Bharat Mediratta
a08cd0db4e
Add a "visible_title_length" variable that defaults to 15 and use that
...
as the max title length when we do title truncation in the wind theme.
Bump the gallery module to 35.
2010-08-28 21:58:28 -07:00
Bharat Mediratta
922b810c56
Oops, forgot to create an install() function and set the version of
...
the organize module to 2 in 8fb56abf03
2010-08-28 21:25:09 -07:00
Bharat Mediratta
da9e03003a
Style and text cleanups to tighten up the page and make it a little
...
easier to understand.
2010-08-22 21:21:26 -07:00
Bharat Mediratta
50e3230d79
Add a key on access_caches.item_id. Without this, the Fix task query
...
to find missing access_caches is very slow. Bump Gallery module to v34.
2010-08-14 15:10:07 -07:00
Bharat Mediratta
b6a377bc82
Update install.sql for gallery module version 3. This was left out of
...
779d91cca0 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-14 15:08:38 -07:00
Bharat Mediratta
d3a161ca1b
Add a "weight" column to the module table. This allows us to specify
...
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-06 10:41:38 -07:00
Bharat Mediratta
9b1e3eb177
Updated for gallery module v31.
2010-08-01 21:08:03 -07:00
Tim Almdal
ba19c03aeb
Update the installer/install.sql properly.
2010-06-18 16:52:05 -07:00
Tim Almdal
84c8d1c79a
Fix ticket #1155 . For compatibility with gallery2 increase the size of the tag name field from 64 bytes to 128 bytes.
2010-06-18 06:51:02 -07:00
Bharat Mediratta
ae6af2f9b6
Install the rest module by default.
2010-06-15 16:01:41 -07:00
Bharat Mediratta
b02ab4153d
New dump generated by new mysqladmin has a slightly different format:
...
mysqladmin Ver 8.42 Distrib 5.1.47, for debian-linux-gnu on i486
Also, updated for comment module v2.
2010-06-15 15:56:45 -07:00
Bharat Mediratta
c31e9f1188
Add a check for short_open_tag
2010-06-06 19:06:24 -07:00
Bharat Mediratta
a63b0e8e8b
Whitespace fixes
2010-06-06 19:04:15 -07:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Tim Almdal
7d2885fe94
Revert "Password value on installer must be hidden"
...
This reverts commit b4922f4d17 .
2010-02-26 09:59:49 -08:00
fpaterno
b4922f4d17
Password value on installer must be hidden
2010-02-26 22:19:18 +08:00
Andy Staudacher
6ce0132842
Fix for ticket #1027 : Add index on cache key column.
...
(and fix the packager to truncate the cache table before packaging)
2010-02-22 00:30:54 -08:00
Andy Staudacher
667d65aea4
Fix for ticket 901: Wrap Gallery version string into bdo tag to override the BiDi algorithm. Also, properly marking the "Powere by" string for translation.
...
See: http://www.w3.org/International/tutorials/bidi-xhtml/#Slide0420
2010-02-14 18:33:38 -08:00
Andy Staudacher
824087416a
Avoid PHP warnings when the DB host string has no port.
2010-02-14 17:07:31 -08:00
Andy Staudacher
1b60078bf7
Refresh installer code
2010-02-09 07:58:56 -08:00