Commit Graph

4404 Commits

Author SHA1 Message Date
Bharat Mediratta
447e76f6f3 Improve IdentityProvider switching code, patch thanks to Reklov
Nesalk.  Fixes #1834.
2012-05-07 11:58:05 -07:00
Bharat Mediratta
11ee6d50ac Fix a database error caused by trying to view a non-search-result in a
search context.  Patch thanks to sermoro.  Fixes #1837.
2012-05-07 11:49:41 -07:00
Bharat Mediratta
e722e5d5d4 Fix missing date.timezone which results in a crash on startup in I18n
code.  Fill in missing field and log it 25% of the time. Fixes #1853.
2012-05-07 11:38:51 -07:00
Bharat Mediratta
3fe3c09ec3 Use html::anchor consistently. Fixes #1851. 2012-05-06 09:45:04 -07:00
Bharat Mediratta
fd15295642 Clean up comments. 2012-05-05 21:09:30 -07:00
Bharat Mediratta
916f5c7d3b Clean up message to preserve page formatting. Fixes #1848. 2012-05-05 19:55:29 -07:00
Bharat Mediratta
a16b465451 Remove debug line added in 581d9a58db 2012-05-05 19:44:11 -07:00
Bharat Mediratta
581d9a58db Clean up title handling code in organize and wind theme for consistency.
Fixes #1847.
2012-05-05 19:38:31 -07:00
Bharat Mediratta
ef4dbd18af Fix extension-swapping code for files that have extensions that are
not 3 characters long.  Fixes #1845.
2012-05-05 19:34:01 -07:00
Bharat Mediratta
d5a445b779 Improve the dimensions-detecting regex, thanks to cchiappa.
Fixes #1844.
2012-05-05 19:19:04 -07:00
Bharat Mediratta
801c9a98e4 Fix #1846. 2012-05-05 18:52:44 -07:00
Bharat Mediratta
608d8f6636 Fix #1843. 2012-04-30 15:20:40 -07:00
Bharat Mediratta
f488384a7b Guard reparent/rearrange against bad values in source_id. Fixes #1843. 2012-04-30 15:04:45 -07:00
Bharat Mediratta
75492b9dd6 "public static" -> "static" 2012-04-01 14:09:08 -07:00
Bharat Mediratta
daea22c6b3 Exclude modules/gallery/vendor/joomla from some structure tests 2012-04-01 14:07:50 -07:00
Bharat Mediratta
cd46dc479c Beef up the random number generator by using Joomla's new implementation. 2012-04-01 12:39:48 -07:00
Bharat Mediratta
f6dac703ec Try a different approach at filtering. Fixes #1831. 2012-04-01 11:53:34 -07:00
Bharat Mediratta
7ba0b1b75c Restrict valid urls to having a http:// or https:// prefix. Fixes #1830. 2012-04-01 11:36:16 -07:00
Bharat Mediratta
7d66ab2e94 Improve comment RSS feed visibility, initially added by Thomas E. Horner in
fc942aacda.

Change some variable names, refactor out visibility checking code, actually
check visibility at generation time instead of just suppressing the UI,
update module.info

Fixes #1829.
2012-03-29 13:06:44 -07:00
Bharat Mediratta
60286bfba3 Merge commit 'fc942aa' 2012-03-29 06:37:00 -07:00
Maxim Rubis
2475bcd60c Fixed Delete button 2012-03-26 21:19:36 -04:00
Bharat Mediratta
bf2bb3e1ea Update copyright to 2012. #1822 2012-02-27 09:48:23 -08:00
Bharat Mediratta
6d530991f2 Updated for #1764 and #1790 2012-02-27 09:19:43 -08:00
Bharat Mediratta
cdbd9b5a9d Don't support display contexts for robots. Fixes #1819. 2012-02-06 20:02:32 -08:00
Bharat Mediratta
065dd32f31 Add tags for all Cache::instance()->set calls that don't have one.
Fixes #1818.
2012-02-06 19:48:52 -08:00
Bharat Mediratta
1bbaafcc1f Add Baidu, Bing and Ezooms to the robits list. Fixes #1817. 2012-02-05 17:01:12 -08:00
Bharat Mediratta
2725d30c34 Use Albums_Controller::get_display_context as the default display context. Fixes #1812. 2011-12-23 11:22:43 -08:00
Bharat Mediratta
67f689646b Follow-on fix for #1790 - the last fix broke rearranging for everything
*but* IE9.  Oops!
2011-12-17 19:17:00 -08:00
Bharat Mediratta
47fdf1e35a Move the Content-Length header into the main block, fix some formatting.
Follow-on to 5b969fd069 which is a fix for
#1802.
2011-11-24 11:21:32 -08:00
Bharat Mediratta
cb98db1bcf Merge branch 'patch-1' of git://github.com/ffchung/gallery3 2011-11-24 11:14:45 -08:00
Bharat Mediratta
eab12774fb In get_position() don't try to truncate the score if it's empty. Follow-on to ce43f29e2c 2011-11-03 21:24:35 -07:00
Bharat Mediratta
5020f2184c Better fix for dc21cf36b6 - let's just fix up
the root album thumbnail when the proportions change so that we avoid
this problem altogether.
2011-11-03 21:15:10 -07:00
ffchung
5b969fd069 gzip stream problem on Google Chrome 2011-10-29 23:03:06 +08:00
Bharat Mediratta
80f24e8bcb Follow on to 7f62f09cf3 for #1663 to fix bad
query syntax, pointed out by Singularis in http://gallery.menalto.com/gallery_3.0.2_feedback#comment-383135
2011-10-26 12:49:45 -07:00
Bharat Mediratta
e5175fd277 Fix the standard and REST uploaders to use a callback function to
delete temporary files during shutdown.  Fixes #1788.
2011-10-03 23:19:44 -07:00
Bharat Mediratta
948bfeff21 Work around a JS bug in IE9 that breaks the organize module.
Fixes #1790.
2011-10-03 22:30:14 -07:00
Bharat Mediratta
79a2e3f1a7 Use a stdClass wrapper around the data in the before_combine and
after_combine events so that event handlers can modify the data.
Fixes #1789.
2011-10-03 21:47:18 -07:00
Bharat Mediratta
1ed54ab5dc Make the Theme_View::thumb_proportion() API call backwards compatible to
the API before dc21cf36b6.

Fixes #1775
2011-08-30 20:49:23 -07:00
Tim Almdal
044309cb50 Merge branch 'master' of git@github.com:gallery/gallery3 2011-08-30 20:05:00 -07:00
Tim Almdal
96a4a261a4 Patch for #1774 2011-08-30 20:04:31 -07:00
Bharat Mediratta
084c2717c0 Merge branch 'master' into bharat_dev 2011-08-27 20:56:03 -07:00
Bharat Mediratta
ce43f29e2c Refactor the display context code a bit:
1) Move the display context code into the controller themselves so that it's
   more logically a continuation callback from the original controller
   rendering code.
2) Simplify the display context set/get code and put it in the item helper,
   it's just a couple of lines of code now.
3) Add more descriptive breadcrumb strings
2011-08-27 11:18:07 -07:00
Tim Almdal
c92d34a86b Merge branch 'displayContext' into display_context_compressed
Conflicts:
	modules/gallery/controllers/movies.php
	modules/gallery/controllers/photos.php
	modules/tag/controllers/tag.php
2011-08-11 22:11:24 -07:00
Tim Almdal
933a34986d Patch for tickets #1428 and #1760
Create the concept of a Photo_Display_Context.  If the user is browsing a dynamic album (i.e. tags) and chooses to
look at an image in that album.  The display of the image happens correctly, but the 'next' and 'previous' buttons
are no longer consistent.  When one of these is clicked, Gallery  will open the adjacent image in the actuall album,
not the dynamic album.
2011-08-11 22:04:21 -07:00
Bharat Mediratta
67719c6f61 Simplification of 59b04b897b for #1764:
- Breadcrumb::build_from_item becomes Breadcrumb::array_from_item_parents
- Eliminate Breadcrumb::$id -- it's no longer necessary
- Fold Breadcrumb::generate_show_query_strings into Breadcrumb::array_from_item_parents
- Create Breadcrumb::set_first() and Breadcrumb::set_last()
- Breadcrumb::build_from_list goes away, we just use arrays for this
- Change Search_Controller and Tag_Controller to just create an array
  of Breadcrumb instances with the first/last marked appropriately
- Breadcrumb_Test loses a bunch of complexity.
2011-08-11 22:04:03 -07:00
Tim Almdal
a246b6fe45 Initial commit of a patch for Ticket #1764. as discussed here: https://github.com/gallery/gallery3/pull/58/files#r72949.
Create a Breadcrumb library which has two static methods for_item (which takes a an item and builds the entire
breadcrumb for the item) or build (which takes a variable number of Breadcrumb elements and creates a breadcrumb
based on the specified elements).

Used tag->url() to build the tag album url. Escaped the query string for the search. Tightened up the breadcrumb code
 in page.html.php.

When adding the show query parameter, we can't blindly concatenate using the ? separator.  We have to check that we
use a & if a query parameter already exists.
2011-08-11 22:04:02 -07:00
Tim Almdal
eb5c7e5e18 Patch for ticket #1765. Provide the full site url for the the gallery link instead of trying to use url_base for the hidden link and the presentation text. 2011-08-11 22:04:01 -07:00
Tim Almdal
66a6986d37 Patch for ticket #1769. Remove the rows in groups_users when the user or the group is deleted. 2011-08-11 22:04:00 -07:00
Bharat Mediratta
da523de777 Simplification of 59b04b897b for #1764:
- Breadcrumb::build_from_item becomes Breadcrumb::array_from_item_parents
- Eliminate Breadcrumb::$id -- it's no longer necessary
- Fold Breadcrumb::generate_show_query_strings into Breadcrumb::array_from_item_parents
- Create Breadcrumb::set_first() and Breadcrumb::set_last()
- Breadcrumb::build_from_list goes away, we just use arrays for this
- Change Search_Controller and Tag_Controller to just create an array
  of Breadcrumb instances with the first/last marked appropriately
- Breadcrumb_Test loses a bunch of complexity.
2011-08-08 21:29:19 -07:00
Tim Almdal
dd0b622ae9 Initial commit of a patch for Ticket #1764. as discussed here: https://github.com/gallery/gallery3/pull/58/files#r72949.
Create a Breadcrumb library which has two static methods for_item (which takes a an item and builds the entire
breadcrumb for the item) or build (which takes a variable number of Breadcrumb elements and creates a breadcrumb
based on the specified elements).

Used tag->url() to build the tag album url. Escaped the query string for the search. Tightened up the breadcrumb code
 in page.html.php.

When adding the show query parameter, we can't blindly concatenate using the ? separator.  We have to check that we
use a & if a query parameter already exists.
2011-08-07 13:41:47 -07:00