Bharat Mediratta
f24c8f66ea
Move the first-admin-login steps out of the user module and into an event listener in core
2009-05-20 16:49:06 +00:00
Bharat Mediratta
774e0b3737
Avoid complex inserts in available_tasks() to make admin/maintenance
...
run faster. This fixes ticket #235 .
Incidentally, refactor exif and search to use the same patterns
overall so that if you understand one, you understand the other and
they generally use the same strings for localization.
2009-05-20 06:10:14 +00:00
Bharat Mediratta
54fe2c600e
Avoid doing an expensive insert in available_tasks(). Partial fix for ticket #235 .
2009-05-20 05:46:34 +00:00
Bharat Mediratta
dc3df4d6ac
Don't import non-viewable image types (eg: psd). Swap in a broken
...
image instead so that we at least have a target for comments.
Fixes ticket #294
2009-05-20 04:25:10 +00:00
Bharat Mediratta
170e9d6462
Import album highlights. Fixes ticket #221 .
2009-05-19 07:31:21 +00:00
Chad Kieffer
730cc7aabb
Rolled back r20813 to restore jump to comments, at least for now
2009-05-19 04:20:52 +00:00
Bharat Mediratta
ad347c0456
If there's a missing source image during import, swap in our "broken
...
image" placeholder and keep on trucking. Oh, and notify the admin.
Fixes ticket #287
2009-05-19 03:54:33 +00:00
Tim Almdal
762ca22544
This takes us the next step closer to providing bulk edit. We still
...
can't edit, but we are getting closer :-).
This change sets up a framework for modules to contribute edit panels
to the organize drawer. Currently implemented General (albums and
photos), Sort Order (albums only) and Manage Tags
2009-05-18 19:34:03 +00:00
Bharat Mediratta
5f853b9a1b
Get rid of trailing whitespace in security preamble
2009-05-18 04:13:09 +00:00
Bharat Mediratta
2867ca2bcd
Get rid of trailing whitespace in preamble
2009-05-18 04:02:54 +00:00
Bharat Mediratta
a1ad048ef2
Update preamble to avoid extra opening php block
2009-05-18 04:00:20 +00:00
Bharat Mediratta
29e8bd5230
Fix security preambles
2009-05-18 03:55:34 +00:00
Bharat Mediratta
39bfe5ee74
Add security preamble
2009-05-18 03:51:15 +00:00
Bharat Mediratta
993742feb3
Move 3rd party PasswordHash library into the "lib" dir for
...
consistency. No 3rd party libs in "libraries", at least for now.
2009-05-18 03:39:42 +00:00
Bharat Mediratta
5133d2cbb9
Remove modules/unit_test/views; we don't use them
2009-05-18 03:34:12 +00:00
Bharat Mediratta
abeec7c7b8
Merged /gallery3/vendor/forge/modified:r20843
...
Added preamble to all Forge files.
2009-05-18 03:28:46 +00:00
Bharat Mediratta
2cf9b95f5f
Remove Forge files that we don't use
2009-05-18 00:31:03 +00:00
Bharat Mediratta
c87c6f6859
There's a new view for CLI unit test output in the Unit_Test library
2009-05-18 00:16:37 +00:00
Bharat Mediratta
fd0c0a608a
Updated kohana and modules/unit_test to upstream r4356
2009-05-18 00:14:07 +00:00
Bharat Mediratta
17c58c8dce
Skip over empty import modes. Fixes ticket #227
2009-05-17 00:46:53 +00:00
Bharat Mediratta
5b8722f7cb
Use ternary operators to tighten up some logic
2009-05-14 23:49:29 +00:00
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
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +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
dd8c688542
Set the default transparency to 1 (no transparency at all)
2009-05-13 05:13:21 +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
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
4093315390
Log password reset attempts. Fixes ticket #251 .
2009-05-13 00:47:20 +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
93ca8e991d
Gracefully handle duplicate groups. Fixes ticket #280
2009-05-12 22:34:59 +00:00
Bharat Mediratta
71defb7d40
Add group::lookup_by_name()
2009-05-12 22:34:36 +00:00
Bharat Mediratta
823077f342
Fix a comment.
2009-05-12 22:31:54 +00:00
Bharat Mediratta
7c6276adb9
Deal with the user-entered g2 embed.php path a little more sanely so that if the user enters the path to G2 itself, we find the embed.php path from there.
2009-05-12 21:48:29 +00:00
Bharat Mediratta
b1ea27a1b9
Beautify the status text
2009-05-12 21:41:45 +00:00
Bharat Mediratta
df3a1e730e
Skip the copy if the watermark module is enabled *and* there's a watermark.
2009-05-12 05:56:27 +00:00
Bharat Mediratta
fdb17d75ce
Import keywords as tags.
...
Refactor the general flow of g2_import_task::import() to simplify it
and make it more sensible. It had gotten a little overgrown. It's
still a little overgrown, but I don't see an easy way to simplify it
from here.
2009-05-12 05:48:15 +00:00
Bharat Mediratta
c397cc73be
Don't divide by zero if there are no photos in the Gallery.
2009-05-12 04:22:05 +00:00
Bharat Mediratta
8ae6a7a144
Import tags.
2009-05-12 04:04:26 +00:00
Bharat Mediratta
61ad68f1e6
Deal gracefully with the case that the Gallery 2 instance didn't have
...
any resizes (or thumbnails).
Fix a case where we were over-weighting the max dimension for square
resizes and thumbs.
2009-05-12 02:12:39 +00:00
Bharat Mediratta
a70cbed1d0
Import comments. This was a lot easier than I thought it would be
2009-05-11 20:16:54 +00:00
Bharat Mediratta
de812e1e82
Refactor to support pagination and simplify the code.
...
- Simplify the public controller methods
- Fix a bug where missing thumbnails would cause a divide by zero error
- actually pay attention to the page # for pagination and limit the query accordingly.
2009-05-11 20:15:24 +00:00
Bharat Mediratta
a2c188ac37
Update exif lib to upstream r3901 which resolves the following tickets:
...
http://www.zenphoto.org/trac/ticket/1117
http://www.zenphoto.org/trac/ticket/1118
2009-05-11 19:19:13 +00:00
Bharat Mediratta
74b8937963
Framework for importing comments -- we don't actually do the import yet
2009-05-11 17:57:34 +00:00
Bharat Mediratta
62053b2c5c
Add some comments
2009-05-11 16:38:58 +00:00
Bharat Mediratta
6ec24f2f00
Don't attempt to interact with comments if the Gallery2 comment module is not installed.
...
Resolves ticket #276
2009-05-11 16:27:52 +00:00