Commit Graph

4235 Commits

Author SHA1 Message Date
Bharat Mediratta
72149b8c68 Urlencode the tag name so that our html is compliant. Fixes #1672. 2011-04-22 08:11:56 -07:00
Bharat Mediratta
99fd65ff02 Catch the item_updated_data_file() event and rescan. Fixes #1679. 2011-04-22 07:55:34 -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
8cf066b838 Use Tag_Model::url() instead of hand creating tag urls, since the API
changed and that broke.  Fixe #1680.
2011-04-21 15:43:48 -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
Bharat Mediratta
5b927a7083 Guard against registered users removing tags from items they don't own. Fixes #1671. 2011-04-04 17:45:09 -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
Bharat Mediratta
213e652955 Merge branch 'Ticket#1666_reset' of git://github.com/Joe7/gallery3 2011-04-02 16:20:07 -07:00
Bharat Mediratta
531baea2d9 Merge branch 'Ticket#1667' of git://github.com/Joe7/gallery3 2011-04-02 16:07:13 -07:00
mamouneyya
5931cc872d proposed fix for ticket #1664 2011-04-02 15:59:54 -07:00
Bharat Mediratta
9d8eef143d Fix an outdated reference to $entry->file which went away in v4 of the
module.  Fixes #1669.
2011-04-02 15:36:50 -07:00
Joe7
f10648fe0a Sanitize page value before setting offset based on it 2011-04-02 20:56:11 +02:00
Joe7
074f801acd Fix against Ticket #1666 2011-04-02 18:52:54 +02:00
Bharat Mediratta
7f62f09cf3 Improve search to use wildcard matching, thanks to some code from tempg.
Fixes #1663.
2011-03-27 13:16:41 -07:00
Bharat Mediratta
87ce71eb90 Sort users in group box by name. Thanks edisonnews! Fixes #1662. 2011-03-27 11:50:47 -07: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
Kriss Andsten
10785b1e82 Extend comment module field lenghts to fit IPv6 remote host addresses and long (but legally so) hostnames. 2011-03-27 11:34:52 -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
65825c572a Merge branch 'master' of github.com:gallery/gallery3 2011-03-27 11:25:27 -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
451ef39d58 PATH_INFO mangles apostrophe (and other symbols, I'm sure) into a
question mark, so any tags containing an apostrophe won't display
their contents.

Take the simple fix here and change the tag urls to also contain the
tag id, which avoids having to add a slug for the tag and all kinds of
validation code.

Fixes #1636.
2011-03-05 16:51:20 -08: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
momo-i
c791ae96d5 fixed tag broken 2011-02-01 07:32:44 +09: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
Joe7
6b4ccc56ce Fix: photos get added as albums in case only some photos are selected via server ad
Fixes #1619
2011-01-21 09:32:55 -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
029fa606be Fix a bug introduced in the refactor in
6544854863 for #1547.  By skipping the
staging dirs, we wind up scanning the entire filesystem because the
first model is blank so there's no leading path before the /*.
2011-01-20 23:42:36 -08:00
Bharat Mediratta
0126a0385d Fix a bug introduced in 65ff2470a5,
clearly I didn't test this enough.  Further fix for #1460.
2011-01-19 19:50:50 -08:00
Bharat Mediratta
b78fd8eeff Create a hidden anchor containing the tag cloud autocomplete url. This way validates. Fix for #1577. 2011-01-18 21:25:58 -08:00
Bharat Mediratta
c060179916 Revert "Temporarily removed ref tag to get the page validated. (Was also pointing at a rather semi-finished looking page)"
This was breaking the tag autocomplete code, which depends on this value.

This reverts commit 5e8d92552b.
2011-01-18 21:22:24 -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
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