Colin Kuskie
acc6447841
Only users who canAdminister the parent wiki are allowed to purge revisions of a wiki page. Fixes bug #11377
2010-02-01 14:50:40 -08:00
Colin Kuskie
006570a05a
newByUrl should throw an exception. Test it.
2010-01-29 17:35:19 -08:00
Colin Kuskie
387866cfcb
Update Asset::File for Moose
2010-01-29 17:17:38 -08:00
Colin Kuskie
1736b481b6
Update Article for Moose
2010-01-26 16:13:36 -08:00
Colin Kuskie
0f32e9b6fb
Fix the AssetLineage test that I broke.
2010-01-26 15:21:15 -08:00
Colin Kuskie
7e7bc9ca20
Label loop inside getLineage. Drop a clause from getLineageSql, since we can use LIKE to make sure the lineage does not include the parent. Move getLineage tests to the top since downstream tests depend on getting assets in lineage order.
2010-01-26 12:55:40 -08:00
Colin Kuskie
eb60168627
sessionification of AssetLineage, conversion to use moose accessors.
2010-01-26 07:25:51 -08:00
Colin Kuskie
e940dc0427
Change this test to use a Snippet instead of a Template.
2010-01-25 22:52:25 -08:00
Colin Kuskie
891098fa3f
Shave two seconds off the Clipboard test by setting the revisionDate on the original asset for testing.
2010-01-22 18:38:56 -08:00
Colin Kuskie
5b24340994
sessionify duplicate. Tweak AssetClipboard test to use Moose methods.
2010-01-22 18:36:54 -08:00
Colin Kuskie
de34ab3b95
fix getLineage. All tests in t/Asset/AssetTrash.t are passing.
2010-01-22 15:25:50 -08:00
Colin Kuskie
451eb33f0f
Fix requestAutoCommit. All tests in t/Asset/Asset.t passing.
2010-01-22 15:10:23 -08:00
Colin Kuskie
e5affbd0c2
Add tagId property, fix cloneFromDb. Fix several tests.
2010-01-22 11:42:05 -08:00
Colin Kuskie
5c3a3d440b
Fix inheritUrlFromParent, using trigger instead of around.
2010-01-22 11:07:46 -08:00
Colin Kuskie
6573884db6
Add exceptions to newPending. Change it to use newById instead of new. Tweak some messages and tests.
2010-01-22 08:40:49 -08:00
Colin Kuskie
f798ae533b
remove newByDynamicClass tests, which was replaced by newById
2010-01-21 21:44:28 -08:00
Colin Kuskie
04ed78e8f1
Remove use of getAttribute from Asset.pm. Tweak a few tests.
2010-01-21 21:06:58 -08:00
Colin Kuskie
143e2e0d7b
pull permission tests out of Asset.t. Fix getName.
2010-01-21 20:45:58 -08:00
Colin Kuskie
52d5883b77
More exceptions and tests for Asset.pm
2010-01-21 19:52:48 -08:00
Colin Kuskie
9004007b0e
Changing undef to exceptions in Asset.pm
2010-01-21 19:10:56 -08:00
Colin Kuskie
56eadab746
Update test for new Moose API.
2010-01-20 21:54:29 -08:00
Colin Kuskie
3a425f29bc
Change the name of the sku accessor for shipsSeparately to isShippingSeparately, since it clashes with a property. Add tests. t/Asset/Sku.t passes.
2010-01-20 18:47:35 -08:00
Colin Kuskie
b397651620
Update the Product test for changes in the Storage API.
2010-01-19 18:39:43 -08:00
Colin Kuskie
ea53dcc037
Update version for JavaScript::Packed to handle some gnarly JS. Fixes bug #11034 .
2010-01-19 09:06:35 -08:00
Colin Kuskie
6fe662ef83
Make sure template attachments are duplicated. Fixes bug #11355 .
2010-01-18 10:58:03 -08:00
Colin Kuskie
81d811bef1
Add the Topic description to the default Story Topic template.
2010-01-14 15:27:53 -08:00
Colin Kuskie
fc09d73b65
Update test for code changes with bug fix.
2010-01-11 16:34:50 -08:00
Colin Kuskie
6e0983a67b
Update the number of threads in the CS when a thread is archived. Fixes bug #11341 .
2010-01-11 11:54:59 -08:00
Colin Kuskie
b5f5f8f6e8
Threads should not show pagination query params in their URLs.
2010-01-07 08:34:27 -08:00
Colin Kuskie
173bec1574
Handle linking to posts not on the first page on a thread view. Fixes bug #11318 .
2010-01-05 20:52:27 -08:00
Colin Kuskie
7281a3dd8e
Fix the CS search, so that links to anchors are correct. Fixes bug #11318
2010-01-05 16:47:56 -08:00
Colin Kuskie
12e160bf8c
Fix passing regex characters to the highlighter, which makes it break. Fixes bug #11311 .
2009-12-21 11:38:52 -08:00
Colin Kuskie
8c0b73f2ec
Fix an infinite loop with getting Photo under an album that is not committed. Fixes bug #11235 .
2009-12-18 08:24:44 -08:00
Colin Kuskie
310c0add71
When addin a child under a parent that is not committed, adopt the parent's version tag. Fixes bug #11295
2009-12-15 14:25:02 -08:00
Colin Kuskie
27a7c099ba
fix: getIsa returns undef for pending assets.
...
Add a new option flag to getIsa, called returnAll. If returnAll = 1, then
assets are returned regardless of status. Otherwise, getIsa will only
return committed assets.
2009-12-08 17:22:59 -08:00
Colin Kuskie
d1e6f30493
Fix a bug where ratings were allowed to be set with less than 10 votes. Fixes bug #11294
...
This helps fix people trying to game the system.
2009-12-08 14:39:24 -08:00
Colin Kuskie
9476878b5e
Fix a call on potentially undefined parent in Gallery Album. Fixes bug #11289 .
2009-12-03 22:46:33 -08:00
daviddelikat
60b04ff928
Merge branch 'master' of git@github.com:plainblack/webgui
...
Conflicts:
lib/WebGUI/i18n/English/Asset_EMSSubmission.pm
2009-12-01 18:50:27 -06:00
Colin Kuskie
9bb5497aff
Fix Cron issues with CSes. Fixes bug #11284 .
2009-11-30 11:11:36 -08:00
Colin Kuskie
c64911c531
Update test for changes in core code.
2009-11-24 23:13:17 -08:00
daviddelikat
e0b87268c5
various fixes to EMS Submissin system
2009-11-22 20:32:17 -06:00
Colin Kuskie
17297f4fe6
Fix cache setting and cleaning up issues in the Snippet. Fixes bug #11259
2009-11-20 11:34:13 -08:00
daviddelikat
f12b0751e6
changed reset to rerun in Test::Activity
2009-11-18 09:45:58 -06:00
Graham Knop
7913059097
fix unmocked warning
2009-11-17 14:12:37 -06:00
Colin Kuskie
5fd30d8d84
Revert "Separating ThingRecord object from Thingy"
...
This reverts commit df84c60d6a .
2009-11-17 12:12:19 -08:00
Colin Kuskie
a37f69cc04
Revert "Separating Thing object from Thingy"
...
This reverts commit 3d88789659 .
2009-11-17 12:12:08 -08:00
Graham Knop
614a901231
silence extra test output for non-verbose runs
2009-11-17 13:34:00 -06:00
Colin Kuskie
15ce7b56cc
Quote the id generated by the Image asset. Also, do not overwrite user uploaded parameters. Fixes bug #11246
2009-11-17 08:53:56 -08:00
Colin Kuskie
c8bda63587
Test maintenance.
2009-11-16 17:03:29 -08:00
Yung Han Khoe
3d88789659
Separating Thing object from Thingy
2009-11-16 17:37:18 +01:00