-
Notifications
You must be signed in to change notification settings - Fork 33
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
37 changed files
with
4,047 additions
and
3,532 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
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 +1 @@ | ||
5.3.5 | ||
5.4 |
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,26 @@ | ||
#!/bin/bash | ||
|
||
filename="frontend/dist/assets/frontend.js" | ||
|
||
watchFile() { | ||
local filename="$1" | ||
local m1=$(md5sum "$filename") | ||
|
||
while true; do | ||
sleep 10 | ||
local m2=$(md5sum "$filename") | ||
echo "" | ||
echo "$m1" | ||
echo "$m2" | ||
if [ "$m1" != "$m2" ] ; then | ||
m1=$m2 | ||
rm -f public/frontend-index-test.html | ||
cp -rf frontend/dist/* public/ | ||
cp public/{index,frontend-index-test}.html | ||
cp public/{index,frontend-index-development}.html | ||
echo "Refreshed frontend" | ||
fi | ||
done | ||
} | ||
|
||
watchFile "$filename" |
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,4 +1,4 @@ | ||
FROM danlynn/ember-cli:5.2.1-node_18.17 | ||
FROM danlynn/ember-cli:5.9.0 | ||
|
||
RUN chown 1000:1000 /myapp | ||
|
||
|
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
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"depcheck": { | ||
"ignoreMatches": [ | ||
"frontend", | ||
"tracked-built-ins", | ||
"sass", | ||
"loader.js", | ||
|
||
"eslint-plugin-ember", | ||
"eslint-plugin-prettier", | ||
"eslint-plugin-ember", | ||
|
||
"@ember/optional-features", | ||
"webpack", | ||
"bootstrap", | ||
"text-security", | ||
"minimist", | ||
"@babel/runtime", | ||
|
||
"@ember/application", | ||
"@ember/service", | ||
"@ember/utils", | ||
"@ember/routing", | ||
"@ember/array", | ||
"@ember/object", | ||
"@ember/component", | ||
"@ember/controller", | ||
|
||
"ember-toggle", | ||
"ember-moment", | ||
"ember-in-viewport", | ||
"ember-file-upload", | ||
"ember-fetch", | ||
"ember-cli-terser", | ||
"ember-basic-dropdown", | ||
"ember-cli-sass", | ||
"ember-cli-app-version", | ||
"ember-auto-import", | ||
"ember-cli-app-version", | ||
"ember-auto-import", | ||
"ember-power-select-with-create", | ||
"ember-cli-string-helpers", | ||
"ember-cli-moment-shim", | ||
"ember-cli-inject-live-reload", | ||
"ember-bootstrap-power-select", | ||
"ember-cli-babel", | ||
|
||
"@ember-data/serializer", | ||
"@ember-data/model", | ||
"@ember-data/adapter", | ||
"ember-inflector" | ||
] | ||
} | ||
} |
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,19 @@ | ||
import JSONAPIAdapter from "@ember-data/adapter/json-api"; | ||
import { computed } from "@ember/object"; | ||
import { pluralize } from "ember-inflector"; | ||
import { underscore } from "@ember/string"; | ||
import ENV from "../config/environment"; | ||
|
||
export default JSONAPIAdapter.extend({ | ||
namespace: "api", | ||
export default class ApplicationAdapter extends JSONAPIAdapter { | ||
namespace = "api"; | ||
|
||
pathForType(type) { | ||
return pluralize(underscore(type)); | ||
}, | ||
} | ||
|
||
headers: computed(function () { | ||
/* eslint-disable no-undef */ | ||
get headers() { | ||
return { | ||
"X-CSRF-Token": ENV.CSRFToken, | ||
"content-type": "application/json" | ||
}; | ||
/* eslint-enable no-undef */ | ||
}) | ||
}); | ||
} | ||
} |
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,7 +1,7 @@ | ||
import ApplicationAdapter from "./application"; | ||
|
||
export default ApplicationAdapter.extend({ | ||
export default class EncryptableCredentialAdapter extends ApplicationAdapter{ | ||
pathForType() { | ||
return "encryptables"; | ||
} | ||
}); | ||
}; |
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,7 +1,7 @@ | ||
import ApplicationAdapter from "./application"; | ||
|
||
export default ApplicationAdapter.extend({ | ||
export default class EncryptableFileAdapter extends ApplicationAdapter{ | ||
pathForType() { | ||
return "encryptables"; | ||
} | ||
}); | ||
}; |
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
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
Oops, something went wrong.