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
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
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
Colin Kuskie
9487b7d4ac
Complete rework of Story autocommit.
...
Tests for status of Stories that have been autocommitted.
Keyword search interface with UI and tests.
2009-03-09 20:59:28 +00:00
Colin Kuskie
4b1ec30748
Formatted duration template variable and method, with tests.
...
Start writing Story help.
2009-03-07 00:01:41 +00:00
Colin Kuskie
5bb4cbf299
change names of loops to be _loop vs Loop.
...
Added keyword loop variable.
Change subtitle to a textarea.
Add tests for Story template variables.
2009-03-05 23:43:50 +00:00
Colin Kuskie
882b8a5c89
Viewing stories is now possible.
2009-03-05 22:47:43 +00:00
Colin Kuskie
e0f46517bb
Add a cancel button to the edit story form.
2009-03-05 17:59:22 +00:00
Colin Kuskie
40d17b7be9
Add stories to a story archive.
...
i18n support for that.
log problems when calling www_add in the story archive.
2009-03-05 17:22:41 +00:00
Colin Kuskie
426bc41b04
Add a getArchive method to the Story. Test it.
...
Make www_edit work.
2009-03-05 01:01:45 +00:00
Colin Kuskie
874fad9917
Make edit story form values sticky, for preview.
2009-03-04 23:25:18 +00:00
Colin Kuskie
f7ebd6189a
Beginnings of an edit form for the Story.
2009-03-04 18:11:57 +00:00
Colin Kuskie
2f0b2638cf
Handle the case when purging a story, and there's no storage location.
2009-03-03 23:50:45 +00:00
Colin Kuskie
e5c56dcf70
Add JSON handling, and move code form addRevision to update.
2009-03-03 00:36:38 +00:00
Colin Kuskie
02dc71055b
Story code. Added validParent, storage location code.
2009-03-02 20:20:43 +00:00
Colin Kuskie
daf6c7bd92
Clean up autoGenerateForms in definition.
2009-02-27 20:56:26 +00:00
Colin Kuskie
4085c246b1
Skeletal code for Story Asset. i18n as well.
2009-02-27 20:52:26 +00:00