Bharat Mediratta
5c8a2a750c
Smooth out the animaation for the progress bar.
2009-07-23 20:43:32 -07:00
Bharat Mediratta
6246a91797
Add in more images referenced by CSS that I forgot to copy over from the default theme when I combined the CSS
2009-07-23 17:33:57 -07:00
Bharat Mediratta
01aea268e6
Disable the album cover icon if the item is already the current album cover.
2009-07-23 17:15:53 -07:00
Bharat Mediratta
0bf69c63d8
Don't escape & in JS text; it triggers the "Disallowed key characters
...
in global data." check in the Input library.
2009-07-23 16:58:26 -07:00
Bharat Mediratta
e3a1bb2c72
Updated version of installer sql:
...
- gallery_version is gone
- access related columns are now binary (Postgres)
- for some reason we've reverted back to the /*!40101*/ style settings
in mysqldump.
2009-07-23 16:38:47 -07:00
Bharat Mediratta
0e9b80d2ef
Updated golden file
2009-07-23 16:20:40 -07:00
Tim Almdal
b0475ca450
Merge branch 'master' of git@github.com:gallery/gallery3
2009-07-23 11:59:10 -07:00
Tim Almdal
67190412e6
Respect the $type parameter on Tag_Model::items_count()
2009-07-23 11:57:34 -07:00
Bharat Mediratta
913d63b1a0
Merge branch 'master' of git@github.com:gallery/gallery3
2009-07-23 10:43:40 -07:00
Bharat Mediratta
1fbdf1a1e0
Add form processing events:
...
user_add_form_admin admin adding a user
user_edit_form_admin admin editing a user
user_add_form_admin_completed successfully added a user (admin)
user_edit_form user editing their own settings
user_edit_form_completed successfully edited a user (admin and user editing own settings)
2009-07-23 10:35:52 -07:00
Tim Almdal
070884d9e2
Fix for ticket #496 . replace the src attribute (non standard) with the title attribute to contain the url of the tag cloud controller.
2009-07-23 10:23:00 -07:00
Bharat Mediratta
41b8f943a6
Convert instances of theme_url() to just url() to match the API change
...
made in dbeadc1407
2009-07-23 10:20:49 -07:00
Tim Almdal
ac23b9be18
Merge branch 'master' of git@github.com:gallery/gallery3
2009-07-23 09:29:29 -07:00
Tim Almdal
fa0c17ab5b
Make tag handling consistent by converting spaces to periods and using commas or semi-colons as separators
2009-07-23 09:26:04 -07:00
Bharat Mediratta
7f1a7ead58
Fix a typo in a comment
2009-07-23 09:24:33 -07:00
Romain LE DISEZ and Bharat Mediratta
216a21ba8a
Upgrade code to migrate the ACL from integer to boolean.
...
Related to 719c59e040
(cherry picked from commit 831bf63c23 )
2009-07-23 09:12:15 -07:00
Romain LE DISEZ and Bharat Mediratta
2282f9977e
Improve PgSQL compatibility in Kohana
...
( see http://dev.kohanaphp.com/issues/1855 )
(cherry picked from commit 8cbf43ed2a )
2009-07-23 09:12:12 -07:00
Romain LE DISEZ and Bharat Mediratta
7c7d4c0ec0
Consistency : always use self::XXX
...
(cherry picked from commit c9017ae2f2 )
2009-07-23 09:12:08 -07:00
Romain LE DISEZ and Bharat Mediratta
350c1b0267
Use BOOLEAN instead of integer to describe the permissions :
...
- DENY = false
- ALLOW = true
- UNKNOW = null (for intent only)
- INHERIT = null (for cache)
Upgrade is not included for now.
(cherry picked from commit 719c59e040 )
2009-07-23 09:11:55 -07:00
Bharat Mediratta
5999ccb512
Remove extra error log line
2009-07-23 08:40:00 -07:00
Bharat Mediratta
6a8cace027
Test cleanup:
...
1) Specifically catch Kohana_404_Exception and let other exceptions pass, the
test framework will report them as errors
2) Simplify some testing idioms
3) Change malicious address to a legal addr
2009-07-23 08:37:39 -07:00
Tim Almdal
7c2cea01a5
Fix for ticket #502
...
This patch allows users with only view permission to request fullsize
prints using Digibug. There is now a Digibug config file that contains
the IP ranges of the Digibug servers. Any request for the full size
image via the print proxy must come from within the ranges in the config
file.
The reason for the "if (!Test_Mode) {..." is that the print proxy makes a
call to Kohana::close_buffers, which closes all the output buffers and then
we see the image download on the console which messes up the test output.
2009-07-23 07:02:10 -07:00
Tim Almdal
85ed445e23
remove an extra ->reload() that was there for testing
2009-07-22 15:20:30 -07:00
Tim Almdal
d4104a23ec
Add explicit unit tests for access::user_can
2009-07-22 15:16:56 -07:00
Bharat Mediratta
c8d215bf80
Merge branch 'master' of git@github.com:gallery/gallery3
2009-07-22 14:28:33 -07:00
Bharat Mediratta
dbeadc1407
Use the Kohana cascading filesystem to locate resources loaded by the
...
theme. Because the theme comes first, this means that themes can
override any module resources, at the cost that we no longer have
namespacing for JS and CSS files.
The only file getting used outside of this model is
themes/default/screen.css which is used in the admin theme. I fixed
that by copying screen.css into admin_default and renaming its
screen.css to admin_screen.css. I also copied over all the images
that it was referencing.
Fixes tickets #48 and #539 .
Theme API changes:
- theme_script(), theme_url() and theme_css() are no longer needed
- script(), url() and css() now refer to the first matching asset in
the module load path, where gallery3/lib is at the end of the path
2009-07-22 14:27:57 -07:00
Bharat Mediratta
4854003f41
bump version to "3.0 git (pre-beta3)"
2009-07-22 13:03:01 -07:00
Tim Almdal
427e1130b2
Modified the notification get_subscribers to ignore any users that don't
...
have "view" access to the item the notification is being generated for.
Fix for ticket: #538 .
2009-07-22 11:11:48 -07:00
Tim Almdal
4ddaaeb9dd
Duh... when I added user_can, I passed in the user, but still used the groups from the session
2009-07-22 09:39:22 -07:00
Tim Almdal
f533aee1cc
Add an API method user_can that allows for checking a specific user has the
...
specified permission to the item. Changed can to delegate to this method
passing in the active user.
2009-07-21 15:52:46 -07:00
Tim Almdal
9f410ec764
Always display the option menu so that modules with options that require
...
menu items with view permission have somewhere to hang these menu items
from. If its empty it will get removed by $menu->compact()
2009-07-21 15:49:42 -07:00
Bharat Mediratta
0546f0df13
Fix the bug that the quick menu fires for the wrong photo. This stems
...
from using a single gQuickPane <div> that we move around. A race
condition happens when you mouse over two thumbnails quickly.
Whichever server response loses the race gets displayed, and sometimes
it's the one that you're no longer hovering over.
Fix it by changing gQuickPane to be a class and creating a <div> per
thumbnail.
Fixes ticket #290 .
2009-07-21 13:39:40 -07:00
Bharat Mediratta
80f48b084a
In the logout link, urlencode the continue url so that ampersands, etc
...
don't break encapsulation. In the logout controller, don't run the
url through url::redirect because that uses url::site(). Just set the
Location header directly.
This fixes ticket #483 .
2009-07-21 13:02:20 -07:00
Bharat Mediratta
f83db99d39
Properly display thumbnails for private movies by backtracking from
...
the thumbnail to the movie and then showing it as a JPG. Fixes ticket
#570 .
2009-07-21 12:26:16 -07:00
Bharat Mediratta
8f1bca7459
Remove the fallback code. It should trigger extremely rarely and seems highly inefficient to me, so let's see if we can live without it.
2009-07-21 12:18:49 -07:00
Bharat Mediratta
90ba320655
The RSS link should go to the parent album when looking at photos/movies.
...
Fixes ticket #566 .
2009-07-21 11:25:03 -07:00
Bharat Mediratta
2de6b77d61
Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563 .
2009-07-21 11:20:36 -07:00
Bharat Mediratta
050c82cf80
Escape bare & symbols so that we use valid entities. Fixes ticket #577 .
2009-07-21 11:09:23 -07:00
Bharat Mediratta
51dca582cd
More thorough fix for #421 . Create User_Model::display_name() which
...
uses the full name if there is one, or falls back to the name if
that's all we have.
2009-07-19 16:50:35 -07:00
Bharat Mediratta
2572e5810f
Updated Kohana to r4468
2009-07-21 07:29:14 -07:00
Bharat Mediratta
59e410bb79
Updated for movieplayer.html.php update
2009-07-21 07:25:34 -07:00
Bharat Mediratta
d7814f37cb
Merge branch 'master' of git@github.com:gallery/gallery3
2009-07-20 22:23:34 -07:00
Bharat Mediratta
ce963c9db0
Remove the access permission call from here; this is too low level.
2009-07-20 22:23:21 -07:00
Shai Ben-Naphtali and Bharat Mediratta
b99774ac49
Fixed grammer and set lowercase for the word project (minor change)
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-07-21 13:19:07 +08:00
Shai Ben-Naphtali and Bharat Mediratta
5a0424f458
Fix some consistency in text.
...
This fixes ticket #546
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-07-21 13:18:59 +08:00
Bharat Mediratta
67e83e66c6
Fix indentation
2009-07-20 22:12:39 -07:00
hiwilson and Bharat Mediratta
653badc2e1
set wmode='transparent' other than flowplayer.js
...
(cherry picked from commit 79a46658196a98a3972983cc422d1ee544b09d4a)
2009-07-20 22:11:22 -07:00
Bharat Mediratta
1a96ce145c
Don't let the task status message exceed the size of the status column when there's an error.
2009-07-20 20:47:47 -07:00
Bharat Mediratta
3aea4dd118
Dump out the error message along with the stack trace when we catch an
...
exception from View::render()
2009-07-20 18:47:32 -07:00
Shai Ben-Naphtali and Bharat Mediratta
fb7d99740d
Changed "Forgot Your Password" text to use capital 'Y' on the word Your
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-07-21 00:09:06 +08:00