# zenphoto changelog

### Version 1.0.1 beta

#### 1/11/06

- Fixed an embarrasing bug in template-functions.php where an empty Gallery would cause failures. [luckyspin]

### Version 1.0.0 beta

#### 1/10/06

- Added Album sorting. Default is by filename, but you can drag and drop your preferred order manually. [luckyspin]
- Added [refresh] link to Gallery stats, you can now manually reset your stats and clean up your DB tables. [trisweb]
- Added Gallery sorting. Default is newest first, but you can drag and drop your preferred order. [luckyspin]
- Added deletion of images and albums in admin. [trisweb]
- Added email notification to the admin user when comments are posted. [luckyspin]
- Admin: Created admin functions to clean up admin page(s). [luckyspin]
- Admin: Created an upgrade page to migrate db tables to new schema. [luckyspin]
- Admin: Spruced up some of the admin pages to their L&F was consistent. [luckyspin]
- Improved path resolution; please report any bugs you run into! [trisweb]

### Version 0.9.0

#### 9/27/2005

- Removed web_path and server_path config variables. They are now automatically deduced (and there was much rejoicing).
- Added theme functions: `getPrevImageThumb()` and `getNextImageThumb()` - return the path to the thumbnail of the previous or next image relative to the current image.
- Fixed bugs with using next_image() (for iterating through all album images) on an image page. You should now be able to use any loop anywhere without affecting the state.
- [Bug 005102] Images smaller than the standard image size will not be sized up anymore.
- [Bug 005125] AJAX-editing no longer strips HTML from titles/descriptions.
- [Bug 005086] Using zenphoto without mod_rewrite should work fine now.

### Version 0.8.1, 0.8.2

#### 9/16/2005

- Fixed bugs in setup script causing instructions not to be shown.
- (Note: 0.8.2 was a fix for a syntax error in 0.8.1 that I hope no one saw)

### Version 0.8.0 (Developer Release)

#### 9/15/2005

- Finalized default theme.
- Admin: Added ability to choose which image to use for the album thumbnail.
- More bugfixes.

#### Relevant links:

- trisweb.com - zenphoto 0.8 developer release

### Version 0.6.0

#### 6/12/2005

- Admin: Checked-in Joen's design.
- Default Theme: new RC from Joen; for admins, added "edit comment" and "admin" links.
- Default Theme: gave all thumbnails width/height so floating DIVs line up properly before load.
- Many small changes and bugfixes.

### Version 0.5.0

#### 8/16/2005

- Admin/Themes: New tab "Options" contains the theme switcher.
- Better comment validation (only allows tags specified in a list in config.php)
- Themes: Added a 'theme.txt' definition file and parser. Theme metadata is now set.
- Themes: Added a 'theme.*' image, where * can be either gif, png, or jpg. Images must be 150x150 and should be a screenshot only; no text.
- Added zen/setup.php - a setup script to make the database tables and give basic instructions.
- Lots of bugfixes.

#### Relevant links:

- trisweb.com - zenphoto 0.5 - "Almost Ready"

### Version 0.4.0

#### 8/12/2005

- Admin section: Added javascript image-enlargement while editing (click the image to enlarge).
- Implemeted themes. Add themes in new directories in /themes, switch themes with the 'theme' var in config.php
- Converted 2 current designs to themes ('default' (Joen's theme) and 'testing' (the old testing theme))

### Version 0.3.6

#### 8/11/2005

- Admin section: All comment functionality (edit/delete/view/respond).
- Admin section complete except for deletion of images. Possibly leaving for apres-1.0

### Version 0.3.5

#### 7/29/2005

- Admin section: Intuitive Javascript validation of album uploads.
- Admin section: Delete buttons and actions.
- (Test Version: Uploads and deletes are disabled for the public.)

### Version 0.3.4

#### 7/28/2005

- Admin section: Upload interface.
- Admin section: Upload file handling (all image types *plus* ZIP files).

### Version 0.3.3

#### 7/25/2005

- Admin section - overview page basic layout (10 comments, links, etc)
- Admin section - mass-edit albums and images complete.

### Version 0.3.2

#### 7/23/2005

- Comments error more gracefully; removed saved comment info from the template.
- Administration section design complete.
- Login logic, authentication complete (login at /zp/admin/)
- AJAX in main gallery only works for loggied-in user
- Added template functions for album date/place

### Version 0.3.1

#### 7/7/2005

- Fixed bug with AJAX editing and PHP magic_quotes_gpc
- Refactored config to use an array and getter function instead of global variables.

### Version 0.3

#### 7/4/2005

- AJAX title/description editing on images and albums.
- Comment saving
- Bugfixes; improved IE support.

#### Relevant links:

- trisweb.com - zenphoto 0.3 - "AJAX Fireworks"

### Version 0.2.2

#### 6/27/2005

- Database garbage collection functions implemented.
- Temporarily added a "pruning" page to clean the database manually - prune.php
  (GC will be used later before any operation relying on the database)

### Version 0.2.1

#### 6/25/2005

- Improved comments - website "http://" bug and line breaks.

### Version 0.2

#### 6/24/2005

- Comments, comment template functions added.
- Lots of bugfixes, speedups, etc.

#### Relevant links:

- trisweb.com - zenphoto 0.2 - "Comments Enabled"

### Version 0.1.2

#### 6/20/2005

- Pagination:
- Template functions to get/print links to next/prev page based on context, and to any page given its number.
- Improved album/gallery links: now point to the page where the current element resides (eg: the Album link for an Image page would point to the page of the album that image is on).
- "Page list" widget (printPageList), prints a UL of links to all pages in the current context, current one has LI.current class.

### Version 0.1.1

#### 6/12/2005

- mod_rewrite rules written (cruft-free URLs)
- Class functions to save new metadata to the database
- Lots of small bugfixes

#### Relevant links:

- trisweb.com - zenphoto 0.11 - "cruft free"

### Version 0.1 (preview release)

#### 6/4/2005

- Initial Release
- Implemented base structure:
  - Directory traversals for album lists and image lists.
  - Full image processing and smart caching.
  - Images returned at custom size via URL request.
  - Database schema created; entries are added on detection of new album or image
  - Config file started, most options available
- Template functions, and a simple template to test them.

#### Relevant links:

- trisweb.com - zenphoto 0.1 preview
- trisweb.com - zenphoto status
- trisweb.com - zenphoto announcement