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
Colin Kuskie
40e068e0fb
Search interface, in addition to the default view and the keywords view.
2009-03-09 23:23:34 +00:00
Colin Kuskie
087b7afb08
Fix searching by keyword via the form.
2009-03-09 21:28:43 +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
6dc31e64ae
Add a new option for getMatchingAssets to set the number of rows
...
per page.
Add another sort clause to make testing easier.
2009-03-09 18:40:21 +00:00
Colin Kuskie
c12e1b3758
Search form for StoryArchive view form.
2009-03-07 04:16:29 +00:00
Colin Kuskie
9368a5dbcf
POD fix about the default sort order of returned assets.
2009-03-07 04:13:58 +00:00
Colin Kuskie
ae4c57a7f0
Add the new timeUpdated variable to the template, along with i18n phrase support.
2009-03-07 00:52:48 +00:00
Colin Kuskie
b5889146d3
More Story template variable help
2009-03-07 00:45:08 +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
925a218224
keyword tag cloud for StoryArchive, with tests
2009-03-06 17:17:21 +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
06790fa72b
Fix label typos in storiesPerPage.
...
Add Story templateId.
2009-03-05 22:00:17 +00:00
Colin Kuskie
a48c6e02f3
Document the missing keywords template variable that is now added to all assets.
2009-03-05 21:04:17 +00:00
Colin Kuskie
17b124c39f
Change how the view template variables work. It no longer appends, viewTemplateVars
...
makes them all.
2009-03-05 20:43:57 +00:00
Colin Kuskie
338433e78d
Help and i18n for the edit story template.
2009-03-05 17:59:42 +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
04105713f0
merge back with HEAD for 7.7.0
2009-03-05 16:19:12 +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
2cd648d717
override www_add so that it makes or access a folder to hold stories.
2009-03-05 01:00:41 +00:00
Colin Kuskie
cff0a9ae9d
Templates for archive, and edit story.
...
Added switches and URLs for adding stories.
Fixed date problems in the date_loop.
Fixed an autocommit issue with folders when there's no currently open version tag.
2009-03-05 00:15:20 +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