Bharat Mediratta
fcbb4eef23
Merge branch 'time-zone-improvements' of https://github.com/alindeman/gallery3 into alindeman-time-zone-improvements
2011-04-22 16:44:12 -07:00
Andy Lindeman
6f916e49d5
Allow timezone to be configurable
...
* Fixes #1637
* New advanced setting gallery/timezone
* Default setting comes from PHP
2011-04-22 18:15:17 -04:00
Tim Almdal
b10e6f6671
Merge branch 'master' of git@github.com:gallery/gallery3
2011-04-22 15:02:38 -07:00
Tim Almdal
d7e2990152
Insure that the number of items for a page is greater than zero. Fixes ticket 1644.
2011-04-22 15:02:30 -07:00
Bharat Mediratta
526859d960
Do simple transliteration when converting filenames to slugs, but check
...
to see if the transliteration module is available and use a more complex
transliteration if possible. Fixes #1668 .
2011-04-22 13:57:46 -07:00
Chad Kieffer
7deed86545
Removed incomplete jquery carousel code
2011-04-22 12:54:25 -04:00
Chad Kieffer
3bce5d00ee
Renamed apple_touch_url to apple_touch_icon_url.
2011-04-22 12:50:21 -04:00
Chad Kieffer
fbf02970e1
Merge branch 'master' of git://github.com/gallery/gallery3
2011-04-22 12:38:10 -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
deb7db6486
Clear the site status for missing themes when we view this page -- if
...
something goes wrong we'll just add it back again anyway. Follow-on
for #1655 .
2011-04-22 09:29:25 -07:00
Bharat Mediratta
11703b24ff
Detect if the users theme is missing (or missing a theme.info) and in
...
that case fall back to the wind theme. Fixes #1655 .
2011-04-22 09:28:19 -07:00
Bharat Mediratta
08a6df2274
Normally Router::find_uri() strips off the url suffix for us, but when
...
we make the theme::$is_admin determination we're working off of the
PATH_INFO so we need to strip it off manually. Fixes #1631 .
2011-04-21 15:50:53 -07:00
Bharat Mediratta
5bc0da3652
Create before_combine and after_combine events to allow modules and themes to
...
interact with the combine list ahead of time, and to be able to do things like
minification after it's combined. Fixes #1653 .
2011-04-21 14:33:08 -07:00
Chris Kelly
1af4f99108
Add missing CSS tag so tables get aligned. Fixes #1678 .
2011-04-21 14:01:02 -07:00
Bharat Mediratta
9fe2056106
Use window.location = "url" instead of window.location.reload() so
...
that we pop back up to the top of the page so that you see the status
message. Fixes #1676 .
2011-04-21 13:59:03 -07:00
Bharat Mediratta
916b7543d1
Gracefully degrade in the case where the .build_number file is
...
missing. Fixes #1673 .
2011-04-10 13:46:28 -07:00
Andy Lindeman
1d0f4b7a43
[ Fixes #1574 ] Render the login form in the same way in every action
...
This makes sure the "Forgot Your Password?" link appears when the HTML form
is initially rendered.
2011-04-03 15:47:46 -05:00
mamouneyya
5931cc872d
proposed fix for ticket #1664
2011-04-02 15:59:54 -07:00
Bharat Mediratta
fa6f233603
Centralize our encoding code into a new helpers and use
...
mb_convert_encoding if possible. Build on the work in
c791ae96d5 by momo-i. Fixes #1660 .
2011-03-27 11:31:34 -07:00
Bharat Mediratta
06d1a5221c
Merge branch 'master' of git://github.com/ckieffer/gallery3
2011-03-27 11:20:10 -07:00
Bharat Mediratta
3fd7debd2f
Fix a bug where the placeholder %hide-url didn't match the variable in the assoc. array. Follow on for #1624
2011-03-15 00:53:35 -07:00
Bharat Mediratta
c38d4695a0
Add missing phpDoc for the extra Item_Model argument to graphics calls
...
and make the param optional. #1646 .
2011-03-05 15:46:04 -08:00
Bharat Mediratta
5ff6409a08
Merge branch 'master' of git://github.com/colings/gallery3
2011-03-05 15:31:16 -08:00
Chad Kieffer
e90493aab3
Translate user Web Site label. Link web site on user profile page.
2011-03-02 21:11:49 -07:00
colings
ca47b887f5
Added extra arg to gallery_graphics calls and updated users
2011-02-23 20:31:07 -06:00
colings
68edb2454d
Added 'item' to parameters passed to graphics rules
2011-02-21 15:40:58 -06:00
colings
d759d47ef9
Merge remote branch 'upstream/master'
2011-02-13 10:46:43 -06:00
Bharat Mediratta
8437a85ac8
AUTO_CHECK_INTERVAL --> upgrade_checker::AUTO_CHECK_INTERVAL
...
Fixes #1624
2011-01-29 08:37:12 -08:00
Bharat Mediratta
bc49680938
Update XSS golden file
2011-01-21 23:09:27 -08:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
08c41f2976
Add "html_attributes" theme callback to allow modules to inject attributes into
...
the <html> element, including things like namespaces. Fixes #1615 .
2011-01-21 00:07:00 -08:00
Bharat Mediratta
56e6cb998f
Change the [x] close box to "(remind me later)". #1605 .
2011-01-17 21:37:51 -08:00
Bharat Mediratta
83bf1d767b
Fix typo: upgrade_check -> upgrade_checker
...
#1605 .
2011-01-17 21:18:24 -08:00
Bharat Mediratta
20ae106c22
Display a message in the "Check for Gallery upgrades" block when
...
there's a newer version available, even if the user has dismissed the
site status message. #1605 .
2011-01-17 21:16:43 -08:00
Bharat Mediratta
45caba09f8
Move the code that clears the upgrade_check site status message to the
...
upgrader so that it's cleared any time we run an upgrade. Part of
2011-01-17 20:03:11 -08:00
Bharat Mediratta
76411d7d6d
Rename BUILD_NUMBER to .build_number so it's not so loud.
2011-01-17 17:34:19 -08:00
Bharat Mediratta
29be21bb0d
Add BUILD_NUMBER to the security check in .htaccess
...
Change BUILD_NUMBER to be .ini format and add a big "do not edit" comment.
2011-01-17 17:27:16 -08:00
Bharat Mediratta
14ae5d8544
Update version checking code to expect "branch_" as the prefix for
...
all branch related lines. For #1605 .
2011-01-17 17:07:32 -08:00
Bharat Mediratta
66bb496b6c
If the logged in user is an admin and it's been more than 7 days since
...
the last check and auto upgrade checking is enabled, fire off an XHR
to check for a possible upgrade. Finishes off #1605 .
2011-01-16 23:14:57 -08:00
Bharat Mediratta
167f635a6c
Add arguments to random::int() to match mt_rand(). Follow on to cd48b89f31
...
for #1527 .
2011-01-16 23:06:19 -08:00
Bharat Mediratta
70abfb2a20
Upgrade checking code is now here, along with a bump of the Gallery
...
module to v46. There's a new block in the admin dashboard which
controls whether automatic checking happens, and lets you check
immediately. If a newer version is detected, a site status message
appears for admins providing upgrade instructions.
Automatic checking is not yet implemented (even though the UI claims
that it exists). This is all for #1605 .
2011-01-16 22:16:09 -08:00
Bharat Mediratta
84d576606d
Change the value column of the messages table from a varchar(255) to a
...
text. Fixes #1612 .
2011-01-16 21:46:03 -08:00
Bharat Mediratta
b78b109018
Fix indentation.
2011-01-16 17:10:30 -08:00
Bharat Mediratta
ac44e9c930
First step in setting up version checking.
...
We now have two types of packages (release, git). Instead of using
constants, we now have gallery::version_string() which returns the
current version string. If you're on a release package, then the
version string looks like:
3.0 (Santa Fe)
If you're on a git package, then the version string looks like this:
3.0.1 (branch 3.0.x build 3)
We track the build number in a new file in the gallery3 root called
BUILD_NUMBER which we will update periodically with the latest
build number for each branch.
2011-01-16 16:58:58 -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
44da46abd4
Golden file updates for xss and controller authentication.
2011-01-15 15:11:37 -08:00
Bharat Mediratta
f0dd16efc4
Revive the code from Cache_Driver::exists and put it into a helper
...
function in the test so that we can keep our tests functioning.
Follow on to 66fd8c7518 for #1559 .
2011-01-15 14:59:25 -08:00
Bharat Mediratta
ee13b934f4
Fix all the head() and admin_head() theme callbacks to return the
...
results of the $theme->css() and $theme->script() calls. This handles
the case where combining scripts/css returns HTML instead of putting
it in the queue for combination. Fixes #1611 .
2011-01-15 13:14:43 -08:00
Bharat Mediratta
376f09c4e1
Reorganize the url() function out from in the middle of the script/css combining functions.
2011-01-15 12:47:15 -08:00
Bharat Mediratta
09d34696a1
Update comments to annotate what data is where during the process.
...
Follow-on for #1518 .
2011-01-11 17:54:33 -08:00