Commit graph

1309 commits

Author SHA1 Message Date
Colin Kuskie
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Colin Kuskie
f9e3c0c99c Check what happens with URLS with an initial dot in them 2009-04-24 16:53:35 +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
f2451e2f7e Add feed support to StoryTopic. 2009-04-22 04:59:23 +00:00
Colin Kuskie
070df97708 tag cloud urls in export mode 2009-04-22 01:20:55 +00:00
Colin Kuskie
54aaa673cf exported keyword file tests 2009-04-20 23:09: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
7b3ab664fe test for getStaticKeywordUrl 2009-04-17 17:20:12 +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
fbbd63eaa5 Static export for the topic is done. 2009-04-16 17:09:48 +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
314a12def2 Add an autoclean-up method to WebGUI::Test, and convert the Story test
to use it.
2009-04-13 17:33:42 +00:00
Colin Kuskie
1edaca4ed2 Merge up to 10305 2009-04-13 17:04:23 +00:00
Colin Kuskie
fa2e5c2c90 Add valid storageId checks for duplication, since '' ne storageId. 2009-04-13 16:38:26 +00:00
Colin Kuskie
5729a40ab2 Add tests that _really_ check for duplicated storage locations. 2009-04-13 16:36:37 +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
9ccdd08a01 Add tests for title vs headline in RSS. 2009-04-09 14:52:54 +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
5e1cf93394 Update StoryTopic tests for CSV Keywords 2009-04-08 16:59:58 +00:00
Colin Kuskie
db0d709b92 Update StoryArchive test for new Keywords CSV. 2009-04-08 16:58:08 +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
5f1f0a8a11 Close the statement handle. 2009-03-25 01:06:44 +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
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
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
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
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
abaccb18e0 Refactor out used SQL statements into a statement handle. 2009-03-19 04:06:41 +00:00
Colin Kuskie
4cb5b5d83c Add an easy way to access a famous date. 2009-03-19 04:06:14 +00:00
Colin Kuskie
dd771bd409 Check for addStoryUrl with the right permissions.
Move all stories into the past, in preparation for filtering out future Stories based
on canEdit.
2009-03-18 18:27:04 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +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
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
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
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
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