Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-25 | Remove extra uniquifying text that Forge adds to uploaded files. | Bharat Mediratta | |
2008-12-25 | Return the form on success so that we clear out any prior error forms | Bharat Mediratta | |
2008-12-25 | Oops, and also re-ajaxify the form if we replace it. | Bharat Mediratta | |
2008-12-25 | Reload the form if it's available so that we show form errors and we reset ↵ | Bharat Mediratta | |
the form on success. | |||
2008-12-25 | Ajaxify 'add users' | Felix Rabinovich | |
2008-12-25 | Restore inline gLoginMenu items, remove extra ; from footer. | Chad Kieffer | |
2008-12-25 | Message box style update. A few font-style updates. | Chad Kieffer | |
2008-12-25 | Updated Kohana to r3845 | Bharat Mediratta | |
2008-12-25 | Split Items_Controller_Test into Photos and Albums tests | Bharat Mediratta | |
2008-12-25 | Remove a test for code that was removed | Bharat Mediratta | |
2008-12-25 | Move jquery.listen.js out to lib | Bharat Mediratta | |
2008-12-25 | We no longer need these, they've been rolled into jquery-ui.js | Bharat Mediratta | |
2008-12-25 | Merge in updated jquery-ui which contains the accordion widget, delete | Bharat Mediratta | |
explicit references to accordion widget from admin ui. | |||
2008-12-25 | jquery-ui.packed.js --> jquery-ui.js | Bharat Mediratta | |
2008-12-25 | Removed 'packed' from the name, it's not relevant | Bharat Mediratta | |
2008-12-25 | fixes in user edit and delete | Felix Rabinovich | |
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 | fixed minor log:add typo | Felix Rabinovich | |
2008-12-25 | get_add_form() -> add_add_form_admin() | Bharat Mediratta | |
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 | added sprintf to strings for tranlation support | Felix Rabinovich | |
2008-12-25 | Don't let the admin delete themselves, either. That would be bad. | Bharat Mediratta | |
2008-12-25 | Only admins can delete users. | Bharat Mediratta | |
2008-12-25 | Fix rules for editing users. | Bharat Mediratta | |
2008-12-25 | Rest_Controller -> REST_Controller everywhere, for consistency. | Bharat Mediratta | |
2008-12-25 | User administration: 1. Add users; 2. Group administration; 3. General cleanup | Felix Rabinovich | |
2008-12-25 | Convert tag module over to returning JSON. | Bharat Mediratta | |
2008-12-25 | Fix the way we dump out comment in _show(). | Bharat Mediratta | |
2008-12-25 | Update the form first, then clear it on success (else it doesn't get cleared ↵ | Bharat Mediratta | |
on success) | |||
2008-12-25 | Be consistent: resource is a url, data is the actual JSON encoded result. | Bharat Mediratta | |
2008-12-25 | Gut the comment module and simplify it. Stop trying to support Atom | Bharat 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-24 | Adding user | Felix Rabinovich | |
2008-12-24 | Remove stray response:: (not yet time for this.. it's coming!) | 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 | Tersify a log message | Bharat Mediratta | |
2008-12-24 | Fix bad <input/> | Bharat Mediratta | |
2008-12-24 | Minor cleanups. | 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. | |||
2008-12-23 | Edit user - first draft | Felix Rabinovich | |
2008-12-23 | Can't self-close a <div>. | Bharat Mediratta | |
2008-12-23 | Clean 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-23 | Fixed indents | Chad Kieffer | |
2008-12-23 | Make the loading class a bit more reusable. | Chad Kieffer | |
2008-12-23 | Reload parent after adding a new item since the left/right pointers have ↵ | Bharat Mediratta | |
changed. | |||
2008-12-23 | Only clear the dirty bit if we updated the specific target. | Bharat Mediratta | |
2008-12-23 | Update to reflect change in album::create API | Bharat Mediratta | |
2008-12-23 | Change photo::create() and album::create() to take ORM instances | Bharat Mediratta | |
instead of ids. | |||
2008-12-23 | Add very simple graphics toolkits. | Bharat Mediratta | |
Track a set of rules in Graphics_Rule_Model which specify how we turn original images into thumbnails and resizes. There's one set of rules that applies to every image in the Gallery. Track the state of thumbs and resizes with a "dirty" bit. The new graphics helper manages the rules and can rebuild the thumbs and resizes for any images that are considered "dirty". Introduce the concept of an "album cover" which is an item that an album points to. We'll use that item as the source for the album's thumbnail/resize. Conflated with this change (sorry!) I also changed the Var table to use module_name instead of module_id. This may be marginally less efficient, but it's much easier to follow in the database. | |||
2008-12-23 | Update comment. | Bharat Mediratta | |