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
3dc5571629
Always set the graphics_toolkit_path, even if we're on GD. That'll
...
force it to show up in Admin > Settings > Advanced so that people can
easily forcefully change over to ImageMagick or GraphicsMagick.
2009-05-20 16:42:49 +00:00
Bharat Mediratta
2e204cac78
Add a cache buster to thumbnail urls, using the item update time.
...
Fixes ticket #121 .
2009-05-20 06:58:47 +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
0536025ff6
Add a default image quality level. There's no UI for it, except Admin
...
> Settings > Advanced. The default is 75.
2009-05-20 04:04:50 +00:00
Bharat Mediratta
006e0b4f28
Replace the old "add photo" form with the simple uploader version in
...
the "add a photo" quick menu option.
2009-05-20 03:24:39 +00:00
Bharat Mediratta
f850bf75cf
Fix a typo; swapped uninstalled and installed.
2009-05-20 01:18:14 +00:00
Bharat Mediratta
170e9d6462
Import album highlights. Fixes ticket #221 .
2009-05-19 07:31:21 +00:00
Bharat Mediratta
a0e0c48e47
Collate install/uninstall messages. Fixes ticket #288
2009-05-19 05:59:30 +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
Chad Kieffer
8855be0c33
Added the nice new icons for the view buttons. No need to have them in a jQuery UI button, they stand well on their own. Thx to Ben Dunkle!
2009-05-19 04:17:03 +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
ad16488643
Turn on IN_PRODUCTION mode now across the board. Create our own error
...
page where we'll show whatever information is useful. Get rid of the
IN_PRODUCTION hack in MY_View.php that we no longer need.
2009-05-18 06:30:32 +00:00
Bharat Mediratta
09d0cd6f01
Update filters
2009-05-18 06:22:16 +00:00
Bharat Mediratta
bdd5c3a575
update PasswordHash path
2009-05-18 04:52:19 +00:00
Bharat Mediratta
13cc8bc706
verify csrf when installing/uninstalling modules
2009-05-18 04:21:02 +00:00
Bharat Mediratta
34d8b49aed
Clean up tmp when packaging
2009-05-18 04:20:36 +00:00
Bharat Mediratta
f660fa1e3b
Restructure the code preamble checking tests to check all PHP files,
...
not just the ones that we created ourselves.
2009-05-18 04:15:35 +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
59b0e40f65
Define KOHANA as the front controller .php file.
2009-05-18 00:28:20 +00:00
Bharat Mediratta
70184a041d
Add preamble. http://dev.kohanaphp.com/issues/1661
2009-05-18 00:21:05 +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
5a6aef9c23
Fix preamble
2009-05-18 00:05:50 +00:00
Bharat Mediratta
7f4bcb540f
Update preamble test to list all broken files at once
2009-05-17 23:04:03 +00:00
Bharat Mediratta
da9c170ba7
Update tests to reflect the new code that allows changing file and directory names
2009-05-17 22:47:34 +00:00
Bharat Mediratta
1c84472746
Make our dependency on json_encode() an explicit requirement
2009-05-17 21:51:15 +00:00
Bharat Mediratta
bd3dd786e7
Define TMPPATH
2009-05-17 04:55:12 +00:00
Bharat Mediratta
1968057a90
Add var/tmp
2009-05-17 04:44:16 +00:00
Tim Almdal
3baecc628f
Rollback some of the changes from r20822. But still pull the
...
determination of the function name and arguments to outside
the module loop
2009-05-17 04:37:00 +00:00
Bharat Mediratta
17c58c8dce
Skip over empty import modes. Fixes ticket #227
2009-05-17 00:46:53 +00:00
Bharat Mediratta
245c840405
Silently drop trailing periods in the album name so that we don't have
...
to throw up an error message (since we don't accept them in album
names).
2009-05-16 22:31:02 +00:00
Bharat Mediratta
8f11bce904
Don't allow photos, albums or movies to have a trailing period to avoid
...
security problems. Ref http://dev.kohanaphp.com/issues/684 ).
This plus r20823 resolves ticket #248 .
2009-05-16 22:27:32 +00:00
Bharat Mediratta
6ceb10424b
Don't allow albums/photos/movies to end in "." because it risks
...
securit issues (and so Kohana won't route them, see
http://dev.kohanaphp.com/issues/684 ).
Partial fix for ticket #248 .
2009-05-16 22:20:16 +00:00
Tim Almdal
c3917aa250
Modify the module::event method to accept 2 additional parameters
...
instead of a variable list and then pass both of these parameters by
reference to the event handlers. 2 parameters cover 100% of our
existing event calls.
2009-05-16 16:46:08 +00:00
Bharat Mediratta
930452aa6b
Support renaming albums, photos and movies.
...
Fixes ticket #278 .
2009-05-16 04:32:00 +00:00
Bharat Mediratta
33f1187220
Don't allow the various ::create() methods to take "/" in the name.
2009-05-16 03:48:56 +00:00
Bharat Mediratta
7679811a31
Item_Model::rename() cannot accept new filenames that contain "/"
2009-05-16 03:37:14 +00:00
Bharat Mediratta
59db5456d4
Implement Item_Model::rename(), with unit tests.
2009-05-16 03:29:14 +00:00