Commit graph

130 commits

Author SHA1 Message Date
Doug Bell
f5aafd53e0 performance increases to the Gallery, bug #4103 2008-10-28 21:52:05 +00:00
Graham Knop
99a9da626d rfe #640: Refactored autocommit and autocomment
Autocommit assets like CS posts or Calendar Events can now be added before the
parent is committed.  They will go into the same version tag as their parent.
2008-10-22 16:04:10 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Doug Bell
e141a01d31 fixed Gallery Cross Publish not displaying correctly 2008-08-13 20:56:04 +00:00
Martin Kamerbeek
4a13c10836 fixed: Gallery navigation back to album returns to page 1 2008-08-10 20:46:24 +00:00
Doug Bell
b0669c1a36 fixed Gallery Disk Space problem by adding a way to change image density 2008-07-31 20:31:08 +00:00
Doug Bell
f50f09756a removed fixUrl workaround for Gallery. added AssetManager to WebGUI.conf.original 2008-06-13 15:16:45 +00:00
Doug Bell
58417faf8a fix problems with gallery URLs. fixed disk space check. added error messages to photo template 2008-06-12 22:08:10 +00:00
Doug Bell
e7260285be added a thumbnail for the photo edit screen 2008-06-09 20:17:04 +00:00
Doug Bell
63e93221bd ordered resolutions numerically instead of ascibetically 2008-05-29 19:36:50 +00:00
Doug Bell
73050858af fixed labels 2008-05-29 19:32:57 +00:00
Doug Bell
126a2bacb5 fixed resolutions problem 2008-05-29 19:25:57 +00:00
Doug Bell
d43065b122 Added more keys to the list of bad EXIF keys. CameraID and CameraType seem to make JSON croak...
Fixed issue where bad EXIF cache would kill the entire album
Added more variables for resolutions
Added better handling of Pending albums and photos.
2008-05-29 18:37:54 +00:00
Doug Bell
39c95cb25b added template variables to photo. added better getParent and getGallery to GalleryFile, for approval processes 2008-05-27 20:41:26 +00:00
Doug Bell
d2faf8cd23 GalleryFile now sets Album thumbnail if Album doesnt have one 2008-04-18 00:28:26 +00:00
Doug Bell
4ebed16c69 added more vars to GalleryAlbum and GalleryFile. fixed some tests 2008-04-17 22:54:19 +00:00
Doug Bell
99aa2919d6 fixed: Back to Album link doesn't work
fixed: Minor i18n wording discrepencies
fixed: Photo->www_showConfirmation Add a Photo link points to the wrong place
2008-04-09 16:21:52 +00:00
Graham Knop
9ed284beec use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
Graham Knop
53bdfda753 fixed: profile photos don't obey max image size 2008-03-28 19:55:03 +00:00
Doug Bell
3ea9420479 fix: Fixed permission issues with Gallery comments
Gallery now checks to see if it's committed before allowing Albums to be added
Slideshow and thumbnails work better
Much, much more
2008-03-27 00:24:00 +00:00
Doug Bell
ab6f4defe3 - moved Gallery utility methods to WebGUI::Utility::Gallery
- Added tests for GalleryAlbum RSS
- More tests for comments
- Test International Macro sprintf as third+ arguments
- Add Gallery search limiting by user ID
- Remaining i18n for Gallery templates
- Fix: Search form now visible in Photo assets
Moved a lot of stuff from Photo to GalleryFile
2008-03-20 18:51:44 +00:00
Graham Knop
050128f313 fixed: changing image thumbnail size doesn't resize image 2008-03-07 18:55:46 +00:00
Doug Bell
3842ebf6fa Added WebGUI::Asset::File::GalleryFile
Changed Photo to subclass WebGUI::Asset::File::GalleryFile
2008-03-05 23:06:58 +00:00
Doug Bell
8af6f28988 fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave
add: Ability to edit comments to Photos
add: Ability to choose which rich editor for Albums
2008-03-04 21:26:30 +00:00
Doug Bell
ce4688310e More Gallery i18n
fix: Add an Album link now appears on Gallery List Albums view
2008-02-21 18:38:25 +00:00
Doug Bell
fa156af1a9 add: i18n for more Gallery templates
add: International macro now takes sprintf arguments as third and subsequent parameters
add: Keywords are now processed and given to the photo template, along with a url to search the gallery for the keyword. 
add: Photos now track views
2008-02-12 00:55:06 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
2bad2ecab2 fix: Couldn't add photos to gallery albums 2008-02-04 00:56:00 +00:00
Doug Bell
ec3bc19d77 Added i18n for Gallery (Search) template
Fix: Album description showing up in Photos when photo has no synopsis
fix: Photo now shows correct confirmation screen
fix: Photo now gets auto-committed according to Gallery approval workflow
fix: Formatting problems in Album view
fix: Photo and Album assets now retain their Owner after other users edit them.
fix: Gallery::Utility migration now retains createdBy, creationDate, and ownerUserId.
Testing Gallery::Utility a bit more thoroughly.
fix: Photo EXIF data now gets cached correctly and sanitized for references (since JSON won't store them and they're of no use to us anyway).
2008-01-25 22:34:37 +00:00
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
af271b9f26 fixed a bunch of GalleryAlbum/Photo tests 2007-12-26 00:39:08 +00:00
Doug Bell
01c6379224 fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go... 2007-12-19 16:41:39 +00:00
Doug Bell
53a1cbc7c2 fixes to the Gallery 2007-12-18 21:17:44 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Colin Kuskie
1b3d7f0c2b Refactor out the copied code to resize images based on the max file
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Doug Bell
55135c8147 more work. completed GalleryAlbum. started Gallery. 2007-11-06 04:13:43 +00:00
Doug Bell
2570980fa5 makeShortcut done, EXIF done 2007-10-30 21:04:41 +00:00
Doug Bell
673faf9be6 added Image::ExifTool to WebGUI. fixed upgrade script properlike 2007-10-29 22:44:35 +00:00
Doug Bell
7e12c6c2f0 merged with SVN to get friends stuff 2007-10-26 00:50:05 +00:00
Doug Bell
32b27d0954 more tests, started Photo development, changed some naming 2007-10-25 06:20:20 +00:00
Graham Knop
39ad82133a fix image uploads when not using perl 2007-10-16 20:05:23 +00:00
Doug Bell
983a725558 more tests 2007-10-11 18:45:58 +00:00
Doug Bell
5746ded766 Added more tests. Cleaned up the OO of File and Image a bit (removed a healthy bit of unnecessary code from Image). Done with File and Image for the time being... 2007-10-09 07:36:54 +00:00
JT Smith
884953607c - fix: A bug where it was possible to delete a system page if it were made
the child of a non-system page that you had edit rights to.
 - api: Added a unified contraints system for the file and image assets.
- fixed several problems with the new attachments control, setup, and tempspace
2007-07-26 16:08:27 +00:00