Colin Kuskie
5e502fee53
Merge commit ' 17ce3572bf' into WebGUI8. All tests passing.
2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00
Colin Kuskie
c9dc084ed6
Stories have to pass along absolute links in their RSS feeds. Fixes bug #11606
2010-06-07 11:44:30 -07:00
Colin Kuskie
7a1487be55
Added GUID and pubDate entries to Stories. Updated tests. Fixes bug #11580
2010-05-25 11:42:38 -07:00
Graham Knop
0efa62a73c
asset immutability
2010-04-19 18:57:01 -05:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
c835344813
Fixing require loops. Moose overrides for canEdit using packages.
2010-04-08 15:13:13 -07:00
Colin Kuskie
616d5cc866
Moose overrides for purge, purgeRevision, and purgeCache.
2010-04-07 16:43:16 -07:00
Colin Kuskie
c786395eb4
Moose overriding for indexContent.
2010-04-07 15:07:20 -07:00
Colin Kuskie
a10e65f883
Use Moose method modifiers for overriding addRev in Story.
2010-03-24 10:25:29 -07:00
Colin Kuskie
88ec09d279
rework how validParent works, and where it is checked. Add an explicit check for it in addChild, and remove a bunch of overridden addChild methods.
2010-03-19 14:31:49 -07:00
Colin Kuskie
814c2af249
Change calls to new to newById across Asset/
2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb
Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes.
2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd
change aspect to define
2010-02-17 16:31:10 -06:00
Colin Kuskie
7caa3e3738
Move AssetRole to Role::Asset, and update all client modules.
2010-02-16 11:00:47 -08:00
Colin Kuskie
abaeab36e0
Refactor code to force assets to always be hidden into a role and use it.
2010-02-16 08:50:00 -08:00
Colin Kuskie
0a2f5e0245
Update Story for Moose.
2010-02-15 15:41:51 -08:00
Colin Kuskie
08f6bd8b58
Fix description field of the Story RSS feed. Fixes bug #11112
2009-10-11 19:03:55 -07:00
Colin Kuskie
a02b4c7bb4
JSON fields need autoGenerate=>0 and noFormPost=>1, fixes bug #11075
2009-09-30 11:26:01 -07:00
Colin Kuskie
494d97c53f
Fix the carousel in the Story. Bug #10915
...
Add a template variables for the photoWidth from the Story's Archive.
Document the new template variable, with i18n.
Modify both Archive and Topic templates.
2009-09-05 14:56:16 -07:00
Colin Kuskie
7fcb339605
Upgrade all database tables that use JSON to be LONGTEXT instead of what they were.
...
Addresses bug #10825
2009-08-25 21:42:16 +00:00
Colin Kuskie
92815bb75d
Change www_delete and www_cut to use either the container, or the parent
...
as the asset to return the user to after their actions.
Subclass getContainer in the Story, and alias it to getArchive.
Fixes bug 10657.
2009-08-14 19:43:14 +00:00
Colin Kuskie
e886474284
Draw a fieldset around each Photo and its metadata.
...
Change the delete label so that it is clear that you are deleting the image and the metadata.
Redo the image upload form so that it is clear that uploading a new image to a photo with
an existing image replaces the existing with the new one.
2009-08-13 21:30:49 +00:00
Colin Kuskie
f34dc2c8f0
Add Story fields to the search index.
2009-07-24 18:15:18 +00:00
Colin Kuskie
4226ef211f
Remove autocommit from addRev in Story, because it committed the
...
story before the keywords were set, which messed up searching.
Adjust tests to request autocommit on all submitted stories.
2009-07-24 17:26:50 +00:00
Colin Kuskie
1c40934876
Fix a typo in the story link back to the archive, to limit display to only 1 keyword.
2009-07-16 03:10:27 +00:00
Colin Kuskie
cff07644e0
Fix POD to increase POD coverage, mainly by fixing typos and removing
...
unused code.
2009-07-04 17:12:13 +00:00
Colin Kuskie
a4be42a7ce
Fix bugs with resizing photos on upload.
2009-06-23 00:07:16 +00:00
Colin Kuskie
fcad3a112d
Fix a bug in the Story when handling images of different sizes. Add a
...
photoWidth property to the StoryArchive, and resize all newly uploaded pictures
to a Story.
2009-06-08 21:51:33 +00:00
Colin Kuskie
45d1791876
Remove multiple delete buttons for photos in the Story. Ala GalleryFile/Photo.
2009-06-02 01:39:22 +00:00
Colin Kuskie
83497b773e
Fix Story permissions so that admin need not be turned on.
...
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +00:00
Colin Kuskie
be4b0dc4d4
Fix bugs in the default story archive template (pagination bar) and
...
the subtitle in the Story.
2009-05-20 16:18:02 +00:00
Colin Kuskie
ef7abeec77
Make the Story Manager assets use the new icons.
2009-05-13 22:04:43 +00:00
Colin Kuskie
1b8ad91605
Add in StoryManager, 3 assets for managing news content in WebGUI.
...
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
Colin Kuskie
4768a8687e
Add storage locations to package data for a Story. With tests.
2009-04-13 17:56:44 +00:00
Colin Kuskie
9f5a82cec8
Update POD for several methods.
2009-04-13 17:43:41 +00:00
Colin Kuskie
ec4713855a
Convert Story asset to use Class::C3 properly.
...
Add a method to duplicate the photo collateral JSON data, with tests.
Make addRevision and duplicate use that method.
2009-04-13 16:33:24 +00:00
Colin Kuskie
cf546ad031
Add headline field, with templates.
2009-04-09 14:53:10 +00:00
Colin Kuskie
3853e4dd02
Add a method to return RSS data for a Story, with tests.
2009-04-08 22:28:59 +00:00
Colin Kuskie
cecfff40fe
Update Story to use awesome new Keywords
2009-04-08 16:41:51 +00:00
Colin Kuskie
2bd407d70e
Prune out preview code for now.
2009-03-24 19:36:02 +00:00
Colin Kuskie
08747a8fee
Make the save and add another photo button work. Add it to the default template.
2009-03-23 20:54:14 +00:00
Colin Kuskie
485195e7d5
Recommit the fix for updating existing storage locations.
2009-03-23 18:27:11 +00:00
Colin Kuskie
953b96dbe7
Fix a few small bugs related to uploading and postprocessing images.
2009-03-23 17:57:20 +00:00
Colin Kuskie
8b071cb892
Add template variables for determining if a story has photos, and how many it has.
...
Tests, help, i18n.
2009-03-23 15:08:54 +00:00
Colin Kuskie
7b6ea1350f
Code to delete photos and their data.
2009-03-23 05:11:01 +00:00
Colin Kuskie
c8da6cfe26
Fix a bug where the cached data structure was not deleted.
...
Add template variables for showing the uploaded photos.
Add tests for the template variables.
Add a form field to delete the photo with all data.
2009-03-23 05:01:36 +00:00
Colin Kuskie
e5cdfdfae8
Put storageIds into the JSON blob.
...
Add image and image data upload for annotating photos for stories.
2009-03-23 03:02:44 +00:00
Colin Kuskie
3d5f5b04c1
Rearrange form fields in default edit story template.
...
Change photo JSON blob to be an array ref, not a hash ref.
Code for saving new photo data.
2009-03-20 21:42:47 +00:00
Colin Kuskie
420a70531b
Add form fields for uploading images to the Story.
...
Help, i18n for those fields.
Need to be added to the template.
2009-03-20 18:20:47 +00:00