summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-03-16Clean up the login, maintenance login and required-top-level-login code.Bharat Mediratta
We now have two clear and separate login approaches: login/ajax login/html Choose the one that's appropriate. Totally simplified the maintenance page to be separate from the theme and dead simple, and use login/html approach there. Totally simplified the top level login (login_page.html.php) to just be a login page, not the rest of the chrome on the page and use the login/ajax approach there. Don't use access::required in albums and then catch the exception, instead use access::can and check the return code. Improve the text for maintenance mode.
2009-03-16Stop loading jeditable-- we don't use it anymoreBharat Mediratta
2009-03-15Move atom, developer, polar_rose and gmaps modules into gallery-contribBharat Mediratta
2009-03-15Move profiling and debugging out of the scaffolding and into theTim Almdal
developer module.
2009-03-15Updates to the developer tool create module.Tim Almdal
It now creates a fully functional sidebar block, a dialog pop up on the option menu for albums or photos, a dashboard block and an admin screen.
2009-03-15Refactored the developer module. When a new module is generated aTim Almdal
skeleton adminstration page is generated as well. @todo is still generate a skeleton block and a skeleton dialog.
2009-03-14Use relative urls for the feed links.Bharat Mediratta
2009-03-14* remove debug codeTim Almdal
2009-03-14* Allow module names with spacesTim Almdal
* remove debug code
2009-03-13The first incarnation of the developer tools. This allows the user toTim Almdal
enter a module name, a description and pick the call backs and or events they want to support and generate the basic module skeleton with one click. @todo: clone a module, clone a theme, generate skeleton controller, view,
2009-03-13Make the exif_key value size 1kBharat Mediratta
2009-03-12Move the setting of the page title into the controller that isTim Almdal
creating the page. Provide for a default page title if none is set. This allows less changes to page.html.php as different modules want to change the page title.
2009-03-12Rename tag.html.php to dynamic.html.php as part of ticket #115Tim Almdal
creating Dynamic Albums. This name change reflects the usage better and allows multiple dynamic albums (including tags) to use the same page template.
2009-03-12Strip down the loin page (not sure if this is what bharat had in mind)Tim Almdal
2009-03-11Bag the header("Location:", ...);exit() and replace withTim Almdal
url:site(url::abs_file(...)) Create a login_page.html to be used when there is no guest access to the root album. It doesn't have a sidebar nor breadcrumb.
2009-03-11Fix ticket #119. Display the full name of the user in the same blockTim Almdal
as the Modify profile and logout links.
2009-03-11Force a login if everybody does not have access to the rootTim Almdal
item. ticket #118.
2009-03-11Refine the task api but removing the optional parameters on theTim Almdal
task::create method call
2009-03-10Refactor the server add module to make use of the task api (TicketTim Almdal
#125). Haven't quite figured out what to do with the errors in the context. Maybe they should show on the mainenance screen?
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-09Fix for ticket #135Tim Almdal
2009-03-09Fix for ticket #133: If $max_pages is zero don't try to redirect toTim Almdal
max_page, just return an empty feed.
2009-03-09Don't show the description field if there's no descriptionBharat Mediratta
2009-03-09Fix the progress param to be an actual boolean to resolve a JS error.Bharat Mediratta
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-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-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-05Fix some table namesBharat Mediratta
2009-03-05Don't clean out the authorized_paths var at install time, so that ↵Bharat Mediratta
uninstall/reinstall doesn't mean starting over
2009-03-05Remove stray reference to server_add_dir_list.html.phpBharat Mediratta
2009-03-05Cleanups.Bharat Mediratta
- Show the "Server Add needs configuration" message whenever there are no paths. - Un-ajaxify the admin code to remove complexity and allow us to update the status message as appropriate. - Rename server_add_admin.html.php to admin_server_add.html.php for consistency. - Fix up form to properly display error messages - Get rid of server_add_dir_list.html.php now that we're non-ajaxified. - Change delete <span> to an <a> for non-ajax world.
2009-03-05Minor cleanups.Bharat Mediratta
2009-03-05Change how the urls are built in the java scriptTim Almdal
2009-03-05Clean up no authorized directoriesmessageTim Almdal
2009-03-05Correct typoTim Almdal
2009-03-04Remove addition options to the autocomplete call. No point in sendingTim Almdal
csrf if we are not verifying it. Remove the must match flag so non-existent paths don't cause the input box to empty
2009-03-04Last of changes required from Bharat's 2nd review passTim Almdal
2009-03-04Continuation of the rename of jquery.autocomplete.pack.jsTim Almdal
2009-03-04move server_add styles into the theme screen.css filesTim Almdal
2009-03-04Move the autocomplete js and css files to libTim Almdal
2009-03-04Changed $uid to $tree_id, so not to confuse anyone between and acroynmTim Almdal
for unique identifier as opposed to user id. :-)
2009-03-04Rename local_import module to server_addTim Almdal
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-04A variety of cleanups:Bharat Mediratta
* Allow for the "movie" type in all of our text * Try to follow the pattern of mainly only passing ORM objects to the view and let it generate its own text (this becomes even more important when 3rd parties want to customize notification messages) * Rename _send_message to be _notify_subscribers to be more acccurate and have it explicitly take a subject in the API * Use Item_Model::url() in the views instead of hand crafting URLs * Reformat HTML in views * Use $comment->author_xxx() functions instead of replicating that code * Fix several places where we were encoding data by doing ucfirst($item->type) with conditionals where we form the text properly. We should *never* be showing data types to the end user! This is not localizable! Note that this probably breaks the existing batch processing code. I am going to redo that in a subsequent pass.
2009-03-04Simplify logic a bit and tweak the visible text.Bharat Mediratta
2009-03-04Indentation and whitespace tweaks.Bharat Mediratta
2009-03-04Fix indentation.Bharat Mediratta
2009-03-04remove unnecessary render()Bharat Mediratta
2009-03-04Move <label> outside of <?= ?> blockBharat Mediratta
2009-03-04Send 1 items added notification per batch of itemsTim Almdal