summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2009-03-11Bag the header("Location:", ...);exit() and replace withTim Almdal
url:site(url::abs_file(...))
2009-03-11Tried various combinations of url::redirect(...) orTim Almdal
url::redirect(url::file(...)) The only thing that works is this way.
2009-03-11Fix ticket #69. Rather than giving a better error message when theTim Almdal
gallery3 database is not setup. Just redirect to the installer.
2009-03-11Force a login if everybody does not have access to the rootTim Almdal
item. ticket #118.
2009-03-11$task_definitions -> $task_defBharat Mediratta
2009-03-11Refine the task api but removing the optional parameters on theTim Almdal
task::create method call
2009-03-11Get rid of stray 'type' argument to task::get_definitions()Bharat Mediratta
2009-03-11Fix the test failures. If albums are created manually instead ofTim Almdal
calling album::create, then the default sourt column needs to be set to id.
2009-03-11Fix the Var_Test by making sure that the cache is cleared or updatedTim Almdal
when a variable is set or cleared.
2009-03-11Fix the test, with the addition of the additional fields required byTim Almdal
album sort order change.
2009-03-10access::allow/deny/reset functions will now throw an exception if youBharat Mediratta
don't pass in a Group_Model as the argument. This prevents us from setting permissions on the wrong group by accidentally passing in a User_Model.
2009-03-10Minor change to the task api with the addition of two optionalTim Almdal
parameters. The first allows the specification of a task name. Non-maintenance tasks are not defined as part of availabl_tasks so we can't get the name from the task definitions. The 2nd allows the specification of a context when the task is completed.
2009-03-10Add profiling/debugging switches in the Scaffold menu.Bharat Mediratta
2009-03-10Show the album edit form for albums, not the photo edit formBharat Mediratta
2009-03-09Override the ORM_MTTP::children and ORM_MTPP::descendants methods inTim Almdal
the item model and always pass the orderby fields. This insures that all children or descendant calls will respect the album sort order.
2009-03-09Change Item_Model::get_position to respect the sort order. This alsoTim Almdal
forced the next/prev buttons in album navication to respect the sort order as well.
2009-03-09Restructure the sort order to maintain the sort column and sort orderTim Almdal
as two separate columns in the item table.
2009-03-09Add a 'cancel all' link tooBharat Mediratta
2009-03-09More tasks cleanup.Bharat Mediratta
Don't join through to the users table; that won't work in embedded mode. Instead, add Tasks_Model::owner() that calls user::lookup() and refer to the object directly in the view. Add Admin_Maintenance:remove_finished_tasks() so that we can easily do old task cleanup. Hide Running / Finished sections if there aren't any running or finished tasks.
2009-03-09Get rid of Task_Definition types: they're not necessary. ThisBharat Mediratta
incidentally fixes the the problem that admin/maintenance tasks have been broken.
2009-03-09Don't let graphics::resize() upscale images.Bharat Mediratta
Fixes ticket #117.
2009-03-09Don't forget to clean up temp files after uploading.Bharat Mediratta
Fixes ticket #120.
2009-03-09On second thought, make the description column varchar(2048) instead.Bharat Mediratta
If I understand correctly, this is better for performance. I could be wrong here, though.
2009-03-09Make the description a text column so that we can handle much largerBharat Mediratta
descriptions.
2009-03-09Tweak abs_file() and abs_site() to generate https urls as appropriate.Bharat Mediratta
Fixes ticket #125
2009-03-09Instead of putting after_install in the url, put it in the session.Bharat Mediratta
This helps us to make sure that we only see the welcome message once.
2009-03-08Log the user in as admin after running the web installer, and giveBharat Mediratta
them a nice "Welcome to Gallery 3" dialog. The text in there needs a little work but it's a start. In the process, re-build the install.sql using the scaffolding code.
2009-03-08Post process the sql generation code to support prefixesBharat Mediratta
2009-03-08Update sort order processing per Bharat's feedbackTim Almdal
* Remove mime type and type as sortable fields * Change the internal representation to serialized array * Shorten the database field to varchar(64)
2009-03-08Implement Sortable albums. Current sort fields include (CreationTim Almdal
Date, Update Date, Random Key, Title, Mime Type, Item Type & Number of views)
2009-03-08Undo... pass any additional parameters to the _edit_form methodTim Almdal
2009-03-08Pass any additional parameters to the _edit_form methodTim Almdal
2009-03-08Don't show the pager if there're no photos on the page.Bharat Mediratta
2009-03-07Add in-request caching of vars that we've already looked up. We'reBharat Mediratta
still doing too many database queries, but this cuts down some dupes.
2009-03-06oops. fix accidental style change that slipped into last commitChris Kelly
2009-03-06Added json and filter as requirementsChris Kelly
2009-03-05Fix for ticket #114 Permissions seem to be ignoredTim Almdal
2009-03-05Avoid using default task types. Require task::get_definitions() toBharat Mediratta
specify a single type and ask for it appropriately in admin_maintenance. Specify a type for every existing task.
2009-03-05A little task restructuringBharat Mediratta
2009-03-05Applied jQuery UI buttons to quick edit pane. Not tested, but icons should ↵Chad Kieffer
display iin IE6 now. Rotate icons will need to be updated later.
2009-03-05Implement a Maintenance mode as per ticket: #15Tim Almdal
2009-03-04Implement batch support in a simple fashion to avoid having to change the ↵Bharat Mediratta
swf file for now
2009-03-04Remove cruft from APIBharat Mediratta
2009-03-04Redefine the batch API to be very very simple. You callBharat Mediratta
batch::start() before starting a series of events, and batch::stop() when you're done. In batch mode, the notification module will store up pending notifications. When the batch job is complete, it'll send a single digested email to each user for all of her notifications. Updated the scaffold and local_import to use this. Haven't modified SimpleUploader yet.
2009-03-04Allow url() to return absolute urlsBharat Mediratta
2009-03-04Delete test(), it should never have been checked in.Bharat Mediratta
2009-03-03Use the gallery root directory on the batch::operation call whenTim Almdal
generating random albums and images
2009-03-03Create a proxy event (gallery_event) which is called when the requestTim Almdal
is completing.
2009-03-03Add the ability for modules to define hooks. The challenge is thatTim Almdal
when the hooks are run, we haven't added all the installed modules to the path, So if a module defines a hook it will never be run. This change runs any module defined hooks as part of the gallery initialization.
2009-03-03Remove the === false and === true checksTim Almdal
I really mean it this time