Commit graph

7450 commits

Author SHA1 Message Date
Colin Kuskie
b786114949 remove debugging code 2009-04-15 17:49:55 +00:00
Colin Kuskie
c28c7771c3 Top story photo template variables, with i18n, help and tests. 2009-04-13 23:16:53 +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
1edaca4ed2 Merge up to 10305 2009-04-13 17:04:23 +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
8b6ff20822 Adding RSS and Atom template variables to the Story Topic. 2009-04-10 23:16:03 +00:00
Colin Kuskie
a400d3697f Add missing template variables to the Story Archive.
Add RSS and atom template variables.
2009-04-10 22:39:23 +00:00
Colin Kuskie
cf546ad031 Add headline field, with templates. 2009-04-09 14:53:10 +00:00
Colin Kuskie
efef611b03 getRssFeedItems for StoryArchive, with tests.
A couple of quick rss/atom url tests.
2009-04-08 22:46:42 +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
3cac8b32e0 Remove storiesPerFeed, since that's picked up by the RSS Aspect. 2009-04-08 17:39:42 +00:00
Colin Kuskie
cecfff40fe Update Story to use awesome new Keywords 2009-04-08 16:41:51 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00
Colin Kuskie
25acb1acf2 Add a workflow activity for archiving old stories, i18n and tests. 2009-03-25 01:07:28 +00:00
Colin Kuskie
2bd407d70e Prune out preview code for now. 2009-03-24 19:36:02 +00:00
Colin Kuskie
3ceb924695 Update Help on archiveAfter 2009-03-24 19:33:48 +00:00
Colin Kuskie
575f7fff64 Remove old debugging code. 2009-03-24 19:32:46 +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
55196c4eda Update template variable help, and add an i18n label for the view photo template. 2009-03-23 18:14:45 +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
2cab246ef6 Fix dangling comma problem. 2009-03-23 17:56:11 +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
e399af16d0 Better INFO diagnostics for addFileFromFormPost 2009-03-23 02:37:49 +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
Colin Kuskie
734c48f525 Fix a broken story template in the topic. Update main package. 2009-03-20 04:41:39 +00:00
Colin Kuskie
3e461decb9 Add crumb trail template variable in code, and in templates.
Remove standalone topic package, and update the main storymanager package.
2009-03-20 04:16:42 +00:00
Colin Kuskie
8e7fcd0e6c Remove quotes from Help vars.
Add crumb trail template variables to the Story.
Fix links for keywords in the Story.
2009-03-20 03:46:10 +00:00
Colin Kuskie
4867750fd9 Beginning of Topic showing an Story.
Story now has a crumb trail.  Needs to be added to template vars and to template.
2009-03-20 00:08:47 +00:00
Colin Kuskie
e06d53c122 Add top story subtitle to match the spec. 2009-03-19 17:32:48 +00:00
Colin Kuskie
26d87bf607 Add a StoryTopic template 2009-03-19 17:24:01 +00:00
Colin Kuskie
db839e2dc4 Add a template variable to tell if the Topic is viewed standalone by URL, or not. 2009-03-19 16:55:14 +00:00
Colin Kuskie
ea31d52ac0 Add template field to StoryTopic. The same template will be shared between both modes.
Add top story variables, and tests.
2009-03-19 16:43:21 +00:00
Colin Kuskie
4b859e5ada Add Help, missing help titles to i18n. 2009-03-19 16:25:19 +00:00
Colin Kuskie
49b01b76ec i18 label for StoryTopic help.
View methods for StoryTopic, with tests for template variables and amount of data returned.
2009-03-19 04:07:59 +00:00
Colin Kuskie
5ae32f8cb4 Skeletal help for StoryTopic. 2009-03-19 04:07:27 +00:00
Colin Kuskie
e8292a8a3f Do not set addStoryUrl unless the user can really add Stories. 2009-03-18 18:26:20 +00:00
Colin Kuskie
9d03cd52ca Always dangle a comma. 2009-03-18 17:40:52 +00:00
Colin Kuskie
20db7e1dda Remove debug. 2009-03-18 17:25:35 +00:00
Colin Kuskie
1349667103 Fix broken Help. 2009-03-18 16:57:59 +00:00
Colin Kuskie
988e74e6a9 Fix missing, and broken Help. 2009-03-18 16:57:03 +00:00
Colin Kuskie
a8dbe3bed7 Parenthesize the call to get to make it stand out. 2009-03-18 16:56:28 +00:00
Colin Kuskie
8914b0e14e Add a duplicate story template to be used for the Topic. 2009-03-18 00:19:53 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Colin Kuskie
c7a66861a6 The URL for the story was changing when the story was edited. The initial
URL was based on the current asset, which is the Archive instead of the Folder.
(Archive hands off to Folder in addChild).
On following edits, no URL was passed, so one was built from the parent, which
is the Folder.
Fix this by passing in the existing URL as an hidden form param.
2009-03-10 00:31:19 +00:00