-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
130,331 additions
and
94,748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Docker build PR | ||
|
||
on: | ||
# push: | ||
# branches: [ main ] | ||
pull_request: | ||
types: [opened, edited, reopened] | ||
branches: [ develop, main ] | ||
|
||
env: | ||
DOCKER_IMAGE: bwbohl/sencha-cmd | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build Edirom Online from ${{ GITHUB_REF }} | ||
run: docker run --rm -v `pwd`:/app -w /app --entrypoint ./build.sh bwbohl/sencha-cmd | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: EdiromOnline_${{ GITHUB_REF }}.zip | ||
path: build-xar/EdiromOnline*.xar | ||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
# deploy: | ||
# needs: build | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: deploy | ||
# uses: jaapio/keelsh-deploy@master | ||
# with: | ||
# keelBaseUrl: http://keel.euryanthe.de | ||
# image: 'bazga/existdb' | ||
# tag: 'latest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
Thumbs.db | ||
/.sencha_backup | ||
/build-xar | ||
/build-temp | ||
/build | ||
/data | ||
/tmp | ||
*.xpr | ||
*.xpr | ||
local.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
openjdk64-1.8.0.282 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,39 @@ | ||
xquery version "1.0"; | ||
|
||
import module namespace eutil = "http://www.edirom.de/xquery/util" at "data/xqm/util.xqm"; | ||
|
||
declare variable $exist:path external; | ||
declare variable $exist:resource external; | ||
|
||
declare option exist:serialize "method=xhtml media-type=application/xhtml+html"; | ||
|
||
if ($exist:path eq "/") then | ||
(: forward root path to index.xql :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<forward url="index.html"/> | ||
</dispatch> | ||
(:else if (starts-with($exist:path, "/data")) then | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<!--<redirect url="/exist/restxq{$exist:path}"/>--> | ||
<forward servlet="RestXqServlet"/> | ||
</dispatch>:) | ||
else | ||
(: everything else is passed through :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<cache-control cache="yes"/> | ||
</dispatch> | ||
let $langVal := eutil:getLanguage(request:get-parameter("edition", "")) | ||
|
||
return | ||
if ($exist:path eq "") then | ||
(: forward missing / to / :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<redirect url="{request:get-uri()}/"/> | ||
</dispatch> | ||
else if ($exist:path eq "/") then | ||
(: redirect root path to index.html :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<redirect url="index.html?lang={$langVal}"/> | ||
</dispatch> | ||
else if ($exist:path eq "/index.html") then | ||
(: forward index.html to index.xql :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<forward url="index.xql"> | ||
<add-parameter name="lang" value="{$langVal}"/> | ||
</forward> | ||
</dispatch> | ||
(:else if (starts-with($exist:path, "/data")) then | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<!--<redirect url="/exist/restxq{$exist:path}"/>--> | ||
<forward servlet="RestXqServlet"/> | ||
</dispatch>:) | ||
else | ||
(: everything else is passed through :) | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<cache-control cache="yes"/> | ||
</dispatch> |
Oops, something went wrong.