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
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
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
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
f257f1b350
create a more generic random_phrase() function
2008-12-21 02:02:06 +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
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
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
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
Bharat Mediratta
9d2d824336
Fix a bug in admin delegation.
2008-12-19 22:14:14 +00:00
Bharat Mediratta
17c0b01444
Add access::forbidden()
2008-12-19 22:13:33 +00:00
Bharat Mediratta
855a5928ce
Create a new pattern for Site Admin controllers:
...
1) They must all start with "admin_". This pattern is not directly
routable.
2) Their urls must be /admin/xxx.
3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller
and will delegate to that admin controller, after doing security checks.
Moved the users and dashboard views into individual modules for now.
2008-12-19 09:47:13 +00:00
Bharat Mediratta
2438dba396
Delete the var/thumbs .htaccess files, too.
2008-12-19 07:16:38 +00:00
Bharat Mediratta
8b3e244578
We always have at least 1 page in an album.
2008-12-19 01:26:49 +00:00
Bharat Mediratta
c00dc21ba8
Add session based CSRF protection to all forms
2008-12-19 01:24:27 +00:00
Bharat Mediratta
5ca17fd273
Allow server-side adding of images to other albums than the root
2008-12-19 00:48:45 +00:00
Bharat Mediratta
a74537ad59
Don't wrap hidden inputs in <li/>
2008-12-18 22:29:49 +00:00
Bharat Mediratta
c67234974d
Refactor site admin menu into a theme function and build the menus in
...
the various modules. In the process, rename xxx_menu::site_navigation() to just
xxx_menu::site(). And add xxx_menu::admin().
The menus are the same as before, but I changed the HTML to be
consistent with the way that we do it in the regular site, and this
broke the superfish styles. I don't know how to fix this.. help me
Chad!
2008-12-18 07:32:34 +00:00
Chad Kieffer
aed68bfa9f
I'm tired of clicking. Here are a few Selenium IDE tests.
2008-12-18 07:00:47 +00:00