File tree Expand file tree Collapse file tree
src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ secrets:
55 file : ./secrets/secretary_cert_password.txt
66 client_truststore_password :
77 file : ./secrets/client_truststore_password.txt
8+ # google_client_id:
9+ # file: ./secrets/google_client_id.txt
10+ # google_client_secret:
11+ # file: ./secrets/google_client_secret.txt
812services :
913 nginx :
1014 image : nginx:1.23.3
@@ -64,8 +68,6 @@ services:
6468 - MAIL_SMTP_PORT=25
6569 - MAIL_USER=linkeddatahub@localhost
6670 - OWNER_MBOX=${OWNER_MBOX}
67- # - GOOGLE_CLIENT_ID=
68- # - GOOGLE_CLIENT_SECRET=
6971 # - OWNER_URI=${OWNER_URI}
7072 - OWNER_GIVEN_NAME=${OWNER_GIVEN_NAME}
7173 - OWNER_FAMILY_NAME=${OWNER_FAMILY_NAME}
@@ -78,6 +80,8 @@ services:
7880 - owner_cert_password
7981 - secretary_cert_password
8082 - client_truststore_password
83+ # - google_client_id
84+ # - google_client_secret
8185 volumes :
8286 - /var/linkeddatahub/oidc
8387 - ./ssl/server:/var/linkeddatahub/ssl/server:ro
Original file line number Diff line number Diff line change @@ -810,11 +810,13 @@ if [ -n "$MAIL_PASSWORD" ]; then
810810 MAIL_PASSWORD_PARAM=" --stringparam mail.password '$MAIL_PASSWORD ' "
811811fi
812812
813- if [ -n " $GOOGLE_CLIENT_ID " ]; then
813+ if [ -f " /run/secrets/google_client_id" ]; then
814+ GOOGLE_CLIENT_ID=$( cat /run/secrets/google_client_id)
814815 GOOGLE_CLIENT_ID_PARAM=" --stringparam google:clientID '$GOOGLE_CLIENT_ID ' "
815816fi
816817
817- if [ -n " $GOOGLE_CLIENT_SECRET " ]; then
818+ if [ -f " /run/secrets/google_client_secret" ]; then
819+ GOOGLE_CLIENT_SECRET=$( cat /run/secrets/google_client_secret)
818820 GOOGLE_CLIENT_SECRET_PARAM=" --stringparam google:clientSecret '$GOOGLE_CLIENT_SECRET ' "
819821fi
820822
Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ exclude-result-prefixes="#all"
637637 <xsl : param name =" active-mode" as =" xs:anyURI" />
638638 <xsl : param name =" select-xml" as =" document-node()" />
639639 <xsl : param name =" base-uri" as =" xs:anyURI" />
640-
640+
641641 <xsl : for-each select =" $container" >
642642 <xsl : result-document href =" ?." method =" ixsl:replace-content" >
643643 <xsl : call-template name =" container-mode" >
@@ -844,6 +844,15 @@ exclude-result-prefixes="#all"
844844 </div >
845845 </xsl : template >
846846
847+ <!-- DEFAULT -->
848+
849+ <!-- TO-DO: move to Web-Client -->
850+ <xsl : template match =" rdf:RDF" >
851+ <xsl : apply-templates >
852+ <xsl : sort select =" ac:label(.)" />
853+ </xsl : apply-templates >
854+ </xsl : template >
855+
847856 <!-- block list -->
848857
849858 <xsl : template match =" rdf:RDF" mode =" bs2:ContainerBlockList" use-when =" system-property('xsl:product-name') eq 'SaxonJS'" >
You can’t perform that action at this time.
0 commit comments