-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coveofoundation #1
base: coveo
Are you sure you want to change the base?
Changes from 41 commits
d9d1106
465386b
9a37675
26eee60
34eb73f
2c8899c
891924a
1164f81
1aff014
c353f70
4951626
e710cfd
ab87e86
193a062
5637ef5
96fbdae
d9e7f63
ed40c50
5c7c52f
e415358
a98d5ae
8d76510
da1145c
ace7488
550ca34
ca09678
f56bfde
ea211fc
0069b0e
ddcf87b
47f6f9c
95b02df
5784702
c624441
cac0b30
1a8761d
dcb01f2
405f1f9
195ad0d
504e90e
8bee9ec
6c17dab
3f453a7
dea4960
9ff6b4c
8cd2d43
84f1add
0481b72
2c85cce
49c83ed
608c192
e76cf7f
f5c6d33
4a43a9a
375dbb4
e414779
c58e3bd
9c92360
cab4530
a93ccfc
47b9adc
1b2ca52
5623eec
32c1b87
66412e7
66ca53f
1ce5f0f
c8c9eb7
9441575
b319fb8
edac1b3
2d52f70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ module.exports.config = config; | |
gulp.task("default", function (callback) { | ||
config.runCleanBuilds = true; | ||
return runSequence( | ||
"00-Copy-Webroot-Lib", | ||
"01-Copy-Sitecore-License", | ||
"02-Nuget-Restore", | ||
"03-Publish-All-Projects", | ||
|
@@ -33,15 +34,29 @@ gulp.task("default", function (callback) { | |
/***************************** | ||
Initial setup | ||
*****************************/ | ||
gulp.task("00-Copy-Webroot-Lib", function () { | ||
console.log("Copying Assemblies from webroot"); | ||
fs.statSync(config.sitecoreLibraries); | ||
var files = [ | ||
config.sitecoreLibraries + "/Coveo.Framework.dll", | ||
config.sitecoreLibraries + "/Coveo.SearchProvider.dll", | ||
config.sitecoreLibraries + "/Coveo.SearchProviderBase.dll", | ||
config.sitecoreLibraries + "/Coveo.UIBase.dll", | ||
]; | ||
return gulp.src(files).pipe(gulp.dest("./lib/Coveo")); | ||
}); | ||
|
||
gulp.task("01-Copy-Sitecore-License", function () { | ||
console.log("Copying Sitecore License file"); | ||
|
||
return gulp.src(config.licensePath).pipe(gulp.dest("./lib")); | ||
}); | ||
|
||
gulp.task("02-Nuget-Restore", function (callback) { | ||
var solution = "./" + config.solutionName + ".sln"; | ||
return gulp.src(solution).pipe(nugetRestore()); | ||
var solution = "./" + config.solutionName + ".sln"; | ||
return gulp.src(solution).pipe(nugetRestore({ | ||
additionalArgs: ["-Msbuildversion", "4"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restaurer l'indentation de 2 espaces de ce fichier pour ce bloc svp. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. C'est pas done. C'est encore en 4 espaces. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ne pas committer notre flag de MSBuild version 4. C'est un workaround que nous avons besoin à l'interne mais que le reste du monde n'a pas besoin. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. L'indentation devrait être correct. Pour Msbuild, c'est une erreur, il n'aurait pas du être comité. |
||
})); | ||
}); | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@using Coveo.UI.Extensions | ||
|
||
<!-- When customizing this component, ensure to use "Coveo.$" instead of the regular jQuery "$" to | ||
avoid any conflicts with Sitecore's Page Editor/Experience Editor. --> | ||
|
||
<script type="text/javascript" src="/Coveo/js/CoveoJsSearch.WithDependencies.min.js"></script> | ||
@if (Html.Coveo().IsInSitecore80ExperienceEditor()) { | ||
<script> | ||
jQuery.noConflict(); | ||
</script> | ||
} | ||
<script type="text/javascript" src="/Coveo/js/CoveoForSitecorePolyfills.js"></script> | ||
<script type="text/javascript" src="/Coveo/js/d3.min.js"></script> | ||
<script type="text/javascript" src="/Coveo/js/CoveoForSitecore.min.js"></script> | ||
|
||
@if (Html.Coveo().IsEditingInPageEditor()) { | ||
<script type="text/javascript" src="/Coveo/js/PageEditorDeferRefresh.js"></script> | ||
<div>Coveo Search Resources</div> | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
ID: "5844e130-7052-4572-a781-58ad9bd63e19" | ||
Parent: "256655ec-8f3a-45b5-ad90-b63bc25b8067" | ||
Template: "a87a00b1-e6db-45ab-8b54-636fec3b5523" | ||
Path: /sitecore/system/Settings/Feature/CoveoSearch | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170411T172559Z |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
ID: "ccdd3fe2-da58-49de-acf3-6b68a49fa4e4" | ||
Parent: "5844e130-7052-4572-a781-58ad9bd63e19" | ||
Template: "fe13e0a5-b777-4489-8968-2ed7a0cebfee" | ||
Path: /sitecore/system/Settings/Feature/CoveoSearch/Sorts | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170413T141841Z | ||
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" | ||
Hint: __Created by | ||
Value: | | ||
sitecore\Admin |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
ID: "cfc22532-26e1-4dcf-883a-cab68b604c48" | ||
Parent: "ccdd3fe2-da58-49de-acf3-6b68a49fa4e4" | ||
Template: "e7725e1d-fc56-416c-b04c-13d5de61ff6e" | ||
Path: /sitecore/system/Settings/Feature/CoveoSearch/Sorts/Date Sort Parameters | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Fields: | ||
- ID: "a636eec6-ce21-4b8c-a861-40e38e928cea" | ||
Hint: ItemId | ||
Value: CoveoDateSort | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170411T172559Z | ||
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" | ||
Hint: __Created by | ||
Value: | | ||
sitecore\Admin | ||
- ID: "ea6a8d27-61ee-4efa-b9b6-6cbc3e0ede5f" | ||
Hint: SortDirection | ||
Value: Descending |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
ID: "43f84523-f87b-41f4-b154-54fab3433a5e" | ||
Parent: "ccdd3fe2-da58-49de-acf3-6b68a49fa4e4" | ||
Template: "7e77178e-d6d1-4cb0-b8d8-1cd5b62e19ff" | ||
Path: /sitecore/system/Settings/Feature/CoveoSearch/Sorts/Relevancy Sort Parameters | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Fields: | ||
- ID: "a636eec6-ce21-4b8c-a861-40e38e928cea" | ||
Hint: ItemId | ||
Value: CoveoRelevancySort | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170411T172600Z | ||
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" | ||
Hint: __Created by | ||
Value: | | ||
sitecore\Admin |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
ID: "7370ba2d-c113-430f-98cd-03def2301888" | ||
Parent: "4e5e3bfb-c253-4764-9f60-309172f9f592" | ||
Template: "fe5dd826-48c6-436d-b87a-7c4210c7413b" | ||
Path: /sitecore/media library/Feature/CoveoSearch | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170412T181755Z |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
ID: "fbc5e277-7168-4232-a198-653c2d66eb6b" | ||
Parent: "da61ad50-8fdb-4252-a68f-b4470b1c9fe8" | ||
Template: "a87a00b1-e6db-45ab-8b54-636fec3b5523" | ||
Path: /sitecore/layout/Renderings/Feature/CoveoSearch | ||
DB: master | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20170411T172708Z |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
ID: "5fe16cf2-b341-4e61-8dfe-b7a9a64a649e" | ||
Parent: "fbc5e277-7168-4232-a198-653c2d66eb6b" | ||
Template: "99f8905d-4a87-4eb8-9f8b-a9bebfb3add6" | ||
Path: /sitecore/layout/Renderings/Feature/CoveoSearch/Coveo Date Sort View | ||
DB: master | ||
SharedFields: | ||
- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" | ||
Hint: __Icon | ||
Value: Coveo/32x32/CoveoSortDate.png | ||
- ID: "1a7c85e5-dc0b-490d-9187-bb1dbcb4c72f" | ||
Hint: Datasource Template | ||
Value: /sitecore/templates/CoveoModule/Search/Date Sort Parameters | ||
- ID: "2e51df70-d3e4-458c-b03a-95c734dd39e7" | ||
Hint: Data source | ||
Value: /sitecore/system/Settings/Feature/CoveoSearch/Date Sort Parameters | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mettre à jour le path car tu as déplacé les datasources dans un dossier "sorts" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. DONE! |
||
- ID: "51b435bc-f7b9-478a-9c51-52916af96ff5" | ||
Hint: Path | ||
Value: /Views/Coveo/DateSortView.cshtml | ||
- ID: "7d24e54f-5c16-4314-90c9-6051aa1a7da1" | ||
Hint: Parameters Template | ||
Value: "{E7725E1D-FC56-416C-B04C-13D5DE61FF6E}" | ||
- ID: "a2f5d9df-8cba-4a1d-99eb-51acb94cb057" | ||
Hint: Page Editor Buttons | ||
Type: Treelist | ||
Value: "{6CCF9D74-D675-4F9A-A156-EAA5B4C6E6FE}" | ||
- ID: "c7c26117-dbb1-42b2-ab5e-f7223845cca3" | ||
Hint: __Thumbnail | ||
Value: | | ||
<image mediaid="{AE062B57-F303-4C92-ABFA-10FB1AF08546}" /> | ||
- ID: "ddab263e-b42e-419a-aa6f-081b7393ca38" | ||
Hint: Model | ||
Value: /sitecore/layout/Models/Coveo/Sort Model | ||
- ID: "ef7c5528-7307-4e19-863b-da19eed6a9ed" | ||
Hint: Open Properties after Add | ||
Value: 1 | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20140226T113748 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pourquoi as-tu un duplicate de la facet view qui n'a aucune différence avec celle de base? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Facet deleted! |
||
ID: "99eff6f1-8946-48ba-8e94-2a26122dd796" | ||
Parent: "fbc5e277-7168-4232-a198-653c2d66eb6b" | ||
Template: "99f8905d-4a87-4eb8-9f8b-a9bebfb3add6" | ||
Path: /sitecore/layout/Renderings/Feature/CoveoSearch/Coveo Facet View | ||
DB: master | ||
SharedFields: | ||
- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" | ||
Hint: __Icon | ||
Value: Coveo/32x32/CoveoFacet.png | ||
- ID: "1a7c85e5-dc0b-490d-9187-bb1dbcb4c72f" | ||
Hint: Datasource Template | ||
Value: /sitecore/templates/CoveoModule/Search/Facet Parameters | ||
- ID: "51b435bc-f7b9-478a-9c51-52916af96ff5" | ||
Hint: Path | ||
Value: /Views/Coveo/FacetView.cshtml | ||
- ID: "7d24e54f-5c16-4314-90c9-6051aa1a7da1" | ||
Hint: Parameters Template | ||
Value: "{21CAA282-563F-4666-AD5B-BDA0978B9D36}" | ||
- ID: "a2f5d9df-8cba-4a1d-99eb-51acb94cb057" | ||
Hint: Page Editor Buttons | ||
Type: Treelist | ||
Value: "{325E7B28-A409-4162-BA64-73F4ADB9E987}" | ||
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e" | ||
Hint: __Sortorder | ||
Value: 94 | ||
- ID: "c7c26117-dbb1-42b2-ab5e-f7223845cca3" | ||
Hint: __Thumbnail | ||
Value: | | ||
<image mediaid="{6569A66D-2A68-494E-81F1-A3069B0A5658}" /> | ||
- ID: "ddab263e-b42e-419a-aa6f-081b7393ca38" | ||
Hint: Model | ||
Value: /sitecore/layout/Models/Coveo/Facet Model | ||
- ID: "ef7c5528-7307-4e19-863b-da19eed6a9ed" | ||
Hint: Open Properties after Add | ||
Value: 1 | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20140226T095252 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
ID: "d2f00e30-6ada-4527-ac2e-5a3563a8d249" | ||
Parent: "fbc5e277-7168-4232-a198-653c2d66eb6b" | ||
Template: "99f8905d-4a87-4eb8-9f8b-a9bebfb3add6" | ||
Path: /sitecore/layout/Renderings/Feature/CoveoSearch/Coveo Relevancy Sort View | ||
DB: master | ||
SharedFields: | ||
- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" | ||
Hint: __Icon | ||
Value: Coveo/32x32/CoveoSortRelevancy.png | ||
- ID: "1a7c85e5-dc0b-490d-9187-bb1dbcb4c72f" | ||
Hint: Datasource Template | ||
Value: /sitecore/templates/CoveoModule/Search/Relevancy Sort Parameters | ||
- ID: "2e51df70-d3e4-458c-b03a-95c734dd39e7" | ||
Hint: Data source | ||
Value: /sitecore/system/Settings/Feature/CoveoSearch/Relevancy Sort Parameters | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mettre à jour le path car tu as déplacé les datasources dans un dossier "sorts" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
||
- ID: "51b435bc-f7b9-478a-9c51-52916af96ff5" | ||
Hint: Path | ||
Value: /Views/Coveo/RelevancySortView.cshtml | ||
- ID: "7d24e54f-5c16-4314-90c9-6051aa1a7da1" | ||
Hint: Parameters Template | ||
Value: "{7E77178E-D6D1-4CB0-B8D8-1CD5B62E19FF}" | ||
- ID: "a2f5d9df-8cba-4a1d-99eb-51acb94cb057" | ||
Hint: Page Editor Buttons | ||
Type: Treelist | ||
Value: "{6CCF9D74-D675-4F9A-A156-EAA5B4C6E6FE}" | ||
- ID: "c7c26117-dbb1-42b2-ab5e-f7223845cca3" | ||
Hint: __Thumbnail | ||
Value: | | ||
<image mediaid="{62A7A45A-4024-4F55-9BA5-4313A904EEBB}" /> | ||
- ID: "ddab263e-b42e-419a-aa6f-081b7393ca38" | ||
Hint: Model | ||
Value: /sitecore/layout/Models/Coveo/Sort Model | ||
- ID: "ef7c5528-7307-4e19-863b-da19eed6a9ed" | ||
Hint: Open Properties after Add | ||
Value: 1 | ||
Languages: | ||
- Language: en | ||
Versions: | ||
- Version: 1 | ||
Fields: | ||
- ID: "25bed78c-4957-4165-998a-ca1b52f67497" | ||
Hint: __Created | ||
Value: 20140226T113748 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu as encore committé tes settings. SVP, révise tous tes changements avant de peser sur le bouton commit.