Commit Graph

987 Commits

Author SHA1 Message Date
Bharat Mediratta
ecdfd1590d fix line endings 2009-01-02 01:23:41 +00:00
Bharat Mediratta
e63966b490 Tweak indentation 2009-01-02 01:20:06 +00:00
Felix Rabinovich
64d6f9aea6 Standard Forge Library doesn't support radio buttons.
Added support from http://forum.kohanaphp.com/comments.php?DiscussionID=164
2009-01-01 22:57:17 +00:00
Chad Kieffer
e8d10cab9d Applied #gPager to next/last nav, moved up above photo and moved photo title back to below the photo. 2009-01-01 22:56:57 +00:00
Chad Kieffer
7452a18938 Update the CSS item ID and class application for items and albums in albums. Miscellaneous CSS updates. 2009-01-01 22:54:35 +00:00
Chad Kieffer
b709c7eca0 For album-specific JS, key off of #gAlbumGrid rather than .gItem. 2009-01-01 22:22:18 +00:00
Felix Rabinovich
50dceb5015 Theme Administration implementation 2009-01-01 18:56:06 +00:00
Bharat Mediratta
540e4ed9eb Turn the permission dialog into a real 3-state faux checkbox. If we
replace them with intuitive icons, we're most of the way there.
2009-01-01 00:43:22 +00:00
Bharat Mediratta
a542f70551 Allow admins to do anything 2009-01-01 00:42:30 +00:00
Bharat Mediratta
03c60e2b55 Add deepest album link 2009-01-01 00:28:00 +00:00
Bharat Mediratta
cd1d023754 Change the preamble for views in two ways:
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
   have short_tags enabled (the app won't work, but we need to make sure that we're
   still secure)
2009-01-01 00:23:29 +00:00
Bharat Mediratta
7c82691e00 Move debug CSS into core/css/debug.css, and enable it for admin themes also 2009-01-01 00:16:08 +00:00
Bharat Mediratta
11d2788af8 Refactor common dialog JS code out into lib/gallery.dialog.js 2009-01-01 00:06:52 +00:00
Bharat Mediratta
3352ae6d10 Move 'browse' link above the fold, hide tabs that are inappropriate when there's no install yet 2008-12-31 23:58:53 +00:00
Bharat Mediratta
4573ada534 Extend permissions interface to allow resetting to the parental default. 2008-12-31 19:59:42 +00:00
Tim Almdal
bd8884d3ac Ignore the SpamFilter.php as a valid spam filter. 2008-12-31 15:04:57 +00:00
Bharat Mediratta
7d30e55b85 Rename permissions_edit to permissions_browse for consistency 2008-12-31 09:52:03 +00:00
Bharat Mediratta
34372b86c5 Ajaxify the permissions browsing dialog. It only does allow/deny
right now, it doesn't allow you to reset to inherited values.  That's
next.
2008-12-31 09:50:25 +00:00
Bharat Mediratta
48e91e71e5 Rename permission_xxx to permissions_xxx for consistency 2008-12-31 09:04:18 +00:00
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