summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2008-12-29url::site is implicit in Forge actions, don't specify it a 2nd timeBharat Mediratta
2008-12-29Relax the rules a bitBharat Mediratta
2008-12-28Add title back to non-DHTML form to maintain consistencyFelix Rabinovich
2008-12-26Added title to user/group administration dialogsFelix Rabinovich
2008-12-26Added content type to JSON output functionsFelix Rabinovich
2008-12-26Move Watermarks under Content in the Site Admin menu.Bharat Mediratta
2008-12-26User/Group administration cleanupFelix Rabinovich
2008-12-26Separate GET and POST in Group AdministrationFelix Rabinovich
2008-12-26Add the graphics rules for both thumbs and resizes (instead of just thumbs).Bharat Mediratta
2008-12-26Added the concept of "permanent" messages that we show to admins. UseBharat 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-26Separate GET and POST in User AdministrationFelix Rabinovich
2008-12-26Fix get_add_form() to use self::positions() so that we get the right ↵Bharat Mediratta
key/value pairs.
2008-12-26Login is 'info' not 'success'Bharat Mediratta
2008-12-26Added graphics::mark_all_dirty(). The watermark code now marks imagesBharat Mediratta
as dirty if the admin changes the watermark at all.
2008-12-26Add missing '=' causing <img> height not to get set.Bharat Mediratta
2008-12-26Group AdministrationFelix Rabinovich
2008-12-26More watermark changes:Bharat Mediratta
Change admin/watermarks/upload -> admin/watermarks/add for consistency. Internationalize position text, store it as text in the database, display it to the admin. Make i18n strings consistent to reduce l10n load.
2008-12-26Remove an HTTP redirect that was breaking the Ajax interface.Bharat Mediratta
2008-12-26User Administration. Add users. Take 3Felix Rabinovich
2008-12-26User Administration. Delete users. Take 3Felix Rabinovich
2008-12-26Simplify the watermark module. We can now upload, edit and delete oneBharat Mediratta
watermark. The UI is rough and we don't yet apply the watermark to images.. that's next.
2008-12-26User Administration. Edit users. Take 3Felix Rabinovich
2008-12-25Rework 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-25Add edit/delete links (they're just stubs now, but they open a dialog).Bharat Mediratta
Add active/position to Watermark_Model
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-25Remove a test for code that was removedBharat Mediratta
2008-12-25fixes in user edit and deleteFelix Rabinovich
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-24Minor cleanups.Bharat Mediratta