Commit graph

139 commits

Author SHA1 Message Date
David Delikat
621a0cf71b initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change 2009-02-03 16:43:47 +00:00
Colin Kuskie
129d45ca2a Refactor gallery code to use old i18n technologies so they can
be verified with the critic_labels test.
2009-01-28 22:20:39 +00:00
Colin Kuskie
3e0f449c46 Rolling back rev 9142. The gallery is supposed to upscale graphics. 2009-01-22 18:26:35 +00:00
Graham Knop
315ce0941f use to_json and from_json in more places instead of encode_json and decode_json 2009-01-22 01:14:14 +00:00
Colin Kuskie
a894bf906a Only resize photos if they are larger than the Gallery resolutions. 2009-01-02 22:16:44 +00:00
Colin Kuskie
78cd604176 Fixed missing Gallery i18n, and some Dashboard i18n. 2008-12-29 20:08:51 +00:00
Colin Kuskie
51d1955671 Set isHidden=1 in GalleryFile by default, to prevent some navigations from having
problems.
Update existing GalleryFile assets to set isHidden=1.
2008-12-24 23:13:11 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Colin Kuskie
13eb87ffe5 forward porting fix for non-unique separator strings, ~~~, #8543 2008-11-21 23:07:05 +00:00
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