Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-31 | Preliminary "Edit Permissions" dialog. You can't change permissions | Bharat Mediratta | |
yet, but it shows you which items have locked view perms. | |||
2008-12-31 | Fix a bug where we were accidentally allowing view permissions when | Bharat Mediratta | |
allowing or resetting permission further down in the tree. This bug was introduced when I refactored the view permission cache into the items table. Updated test to catch it. | |||
2008-12-31 | Fully implement the view_full permission. | Bharat Mediratta | |
2008-12-30 | Oops, remove some debug code. | Bharat Mediratta | |
2008-12-30 | Fix a bug. Unit tests ftw! | Bharat Mediratta | |
2008-12-30 | Refactor _create_htaccess_files and _delete_htaccess_files into | Bharat Mediratta | |
_update_htaccess_files in preparation for supporting the view_full permission. | |||
2008-12-30 | Fix typo. | Bharat Mediratta | |
2008-12-30 | Update user::create() scaffolding for changes in the user module: can't set ↵ | Andy Staudacher | |
the isAdmin bit at creation time. | |||
2008-12-30 | Oops, this got left out of r19497 | Bharat Mediratta | |
2008-12-30 | Add the view_full permission-- doesn't do anything yet | Bharat Mediratta | |
2008-12-30 | Add a "Graphics Settings" page that lets admins choose which graphics | Bharat Mediratta | |
toolkit we use. We only allow users to use one toolkit. The UI needs work! | |||
2008-12-30 | Add some basic explanatory text | Bharat Mediratta | |
2008-12-30 | Add site_status() to the regular Theme_View | Bharat Mediratta | |
2008-12-30 | Only show site status to admins | Bharat Mediratta | |
2008-12-30 | More phodoc cleanup. | Bharat Mediratta | |
2008-12-30 | comment cleanup. | Bharat Mediratta | |
2008-12-30 | Make some columns smaller so that multi-column keys don't exceed 1024 | Bharat Mediratta | |
bytes on some systems. | |||
2008-12-29 | Don't let the x/y coordinates in composite go negative. | Bharat Mediratta | |
2008-12-29 | Remove rest::JSON content type; it's causing lots of problems and it doesn't ↵ | Bharat Mediratta | |
directly help since text/html works just as well for our JSON communications | |||
2008-12-29 | Properly implement graphics::composite() | Bharat Mediratta | |
2008-12-29 | Return the task on success so that our UI can show it at 100% | Bharat Mediratta | |
2008-12-29 | Replace __CSRF__ token with a real csrf. This allows links in site status ↵ | Bharat Mediratta | |
messages to persiste across sessions. | |||
2008-12-29 | Oops, my last change broke the default resize dimensions | Bharat Mediratta | |
2008-12-29 | Make graphics rules take named parameters. This will give us some | Bharat Mediratta | |
flexibility in the future. | |||
2008-12-29 | Don't set the document type to JSON when uploading photos. | Bharat Mediratta | |
2008-12-29 | Remove references to permanent_key | Bharat Mediratta | |
2008-12-29 | Separate permanent messages out of the message helper and put them | Bharat Mediratta | |
into site_status. Show site status in the header in the admin theme. | |||
2008-12-28 | Expand on the maintenance code to make it more robust and give the | Bharat Mediratta | |
admin more control. You can now track running tasks, resume stalled tasks, cancel running tasks, and remove finished tasks. Added graphics::compose() as a placeholder for future watermark operations. Added CSRF protection to maintenance urls. | |||
2008-12-28 | Javascript wrapper to ping tasks | Bharat Mediratta | |
2008-12-28 | First round of a task framework. Tasks are job definitions stored in | Bharat Mediratta | |
the database. They're started with admin/maintenance/start/[task_name] which sends down some JS/HTML which regularly pings the task at admin/maintenance/start/[task_id] until its done. The UI is still very rough. It works, though! | |||
2008-12-27 | Ignore resizes for albums when calculating the dirty count | Bharat Mediratta | |
2008-12-27 | Add clear_permanent() | Bharat Mediratta | |
2008-12-26 | Added content type to JSON output functions | Felix Rabinovich | |
2008-12-26 | Added the concept of "permanent" messages that we show to admins. Use | Bharat Mediratta | |
this to show a "your thumbs/resizes are out of date" message whenever we change the graphics rules. Tweak watermark module to add graphics rules whenever we make a change, which triggers the graphics module to add the permanent message. | |||
2008-12-26 | Added graphics::mark_all_dirty(). The watermark code now marks images | Bharat Mediratta | |
as dirty if the admin changes the watermark at all. | |||
2008-12-26 | Fix a bug I introduced when I switched from module id to module name; now ↵ | Bharat Mediratta | |
deleting cleans up vars and graphics rules | |||
2008-12-26 | Group Administration | Felix Rabinovich | |
2008-12-26 | Fix a typo. | Bharat Mediratta | |
2008-12-26 | Add module::clear_var() | Bharat Mediratta | |
2008-12-25 | Rework log and message helpers to be parallel, but separate. | Bharat Mediratta | |
1) they now have their own matching severity constants 2) they both have convenience functions success(), info(), warning() and error() 3) they both have severity_class() | |||
2008-12-25 | Make sure admin method exist before we call them, else we'll just recurse ↵ | Bharat Mediratta | |
into Admin_Controller::__call() again | |||
2008-12-25 | Ajaxify 'add users' | Felix Rabinovich | |
2008-12-25 | Split Items_Controller_Test into Photos and Albums tests | Bharat Mediratta | |
2008-12-25 | Reload the parent before using when adding albums/photos since it may have ↵ | Bharat Mediratta | |
invalid left/right pointers. | |||
2008-12-25 | Big round of normalization of the way that our controllers | Bharat Mediratta | |
communicate. Almost all controllers now use JSON to speak to the theme when we're dealing with form processing. This means tht we only send the form back and forth, but we use a JSON protocol to tell the browser success/error status as well as the location of any newly created resources, or where the browser should redirect the user. Lots of small changes: 1) Admin -> Edit Profile is gone. Instead I fixed the "Modify Profile" link in the top right corner to be a modal dialog 2) We use json_encode everywhere. No more Atom/XML for now. We can bring those back later, though. For now there's a lot of code duplication but that'll be easy to clean up. 3) REST_Controller is no longer abstract. All methods its subclasses should create throw exceptions, which means that subclasses don't have to implement stubs for those methods. 4) New pattern: helper method get_add_form calls take an Item_Model, not an id since we have to load the Item_Model in the controller anyway to check permissions. 5) User/Groups REST resources are separate from User/Group in the site admin. They do different things, we should avoid confusing overlap. | |||
2008-12-25 | Rest_Controller -> REST_Controller everywhere, for consistency. | Bharat Mediratta | |
2008-12-24 | Normalize our Admin controllers so that functions always print out | Bharat Mediratta | |
their results, as opposed to having them return their view back upstream. This is a little more code in every controller, but it's much less magical and more consistent. Look up the active_theme and active_admin_theme inside the view itself, no need to do that in the controllers. This makes view initialization easier in the controllers. | |||
2008-12-24 | Fix bad <input/> | Bharat Mediratta | |
2008-12-24 | Add atom to the implicit module list. | Bharat Mediratta | |
2008-12-24 | Lots of deltas rolled up into a bigger change. Sorry for the mess. | Bharat Mediratta | |
1) Deleted in-place-editing. We'll be replacing this with a real edit system that groups settings together and is more coherent. 2) Tweaked the way that dialog boxes work to get the ajax stuff working again. It's imperfect and does not work properly for uploading images. This is going to get redone also, but this is a good resting point. 3) Created edit forms for albums and photos. Moved _update and _create out of Items_Controller and into the individual subclasses. 4) Created access::required which is a shorthand for: if (!access::can(...)) { access::forbidden(); } 5) Added validation rules to Items_Model 6) Converted login to use the regular modal dialog approach in the theme. |