summaryrefslogtreecommitdiff
path: root/core/views
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-21Check to make sure that our permission system is working and reportBharat Mediratta
back to our users in the edit permissions dialog.
2009-05-21Minor cleanups.Bharat Mediratta
2009-05-21Provide delete confirmations in quick pane and organize features. IfTim Almdal
I've missed any spots let me know.
2009-05-211) This provides the editting functionality for albums and photos in theTim Almdal
organize feature. 2) Remove the tag functionality at this point 3) Added a callback to handle validating conflicting names (only used by organize at this point. 4) Closes #231
2009-05-20Replace the old "add photo" form with the simple uploader version inBharat Mediratta
the "add a photo" quick menu option.
2009-05-18This takes us the next step closer to providing bulk edit. We stillTim Almdal
can't edit, but we are getting closer :-). This change sets up a framework for modules to contribute edit panels to the organize drawer. Currently implemented General (albums and photos), Sort Order (albums only) and Manage Tags
2009-05-18Turn on IN_PRODUCTION mode now across the board. Create our own errorBharat Mediratta
page where we'll show whatever information is useful. Get rid of the IN_PRODUCTION hack in MY_View.php that we no longer need.
2009-05-18Fix preambleBharat Mediratta
2009-05-15Make denied links not clickable at the root level when the permissionBharat Mediratta
is already denied. Ie, at the root level you can't click the item to reset because there's no permission to inherit from, so denied is now just a non-actionable status.
2009-05-14Cache variables in core._cache so that we can retrieve them all in aBharat Mediratta
single query. In most cases, we were fetching 4-5 variables per page load, so this is 2-3x faster.
2009-05-14permissions UI faceliftJakob Hilden
2009-05-13Address the final point in #226. Disable the make album cover icon ifTim Almdal
the pane has the ui-state-disabled class
2009-05-13Allow admins to modify variables. This way when something goes wrong,Bharat Mediratta
we can tell them what to do in the forums and we don't have to build super smart admin UIs to help users with weird edge cases. This plus r20789 is probably a good enough fix for #232.
2009-05-13Add the "advanced settings" controller which lets you see all theBharat Mediratta
vars. We'll eventually turn this into a registry where you can edit settings directly (at your own risk).
2009-05-13Display the server load average in the platform block. Fixes ticket #198.Bharat Mediratta
2009-05-10Beautify the error message.Bharat Mediratta
2009-05-10Warn users if they have suhosin.session.encrypt enabled that it'll break the ↵Bharat Mediratta
uploader
2009-05-10Document why we skip the parent state for the root album.Bharat Mediratta
2009-05-08Use lower-case aliases for greater portability (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-06Fix for ticket #72Tim Almdal
2009-05-06Show the 'activate gd' button even when there's a warning about missing rotationBharat Mediratta
2009-05-06Usability update: include an "Activate Toolkit Name" button with available ↵Chad Kieffer
toolkits
2009-04-21Theme the cancel-all link like the remove-all link.Bharat Mediratta
2009-04-19Fix UI stringAndy Staudacher
2009-04-12added icons to permissions UIJakob Hilden
2009-04-07changed the items in quickpaneoptions dropdown menu (which appears in the ↵Jakob Hilden
quickpane for albums) to be easier clickable and changed markup to use <ul> (more semantically correct)
2009-04-06Fix up the quick-edit code on the photos page. Everything but "move"Bharat Mediratta
is implemented. Can't do move easily because it's tricky to handle the post-move redirect.
2009-04-06Add case-sensitive versions of file extensions to the file_types listBharat Mediratta
so that .JPG works on case sensitive systems like Unix. Also add .jpeg to the list. Fixes ticket #183.
2009-04-06Rework the links section of the "Welcome to Gallery3" block so thatBharat Mediratta
the links work and it's more helpful. In the process, rename the Presentation menu to be Appearance because that makes more sense to me (and at least one other user who wrote about it on -devel).
2009-04-05Don't do graphics detection in core_installer::install() because thatBharat Mediratta
gets run at scaffolding::package() time, not on the target machine. Instead, create a core module variable to trigger running graphics::choose_default_toolkit() on the first admin login after install. Fixes ticket #206.
2009-04-03Set the queue limit to 1000.Bharat Mediratta
2009-03-31Add quick edit pane to resize images, ticket #189Chad Kieffer
2009-03-27Put csrf token into Admin_View and Theme_View by default, then use itBharat Mediratta
directly wherever possible instead of access::csrf_token().
2009-03-26Convert language updates over to task form. It's still very rough,Bharat Mediratta
the task only has one step from zero to 100.
2009-03-21Refactor all translation strings that have ambiguous placeholders.Andy Staudacher
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'. Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with preserving CSS classes too...
2009-03-20Add title string to this page. Doesn't show yet because its in a gPanelBharat Mediratta
2009-03-20minor UI and CSS improvementsJakob Hilden
(the styling of the flash button is a not themable solution and I put the CSS in the file for now)
2009-03-18Added rotate cc and ccw icons to themeroller theme and css to default theme, ↵Chad Kieffer
applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this.
2009-03-18Fix for ticket #143Tim Almdal
2009-03-18Functional l10n_client / server interaction:Andy Staudacher
- Get / verify API Key from l10n server - Submit translations - Fetch translations / updates Reference: Tasks: 75, 76, 55 TODO: Move out of core (and a series of other tasks).
2009-03-17Fix missing preamblesBharat Mediratta
2009-03-17Style breadcrumb in photo upload dialogChad Kieffer
2009-03-17Switch from using SimpleUploader to using swfUpload as our flash basedBharat Mediratta
uploader. This is modeled on http://codex.gallery2.org/Gallery3:Upload_UX but is not yet complete. Notes: * Changed #gProgressBar to .gProgressBar to support multiple progress bars on the same page * Added a bunch of CSS to the "needs a home" section in themes/default/css/screen.css
2009-03-16Fix bug, $active -> $site.Bharat Mediratta
2009-03-16Use a query to get the database version. Newer versions of PHP bombBharat Mediratta
if you're using mysqli, and it asks for a connection which we can't easily get from Kohana.
2009-03-16Ticket #97. Applied button css where missing. Minor form css improvements.Chad Kieffer
2009-03-16Clean up the login, maintenance login and required-top-level-login code.Bharat Mediratta
We now have two clear and separate login approaches: login/ajax login/html Choose the one that's appropriate. Totally simplified the maintenance page to be separate from the theme and dead simple, and use login/html approach there. Totally simplified the top level login (login_page.html.php) to just be a login page, not the rest of the chrome on the page and use the login/ajax approach there. Don't use access::required in albums and then catch the exception, instead use access::can and check the return code. Improve the text for maintenance mode.
2009-03-16Thin down the scaffolding code so that all that is there is the testTim Almdal
data creation and the packaging code. The rest ofthe functionality is either no longer required, or moved to the developer module (MPTT Tree). Also provide checking for the active user to be an admin.