[commits] Horde branch ansel-ajax updated. 1a28926dedcdf7ffec9a3fbe3a442af0bece7d97
Michael J. Rubinsky
mrubinsk at horde.org
Tue May 6 14:37:52 UTC 2014
The branch "ansel-ajax" has been updated.
The following is a summary of the commits.
from: 6a6d9701abea9b9bb4fc24a067d68eda5f578815
25a8a54 Refactor AnselLayout.
b23e7b6 Let AnselLayout manage adding the initial row.
04d8a4b Finish on demand content loading, improve some logic.
3234f38 Save these as Element objects, simplify.
99c72d8 Tweak this label.
3f8ae13 Pass the perPage option from AnselCore.
76b4886 Don't overwrite the last row, add a new one.
6f9b210 Make sure we fire the event on the correct element.
b4dc543 ws
aa37049 Fix callback name.
09fcccc These are handled elsewhere.
9ee7d2d Fire AnselLayout:scroll when we know we have more vertical space.
9960ec9 Check for available vertical space and fetch more images if needed.
9545a84 This seems to work better.
e7fc08e Fix grabbing the correct gallery keyImage.
70f7236 ws
7790008 Remove empty rows.
fc4b180 Add @todo about why this fails.
8e88fab Fix conditional.
04dff59 Add comment about why we need to do this.
44fb5b1 First pass at image info display on hover.
9eaab0c Remove debug output.
bd8e520 todo
0c9ec49 Add overlay for gallery tiles too.
5b9394b No need for full info.
2dad3bb phpdoc
8482f49 Better.
4e43563 Actually, always show the gallery overlay.
d455084 Remove commented out code.
14a820d Basic first pass at click to view galleries.
4c36697 Remove these stubs until we need them.
c113238 Parse location and navigate accordingly, track history.
d64a7aa Add poll handler.
1a28926 cursor:pointer
Summary: http://github.com/horde/horde/compare/6a6d9701abea9b9bb4fc24a067d68eda5f578815...1a28926dedcdf7ffec9a3fbe3a442af0bece7d97
-----------------------------------------------------------------------
commit 25a8a54678b3dd738bc60da7184310cdbd104e95
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 08:43:02 2014 -0400
Refactor AnselLayout.
True ondemand content loading, correct handling of border values
during image scaling, bunch more.
ansel/js/ansel.js | 105 ++++++++++-----
ansel/js/layout.js | 221 +++++++++++++++++++------------
ansel/lib/Ajax.php | 2 +
ansel/lib/Ajax/Application/Handler.php | 43 ++++++-
ansel/lib/Gallery.php | 12 +--
ansel/lib/Image.php | 31 +++++
ansel/lib/Storage.php | 28 ++++
ansel/templates/dynamic/index.inc | 3 +-
ansel/themes/default/dynamic/screen.css | 39 +++++-
9 files changed, 339 insertions(+), 145 deletions(-)
http://github.com/horde/horde/commit/25a8a54678b3dd738bc60da7184310cdbd104e95
-----------------------------------------------------------------------
commit b23e7b6294f2fdcd360c50fade8d584466e36e87
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 09:44:46 2014 -0400
Let AnselLayout manage adding the initial row.
ansel/js/layout.js | 12 ++++++++----
ansel/templates/dynamic/index.inc | 1 -
2 files changed, 8 insertions(+), 5 deletions(-)
http://github.com/horde/horde/commit/b23e7b6294f2fdcd360c50fade8d584466e36e87
-----------------------------------------------------------------------
commit 04d8a4b7d71ad34ed2a4f2e39a323efc60013fb6
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 17:29:52 2014 -0400
Finish on demand content loading, improve some logic.
ansel/js/ansel.js | 9 +--
ansel/js/layout.js | 132 +++++++++++++++++++++++---------
ansel/lib/Ajax/Application/Handler.php | 1 +
3 files changed, 99 insertions(+), 43 deletions(-)
http://github.com/horde/horde/commit/04d8a4b7d71ad34ed2a4f2e39a323efc60013fb6
-----------------------------------------------------------------------
commit 3234f3879dbcb53a5655b92c67b6dfe0de6c7540
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 17:33:28 2014 -0400
Save these as Element objects, simplify.
ansel/js/layout.js | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
http://github.com/horde/horde/commit/3234f3879dbcb53a5655b92c67b6dfe0de6c7540
-----------------------------------------------------------------------
commit 99c72d8ecb39e932109542dd71f6c0449b365faa
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 17:37:28 2014 -0400
Tweak this label.
Make it more obvious this is a stream of all photos.
ansel/templates/dynamic/index.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/99c72d8ecb39e932109542dd71f6c0449b365faa
-----------------------------------------------------------------------
commit 3f8ae132ca68f7646b05caf0328110412a18702b
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:44:40 2014 -0400
Pass the perPage option from AnselCore.
ansel/js/ansel.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/3f8ae132ca68f7646b05caf0328110412a18702b
-----------------------------------------------------------------------
commit 76b48861e6918ea3f80893aaaed2bc2eb55b7d3e
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:44:58 2014 -0400
Don't overwrite the last row, add a new one.
ansel/js/layout.js | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
http://github.com/horde/horde/commit/76b48861e6918ea3f80893aaaed2bc2eb55b7d3e
-----------------------------------------------------------------------
commit 6f9b210b36c60b6533fc0d9ced93aa50a2f48b07
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:46:02 2014 -0400
Make sure we fire the event on the correct element.
ansel/js/layout.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/6f9b210b36c60b6533fc0d9ced93aa50a2f48b07
-----------------------------------------------------------------------
commit b4dc543136568079aaa685142d5013a6d5bdaeaf
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:46:19 2014 -0400
ws
ansel/templates/dynamic/index.inc | 3 +--
ansel/themes/default/dynamic/screen.css | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/b4dc543136568079aaa685142d5013a6d5bdaeaf
-----------------------------------------------------------------------
commit aa37049c33981eefa278884e1dfd617711b99050
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:54:14 2014 -0400
Fix callback name.
ansel/js/ansel.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/aa37049c33981eefa278884e1dfd617711b99050
-----------------------------------------------------------------------
commit 09fcccca460ddc77dfcf319015cbd49c16679cce
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:54:32 2014 -0400
These are handled elsewhere.
ansel/js/ansel.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
http://github.com/horde/horde/commit/09fcccca460ddc77dfcf319015cbd49c16679cce
-----------------------------------------------------------------------
commit 9ee7d2d014b95cf705aa095510b5a0bf7f416795
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:55:01 2014 -0400
Fire AnselLayout:scroll when we know we have more vertical space.
ansel/js/layout.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/9ee7d2d014b95cf705aa095510b5a0bf7f416795
-----------------------------------------------------------------------
commit 9960ec9d757b7f4ca149c2fe7af9d052bcebcb5f
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 18:58:42 2014 -0400
Check for available vertical space and fetch more images if needed.
ansel/js/layout.js | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
http://github.com/horde/horde/commit/9960ec9d757b7f4ca149c2fe7af9d052bcebcb5f
-----------------------------------------------------------------------
commit 9545a84d69938b37c1a7b72aea63f1e6dc598e51
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 21:33:28 2014 -0400
This seems to work better.
ansel/themes/default/dynamic/screen.css | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/9545a84d69938b37c1a7b72aea63f1e6dc598e51
-----------------------------------------------------------------------
commit e7fc08e284b71f9c4aa0ca23e12d7a75d2d8345e
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 21:33:51 2014 -0400
Fix grabbing the correct gallery keyImage.
ansel/js/layout.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/e7fc08e284b71f9c4aa0ca23e12d7a75d2d8345e
-----------------------------------------------------------------------
commit 70f72366df1757c216c5e185a7bab21342cedd9d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 21:34:15 2014 -0400
ws
ansel/js/layout.js | 6 +++---
ansel/templates/dynamic/index.inc | 4 +---
2 files changed, 4 insertions(+), 6 deletions(-)
http://github.com/horde/horde/commit/70f72366df1757c216c5e185a7bab21342cedd9d
-----------------------------------------------------------------------
commit 7790008424f1280545b4a575f11b3af3438e8e07
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Thu May 1 21:41:25 2014 -0400
Remove empty rows.
Rows may be left over after the grid is resized.
ansel/js/layout.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/7790008424f1280545b4a575f11b3af3438e8e07
-----------------------------------------------------------------------
commit fc4b180c59890d95e963a7ece85d3274ebdb889b
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 10:39:59 2014 -0400
Add @todo about why this fails.
ansel/js/layout.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/fc4b180c59890d95e963a7ece85d3274ebdb889b
-----------------------------------------------------------------------
commit 8e88fab877b587eff1944cf22402992d1ab7e026
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 10:40:14 2014 -0400
Fix conditional.
ansel/js/layout.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/8e88fab877b587eff1944cf22402992d1ab7e026
-----------------------------------------------------------------------
commit 04dff59af75c15d0ac0a9cb79f10cf35f75a750c
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 10:40:27 2014 -0400
Add comment about why we need to do this.
ansel/js/layout.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/04dff59af75c15d0ac0a9cb79f10cf35f75a750c
-----------------------------------------------------------------------
commit 44fb5b16008e061e6cee1dc99335533cf9625c43
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:04:49 2014 -0400
First pass at image info display on hover.
ansel/js/layout.js | 60 +++++++++++++++++++-----------
ansel/themes/default/dynamic/screen.css | 27 +++++++++++++-
2 files changed, 64 insertions(+), 23 deletions(-)
http://github.com/horde/horde/commit/44fb5b16008e061e6cee1dc99335533cf9625c43
-----------------------------------------------------------------------
commit 9eaab0c1398d874ad8fa54b441053aec4e99818c
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:42:50 2014 -0400
Remove debug output.
ansel/js/ansel.js | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/9eaab0c1398d874ad8fa54b441053aec4e99818c
-----------------------------------------------------------------------
commit bd8e520e1034a288236c4dd3c26c8a66e62c7166
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:43:04 2014 -0400
todo
ansel/js/layout.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/bd8e520e1034a288236c4dd3c26c8a66e62c7166
-----------------------------------------------------------------------
commit 0c9ec495b7669eab1ee69895feb8c0027a5502f4
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:43:35 2014 -0400
Add overlay for gallery tiles too.
ansel/js/layout.js | 88 +++++++++++++++++++++++++++++++++++--------------
ansel/lib/Ajax.php | 4 ++-
ansel/lib/Gallery.php | 6 +++-
3 files changed, 71 insertions(+), 27 deletions(-)
http://github.com/horde/horde/commit/0c9ec495b7669eab1ee69895feb8c0027a5502f4
-----------------------------------------------------------------------
commit 5b9394b6dda90dc617dbe19c0f1920d87d03b0c1
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:43:47 2014 -0400
No need for full info.
ansel/lib/Ajax/Application/Handler.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/5b9394b6dda90dc617dbe19c0f1920d87d03b0c1
-----------------------------------------------------------------------
commit 2dad3bbe983e753ff7630f80f00cb4ff65a985e2
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:43:57 2014 -0400
phpdoc
ansel/lib/Gallery.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/2dad3bbe983e753ff7630f80f00cb4ff65a985e2
-----------------------------------------------------------------------
commit 8482f49edf8fc2a8301195de27791679a53e676c
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 13:44:04 2014 -0400
Better.
ansel/themes/default/dynamic/screen.css | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/8482f49edf8fc2a8301195de27791679a53e676c
-----------------------------------------------------------------------
commit 4e43563f0e0521fd82f900fdf409f2c1f46d225e
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 14:07:21 2014 -0400
Actually, always show the gallery overlay.
Helps to differentiate them from normal images.
ansel/js/layout.js | 2 +-
ansel/themes/default/dynamic/screen.css | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/4e43563f0e0521fd82f900fdf409f2c1f46d225e
-----------------------------------------------------------------------
commit d45508409c5b094bd48f1832087a1057f13d9a3a
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 14:07:43 2014 -0400
Remove commented out code.
ansel/js/layout.js | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
http://github.com/horde/horde/commit/d45508409c5b094bd48f1832087a1057f13d9a3a
-----------------------------------------------------------------------
commit 14a820d57dddedbf4b60d0417b334b5de51d60c7
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 14:41:46 2014 -0400
Basic first pass at click to view galleries.
ansel/js/ansel.js | 36 +++++++++++++++++++++--------
ansel/js/layout.js | 37 +++++++++++++++++++++++++++++-
ansel/themes/default/dynamic/screen.css | 1 +
3 files changed, 62 insertions(+), 12 deletions(-)
http://github.com/horde/horde/commit/14a820d57dddedbf4b60d0417b334b5de51d60c7
-----------------------------------------------------------------------
commit 4c36697b2cbcd5ef1f221ecfc7371e9176061903
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon May 5 16:23:06 2014 -0400
Remove these stubs until we need them.
ansel/js/ansel.js | 145 -----------------------------------------------------
1 files changed, 0 insertions(+), 145 deletions(-)
http://github.com/horde/horde/commit/4c36697b2cbcd5ef1f221ecfc7371e9176061903
-----------------------------------------------------------------------
commit c11323849720fc172902cd4b8fe5ad423b7bf741
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Tue May 6 10:16:49 2014 -0400
Parse location and navigate accordingly, track history.
ansel/js/ansel.js | 169 +++++++++++++++++++++++----------------------------
ansel/js/layout.js | 19 ++----
2 files changed, 81 insertions(+), 107 deletions(-)
http://github.com/horde/horde/commit/c11323849720fc172902cd4b8fe5ad423b7bf741
-----------------------------------------------------------------------
commit d64a7aa3775028d76969d86c78ed5bcf2a7384d5
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Tue May 6 10:18:06 2014 -0400
Add poll handler.
ansel/lib/Ajax/Application/Handler.php | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/d64a7aa3775028d76969d86c78ed5bcf2a7384d5
-----------------------------------------------------------------------
commit 1a28926dedcdf7ffec9a3fbe3a442af0bece7d97
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Tue May 6 10:31:18 2014 -0400
cursor:pointer
ansel/themes/default/dynamic/screen.css | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/1a28926dedcdf7ffec9a3fbe3a442af0bece7d97
More information about the commits
mailing list