Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Bharat Mediratta
fb5503be09
Name this release "Santa Fe". Fixes ticket #683 .
2010-02-23 11:10:32 -08:00
Tim Almdal
3c936d661a
Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-22 13:11:03 -07:00
Tim Almdal
78ee4193b7
Remove all non Identity API methods from Identity.php. Created an MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16 10:06:58 -07:00
Tim Almdal
00eacd659f
Start simplifying the interface by moving the static methods from user.php and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-16 08:53:31 -07:00
Bharat Mediratta
13fb033235
Remove debugging lines (thanks talmdal!)
2009-10-06 23:05:35 -07:00
Bharat Mediratta
fcbce09fc4
Update gallery::find_file to look for subdirectories in lib, then fall
...
back to looking in just lib itself. This is not consistent behavior
with the rest of our module structure, though so we should probably
make it more consistent.
Fix up the permission images to use gallery::find_file again.
2009-10-06 21:50:41 -07:00
Tim Almdal
2634a683b3
Revert "Create a gallery::plugin_path which returns the appropriate path to the module or theme. This checks for the existence of an application/modules or application/themes first."
...
This reverts commit e1e1461a77caf5bff457927f098366497de6ffff.
2009-10-04 10:12:22 -07:00
Tim Almdal
aa0529d557
Create a gallery::plugin_path which returns the appropriate path to the module or theme. This checks for the existence of an application/modules or application/themes first.
2009-10-04 10:12:21 -07:00
Tim Almdal
b2a9bf43af
Change gallery::find_file to not assume that the absolute path is relative to the document root. Instead ignore all th path parts until one of application, modules, themes, or libs is found. Fixes ticket #827
2009-10-01 12:44:18 -07:00
Tim Almdal
89a67dba63
* Remove the @todo in module event and always try to call gallery_event::$function first
...
* Refactor gallery.php to move site_menu, admin_menu, and context_menu to gallery_event.php
* Change Theme_View and Admin_view to call module::event("site_menu|admin_menu|context_menu"...)
2009-09-29 08:50:53 -07:00
Bharat Mediratta
a0a62a0992
Do a pass on the gallery::find_file and Gallery_View::{script,css} PHPdoc.
2009-09-28 19:30:34 -07:00
Tim Almdal
28624bb8f1
Update the PHPDoc for gallery::find_file and convert Gallery_View::script/css to use gallery::find_file
2009-09-28 09:04:44 -07:00
Tim Almdal
8bab030883
Add a new api method gallery::find_file. This wraps the Kohana::find_file function, but allows the extension to supplied as part of the filename. Changed the Edit permission dialog to use the new api method to locate the icons from the active theme.
2009-09-23 19:45:23 -07:00
Tim Almdal
b79129e365
Clone the photo::get_edit_form to the movies helper and use it to generate the movie edit form. Fixes ticket #726 .
2009-09-23 12:02:35 -07:00
Tim Almdal
cf89015a29
Change the fix for ticket #775 to always add the Add menu, but not add any items if the album directory is not writable.
2009-09-19 09:34:27 -07:00
Tim Almdal
4e6f2f1b4c
Don't display the add menu if the underlying operating system directory is not writable. THis should fix ticket #775
2009-09-18 23:53:48 -07:00
Bharat Mediratta
8fa370c49f
Set the version to "3.0 git (pre-RC1)"
2009-09-13 22:59:58 -07:00
Bharat Mediratta
51f6329a89
Update version to "3.0 beta 3"
2009-09-12 17:11:10 -07:00
Bharat Mediratta
2aad580f53
Move specialized (pretty) url generation back into Item_Model so that
...
we're not relying on overriding url::site() to do tricks around item
urls. This means that you won't get item urls by doing
url::site("albums/37"), for example, but it also means that we won't
get pretty urls where we don't expect them (like in the action of a
<form> element).
Incidentally, this will help us move over to using the slug format
because if you've got a bad character in a url, the edit forms will
now work on it since they'll be id based.
2009-09-08 13:44:52 -07:00
Bharat Mediratta
b14b9e0d7b
Allow anything to be made an album cover, except for direct children
...
of the root album (which has no visible album cover, so no point in
offering that option). This fully resolves #705 .
2009-09-01 20:23:44 -07:00
Chad Kieffer
19e49bea06
Don't include Make this the album's cover in context menu's for albums. #705
2009-08-31 23:07:17 -06:00
Chad Kieffer
559f9a4b9d
Add icons to context menu for albums. I'm open to other options, if folks think there's something better in the jQuery UI themeroller set.
2009-08-31 22:51:36 -06:00
Andy Staudacher
df38a890a6
Tabs to spaces cleanup
2009-08-30 18:07:13 -07:00
jhilden
746609b967
* created new generic "Add" dropdown in the site menu. this should take care of ticket #537
...
* removed start/stop translation menu items from the admin, since they are on the languags admin page now
2009-08-29 14:27:08 -04:00
Bharat Mediratta
cbba45fffc
Create the concept of an "ajax link" and use it for thumbnail rotation
...
and album covers in the context menu.
Notes:
- This requires context_menu() to have a CSS selector that refers to the
<img> that we're operating on, otherwise we don't know how to find the
thumbnail, etc.
- Create Menu_Element_Ajax_Link which has an ajax_handler attribute
that contains a snippet of JS that we're going to run when the ajax
call returns.
- Add $.gallery_replace_image in gallery.common.js
- Add lib/gallery.ajax.js which can be used to ajaxify any link, and have
ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-10 23:07:50 -07:00
Bharat Mediratta
351532d858
Fix indentation.
2009-08-10 10:07:54 -07:00
Bharat Mediratta
f7a23e0a9c
Fix up context menus a bit.
...
- Update digibug_event::context_menu() to take the actual item
- Change gallery::context_menu() to not require the page_type as an argument
2009-08-09 23:08:35 -07:00
Chad Kieffer
13546d0be7
Fixed case
2009-08-09 13:59:48 -06:00
Chad Kieffer
6357f3332b
Added basic context menu affects and styles. Simplified some of the action labels in the menu.
2009-08-08 01:14:22 -06:00
Bharat Mediratta
52147cf6f8
Combine the quick menu and the thumb menu into a single menu called
...
the "context" menu.
This new context menu is generated using the typical event processing
system, like our other menus. The specialized quick CSS and JS is now
gone, replaced by our generic menu handling code. It's all rolled
together currently using the thumb_menu UI for easy packaging. All
the CSS and JS is updated.
NOTE: the non-dialog links (rotate, album_cover) have a broken UI
because they return JSON which the quick.js code handled specially,
but we don't handle properly now. I need to fix this.
2009-08-03 21:45:54 -07:00
Bharat Mediratta
544e92adc9
Move site_menu and admin_menu into gallery helper so that site_menu
...
can call admin_menu.
2009-07-28 20:32:11 -07:00
Bharat Mediratta
4854003f41
bump version to "3.0 git (pre-beta3)"
2009-07-22 13:03:01 -07:00
Bharat Mediratta
c3f93957d7
Move the gallery version out of a module variable and into a constant
...
in the gallery helper. This will let us bump the version without
having to bump the gallery module number.
2009-07-14 10:56:10 -07:00
Bharat Mediratta
5f878e169f
Move date/time format strings into a setting and bump the gallery
...
module to version 2. First test of our upgrade code!
2009-06-12 23:05:13 -07:00
Bharat Mediratta
26314d0ef8
Create gallery::date_time(), gallery::date() and gallery::time()
...
functions that format a unix timestamp into a date+time/date/time
string.
Partial fix for ticket #347 .
2009-06-12 22:44:51 -07:00
Bharat Mediratta
1145b846ba
Fix a place where I shouldn't have renamed "core" to "gallery", breaking maintenance mode.
2009-06-01 21:07:24 -07:00
Bharat Mediratta
5e7cc75a29
Convert a few more references of APPPATH to MODPATH/gallery
2009-05-27 16:29:33 -07:00
Bharat Mediratta
88a3d43ba9
Update all references to the core application to now point to the
...
gallery module. This type of mass update is prone to some small bugs.
2009-05-27 16:17:29 -07:00