Commit graph

62 commits

Author SHA1 Message Date
Colin Kuskie
e046e5a8ce Fix rendering of the carousel inside of a Story. Fixes bug #12386 2012-09-20 14:00:57 -07:00
Colin Kuskie
79c843434c Fix the unlikely case of empty photo data in a Story asset when purging. 2012-07-26 15:11:40 -07:00
Colin Kuskie
ab1b6aa4fd Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136 2011-05-31 15:16:02 -07:00
Colin Kuskie
b872694390 Remove old debug content. 2011-05-31 15:14:39 -07:00
Paul Driver
f06db47a02 tiny bugfix for remote images in story 2011-04-07 09:48:26 -05:00
Paul Driver
f8021c3d3d rfe #12093: Remotely stored photos for Story assets 2011-04-05 15:16:45 -05:00
Paul Driver
76e9693f4b Export related assets 2011-04-04 18:47:37 -05:00
Paul Driver
ae3e49d622 Versioned Metadata 2011-02-17 14:46:50 -06:00
Colin Kuskie
bb584ec910 Fix stories linking to keyword pages after export. Fixes bug #12035. 2011-02-08 19:11:32 -08: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
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
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