Commit graph

54 commits

Author SHA1 Message Date
Paul Driver
fa471df450 Story Archive now plays nice with urlExtensions 2010-10-26 14:27:47 -07:00
Paul Driver
0d46331745 fixed #11928: Story Archive breaks if url has extension 2010-10-26 11:09:11 -07:00
Scott Walters
d17d096380 StoryArchive optional sorting by title.
Fwiw, this code was written a while ago but seems to have gotten
misplaced.
2010-07-23 09:13:55 -04:00
Colin Kuskie
b7ba9f2118 Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678 2010-06-23 14:12:42 -07:00
Doug Bell
247c607393 fixes for weaken and iterator 2010-06-01 19:37:53 -05:00
Doug Bell
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Colin Kuskie
38e6bfad3e Convert many search forms from POST to GET. Fixes bug ##11372 2010-01-25 15:53:49 -08:00
hao
7a439fd702 Fixed failure in test 250 of t/00_compile.t.
not ok 250 - WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings
@   Failed test 'WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings'
@   at 00_compile.t line 52.
@          got: 'Argument "." isn't numeric in numeric eq (==) at /Users/hao/Dropbox/PB/wg/webgui/lib/WebGUI/Asset/Wobject/StoryArchive.pm line 383.'
@     expected: ''
2009-10-02 07:52:48 -04:00
Colin Kuskie
021b7f8fed Fix import Story Archive packages with sub-stories. 2009-09-10 08:43:26 -07:00
Graham Knop
b8127bafec Revert "When opening or duplicating Session objects, pass on any Apache2::Request object"
This reverts commit ed97fa1ecd.
2009-09-08 11:06:39 -05:00
Colin Kuskie
cdb7fd2d6f Fix pagination for keywords listing in Story Archive. Fixes bug #10890. 2009-09-03 12:54:15 -07:00
Colin Kuskie
ed97fa1ecd When opening or duplicating Session objects, pass on any Apache2::Request object
stored in the current session.
2009-08-14 01:38:03 +00:00
Colin Kuskie
c9fa63bdb7 Give StoryArchive sub-folders the same style as their parent. Fix to hide them
better upcoming.
2009-07-23 21:17:25 +00:00
Colin Kuskie
576b914293 More POD fixes. 2009-07-04 17:21:05 +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
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
5fd74af21e Don't make a 2nd i18n object. 2009-06-01 20:47:06 +00:00
Colin Kuskie
8f09dc062d Add edit and delete icons to the Story Topic. Update tests. Adjust both
sets of templates.  Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
6844ef4559 Add missing edit story and delete story icons in the view method of the Story Archive. 2009-06-01 16:27:49 +00:00
Colin Kuskie
ef7abeec77 Make the Story Manager assets use the new icons. 2009-05-13 22:04:43 +00:00
Colin Kuskie
40b5ac13a4 Update code to match new RssFeed API w.r.t exporting. 2009-04-28 19:51:47 +00:00
Colin Kuskie
8d8d5f2d3b Do not set the exporting scratch variable in places where it is not needed. 2009-04-24 19:04:29 +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
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Colin Kuskie
a46038d734 Update the keyword URL callback to the correct method. 2009-04-24 03:44:52 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Colin Kuskie
070df97708 tag cloud urls in export mode 2009-04-22 01:20:55 +00:00
Colin Kuskie
d1db12d1e4 Finish export code.
Make the list of assets templatable, since the user can see it.
Beginnings of export collateral tests.
2009-04-20 21:18:24 +00:00
Colin Kuskie
08c033b2c5 Document how template variables work in export mode.
Change how pagination works when exporting.
Early code for exporting keyword pages.
2009-04-17 17:11:07 +00:00
Colin Kuskie
c439453784 Make rssUrl and atomUrl variables respond to exportMode. 2009-04-16 21:19:17 +00:00
Colin Kuskie
1ddf1b50a4 add export mode for StoryArchive.
Turn off search variables when in export mode.
2009-04-16 19:21:28 +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
efef611b03 getRssFeedItems for StoryArchive, with tests.
A couple of quick rss/atom url tests.
2009-04-08 22:46:42 +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
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
a8dbe3bed7 Parenthesize the call to get to make it stand out. 2009-03-18 16:56:28 +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
c12e1b3758 Search form for StoryArchive view form. 2009-03-07 04:16:29 +00:00
Colin Kuskie
925a218224 keyword tag cloud for StoryArchive, with tests 2009-03-06 17:17:21 +00:00
Colin Kuskie
06790fa72b Fix label typos in storiesPerPage.
Add Story templateId.
2009-03-05 22:00: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
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
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
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