summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-25Switch gFailure back to gError. Makes more sense semantically.Chad Kieffer
2008-12-25Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's ↵Chad Kieffer
not a message type.
2008-12-25Add edit/delete links (they're just stubs now, but they open a dialog).Bharat Mediratta
Add active/position to Watermark_Model
2008-12-25Clone dialog support over from themes/default (for now)Bharat Mediratta
2008-12-25Make sure admin method exist before we call them, else we'll just recurse ↵Bharat Mediratta
into Admin_Controller::__call() again
2008-12-25Remove extra uniquifying text that Forge adds to uploaded files.Bharat Mediratta
2008-12-25Return the form on success so that we clear out any prior error formsBharat Mediratta
2008-12-25Oops, and also re-ajaxify the form if we replace it.Bharat Mediratta
2008-12-25Reload the form if it's available so that we show form errors and we reset ↵Bharat Mediratta
the form on success.
2008-12-25Ajaxify 'add users'Felix Rabinovich
2008-12-25Restore inline gLoginMenu items, remove extra ; from footer.Chad Kieffer
2008-12-25Message box style update. A few font-style updates.Chad Kieffer
2008-12-25Updated Kohana to r3845Bharat Mediratta
2008-12-25Split Items_Controller_Test into Photos and Albums testsBharat Mediratta
2008-12-25Remove a test for code that was removedBharat Mediratta
2008-12-25Move jquery.listen.js out to libBharat Mediratta
2008-12-25We no longer need these, they've been rolled into jquery-ui.jsBharat Mediratta
2008-12-25Merge in updated jquery-ui which contains the accordion widget, deleteBharat Mediratta
explicit references to accordion widget from admin ui.
2008-12-25jquery-ui.packed.js --> jquery-ui.jsBharat Mediratta
2008-12-25Removed 'packed' from the name, it's not relevantBharat Mediratta
2008-12-25fixes in user edit and deleteFelix Rabinovich
2008-12-25Reload the parent before using when adding albums/photos since it may have ↵Bharat Mediratta
invalid left/right pointers.
2008-12-25fixed minor log:add typoFelix Rabinovich
2008-12-25get_add_form() -> add_add_form_admin()Bharat Mediratta
2008-12-25Big round of normalization of the way that our controllersBharat 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-25added sprintf to strings for tranlation supportFelix Rabinovich
2008-12-25Don't let the admin delete themselves, either. That would be bad.Bharat Mediratta
2008-12-25Only admins can delete users.Bharat Mediratta
2008-12-25Fix rules for editing users.Bharat Mediratta
2008-12-25Rest_Controller -> REST_Controller everywhere, for consistency.Bharat Mediratta
2008-12-25User administration: 1. Add users; 2. Group administration; 3. General cleanupFelix Rabinovich
2008-12-25Convert tag module over to returning JSON.Bharat Mediratta
2008-12-25Fix the way we dump out comment in _show().Bharat Mediratta
2008-12-25Update the form first, then clear it on success (else it doesn't get cleared ↵Bharat Mediratta
on success)
2008-12-25Be consistent: resource is a url, data is the actual JSON encoded result.Bharat Mediratta
2008-12-25Gut the comment module and simplify it. Stop trying to support AtomBharat Mediratta
and XML for now, we have no driver for those technologies so anything we implement is not going to be sufficiently tested and therefore it'll be broken. Change all comment functions to return JSON and update the JS to deal purely with JSON. This is our new protocol for talking to the browser and it should be flexible and portable. Create comments.html.php. This duplicates comment.html.php, but will be more efficient for rendering comments since we won't be creating a new View for every comment we render.
2008-12-24Adding userFelix Rabinovich
2008-12-24Remove stray response:: (not yet time for this.. it's coming!)Bharat Mediratta
2008-12-24Normalize our Admin controllers so that functions always print outBharat 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-24Tersify a log messageBharat Mediratta
2008-12-24Fix bad <input/>Bharat Mediratta
2008-12-24Minor cleanups.Bharat Mediratta
2008-12-24Add atom to the implicit module list.Bharat Mediratta
2008-12-24Lots 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.
2008-12-23Edit user - first draftFelix Rabinovich
2008-12-23Can't self-close a <div>.Bharat Mediratta
2008-12-23Clean up the way that we upload via dialogs:Bharat Mediratta
1) If the create request is Ajax, then return a 201 Created response code 2) If we receive back a 201 response, then switch to the new page. 3) Display a status message when we do an upload.
2008-12-23Fixed indentsChad Kieffer
2008-12-23Make the loading class a bit more reusable.Chad Kieffer
2008-12-23Reload parent after adding a new item since the left/right pointers have ↵Bharat Mediratta
changed.