=======================================
RELEASE PROCESS / AND HACKING PROCESS
=======================================

MOVE ALL THIS REGRESSION TESTING TO TRAVIS CONTINUOUS INTEGRATION
  Try to upload a non-image
  OpenSearch: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2Fopensearch.xml.php
  OpenGraph: https://developers.facebook.com/tools/debug/og/object?q=camera.phor.net
  RSS: http://validator.w3.org/feed/check.cgi?url=camera.phor.net/cameralife/rss.php%3Fq%3Dwill
  git grep -i Deprecated # create issues for these
  git grep -i TODO # create issues for these and remove from code?
  static code analysis in PHPStorm
  http://html5.validator.nu/?doc=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2F
  http://html5.validator.nu/?doc=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2Fphotos%2F15608
  http://html5.validator.nu/?doc=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2Ftopics%2FPeople
  http://html5.validator.nu/?doc=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2Falbums%2F168
  http://html5.validator.nu/?doc=http%3A%2F%2Fcamera.phor.net%2Fcameralife%2Ffolders%2F2012%2F2012-06%2520Pool%2520party%2F
  Remove support for strip slashes / and remove all stripslashes!
  git grep TODO
  git grep GET -- modules/theme/
  git grep PHP_SELF -- modules/theme/
  git grep Database -- modules/theme
  grep '\./' */*php | grep -v requ
  check for inputs as arrays!
  Login via OpenID / Facebook / Google / ...
  XSSme SQLinjectme wapiti
  zaproxy

Make a new flyover install video

-------------------
AUTOMATED RELEASE
edit the first line, save this file, then paste into a terminal...
-------------------

edit Changelog
edit Composer.json

VERSION='2.7.0a3' # <-- EDIT THIS
echo $VERSION > VERSION
sed -i "/this..version/s/'.*'/'$VERSION'/" main.inc
grep -lIZr . . | grep -z -v '\.git' | # no binary, no git
xargs -0 sed "1,10 s/@\(\W*\)version\W*[0-9.a-z]\+/@\1version $VERSION/" -i
git commit -am "Releasing version $VERSION"
git tag -a "v$VERSION" -m "Version $VERSION"
git push --tags
phpdoc --directory . --target ../docs/ --title 'Camera Life Developer Manual' --ignore 'lightopenid/'

#GOTO  http://freecode.com/projects/fdcl/releases/new
#GOTO  https://packagist.org/packages/fulldecent/cameralife

===================================
WHEN MAKING CHANGES TO THE DATABASE
===================================
 * Increment version number in module-config.inc, main.inc, and setup/upgrade/upgrade.php
 * Update db schema at setup/index2.php
 * Update install.mysql
 * Write an upgrader in setup/upgrade
