Bharat Mediratta
610494296b
Turn permission dialog into a browser where you can look at permissions back up the tree
2008-12-31 09:02:40 +00:00
Bharat Mediratta
fc56ebd434
Simplify the next/previous logic in the theme by passing in a null
...
next/prev sib if one didn't exist. (that's what we were supposed to
be doing in the first place, anyway)
2008-12-31 07:22:35 +00:00
Bharat Mediratta
77bb22a65c
Mollon -> Mollom
2008-12-31 07:17:50 +00:00
Bharat Mediratta
23105f1359
PhotoID -> PhotoId for consistency
2008-12-31 07:16:38 +00:00
Bharat Mediratta
c1140b5c0a
Add Item_Model::url() and use it where appropriate. Cleans up some
...
grotty looking stuff in themes.
2008-12-31 07:13:34 +00:00
Bharat Mediratta
44c987e89e
Add sibling information on photo pages and a very simple next/previous interface.
2008-12-31 07:06:10 +00:00
Bharat Mediratta
b7f451635a
change single to double quotes.
2008-12-31 06:44:38 +00:00
Tim Almdal
517ddf5388
First look at the spam filter module. At this point, it does not connect to any spam services. But you can go into the admin screen and choose the driver and set the api key.
2008-12-31 06:19:35 +00:00
Bharat Mediratta
9ad253a2bb
Switch from checkboxes to simple anchors so that we can reflect multiple states better
2008-12-31 04:21:38 +00:00
Chad Kieffer
959fa91f49
Minor refactor. Move some stuff out of $("document").ready to functions. Comment updates.
2008-12-31 04:10:03 +00:00
Bharat Mediratta
1579494ec4
Preliminary "Edit Permissions" dialog. You can't change permissions
...
yet, but it shows you which items have locked view perms.
2008-12-31 04:05:41 +00:00
Chad Kieffer
246139cf1f
Tabs to spaces.
2008-12-31 03:29:25 +00:00
Bharat Mediratta
bfb040a463
Fix a bug where we were accidentally allowing view permissions when
...
allowing or resetting permission further down in the tree. This bug
was introduced when I refactored the view permission cache into the
items table. Updated test to catch it.
2008-12-31 00:47:15 +00:00
Bharat Mediratta
ad719b9b6f
Fully implement the view_full permission.
2008-12-31 00:18:24 +00:00
Bharat Mediratta
cbbbc23c2f
Oops, remove some debug code.
2008-12-30 23:36:58 +00:00
Bharat Mediratta
610aa75d3f
Fix a bug. Unit tests ftw!
2008-12-30 23:36:36 +00:00
Bharat Mediratta
6e6d3dd969
Refactor _create_htaccess_files and _delete_htaccess_files into
...
_update_htaccess_files in preparation for supporting the view_full
permission.
2008-12-30 23:26:55 +00:00
Bharat Mediratta
cace8390dd
Fix typo.
2008-12-30 23:06:33 +00:00
Andy Staudacher
59e5ddc13f
Update user::create() scaffolding for changes in the user module: can't set the isAdmin bit at creation time.
2008-12-30 21:20:16 +00:00
Andy Staudacher
1cacf769d1
Make the url parameter optional in comment::create() (according to the comment model)
2008-12-30 21:00:47 +00:00
Bharat Mediratta
06188ad813
Oops, this got left out of r19497
2008-12-30 20:19:32 +00:00
Bharat Mediratta
7eb58b6ca4
Add the view_full permission-- doesn't do anything yet
2008-12-30 09:02:26 +00:00
Bharat Mediratta
a481a684b6
Add a "Graphics Settings" page that lets admins choose which graphics
...
toolkit we use. We only allow users to use one toolkit. The UI needs
work!
2008-12-30 04:14:57 +00:00
Bharat Mediratta
538bf91a58
Add some basic explanatory text
2008-12-30 04:13:43 +00:00
Bharat Mediratta
d7d37d07dd
Add site_status() to the regular Theme_View
2008-12-30 04:13:31 +00:00
Bharat Mediratta
5f14623a47
Only show site status to admins
2008-12-30 04:13:03 +00:00
Bharat Mediratta
8aebdf4e19
Add site_status to the default theme. Only admins will see messages for now, but it's nice for them to see messages when browsing instead of just in the site admin
2008-12-30 04:12:43 +00:00
Chad Kieffer
27009ad852
Drop .gShortForm in favor of using specific form ids (gSearchForm, gAddTagForm). This maintains styles when forms are are reloaded into the DOM. Haven't figured out how to fire shortFormInit() when a form is reloaded into the DOM, as gAddTagForm is :(
2008-12-30 02:50:52 +00:00
Bharat Mediratta
96a2f929ca
More phodoc cleanup.
2008-12-30 01:43:16 +00:00
Bharat Mediratta
564bde5c49
comment cleanup.
2008-12-30 01:41:36 +00:00
Bharat Mediratta
f29aad03a6
Make some columns smaller so that multi-column keys don't exceed 1024
...
bytes on some systems.
2008-12-30 01:37:09 +00:00
Chad Kieffer
79e2c4bd47
Fixed indents
2008-12-30 01:21:09 +00:00
Chad Kieffer
37f9cc2872
Missed these in r19485.
2008-12-30 00:52:03 +00:00
Chad Kieffer
96fce2dd3b
Refactored. Simplified organization a bit by combining sections. Restored block titles to h2. Moved #gMessage to #gContent. Removed .gClearFix class in favor of specifying selectors that require a clear fix.
2008-12-30 00:50:23 +00:00
Bharat Mediratta
1b53073b55
Mark the "website" field as hidden.
2008-12-29 23:36:58 +00:00
Bharat Mediratta
aed1b08019
Updated to Kohana r3849
2008-12-29 23:31:22 +00:00
Bharat Mediratta
4ab53d145b
Create Image::composite() and implement it in GD, ImageMagick and GraphicsMagick drivers.
2008-12-29 23:25:28 +00:00
Bharat Mediratta
4439ca94a9
Don't let the x/y coordinates in composite go negative.
2008-12-29 23:12:26 +00:00
Tim Almdal
f5136051c9
Filter on published in Comment_Controller::_index()
2008-12-29 22:59:44 +00:00
Bharat Mediratta
6ab195854d
Remove rest::JSON content type; it's causing lots of problems and it doesn't directly help since text/html works just as well for our JSON communications
2008-12-29 22:41:53 +00:00
Bharat Mediratta
29c925a3cc
Properly implement graphics::composite()
2008-12-29 22:31:06 +00:00
Bharat Mediratta
776123496b
Add transparency support
2008-12-29 22:30:19 +00:00
Bharat Mediratta
763cc32caf
Return the task on success so that our UI can show it at 100%
2008-12-29 21:28:28 +00:00
Bharat Mediratta
26417f6dd4
Replace __CSRF__ token with a real csrf. This allows links in site status messages to persiste across sessions.
2008-12-29 21:27:46 +00:00
Bharat Mediratta
ef4ec6d513
Oops, my last change broke the default resize dimensions
2008-12-29 21:25:51 +00:00
Tim Almdal
69603ede7a
Implemented bharat's suggestions to the comment module in preparation for the spam_filter module
2008-12-29 21:09:44 +00:00
Bharat Mediratta
2bfddc4c87
Make graphics rules take named parameters. This will give us some
...
flexibility in the future.
2008-12-29 20:20:10 +00:00
Bharat Mediratta
8102d8ea77
Clean up _update_graphics_rules() to make it more robust
2008-12-29 20:17:24 +00:00
Tim Almdal
95f1440ef2
Changes to the comment module to support spam filtering. Basically added two columns to the comment table. The url of the author's web site(default null) and a flag to indicate that the comment is visible (default true).
...
The comment block has changed to only display comments that are visible.
And there is code added to call the spam_filter helper if the spam_filter module is installed.
2008-12-29 19:37:19 +00:00
Bharat Mediratta
3c0be5156b
url::site is implicit in Forge actions, don't specify it a 2nd time
2008-12-29 18:38:40 +00:00