[gallery/gallery3] e957c9: Add a key on relative_path_cache in the items tabl...

GitHub <noreply-9UaJU3cA/F/[email protected]>
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <[email protected]>
  Branch: refs/heads/3.0.x
  Home:   https://github.com/gallery/gallery3
  Commit: e957c97c947427093d03de3302f4d98909d1ab1a
      https://github.com/gallery/gallery3/commit/e957c97c947427093d03de3302f4d98909d1ab1a
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-27 (Sun, 27 Jan 2013)

  Changed paths:
    M installer/install.sql
    M modules/gallery/helpers/gallery_installer.php
    M modules/gallery/module.info

  Log Message:
  -----------
  Add a key on relative_path_cache in the items table to improve performance on installs
that use File_Proxy heavily.  Fixes #1920.


  Commit: 545d30fee0c361911a0445de13bf8ad8de9b5327
      https://github.com/gallery/gallery3/commit/545d30fee0c361911a0445de13bf8ad8de9b5327
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-27 (Sun, 27 Jan 2013)

  Changed paths:
    M installer/install.sql
    M modules/gallery/helpers/gallery_installer.php
    M modules/gallery/module.info

  Log Message:
  -----------
  Merge branch 'master' into 3.0.x


  Commit: daad29e5c391d15d99cd8f3f5af8aaf3e3b76749
      https://github.com/gallery/gallery3/commit/daad29e5c391d15d99cd8f3f5af8aaf3e3b76749
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-27 (Sun, 27 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 301 for branch master
Last update: 0c214d85e63fc74fb315ca1b542251d5c6112201 (1 commits ago)


  Commit: 9e20a30d22c48f5aacc09035405dd0added499de
      https://github.com/gallery/gallery3/commit/9e20a30d22c48f5aacc09035405dd0added499de
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-27 (Sun, 27 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/gallery_graphics.php

  Log Message:
  -----------
  #1969 - Give graphics events the ability to override the standard process.
While graphics_rotate, graphics_resize, and graphics_composite events already exist, they don't have the ability to *override* the standard process.
This makes it a bit tricky when you want to replace the standard procedure with another (e.g. use jpegtran to perform lossless jpg rotation).
Solution:
- make a temp filename.
- tell the events to use it as the output file.
- if an event makes something, use it and skip the standard process.


  Commit: 1313a02bf4e28c169c672a342d7ad16f9b4b17dc
      https://github.com/gallery/gallery3/commit/1313a02bf4e28c169c672a342d7ad16f9b4b17dc
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M modules/gallery/tests/Item_Helper_Test.php

  Log Message:
  -----------
  #1971 - Make resequence_child_weights_test unit test more reliable.
- Set the sort_column of the parent album to id, which has no possibility of being identical between the two photos.
- Now, the reweighting will reverse the order even if they were created during the same second.


  Commit: 785633d910e517d3d7baa35d6dde9a16df912b73
      https://github.com/gallery/gallery3/commit/785633d910e517d3d7baa35d6dde9a16df912b73
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M modules/gallery/tests/Item_Helper_Test.php

  Log Message:
  -----------
  Merge pull request #109 from shadlaws/fix_1971

#1971 - Make resequence_child_weights_test unit test more reliable.


  Commit: 23c6c507526ec1fc4a7ff80afb154341d75e9cab
      https://github.com/gallery/gallery3/commit/23c6c507526ec1fc4a7ff80afb154341d75e9cab
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 302 for branch master
Last update: daad29e5c391d15d99cd8f3f5af8aaf3e3b76749 (1 commits ago)


  Commit: 5fca371a616dba16f955087c4477ee229ee222d0
      https://github.com/gallery/gallery3/commit/5fca371a616dba16f955087c4477ee229ee222d0
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M modules/gallery/controllers/uploader.php
    M modules/gallery/helpers/legal_file.php
    M modules/gallery/models/item.php
    M modules/gallery/tests/Legal_File_Helper_Test.php
    M modules/server_add/controllers/server_add.php

  Log Message:
  -----------
  #1945 - Extend legal_file helper functions.
- Added get_types_by_extension function, which is a merged version of get...types_by_extension functions (similar to get_extensions).
- Added optional extension argument to get...extensions functions similar to get...types_by_extension functions.
- Added unit tests.  Now, every legal_file function has one.
- Restructured helper file to include caches.
- Added array_unique to get...types (derived from get...types_by_extension, which can be many-to-one).
- Edited server_add, uploader, and item model to use new functionality.


  Commit: 3b0de7791b3171b9d4b4e2577223a47bcaba34ac
      https://github.com/gallery/gallery3/commit/3b0de7791b3171b9d4b4e2577223a47bcaba34ac
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/gallery_graphics.php

  Log Message:
  -----------
  Merge pull request #107 from shadlaws/fix_1969

#1969 - Give graphics events the ability to override the standard process


  Commit: cf58e064d462eae6a1973cdf146e4867bf539357
      https://github.com/gallery/gallery3/commit/cf58e064d462eae6a1973cdf146e4867bf539357
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 303 for branch master
Last update: 23c6c507526ec1fc4a7ff80afb154341d75e9cab (1 commits ago)


  Commit: 2551b31b8f165ad3af8fce5dc927e80bfb945af4
      https://github.com/gallery/gallery3/commit/2551b31b8f165ad3af8fce5dc927e80bfb945af4
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/gallery/controllers/uploader.php
    M modules/gallery/helpers/legal_file.php
    M modules/gallery/models/item.php
    M modules/gallery/tests/Legal_File_Helper_Test.php
    M modules/server_add/controllers/server_add.php

  Log Message:
  -----------
  Merge pull request #106 from shadlaws/fix_1945

#1945 - Extend legal_file helper functions.


  Commit: b7c73ee693473eef9b536fb05f8c2b190e47b866
      https://github.com/gallery/gallery3/commit/b7c73ee693473eef9b536fb05f8c2b190e47b866
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 304 for branch master
Last update: cf58e064d462eae6a1973cdf146e4867bf539357 (1 commits ago)


  Commit: 536bdaa4db6e950cb4f382697964651b8eab63cd
      https://github.com/gallery/gallery3/commit/536bdaa4db6e950cb4f382697964651b8eab63cd
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/graphics.php
    A modules/gallery/images/missing_photo.jpg
    R modules/gallery/images/missing_photo.png
    A modules/gallery/tests/Graphics_Helper_Test.php

  Log Message:
  -----------
  #1967 - Improve how graphics::generate handles missing/bad images.
- Made missing_photo match the image format (jpg, png, etc.).
- Swapped missing_photo.png for missing_photo.jpg since it's likely to require less conversion to match.
- Improved error messages to user when things go wrong.
- Ensured that missing image placeholders are always copied when there's an error.
- Ensured we don't mistake no file output for a correct file output (delete target before attempt).
- Restructured graphics::generate a bit to work better with above changes.
- Added unit tests for graphics::generate.


  Commit: 4cf31d8850c7df4d53a2bc56e6832bbe11388d13
      https://github.com/gallery/gallery3/commit/4cf31d8850c7df4d53a2bc56e6832bbe11388d13
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/watermark/controllers/admin_watermarks.php
    A modules/watermark/tests/Admin_Watermarks_Controller_Test.php

  Log Message:
  -----------
  #1970 - Make add watermarks more secure and add unit tests.
This follows #1855 and #1951...
- Ensured that invalid or illegal files are not added even if they have valid extensions.
- Added unit tests (currently there aren't any...)


  Commit: a3478732f910eb7eff93dfa5cc44d833b995d79a
      https://github.com/gallery/gallery3/commit/a3478732f910eb7eff93dfa5cc44d833b995d79a
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/graphics.php
    A modules/gallery/images/missing_photo.jpg
    R modules/gallery/images/missing_photo.png
    A modules/gallery/tests/Graphics_Helper_Test.php

  Log Message:
  -----------
  Merge pull request #105 from shadlaws/fix_1967

#1967 - Improve how graphics::generate handles missing/bad images.


  Commit: 899590873bbc444a35654573473f3c7326a95f87
      https://github.com/gallery/gallery3/commit/899590873bbc444a35654573473f3c7326a95f87
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 305 for branch master
Last update: b7c73ee693473eef9b536fb05f8c2b190e47b866 (1 commits ago)


  Commit: ed7e2d5089e3373f35fe37e0c58412a98949ae54
      https://github.com/gallery/gallery3/commit/ed7e2d5089e3373f35fe37e0c58412a98949ae54
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/watermark/controllers/admin_watermarks.php
    A modules/watermark/tests/Admin_Watermarks_Controller_Test.php

  Log Message:
  -----------
  Merge pull request #108 from shadlaws/fix_1970

#1970 - Make add watermarks more secure and add unit tests.


  Commit: 861e8628f5d847cbf5bc3cc9f94254514e8296a8
      https://github.com/gallery/gallery3/commit/861e8628f5d847cbf5bc3cc9f94254514e8296a8
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 306 for branch master
Last update: 899590873bbc444a35654573473f3c7326a95f87 (1 commits ago)


  Commit: 91acf812a12c331c7bac53a8718419b024dff4a6
      https://github.com/gallery/gallery3/commit/91acf812a12c331c7bac53a8718419b024dff4a6
  Author: Mike Miller <[email protected]>
  Date:   2013-01-29 (Tue, 29 Jan 2013)

  Changed paths:
    M modules/g2_import/controllers/g2.php

  Log Message:
  -----------
   #1973 Handle redirected G2 URLs for tags, including g2_itemId passed


  Commit: 6e609c249a6fd9c2fad64d407c2acdbf0f3aedec
      https://github.com/gallery/gallery3/commit/6e609c249a6fd9c2fad64d407c2acdbf0f3aedec
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M modules/g2_import/controllers/g2.php

  Log Message:
  -----------
  Merge pull request #110 from mikeage/g2_import

 #1973 Handle redirected G2 URLs for tags, including g2_itemId passed


  Commit: a983e8748e6e6667e968e96f8f0994f49b763b73
      https://github.com/gallery/gallery3/commit/a983e8748e6e6667e968e96f8f0994f49b763b73
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 307 for branch master
Last update: 861e8628f5d847cbf5bc3cc9f94254514e8296a8 (1 commits ago)


  Commit: 1e4d75c12072b49c3469f18af13bcf3439afc6b0
      https://github.com/gallery/gallery3/commit/1e4d75c12072b49c3469f18af13bcf3439afc6b0
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M modules/gallery/controllers/albums.php
    M modules/search/controllers/search.php
    M modules/tag/controllers/tag.php

  Log Message:
  -----------
  Improve the display context API to return a "siblings_callback" field
containing a callback that returns all the siblings.  Fixes #1975.


  Commit: 28cd0ad2c13fec256c4a0f162ec7b552eb88d66c
      https://github.com/gallery/gallery3/commit/28cd0ad2c13fec256c4a0f162ec7b552eb88d66c
  Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater-gXXrQ4p6DQJBDgjK7y7TUQ@public.gmane.org>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Automated update of .build_number to 308 for branch master
Last update: a983e8748e6e6667e968e96f8f0994f49b763b73 (1 commits ago)


  Commit: e8a1f7f2df6fa503b86b1854380152104f68d59f
      https://github.com/gallery/gallery3/commit/e8a1f7f2df6fa503b86b1854380152104f68d59f
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M .build_number

  Log Message:
  -----------
  Merge branch '3.0.x' of github.com:gallery/gallery3 into 3.0.x


  Commit: 2b8a407aab01ed17580617a2450674b0efb4abcc
      https://github.com/gallery/gallery3/commit/2b8a407aab01ed17580617a2450674b0efb4abcc
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M modules/g2_import/controllers/g2.php
    M modules/gallery/controllers/albums.php
    M modules/gallery/controllers/uploader.php
    M modules/gallery/helpers/gallery_graphics.php
    M modules/gallery/helpers/graphics.php
    M modules/gallery/helpers/legal_file.php
    A modules/gallery/images/missing_photo.jpg
    R modules/gallery/images/missing_photo.png
    M modules/gallery/models/item.php
    A modules/gallery/tests/Graphics_Helper_Test.php
    M modules/gallery/tests/Item_Helper_Test.php
    M modules/gallery/tests/Legal_File_Helper_Test.php
    M modules/search/controllers/search.php
    M modules/server_add/controllers/server_add.php
    M modules/tag/controllers/tag.php
    M modules/watermark/controllers/admin_watermarks.php
    A modules/watermark/tests/Admin_Watermarks_Controller_Test.php

  Log Message:
  -----------
  Merge branch 'master' into 3.0.x


Compare: https://github.com/gallery/gallery3/compare/63a370445a3b...2b8a407aab01

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.