summaryrefslogtreecommitdiff
path: root/core/controllers/welcome.php
AgeCommit message (Collapse)Author
2009-01-18Here's the rest of the change, new tool and forgot to add some files :-)Tim Almdal
2009-01-17The Packager now copies all the directories properly, ignoring all theTim Almdal
.svn directories. In addition the internal directory structure is consistent with a Gallery3 install with out any source system names.
2009-01-17We can now build ar tar.gz file with the gallery installation. StillTim Almdal
to be done is the get the internal paths right and get rid of the .svn that are still being included... its a wee bit large @ 35mb. Also need to write the code to unpack and do the actual install
2009-01-17Generate a single sql install file.Tim Almdal
2009-01-17Change the scaffolding packaging to set auot-render to false so theTim Almdal
entire screen is not returned
2009-01-16Add a scaffolding tab that allows packaging up the installation for ↵Tim Almdal
installation. At the moment, it just creates an *.sql table for each defined table. I still need to zip this and put some install code around it so it is self installing. The ajax call will build the tables, but it doesn't return the resilt correctly. What it does is return my json response(expected) and the entire welcome.html page as well (unexpected) and i'm havinf trouble figuring out why. Something stupid i bet
2009-01-10Big set of changes to comments, with related changes to akismet andBharat Mediratta
user modules. * Don't delete vars when we delete a module. This makes reinstalling a module a lot easier. * Add user::lookup() as the preferred way to load a user, so that other modules don't delve into the user module (that'd be a problem when we swap out user modules) * Notify site admins if Akismet is not fully configured * Bundle all server variables into the comment so that if/when we re-check the comment, we are not using the server info from the site admin's request. * Update Akismet to grab request context data from the comment * Pre-seed comment fields if we have a logged in user. Update comment::create() API to clarify it for this. * Delete comment::update(), that's a controller function. * Add url to User_Model * Add author_name() author_email() and author_url() to Comment_Model. It'll return the appropriate values depending on whether the comment was left by a logged in user or a guest. * Use resetForm() instead of clearForm() when we reload the comment form after ajax submit, this way we preserve the pre-seeded values. * In the user profile page, ignore blank passwords.
2009-01-08Don't toggle akismet::test_mode if akismet isn't installed.Bharat Mediratta
2009-01-08Add akismet::$test_mode, initialize it to TEST_MODE and don't contactBharat Mediratta
akismet if it's on. Force it on in the scaffolding so that we don't try to run all comments we add from there through Akismet.
2009-01-02trim() the path in add_photosBharat Mediratta
2009-01-01Add deepest album linkBharat Mediratta
2008-12-30Update user::create() scaffolding for changes in the user module: can't set ↵Andy Staudacher
the isAdmin bit at creation time.
2008-12-26Fix a typo.Bharat Mediratta
2008-12-25Rework log and message helpers to be parallel, but separate.Bharat Mediratta
1) they now have their own matching severity constants 2) they both have convenience functions success(), info(), warning() and error() 3) they both have severity_class()
2008-12-25Reload the parent before using when adding albums/photos since it may have ↵Bharat Mediratta
invalid left/right pointers.
2008-12-23Change photo::create() and album::create() to take ORM instancesBharat Mediratta
instead of ids.
2008-12-23Add very simple graphics toolkits.Bharat Mediratta
Track a set of rules in Graphics_Rule_Model which specify how we turn original images into thumbnails and resizes. There's one set of rules that applies to every image in the Gallery. Track the state of thumbs and resizes with a "dirty" bit. The new graphics helper manages the rules and can rebuild the thumbs and resizes for any images that are considered "dirty". Introduce the concept of an "album cover" which is an item that an album points to. We'll use that item as the source for the album's thumbnail/resize. Conflated with this change (sorry!) I also changed the Var table to use module_name instead of module_id. This may be marginally less efficient, but it's much easier to follow in the database.
2008-12-22Remove module.info from infrastructure modules that are effectivelyBharat Mediratta
libraries that would ship with the core. Refactor welcome.php to use the newly refactored module::available()
2008-12-22Change the way that we track modules.Bharat Mediratta
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-21Add some more logging code. Now the site admin has some log entries to look at.Bharat Mediratta
2008-12-21create a more generic random_phrase() functionBharat Mediratta
2008-12-19Allow server-side adding of images to other albums than the rootBharat Mediratta
2008-12-17Switch from cookie sessions to database sessions. We can't use cookieBharat Mediratta
sessions; it encodes all the value into the cookie which means little/no security, transfer costs, and storage limits.
2008-12-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter)..
2008-12-161) Remove the load watermark from the scaffolding... use the menu optionTim Almdal
2) The set watermark dialog is now sizing properly. @todo is recenter in the window
2008-12-15Update to reflect changes in Kohana ORM relationship code.Bharat Mediratta
Now you must call ORM::save() after ORM::add() and ORM::remove().
2008-12-14Change the watermark module to use forge.Tim Almdal
Also the watermark file is now stored in varpath. and the location is stored in the module vars table
2008-12-14The start of the watermark module. It doesn't save the watermark at this ↵Tim Almdal
point. This is more of trying out the approach where Forge is not used for forms. Basic html and the Validation library.
2008-12-13Set the resize and thumbnail maximum dimension into the module vars tableTim Almdal
2008-12-12Change the check from class_exists to module::is_installedTim Almdal
2008-12-12If the user class doesn't exist, then just set the owner_id to null. Another ↵Tim Almdal
issue of generating data before the user class is installed
2008-12-12Refaactor module::install() and module::uninstall() out of theBharat Mediratta
scaffolding and unit test code so that we can use it consistently. This fixes an issue where adding a module was not refreshing the statically cached module list causing the test framework to break.
2008-12-12Use restore_error_handler() instead of a second set_error_handler() callBharat Mediratta
2008-12-12Randomly choose images from core/tests/images as test imagesTim Almdal
2008-12-12Remove the attempt at a local import moduleTim Almdal
2008-12-12Get rid of all pseudo users and pseudo groups, while preserving allBharat Mediratta
other functionality. This makes our user/group and access code fully consistent.
2008-12-111) Begins the creation of the local import module by adding the ↵Tim Almdal
administation component to the scaffolding Actions tab. The importing functionality will follow shortly. 2) Defines a routining pattern for module administration controllers. URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
2008-12-10Change all access API methods to take ORMs instead of ids. This willBharat Mediratta
minimize reloading objects from the database.
2008-12-09Move code to delete users and add/remove users from groups into theBharat Mediratta
model.
2008-12-09move user::delete() to User_Model::delete()Bharat Mediratta
2008-12-07* Don't call _getadd_photo_html() when we don't have an items table.Bharat Mediratta
* Guard against errors when uninstalling modules that don't have any code left (eg: carousel) * Create the var/uploads dir automatically.
2008-12-06Implemented photo::_get_photo_add(). You need to create the var/uploads ↵Tim Almdal
directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php
2008-12-05Fix a bug where any uninstall removed the entire database.Bharat Mediratta
2008-12-04Moving albums around with a drag and drop interface seems to work and ↵Tim Almdal
preserve the left right pointers. * changed _lock and _unlock to protected methods lock and lock respectively * added a moveTo method on the Item_Model * Corrected the hole closure on delete. * added moveTo on the ORM_MTPP class * Changed the rearrange javascript to do moves with ajax
2008-12-04Change the startup code to only put installed modules on the autoloadBharat Mediratta
path. This breaks a bunch of places where we had hardcoded dependencies, so guard all of those cases. Restructure module::available() a bit and the way that we do install/uninstall in the scaffolding.
2008-12-04Get rid of the rearrange helper as the code could be inlinedTim Almdal
2008-12-03Add /welcome/form/add/photos to give you the add photo form.Bharat Mediratta
2008-12-01Fix profiler settings in the scaffoldingBharat Mediratta
2008-12-01Add access::reset() so that you can specify your intent to use theBharat Mediratta
parent's permissions. Update scaffolding to demonstrate that it works.
2008-12-01Prototype access control model. There's much left to do, but it's aBharat Mediratta
working implementation.