Bharat Mediratta 7607e1f932 Full pass over all the JSON encoding and JS dialog code. We now abide
by the following rules:

1) An initial dialog or panel load can take either HTML or JSON, but
   the mime type must accurately reflect its payload.

2) dialog form submits can handle a pure HTML response, but the mime
   type must also be correct.  This properly resolves the problem
   where the reauth code gets a JSON response first from the reauth
   code, and then an HTML response when you reauth and continue on to
   a given form -- try it out with Admin > Settings > Advanced.

3) All JSON replies must set the mime type correctly.  The json::reply
   convenience function does this for us.

4) By default, any HTML content sent back in the JSON response should be
   in the "html" field, no longer the "form" field.

The combination of these allows us to stop doing boilerplate code like
this in our controllers:

  // Print our view, JSON encoded
  json::reply(array("form" => (string) $view));

instead, controllers can just return HTML, eg:

  // Print our view
  print $view;

That's much more intuitive for developers.
2010-07-31 21:16:17 -07:00
2009-07-11 04:41:06 -07:00
2008-12-17 17:10:08 +00:00
2010-07-05 19:46:19 -07:00

Gallery 3.0 (code name "Santa Fe")

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 second (and hopefully final) release candidate of Gallery
3.0.  We're putting it out there so that we can find out if we
overlooked any small things.  We expect the final version to be
virtually identical.  You can install it on public websites and use it
freely -- we recommend it!

Note:
 - We've contracted a professional security audit, received their results
   and resolved all the issues they found.
 - You can upgrade from beta 1, but not from alpha releases.

This version is intended for broad distribution.  We stand ready to
support the product and help you to make the most of it. 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 "3.0"
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
Readme GPL-2.0 33 MiB
Languages
PHP 87.7%
CSS 6.4%
JavaScript 5.7%
Perl 0.1%