Commit Graph
816 Commits
Author SHA1 Message Date
Bharat Mediratta c5173c5370 Remove stray comma. 2008-12-23 00:05:36 +00:00
Bharat Mediratta 27a3fc9230 Fix a typo 2008-12-22 20:42:00 +00:00
Bharat Mediratta 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.
2008-12-22 20:23:28 +00:00
Bharat Mediratta 37d24e863c Internationalize welcome block. 2008-12-22 19:46:40 +00:00
Bharat Mediratta 47d068e4a8 Remove extraneous view, not necessary 2008-12-22 10:39:13 +00:00
Bharat Mediratta 03042850ad Fix admin/modules url. 2008-12-22 10:32:32 +00:00
Bharat Mediratta bdc0876fa8 Add messaging system for reporting actions back to the user. Make
module install/uninstall work and tie it into the messaging system.
2008-12-22 06:50:20 +00:00
Bharat Mediratta f6381c534e Reinstate the dummy error handler to ensure that we work in a clean install w/ no database 2008-12-22 04:54:51 +00:00
Bharat Mediratta 17f77b8de4 Remove module.info from infrastructure modules that are effectively
libraries that would ship with the core.

Refactor welcome.php to use the newly refactored module::available()
2008-12-22 04:49:30 +00:00
Bharat Mediratta 9cf2c57921 Normalize CSRF handling into the access helper. Probably not the best
place for it, but it'll do for now.

Do CSRF checking in the Admin controller so that we're safe across the
board on the admin side.
2008-12-22 04:33:18 +00:00
Bharat Mediratta 685a5ca1e1 Support proper rendering of locked modules, add a submit button, point it at admin/modules/save 2008-12-22 04:32:23 +00:00
Bharat Mediratta 74c417cab9 Lock a couple of modules 2008-12-22 04:31:04 +00:00
Bharat Mediratta 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:

admin.html.php:
  $theme->admin_page_bottom()

then in the helpers:

core_block.php:
  function admin_page_bottom() { }
2008-12-22 03:53:36 +00:00
Bharat Mediratta fe27bd1eb3 Change the way that we track modules.
Each module now has a "module.info" file that has information about
the module, including the core.  We can display the installed version,
and the version in the code.

Also take a first shot at a modules admin page.
2008-12-22 03:41:33 +00:00
Bharat Mediratta f7b4222e3f Fix capitalization. 2008-12-22 03:23:30 +00:00
Chad Kieffer a98d13e9c7 Update Selenium IDE test case file names. 2008-12-22 00:19:58 +00:00
Chad Kieffer f2f5a67cde Removed my local dev url. 2008-12-21 23:59:53 +00:00
Bharat Mediratta 7934076a3b Add phpdoc comments. 2008-12-21 21:52:49 +00:00
Bharat Mediratta 1432ab9aca Swap "Content" and "Modules" 2008-12-21 20:44:02 +00:00
Bharat Mediratta 849b271a8c Add info/warning/error classes to log messages. 2008-12-21 10:35:30 +00:00
Bharat Mediratta 0573698155 Add some more logging code. Now the site admin has some log entries to look at. 2008-12-21 04:43:47 +00:00
Bharat Mediratta 4c2ddfb868 INFO -> log::INFO 2008-12-21 04:42:25 +00:00
Bharat Mediratta b3c05b1579 Move logging up to the controllers so that our logging can operate at a more meta level 2008-12-21 04:18:42 +00:00
Bharat Mediratta 3ce32dab55 Report actual log entries in the "log entries" admin block. 2008-12-21 03:56:53 +00:00
Bharat Mediratta f0b6333344 Add a logging facility, and instrument login/logout to use it. 2008-12-21 03:50:11 +00:00
Bharat Mediratta a19a4729b5 Implement the 'Project News' block with actual news from GMC.. woot! 2008-12-21 02:36:32 +00:00
Bharat Mediratta 78ce8615f3 Implement the "recent comments" block with real data. 2008-12-21 02:02:41 +00:00
Bharat Mediratta f257f1b350 create a more generic random_phrase() function 2008-12-21 02:02:06 +00:00
Bharat Mediratta 81e87dfecd Change "datetime" to "created" to give some semantics to this field. 2008-12-21 01:29:25 +00:00
Bharat Mediratta 8f87a030c8 Implement the photo stream with the most recently uploaded photos. 2008-12-20 23:19:12 +00:00
Bharat Mediratta 99c481897b Add "created" and "updated" timestamps to the items table. 2008-12-20 22:49:32 +00:00
Bharat Mediratta 05f26fa2d4 Fix a problem with magenta 2008-12-20 22:37:14 +00:00
Bharat Mediratta ec8462410f Update view counts for albums also 2008-12-20 20:11:51 +00:00
Bharat Mediratta 50b0613243 Add view counts and show them properly. 2008-12-20 20:04:57 +00:00
Bharat Mediratta 406830cbf8 use some real stats 2008-12-20 10:54:29 +00:00
Bharat Mediratta 64f993db6f Update modified to Kohana r3823 (svn merge -c19322 vendor/kohana/modified/kohana trunk/kohana) 2008-12-20 07:38:46 +00:00
Bharat Mediratta ad0ddc236c Fix preamble 2008-12-20 07:30:27 +00:00
Bharat Mediratta b3b308f369 Add a missing colon. 2008-12-20 02:08:15 +00:00
Bharat Mediratta a5a9a79fa6 Internationalize. 2008-12-20 02:08:03 +00:00
Bharat Mediratta 0f10f37c16 Replace placeholders with real data 2008-12-20 02:06:14 +00:00
Bharat Mediratta e4bace4c74 Collapse Admin_Dashboard_Controller down into a single theme call, since now
all dashboard blocks are stored in modules.
2008-12-20 01:42:18 +00:00
Bharat Mediratta b933d1a170 Move Recent Comments into its own block. 2008-12-20 01:25:03 +00:00
Bharat Mediratta 9afd9d05ae Move log entries into its own block 2008-12-20 01:20:19 +00:00
Bharat Mediratta 16a3e43b45 Move the "Photo Stream" section into its own block 2008-12-20 01:16:46 +00:00
Bharat Mediratta e12a4f2ae3 Move the "status messages" section into its own block. 2008-12-20 01:13:57 +00:00
Bharat Mediratta 68e9dcf027 Move Platform and Project News admin sidebar blocks into the new
modular structure.
2008-12-20 01:08:39 +00:00
Bharat Mediratta ac4bb34cf2 Add admin sidebar blocks, and move the stats block into that pattern. 2008-12-20 01:00:52 +00:00
Bharat Mediratta aee3efe972 Create a pattern for admin dashboard blocks and make the "welcome"
block.
2008-12-20 00:52:20 +00:00
Bharat Mediratta 30d541cb26 Copy this from the default theme and change <h3> to <h2> 2008-12-20 00:51:15 +00:00
Bharat Mediratta 99f131d9ae Create module::load_themes() to load the correct theme after we do
routing and know whether we're going to an /admin page or a regular
one.
2008-12-20 00:50:37 +00:00