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
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
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
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
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
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
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
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
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
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
Bharat Mediratta
4439ca94a9
Don't let the x/y coordinates in composite go negative.
2008-12-29 23:12:26 +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
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
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
8fe1990c99
Don't set the document type to JSON when uploading photos.
2008-12-29 04:20:25 +00:00
Bharat Mediratta
3cfc9afde4
Remove references to permanent_key
2008-12-29 03:50:48 +00:00
Bharat Mediratta
b46bfdd492
Separate permanent messages out of the message helper and put them
...
into site_status. Show site status in the header in the admin theme.
2008-12-29 00:35:31 +00:00
Bharat Mediratta
ed8689f768
Expand on the maintenance code to make it more robust and give the
...
admin more control. You can now track running tasks, resume stalled
tasks, cancel running tasks, and remove finished tasks.
Added graphics::compose() as a placeholder for future watermark
operations.
Added CSRF protection to maintenance urls.
2008-12-28 23:48:15 +00:00
Bharat Mediratta
1161cefada
Javascript wrapper to ping tasks
2008-12-28 10:14:12 +00:00