Bharat Mediratta
7f77c676fe
Get rid of the 'View comments on this item' menu option for photos.
...
It doesn't fit in with the others and as Jakob points out, the scroll
wheel on the mouse is perfectly sufficient. I'll leave the icon around, though.
2009-05-14 23:41:49 +00:00
Bharat Mediratta
b698b8202f
Provide tooltips for Menu_Element_Link
2009-05-14 23:40:48 +00:00
Bharat Mediratta
a0e5e0b1aa
Tell the user the location of VARPATH so that they know where their photos are getting installed.
2009-05-14 22:39:45 +00:00
Bharat Mediratta
9b0541a0ad
Fix save() to stop using ORM objects.
2009-05-14 22:39:14 +00:00
Bharat Mediratta
3fdaf7b60e
Convert spaces into underscores when generating the album name from the title
2009-05-14 22:27:08 +00:00
Tim Almdal
d7c4d32c57
Fix for ticket #268
...
1) Added a clear method to model_cache
2) Cleared the model_cache, when the make_album_cover or
remove_album_cover is called.
2009-05-14 15:14:07 +00:00
Bharat Mediratta
c8c82eff66
Specify the internal_cache_path (even though we're not using this yet).
2009-05-14 04:28:29 +00:00
Bharat Mediratta
555ee41474
Bind to the change() event also so that we can pick up autocompletions in the title box.
2009-05-14 04:23:15 +00:00
Bharat Mediratta
5979836006
Change the way we update view_count to use math instead of ORM for better accuracy
2009-05-14 04:05:14 +00:00
Bharat Mediratta
d7fe3104e3
Use the active user as the new item's owner, if no owner id is specified
2009-05-14 04:00:00 +00:00
Bharat Mediratta
627e83adc1
Cache variables in core._cache so that we can retrieve them all in a
...
single query. In most cases, we were fetching 4-5 variables per page
load, so this is 2-3x faster.
2009-05-14 03:56:29 +00:00
Bharat Mediratta
aaff4a7886
Introduce a relative_path_cache column in the items table. This lets
...
us avoid doing lots of MPTT lookups to find the parent path when we're
trying to generate thumbnails, etc. Invalidate the cache at all the
right times. This greatly reduces our query count on album page views.
This fixes ticket #40 .
2009-05-14 02:14:46 +00:00
Bharat Mediratta
e543b055fb
Updated to match r20797
2009-05-14 02:00:31 +00:00
Bharat Mediratta
f439fe96c8
Overload ORM_Iterator to cache models as we pull them out of the
...
result set. This allows us to see the cache and avoid further
lookups.
2009-05-14 01:19:05 +00:00
Bharat Mediratta
96d59caa3b
Use model_cache() instead of ORM::factory()
2009-05-14 00:59:48 +00:00
Jakob Hilden
cb1a5113f8
permissions UI facelift
2009-05-14 00:12:46 +00:00
Bharat Mediratta
3c78d482e5
Beautify only the title, not the filename
2009-05-14 00:06:45 +00:00
Bharat Mediratta
a149659f33
Fix a bad redirect.
2009-05-13 23:52:40 +00:00
Bharat Mediratta
d6214a974e
Use the $filename not the $name to find the path extension.
2009-05-13 23:28:48 +00:00
Bharat Mediratta
d3103f6c5d
Add a little JS sugar to set the album directory name to the same as
...
the album title.
2009-05-13 23:23:08 +00:00
Tim Almdal
daebdab0c6
Address the final point in #226 . Disable the make album cover icon if
...
the pane has the ui-state-disabled class
2009-05-13 22:56:51 +00:00
Bharat Mediratta
baa220186e
Suppress some warnings
2009-05-13 22:34:54 +00:00
Bharat Mediratta
ce4a8224d8
Allow admins to modify variables. This way when something goes wrong,
...
we can tell them what to do in the forums and we don't have to build
super smart admin UIs to help users with weird edge cases.
This plus r20789 is probably a good enough fix for #232 .
2009-05-13 21:32:22 +00:00
Bharat Mediratta
58a11e3f7c
I should test this stuff before I submit it, eh.
2009-05-13 20:55:23 +00:00
Bharat Mediratta
7ada2e7fe6
Store the ffmpeg path in a variable.
2009-05-13 20:46:59 +00:00
Bharat Mediratta
07bf3e071e
Fix menu typo.
2009-05-13 20:42:30 +00:00
Bharat Mediratta
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
12380b8b39
Add the "advanced settings" controller which lets you see all the
...
vars. We'll eventually turn this into a registry where you can edit
settings directly (at your own risk).
2009-05-13 19:48:57 +00:00
Bharat Mediratta
c52a231bc0
Create a new "add" permission and require it at the controller level
...
when adding photos/movies/albums
2009-05-13 18:03:50 +00:00
Bharat Mediratta
5c40669fd7
Unlink var/modules dir also when packaging
2009-05-13 18:02:57 +00:00
Bharat Mediratta
dd8c688542
Set the default transparency to 1 (no transparency at all)
2009-05-13 05:13:21 +00:00
Bharat Mediratta
65aafe1e72
Exclude the root album from the "dirty images" query
...
Clean some HTML out of a translated string.
2009-05-13 05:11:31 +00:00
Bharat Mediratta
d049e406e0
updated to reflect tinyint(2) -> smallint(6) change
2009-05-13 04:45:25 +00:00
Bharat Mediratta
88afbeba07
Clean out old dirs before packaging.
2009-05-13 04:36:18 +00:00
Bharat Mediratta
e41b1795bd
Oops, use filename instead of name
2009-05-13 04:33:40 +00:00
Bharat Mediratta
37fabc5e07
Empty dir
2009-05-13 04:02:42 +00:00
Bharat Mediratta
dcdc6f1e77
Don't allow admins to delete the guest user. Fixes ticket #213
2009-05-13 04:01:38 +00:00
Bharat Mediratta
7abe611a62
Make the 'this user cannot be deleted' link actually not clickable.
2009-05-13 03:59:42 +00:00
Bharat Mediratta
9c24b5d94d
Variety of changes to the way we do user editing:
...
1) Allow admins to edit the admin bit of other admins
2) Don't allow admins to delete themselves (partial fix for ticket #213 )
3) Inline user::update(). Don't do form processing in helper methods!
4) Inline user::_get_edit_form() so that we can treat edit forms differently.
Trying to hard to make common functions makes for weird edge cases.
2009-05-13 03:56:50 +00:00
Bharat Mediratta
b9aeec634d
Colorize admin user rows to make them stand out
2009-05-13 03:44:55 +00:00
Bharat Mediratta
1344bd7009
Use the name field if the full_name field is empty.
2009-05-13 03:36:06 +00:00
Bharat Mediratta
ee4f9eaa00
Beautify the title of uploaded files. Convert underscores to spaces, collapse multiple spaces, drop the extension. Fixes ticket #237
2009-05-13 02:52:09 +00:00
Bharat Mediratta
99c26f30c6
Allow users to enter multiple tags at once, split by space, semicolon
...
or comma.
Fixes ticket #193 .
2009-05-13 01:43:47 +00:00
Bharat Mediratta
983dc66684
Display the server load average in the platform block. Fixes ticket #198 .
2009-05-13 01:32:11 +00:00
Bharat Mediratta
238cb7ff6e
Log the complete exception information for exceptions that happen in tasks so that we have some clue as to what went wrong
2009-05-13 01:21:09 +00:00
Bharat Mediratta
4093315390
Log password reset attempts. Fixes ticket #251 .
2009-05-13 00:47:20 +00:00
Bharat Mediratta
7008bfb5c3
Warn the user if they're attemping to reinstall into a database that
...
already has Gallery 3 tables. Otherwise, permit it to continue.
We key this off of the existence of the g3_items table. Theoretically
it's possible that the g3_items table is gone but other tables are
still there, which could mess things up. I'm not going to worry about
that for now.
Fixes ticket #175
2009-05-13 00:32:19 +00:00
Bharat Mediratta
847de44996
Fix the logical inversion of the transparency field. Now, 100% is max
...
transparency and 1% is min transparency (no transparency at all).
Fixes ticket #204 .
2009-05-13 00:09:43 +00:00
Bharat Mediratta
3b52b31c54
Use the module_change event to figure out if the rss module is
...
inactive. If it is, we need to alert the admin user.
2009-05-12 23:46:03 +00:00
Bharat Mediratta
ea693af59b
Fire off the module_change event whenever we install or uninstall a module
2009-05-12 23:43:45 +00:00