Skip to content
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

[C] add cantoDam asset volume and update callout images #56

Merged
merged 5 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"craftcms/google-cloud": "^1.4",
"craftcms/redactor": "2.8.5",
"jamesedmonston/graphql-authentication": "^1.12",
"rosas/universal-dam-integrator": "v0.0.1-alpha",
"rynpsc/craft-phone-number": "1.4.1",
"sebastianlenz/linkfield": "2.0.*@dev",
"spicyweb/craft-neo": "2.8.15.1",
Expand Down
57 changes: 55 additions & 2 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ searchable: true
settings:
allowSelfRelations: false
allowUploads: true
allowedKinds:
- image
defaultUploadLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes
allowedKinds: null
defaultUploadLocationSource: 'volume:51d86fa7-e37a-4926-97c8-3112fd6f2fbe' # Canto DAM
defaultUploadLocationSubpath: ''
limit: '1'
localizeRelations: false
previewMode: full
restrictFiles: '1'
restrictFiles: ''
selectionLabel: ''
showSiteMenu: true
showSiteMenu: false
showUnpermittedFiles: false
showUnpermittedVolumes: false
singleUploadLocationSource: 'volume:f52f3e9c-434e-43b5-89eb-a5776e6bc4a6' # Callout Images
singleUploadLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes
singleUploadLocationSubpath: ''
source: null
sources: '*'
sources:
- 'volume:51d86fa7-e37a-4926-97c8-3112fd6f2fbe' # Canto DAM
targetSiteId: null
useSingleFolder: true
useSingleFolder: false
validateRelatedElements: false
viewMode: large
viewMode: list
translationKeyFormat: null
translationMethod: site
type: craft\fields\Assets
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ scope:
- 'entrytypes.4729ad5e-485e-4f98-995d-79fa5254cd42:read' # News Post
- 'sections.f1b8c943-bc12-4001-9e2a-d531379f1aaf:read' # Pages
- 'entrytypes.23eda090-7e8e-401d-ab49-ee4becc34935:read' # Pages
- 'entrytypes.9d045432-a0fb-4fcd-8bca-3bc93b1f7056:read' # Educator Pages
- 'entrytypes.26ca2777-e4c8-41b4-ac93-aa28d09117dd:read' # Student Pages
- 'entrytypes.9d045432-a0fb-4fcd-8bca-3bc93b1f7056:read' # Educator Pages
- 'entrytypes.b55b0827-5ceb-45e1-bd3c-a35dc4638886:read' # Investigation Landing Page
- 'entrytypes.15ca4b7f-3874-4461-aae9-869c9cdf076b:read' # Redirect Page
- 'sections.04a48967-eac4-449f-b164-c8ecbb7036d6:read' # Search Results
Expand All @@ -31,8 +31,6 @@ scope:
- 'entrytypes.a77c49d2-2441-459e-bfea-63e571d25a12:read' # Slideshow
- 'sections.78410791-6edc-46c9-a17b-4358dcd545ec:read' # Staff Profiles
- 'entrytypes.7d60273b-66b0-4843-a42c-4b4387185a15:read' # Staff Profiles
- 'sections.89cab4ff-f556-4b7e-bae9-8db545ce38dd:read'
- 'entrytypes.573c9705-aca2-4419-b039-c7071536a2ce:read'
- 'sections.1ee32484-2cca-457e-ac23-b3cb13e652d3:read' # User Profile Page
- 'entrytypes.534d275e-b6e9-4064-9965-07e804e0fcc1:read' # User Profile Page
- 'volumes.8e9ec71e-2cf0-4f6a-b856-8976de0ce100:read' # Heroes
Expand All @@ -41,10 +39,10 @@ scope:
- 'volumes.18a75c63-648f-4145-9cc3-386e7c8a0106:read' # General
- 'volumes.c3d1c243-1703-4117-abc7-88487a1f8f24:read' # Staff Profiles
- 'volumes.d41cc960-99a4-41a8-a7a6-7891a22e4a93:read' # Asset Variants
- 'volumes.7754bae8-c6eb-4fbe-882b-236621e35f2d:read'
- 'globalsets.b8393df9-fb81-4d70-9ccb-6d030c818580:read' # Gallery Item Defaults
- 'volumes.51d86fa7-e37a-4926-97c8-3112fd6f2fbe:read' # Canto DAM
- 'globalsets.994d5664-f056-4969-b2cc-c62660f069af:read' # Root Page Information
- 'globalsets.8ccd6c1c-8e9b-44e8-93a9-f62589fb4819:read' # Site Information
- 'globalsets.b8393df9-fb81-4d70-9ccb-6d030c818580:read' # Gallery Item Defaults
- 'globalsets.1a2ba41a-3949-4982-9cb3-f8b03863bcfd:read' # Footer Content
- 'usergroups.everyone:read'
- 'usergroups.01b89d98-9aa4-46d5-a9a0-60a0c07fd815:read' # Editors
Expand Down
14 changes: 13 additions & 1 deletion api/config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1651549345
dateModified: 1652122743
email:
fromEmail: $EMAIL_FROM_ADDRESS
fromName: $EMAIL_SENDER_NAME
Expand Down Expand Up @@ -100,6 +100,7 @@ meta:
41a9c595-2a38-40b5-b87c-ada8076913e1: Share # Share
46d17af4-896a-4fc5-90bf-ac826090d9bc: Credit # Credit
48ba11bd-90a5-4239-a24c-d44d01affbcf: 'Image - quote' # Image - quote
51d86fa7-e37a-4926-97c8-3112fd6f2fbe: 'Canto DAM' # Canto DAM
56f60368-4386-4395-92b6-31b15c7663cc: Contact # Contact
58aa24c3-97e4-43e7-a812-7374e5650180: 'Focal Point X' # Focal Point X
58efa872-9485-42e3-a1e3-a5435def5392: Educators # Educators
Expand Down Expand Up @@ -228,6 +229,7 @@ meta:
c30bad12-1372-49fe-ab6c-a9c33b2860bb: 'Gallery Item Tags' # Gallery Item Tags
c41c3f9f-056c-4b0b-8003-2ba5395a615f: Text # Text
c44a71b5-f4c8-4209-8433-9878aece9aa5: Text # Text
c2617270-9a88-4699-a7e0-6f6975b11e5a: 'Canto DAM' # Canto DAM
c4060079-e438-4c63-8b06-77cdea857fd9: Text # Text
cb6a7cee-4f9e-4191-8c6d-33ccdd921fec: Text # Text
cbded379-b002-491f-8558-81620a1a672c: Image # Image
Expand Down Expand Up @@ -1381,6 +1383,16 @@ plugins:
edition: standard
enabled: true
schemaVersion: 2.0.0
universal-dam-integrator:
edition: standard
enabled: true
schemaVersion: 1.0.0
settings:
appId: 52ff8ed9d6874d48a3bef9621bc1af26
authEndpoint: 'https://oauth.canto.com/oauth/api/oauth2/token?app_id={appId}&app_secret={secretKey}&grant_type=client_credentials&refresh_token='
damVolume: cantoDam
retrieveAssetMetadataEndpoint: 'https://rubin.canto.com/api/v1/image/'
secretKey: 1d12371b7dee4a7d87c6886d777056095642d672cacf4138b848b7b01173f019
system:
edition: pro
live: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
fieldLayouts:
811f8151-b4a8-450f-96b3-8baaee51ba1e:
tabs:
-
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
id: null
instructions: null
label: null
max: null
min: null
name: null
orientation: null
placeholder: null
readonly: false
requirable: false
size: null
step: null
tip: null
title: null
type: craft\fieldlayoutelements\AssetTitleField
warning: null
width: 100
name: Content
sortOrder: 1
handle: cantoDam
hasUrls: true
name: 'Canto DAM'
settings:
dummySetting: ''
sortOrder: 11
titleTranslationKeyFormat: null
titleTranslationMethod: site
type: rosas\dam\volumes\DAMVolume
url: 'https://rubin.canto.com/direct/'