Commit Graph

  • 847d42682d Switch gFailure back to gError. Makes more sense semantically. Chad Kieffer 2008-12-25 23:31:41 +00:00
  • caaa521927 Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's not a message type. Chad Kieffer 2008-12-25 23:22:38 +00:00
  • 94e3ae2e0f Add edit/delete links (they're just stubs now, but they open a dialog). Add active/position to Watermark_Model Bharat Mediratta 2008-12-25 22:31:20 +00:00
  • 3d42234d57 Clone dialog support over from themes/default (for now) Bharat Mediratta 2008-12-25 22:29:26 +00:00
  • b6f44334d9 Make sure admin method exist before we call them, else we'll just recurse into Admin_Controller::__call() again Bharat Mediratta 2008-12-25 22:29:05 +00:00
  • 75b9a7872c Remove extra uniquifying text that Forge adds to uploaded files. Bharat Mediratta 2008-12-25 21:54:09 +00:00
  • 71d0373838 Return the form on success so that we clear out any prior error forms Bharat Mediratta 2008-12-25 21:41:18 +00:00
  • 324b612003 Oops, and also re-ajaxify the form if we replace it. Bharat Mediratta 2008-12-25 21:40:05 +00:00
  • ead45ffbc2 Reload the form if it's available so that we show form errors and we reset the form on success. Bharat Mediratta 2008-12-25 21:39:22 +00:00
  • 82ed38d78e Ajaxify 'add users' Felix Rabinovich 2008-12-25 20:59:33 +00:00
  • 9ebced112b Restore inline gLoginMenu items, remove extra ; from footer. Chad Kieffer 2008-12-25 20:12:00 +00:00
  • 2c978cb37a Message box style update. A few font-style updates. Chad Kieffer 2008-12-25 19:59:15 +00:00
  • b91992187d Updated Kohana to r3845 Bharat Mediratta 2008-12-25 10:24:29 +00:00
  • 3185915264 Split Items_Controller_Test into Photos and Albums tests Bharat Mediratta 2008-12-25 10:14:59 +00:00
  • 36b903b234 Remove a test for code that was removed Bharat Mediratta 2008-12-25 10:14:28 +00:00
  • 74bfa24b8f Move jquery.listen.js out to lib Bharat Mediratta 2008-12-25 08:27:57 +00:00
  • 0338205efe We no longer need these, they've been rolled into jquery-ui.js Bharat Mediratta 2008-12-25 08:15:45 +00:00
  • da7fe5154a Merge in updated jquery-ui which contains the accordion widget, delete explicit references to accordion widget from admin ui. Bharat Mediratta 2008-12-25 08:14:41 +00:00
  • 5ca952fe61 jquery-ui.packed.js --> jquery-ui.js Bharat Mediratta 2008-12-25 08:11:46 +00:00
  • de1af052fc Removed 'packed' from the name, it's not relevant Bharat Mediratta 2008-12-25 08:09:36 +00:00
  • 730d74c87a fixes in user edit and delete Felix Rabinovich 2008-12-25 06:29:12 +00:00
  • d5a1433f2d Reload the parent before using when adding albums/photos since it may have invalid left/right pointers. Bharat Mediratta 2008-12-25 06:12:16 +00:00
  • 3a22e0a2df fixed minor log:add typo Felix Rabinovich 2008-12-25 06:11:07 +00:00
  • d4a5264925 get_add_form() -> add_add_form_admin() Bharat Mediratta 2008-12-25 05:57:45 +00:00
  • fdc0f83024 Big round of normalization of the way that our controllers 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. Bharat Mediratta 2008-12-25 05:12:46 +00:00
  • 6e68c5ca28 added sprintf to strings for tranlation support Felix Rabinovich 2008-12-25 02:59:45 +00:00
  • 2c6a80fb76 Don't let the admin delete themselves, either. That would be bad. Bharat Mediratta 2008-12-25 02:48:07 +00:00
  • 95ec6a8f57 Only admins can delete users. Bharat Mediratta 2008-12-25 02:47:17 +00:00
  • 216ecf3079 Fix rules for editing users. Bharat Mediratta 2008-12-25 02:42:48 +00:00
  • f6ebb436e4 Rest_Controller -> REST_Controller everywhere, for consistency. Bharat Mediratta 2008-12-25 02:38:53 +00:00
  • 481352c382 User administration: 1. Add users; 2. Group administration; 3. General cleanup Felix Rabinovich 2008-12-25 02:16:41 +00:00
  • fd49c74607 Convert tag module over to returning JSON. Bharat Mediratta 2008-12-25 01:34:17 +00:00
  • 7a9d4a2224 Fix the way we dump out comment in _show(). Bharat Mediratta 2008-12-25 01:06:37 +00:00
  • cdcd8bf377 Update the form first, then clear it on success (else it doesn't get cleared on success) Bharat Mediratta 2008-12-25 00:56:10 +00:00
  • d62acf041f Be consistent: resource is a url, data is the actual JSON encoded result. Bharat Mediratta 2008-12-25 00:53:45 +00:00
  • 0bb82b7621 Gut the comment module and simplify it. Stop trying to support Atom 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. Bharat Mediratta 2008-12-25 00:47:40 +00:00
  • 7a82beb752 Adding user Felix Rabinovich 2008-12-24 19:59:12 +00:00
  • 526ac39697 Remove stray response:: (not yet time for this.. it's coming!) Bharat Mediratta 2008-12-24 04:25:11 +00:00
  • c7193f9b2e Normalize our Admin controllers so that functions always print out 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. Bharat Mediratta 2008-12-24 04:22:22 +00:00
  • b2c9a59d1b Tersify a log message Bharat Mediratta 2008-12-24 04:10:00 +00:00
  • 1ed83e5569 Fix bad <input/> Bharat Mediratta 2008-12-24 04:09:41 +00:00
  • b0dff620e2 Minor cleanups. Bharat Mediratta 2008-12-24 04:05:47 +00:00
  • 863e3712c7 Add atom to the implicit module list. Bharat Mediratta 2008-12-24 04:04:08 +00:00
  • 672eca5337 Lots of deltas rolled up into a bigger change. Sorry for the mess. Bharat Mediratta 2008-12-24 00:20:26 +00:00
  • c76d730a7c Edit user - first draft Felix Rabinovich 2008-12-23 21:44:35 +00:00
  • 32a3071477 Can't self-close a <div>. Bharat Mediratta 2008-12-23 19:07:30 +00:00
  • 76b1500209 Clean up the way that we upload via dialogs: 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. Bharat Mediratta 2008-12-23 07:30:14 +00:00
  • 69daaffb05 Fixed indents Chad Kieffer 2008-12-23 06:33:28 +00:00
  • 73d7cb4576 Make the loading class a bit more reusable. Chad Kieffer 2008-12-23 06:24:21 +00:00
  • 8f1cd010c0 Reload parent after adding a new item since the left/right pointers have changed. Bharat Mediratta 2008-12-23 06:10:06 +00:00
  • 360fbda04c Only clear the dirty bit if we updated the specific target. Bharat Mediratta 2008-12-23 04:46:13 +00:00
  • 14da6b65b7 Update to reflect change in album::create API Bharat Mediratta 2008-12-23 04:43:54 +00:00
  • 5713e3c66e Change photo::create() and album::create() to take ORM instances instead of ids. Bharat Mediratta 2008-12-23 04:36:09 +00:00
  • 2502240ce4 Add very simple graphics toolkits. Bharat Mediratta 2008-12-23 04:14:07 +00:00
  • 608d099669 Update comment. Bharat Mediratta 2008-12-23 01:49:26 +00:00
  • ddcf10dfce Allow the site admin to upload watermark images. Can't do much with them yet. Bharat Mediratta 2008-12-23 01:29:17 +00:00
  • f476e2169e Change photo::img_dimensions to take the dimensions, not a photo. This lets us use it in the watermark module too Bharat Mediratta 2008-12-23 01:27:50 +00:00
  • 0c89fdcfc8 Added missing semicolons Chad Kieffer 2008-12-23 01:00:23 +00:00
  • d330e4203a Step 1 of converting watermarks over to be an admin page. Bharat Mediratta 2008-12-23 00:13:22 +00:00
  • 34daf50695 Add attribute to <script> element. Bharat Mediratta 2008-12-23 00:06:20 +00:00
  • c5173c5370 Remove stray comma. Bharat Mediratta 2008-12-23 00:05:36 +00:00
  • 27a3fc9230 Fix a typo Bharat Mediratta 2008-12-22 20:42:00 +00:00
  • 3a71a9d5c1 Add message severity CSS classes to status messages. Create message::severity_class() to do the conversion and convert the log entry code to use that. Bharat Mediratta 2008-12-22 20:23:28 +00:00
  • 37d24e863c Internationalize welcome block. Bharat Mediratta 2008-12-22 19:46:40 +00:00
  • 47d068e4a8 Remove extraneous view, not necessary Bharat Mediratta 2008-12-22 10:39:13 +00:00
  • 03042850ad Fix admin/modules url. Bharat Mediratta 2008-12-22 10:32:32 +00:00
  • bdc0876fa8 Add messaging system for reporting actions back to the user. Make module install/uninstall work and tie it into the messaging system. Bharat Mediratta 2008-12-22 06:50:20 +00:00
  • f6381c534e Reinstate the dummy error handler to ensure that we work in a clean install w/ no database Bharat Mediratta 2008-12-22 04:54:51 +00:00
  • 17f77b8de4 Remove module.info from infrastructure modules that are effectively libraries that would ship with the core. Bharat Mediratta 2008-12-22 04:49:30 +00:00
  • 9cf2c57921 Normalize CSRF handling into the access helper. Probably not the best place for it, but it'll do for now. Bharat Mediratta 2008-12-22 04:33:18 +00:00
  • 685a5ca1e1 Support proper rendering of locked modules, add a submit button, point it at admin/modules/save Bharat Mediratta 2008-12-22 04:32:23 +00:00
  • 74c417cab9 Lock a couple of modules Bharat Mediratta 2008-12-22 04:31:04 +00:00
  • b526cc8c0b Add some admin theme callbacks and make them explicitly admin_xxx for consistency with the callbacks in the xxx_block helpers. So in the theme we have: Bharat Mediratta 2008-12-22 03:53:36 +00:00
  • fe27bd1eb3 Change the way that we track modules. Bharat Mediratta 2008-12-22 03:41:33 +00:00
  • f7b4222e3f Fix capitalization. Bharat Mediratta 2008-12-22 03:23:30 +00:00
  • a98d13e9c7 Update Selenium IDE test case file names. Chad Kieffer 2008-12-22 00:19:58 +00:00
  • f2f5a67cde Removed my local dev url. Chad Kieffer 2008-12-21 23:59:53 +00:00
  • 7934076a3b Add phpdoc comments. Bharat Mediratta 2008-12-21 21:52:49 +00:00
  • 1432ab9aca Swap "Content" and "Modules" Bharat Mediratta 2008-12-21 20:44:02 +00:00
  • 849b271a8c Add info/warning/error classes to log messages. Bharat Mediratta 2008-12-21 10:35:30 +00:00
  • 0573698155 Add some more logging code. Now the site admin has some log entries to look at. Bharat Mediratta 2008-12-21 04:43:47 +00:00
  • 4c2ddfb868 INFO -> log::INFO Bharat Mediratta 2008-12-21 04:42:25 +00:00
  • b3c05b1579 Move logging up to the controllers so that our logging can operate at a more meta level Bharat Mediratta 2008-12-21 04:18:42 +00:00
  • 3ce32dab55 Report actual log entries in the "log entries" admin block. Bharat Mediratta 2008-12-21 03:56:53 +00:00
  • f0b6333344 Add a logging facility, and instrument login/logout to use it. Bharat Mediratta 2008-12-21 03:50:11 +00:00
  • a19a4729b5 Implement the 'Project News' block with actual news from GMC.. woot! Bharat Mediratta 2008-12-21 02:36:32 +00:00
  • 78ce8615f3 Implement the "recent comments" block with real data. Bharat Mediratta 2008-12-21 02:02:41 +00:00
  • f257f1b350 create a more generic random_phrase() function Bharat Mediratta 2008-12-21 02:02:06 +00:00
  • 81e87dfecd Change "datetime" to "created" to give some semantics to this field. Bharat Mediratta 2008-12-21 01:29:25 +00:00
  • 8f87a030c8 Implement the photo stream with the most recently uploaded photos. Bharat Mediratta 2008-12-20 23:19:12 +00:00
  • 99c481897b Add "created" and "updated" timestamps to the items table. Bharat Mediratta 2008-12-20 22:49:32 +00:00
  • 05f26fa2d4 Fix a problem with magenta Bharat Mediratta 2008-12-20 22:37:14 +00:00
  • ec8462410f Update view counts for albums also Bharat Mediratta 2008-12-20 20:11:51 +00:00
  • 50b0613243 Add view counts and show them properly. Bharat Mediratta 2008-12-20 20:04:57 +00:00
  • 406830cbf8 use some real stats Bharat Mediratta 2008-12-20 10:54:29 +00:00
  • 64f993db6f Update modified to Kohana r3823 (svn merge -c19322 vendor/kohana/modified/kohana trunk/kohana) Bharat Mediratta 2008-12-20 07:38:46 +00:00
  • ad0ddc236c Fix preamble Bharat Mediratta 2008-12-20 07:30:27 +00:00
  • b3b308f369 Add a missing colon. Bharat Mediratta 2008-12-20 02:08:15 +00:00
  • a5a9a79fa6 Internationalize. Bharat Mediratta 2008-12-20 02:08:03 +00:00
  • 0f10f37c16 Replace placeholders with real data Bharat Mediratta 2008-12-20 02:06:14 +00:00