mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
e8c57290a2e98e3cbb7cf47875e6e5dae2e41fa2
remove Gallery3 concepts from ORM_MPTT.
The following API methods:
ORM_MPTT::children
ORM_MPTT::children_count
ORM_MPTT::descendants
ORM_MPTT::descendants_count
All now take a $where clause that allow you to pass through additional
field parameters.
old API:
$album->children(10, 0, "photos")
$album->children_count("photos")
new API:
$album->children(10, 0, array("type" => "photos"))
$album->children_count(array("type" => "photos"))
This gives us a more flexible API and simplifies the code. While I
was in there, I changed the way we deal with default orderby values so
that we just assign the default value in the function definition,
which allows us to get rid of all conditionals in the implementation
which results in simpler code.
ABOUT: Gallery 3 is a web based software product that lets you manage your photos on your own website. You must have your own website with PHP and database support in order to install and use it. With Gallery you can easily create and share albums of photos via an intuitive interface. SECURITY (& INTENDED AUDIENCE): This is the first beta release of Gallery 3.0 and while it's not a finished product, it's heading into the home stretch. You can install it on public websites, but remember that until the final release is out, we make no guarantees that it won't do bad things. Note: - We've contracted a professional security audit, received their results and resolved all the really dire issues they found. There are still some issues, but they are more along the lines of "you should ask for the old password as a confirmation when you let users change their password". Ie, they're issues but they're not really bad. We'll take care of them before the final release. - Most of the key features are in, but some of them (notably the "add from server" and "organize album" features) are probably going to be completely rewritten. - Starting with beta 1 we're going to offer an upgrade path so you won't have to reinstall and start all over (yay!) The intended audience of this release is folks who are willing to live a little bit on the edge. We'll do our best to take care of your data and your security, but we might screw it up here or there. We welcome theme and module developers to play with this release and start turning out slick new designs for our happy users. Did you find a security flaw? Please email security@gallery.menalto.com with the details and we'll fix it ASAP! SUPPORTED CONFIGURATION: - Platform: Linux / Unix. - Web server: Apache 2.2 and newer. - PHP 5.2.3 and newer (PHP's safe_mode must be disabled and simplexml, filter, and json must be installed). - Database: MySQL 5 and newer. INSTALLATION VIA THE WEB: - Point your web browser at gallery3/installer/ and follow the instructions. INSTALLATION FROM THE COMMAND LINE: - php installer/index.php [-h host] [-u user] [-p pass] [-d dbname] Command line parameters: -h Database host (default: localhost) -u Database user (default: root) -p Database user password (default: ) -d Database name (default: gallery3) -x Table prefix (default: ) BUGS? Go to http://apps.sourceforge.net/trac/gallery/ click the "login" link and log in with your SourceForge username and password, then click the "new ticket" button. Mark any issues you find with the "Beta 2" milestone and we'll try to get 'em done for the next release. QUESTIONS, PROBLEMS: - Check out the gallery3 FAQ http://codex.gallery2.org/Gallery3:FAQ - Post to the Gallery 3 forums: http://gallery.menalto.com/forum/96 - Email gallery-devel@lists.sourceforge.net
Description
The simplest, most intuitive way to host your photos on your website.
https://galleryrevival.com
Languages
PHP
87.7%
CSS
6.4%
JavaScript
5.7%
Perl
0.1%