Commit Graph

196 Commits

Author SHA1 Message Date
Niels Lyngsø
cb98a4a82e corrected spelling mistake 2020-06-26 16:02:26 +02:00
Niels Lyngsø
eeea641009 update test with new scope parameter 2020-06-23 14:56:01 +02:00
Niels Lyngsø
bfa07377b4 Moving BlockEditorModelObject into its own file for Documentation purpose. Same goes for renaming BlockModel to BlockObject. and a lot of documentation written. 2020-06-15 22:27:56 +02:00
Shannon
12755e5db6 Returns ContentTypeKey from the server, updates js to use this everywhere and fix all js tests. 2020-06-11 17:16:43 +10:00
Niels Lyngsø
b81f0b3eb6 converting code to use contentTypeKey instead of contentTypeAlias, still missing a few TODOs. 2020-06-04 11:05:21 +02:00
Niels Lyngsø
4a1a883314 adjust unit tests to latest interface 2020-06-02 14:05:07 +02:00
Niels Lyngsø
b630537327 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2020-05-28 11:36:56 +02:00
Bjarne Fyrstenborg
88c842ccda Add utility function equivalent to angular.fromJson (#8014) 2020-05-06 16:41:00 +02:00
Niels Lyngsø
871e50efb8 variant validation error test 2020-05-01 09:56:09 +02:00
Niels Lyngsø
2b5f3eeedd correcting test to parse segment attribute 2020-05-01 09:41:31 +02:00
Niels Lyngsø
678ceba1a8 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB6057-segment-feature
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/umbgroupsbuilder.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js
2020-04-27 12:58:29 +02:00
Niels Lyngsø
04a77aa7c0 rename contentModel to data + rename layoutModel to layout 2020-04-23 10:23:49 +02:00
Shannon
90b4d557c9 Adds a segment level validation key + updates tests 2020-04-17 16:12:04 +10:00
Matthew-Wise
76e4b6b301 Replaced angular.toJson with Utilities.toJson [#CanConHackathon] (#7924) 2020-04-10 18:07:37 +02:00
Niels Lyngsø
ad93436178 more tests 2020-03-09 12:43:53 +01:00
Niels Lyngsø
bc97861316 more tests for block list editor 2020-03-05 17:38:14 +01:00
Niels Lyngsø
74165ae859 another two tests 2020-03-05 13:14:51 +01:00
Niels Lyngsø
d01d55b621 promise test working 2020-03-05 11:55:37 +01:00
Niels Lyngsø
4a6484b577 test for blockEditorService 2020-02-26 17:03:06 +01:00
Niels Lyngsø
f302b373ac basic tests for segments validation 2020-01-23 17:00:14 +01:00
Niels Lyngsø
686e1beb74 Apply segments for validation, client side. 2020-01-22 10:40:56 +01:00
Liam Laverty
f6d21799cb fixes info notifications to appear in blue (#7351) 2020-01-05 13:28:58 +01:00
Niels Lyngsø
6c21279216 require because we need underscore to be available... 2019-10-31 11:03:19 +01:00
Niels Lyngsø
cc3ef9de0c Upgrade Gulp to v4 (#6809) 2019-10-23 10:31:07 +02:00
Bjarke Berg
261dc2af98 AB2913 - Added unit tests for the umbCmsJoinArray filter, and a small change when using null for separator 2019-10-11 13:32:23 +02:00
Warren Buckley
f43a6a9004 Fix unit test 2019-09-24 12:00:39 +01:00
Shannon
a0c0f61ef4 fix js unit test 2019-09-20 11:03:45 +10:00
Warren Buckley
4fc265275b Fix up unit test for RTE, it was failing as I added the Angular app.value for tinyMceAssets - this ensures we add an empty array of tinymce assets 2019-08-20 11:28:02 +01:00
Warren Buckley
41b8294ce3 Fixes build as commit 9fffdb4 added a check/call to GetCurrentUser and JS test was failing for unexpected HTTP call to GetCurrentUser 2019-06-24 10:39:47 +01:00
Shannon
88d9e3321c Don't do a redirect on create for content, instead we do a 'soft redirect' which means the URL is updated but the route isn't changed which simplifies re-wiring everything up (will eventually do for all editors) 2019-06-12 00:39:12 +10:00
Shannon
6d12eea789 Adds unit tests for serverValidationManager and fixes it up to ensure that the correct culture callbacks are called. 2019-06-07 12:16:00 +10:00
Rasmus John Pedersen
f00a230d12 Merge branch 'v8/dev' into v8/feature/4940-save-media-reference-instead-of-media-url 2019-05-01 08:55:55 +02:00
Sebastiaan Janssen
344b7731ce Fix JS unit tests 2019-04-22 12:10:53 +02:00
Rasmus John Pedersen
27b4329c1e Rename udiHelper to udiParser 2019-04-16 08:50:19 +02:00
Rasmus John Pedersen
32197f0bd1 Add angular udi helper service 2019-04-15 10:31:10 +02:00
Shannon
64df1d040f Fixes how tests are run, fixes up the content picker, removes unecessary tests 2019-02-14 15:09:28 +11:00
Shannon
5e38cadacc publishes js test results to xml so that Azure DevOps can read the results, re-enables js test building, fixes an issue with one of the tests 2019-02-14 12:30:36 +11:00
Shannon
1703c918d9 test pass now 2019-02-07 17:06:50 +11:00
Callum Whyte
2036da5e84 V8: kill usercontrol support, cleanup macros (#4329) 2019-01-30 18:37:07 +01:00
Chris Houston
193e24afd2 Fixing all the TODO, FIXME & HACK comments so they all follow the same layout. 2019-01-27 11:16:00 +01:00
Bjarke Berg
cd6b374d22 Update HasChildren, on removeNode in treeService 2018-11-06 14:51:51 +01:00
Shannon
5168ef0f7a Fixes js tests and some logic 2018-08-16 19:20:43 +10:00
Shannon
3395e4c150 Fixes allowedFileType JS problem with unit test 2018-08-10 10:31:04 +10:00
Shannon
2f0f43e605 Gets image cropper working between variants, even with invariant properties, adds unit test to ensure invariant properties in the model are the same reference 2018-08-10 00:39:20 +10:00
Shannon
601c30c39a Fixes js tests 2018-08-09 19:34:32 +10:00
Shannon
1f25847cd7 Gets contextual culture server validation working 2018-08-02 20:00:35 +10:00
Shannon
5eedfc2a53 Merge remote-tracking branch 'origin/temp8' into temp-editing-all-variants
# Conflicts:
#	src/Umbraco.Web/Editors/ContentController.cs
2018-08-01 11:56:46 +10:00
Warren
80db20fdfb Fix up failing JS unit test from a recent change from V8 hackathon to the query builder syntax (was curly's on new lines) 2018-07-31 11:18:24 +01:00
Shannon
c2dae6f5a0 fixes js tests 2018-07-17 15:41:09 +10:00
Shannon
e2bcf59b0f Fixes and documents the odd async usage for reading multipart in a model binder, fixes up navigation.service checks and adds unit tests for that 2018-07-17 15:33:57 +10:00