Commit graph

1446 commits

Author SHA1 Message Date
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
30d171515a Optimize the Bucket analysis for speed.
Optimized in 3 ways.
1) Local caching and compiling of all regexps.
2) URL level bucket caching
3) Tweaked canShowDebug to speed it up.  This was ported back
   to the core.
2009-03-04 13:25:32 +11:00
Colin Kuskie
3bafce6e3e Test for running benchmarking. 2009-03-04 13:24:24 +11:00
Colin Kuskie
df4d6efb10 Tests for StoryArchive view variables. 2009-03-04 00:01:37 +00:00
Graham Knop
c7f887e47a fix AdSpace, Ad tests 2009-03-03 20:11:22 +00:00
Colin Kuskie
c84e875612 Restore the original properties for the profile category that was modified for test. 2009-03-03 17:46:05 +00:00
Graham Knop
c10787e40e fix ProfileCategory test misusing the API 2009-03-03 17:40:26 +00:00
Graham Knop
d7649d3212 survey test fix 2009-03-03 17:07:53 +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
bd59ac6006 Test adding children, along with automatically adding folders. 2009-03-03 00:36:12 +00:00
Colin Kuskie
02dc71055b Story code. Added validParent, storage location code. 2009-03-02 20:20:43 +00:00
Colin Kuskie
716ef998a7 Add methods for creating and getting date specific folders below the Archive for
holding stories.  With tests.
Code for the approval workflow for stories.
2009-03-02 16:49:26 +00:00
Colin Kuskie
2ce2155321 test canPostStories method 2009-02-28 00:56:38 +00:00
Colin Kuskie
2345c6a2d1 Test Skeletons for Story Archive and Topic Wobjects. 2009-02-27 23:48:28 +00:00
Colin Kuskie
444ff307e0 And another one. 2009-02-27 19:23:18 +00:00
Colin Kuskie
46a3620daf missed a revision in the last merge 2009-02-27 19:22:58 +00:00
Colin Kuskie
f8b11b5423 merging back with HEAD 2009-02-27 06:06:05 +00:00
David Delikat
15a2cbd840 first part of coding 2009-02-27 03:37:55 +00:00
Colin Kuskie
91ecdda498 Fix a bug in the paginator where in 10/20 page links the number
of pages becomes less than 10/20.
Add lots of Paginator tests to check this.
2009-02-26 18:01:57 +00:00
Graham Knop
ddf3a9ed74 test fix 2009-02-25 21:15:34 +00:00
David Delikat
8adae35947 fixed postfix object notation 2009-02-23 04:51:45 +00:00
Graham Knop
65a0c7bbae allow single quote delimiters for macro parameters 2009-02-23 04:25:17 +00:00
David Delikat
af5ad84fc8 added code and test suite for a series of functions that
identify non-human web clients so that advertising can
eliminate ghost impressions and ghost clicks
2009-02-23 00:20:46 +00:00
Colin Kuskie
7684aa6e53 Add a quick, 1-off profile category test. 2009-02-21 23:17:25 +00:00
Colin Kuskie
118a05a00c Handle the case when CODE_COP=0 2009-02-21 22:22:05 +00:00
Colin Kuskie
9988f6a116 Add a check for keys with spaces. 2009-02-21 22:19:46 +00:00
Graham Knop
e596489f10 adjust template i18n test to use the real macro parser 2009-02-21 22:17:24 +00:00
Colin Kuskie
f509317d55 Complete the Asset/Wobject/Matrix.t fix by using the newly calculated assetId in the test. 2009-02-21 02:24:34 +00:00
Colin Kuskie
f0b025e855 Update International test for new International module. 2009-02-21 02:16:15 +00:00
Colin Kuskie
cdcdd2951f Clean up after the newly modified DeleteExpiredSession test. 2009-02-21 02:06:22 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
8b06f912ca Rewrite the DeleteExpiredSessions test to not take cheap shortcuts
that are not very reliable.
2009-02-20 22:31:03 +00:00
Colin Kuskie
4ee2e59f1d Add a test to make sure that update does not erase values that it is not given. 2009-02-19 18:09:32 +00:00
Colin Kuskie
d4fb48f77d Fix a bad test that will fail when we upgrade to mysql 5.1 2009-02-19 16:35:46 +00:00
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Colin Kuskie
c90fa56507 Make WebGUI::PseudoRequest work with fatals. Cookies are now mocked and
tied off inside that package.  ErrorHandler uses the session request object,
instead of RequestUtil.
2009-02-18 02:46:59 +00:00
Graham Knop
2079266627 fix matrix test function 2009-02-17 20:53:09 +00:00
Colin Kuskie
96c15c56b2 Optimize canShowDebug for speed by caching the calculated check. 2009-02-16 21:03:31 +00:00
Patrick Donelan
50091e8e3a Started working on Survey Multiple Choice bundle management. 2009-02-16 00:13:58 +00:00
Patrick Donelan
34340e56fb Added Survey::surveyJSON_* convenience methods that auto-persist to the db 2009-02-12 01:07:22 +00:00
Patrick Donelan
7128a3d07c More Survey.pm refactoring
Turned getResponseId into a lazy-loading responseId mutator
Added responseIdCookies flag as a workaround for WebGUI::Test::getPage's
lack of cookie support
2009-02-11 09:27:31 +00:00
Patrick Donelan
e139136d08 Made Survey->surveyJSON lazy-load so that you don't have to call
loadSurveyJSON() everywhere.
2009-02-11 09:26:50 +00:00
Patrick Donelan
8d7599d781 Moved Survey.pm's "survey" and "response" properties to private hash
vars and added accessors.

So that you don't end up with mind-bending code that looks like:
$survey->survey->{survey}
2009-02-11 09:26:27 +00:00
Patrick Donelan
d882181fd1 Started refactoring the Survey.pm Wobject class
Refactored www_jumpTo and added tests
Added Params::Validate
Improved docs
Made call to SurveyJSON->createSurveyOrder() unnecessary
Turned ResponseJSON->nextResponse a mutator
2009-02-11 09:25:42 +00:00
Graham Knop
1edc66367e Spectre tests shouldn't need WRE to run 2009-02-10 22:54:54 +00:00
Graham Knop
a8dab0ac03 fix exif test 2009-02-10 21:41:48 +00:00
Graham Knop
bf9bd2f0d2 use proper JSON encoding/decoding 2009-02-10 21:41:36 +00:00
Colin Kuskie
5d8ede926c use PseudoRequest to stop some test warnings 2009-02-10 20:24:34 +00:00
Colin Kuskie
2482c0f89f Remove tests from FetchMimeType that just were setup to help Fedora pass. 2009-02-10 17:26:29 +00:00
Patrick Donelan
b0c5c09461 Merge branch 'master' into survey
* master: (127 commits)
  Prefill in the email address in the ITransact credentials form from the user's Shop address.
  fixed Matrix best/worst rated lists
  Fix bad form variable for phone number in EMS Badge address info.
  - Added a switch to allow the use of non-WebGUI objects with the Workflow
  fixing a problem with previous survey fix
  fixed #9671: Survey - breaks admin bar
  fixed a Matrix sql problem
  i18n the image labels and title for the asset manager, manage screen.
  Prevent an imported package from changing the a current asset's status from pending to anything else.
  Remove trailing comma in Shop/Transaction JS so IE6 works.
  fixed documentation
  fixed a bug when a matrix listing didn't have a forum attached
  small char encoding fix to merged upgrade
  fix small issue in addChild
  adding merge point
  Fix a problem with purging an EMS.
  Update this template so that it passes the template i18n test.
  Fix a broken i18n label in answer edit template for the Survey.
  Unify all Survey CSS into 1 file, and use it.
  Adding/fixing Survey i18n and Help
  ...

Conflicts:
	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/ResponseJSON.pm
	lib/WebGUI/i18n/English/Asset_Survey.pm
	www/extras/wobject/Survey/editsurvey/object.js
2009-02-10 07:57:42 +00:00