diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml new file mode 100644 index 000000000..f88db2ed1 --- /dev/null +++ b/.github/workflows/integration-test.yml @@ -0,0 +1,44 @@ +name: Integration Test + +on: + pull_request: + push: + branches-ignore: + - 'dependabot/**' # Don't run dependabot branches, as they are already covered by pull requests + +jobs: + build: + name: build and test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: setup nade + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: install pkg + run: npm install -g pkg + + - name: get client dependencies + working-directory: client + run: npm ci + + - name: build client + working-directory: client + run: npm run generate + + - name: get server dependencies + run: npm ci --only=production + + - name: build binary + run: pkg -t node18-linux-x64 -o audiobookshelf . + + - name: run audiobookshelf + run: | + ./audiobookshelf & + sleep 5 + + - name: test if server is available + run: curl -sf http://127.0.0.1:3333 | grep Audiobookshelf diff --git a/client/assets/fonts.css b/client/assets/fonts.css index 30f381dbe..f9acc6bfb 100644 --- a/client/assets/fonts.css +++ b/client/assets/fonts.css @@ -48,14 +48,6 @@ font-size: 1.5rem; } -@font-face { - font-family: 'Gentium Book Basic'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(~static/fonts/GentiumBookBasic.woff2) format('woff2'); -} - /* cyrillic-ext */ @font-face { font-family: 'Source Sans Pro'; diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 20ff627fa..5f22febe6 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -3,11 +3,11 @@
{{ libraryName }} Library is empty!
+{{ libraryName }} Library is empty!
No results for query
+No results for query
{{ $strings[shelf.labelStringKey] }}
+
{{ seriesName }}
{{ numShowing }} {{ entityName }}
diff --git a/client/components/app/ConfigSideNav.vue b/client/components/app/ConfigSideNav.vue index a075fa404..6db2d6979 100644 --- a/client/components/app/ConfigSideNav.vue +++ b/client/components/app/ConfigSideNav.vue @@ -1,15 +1,19 @@ -{{ route.title }}
+ +{{ route.title }}
- -v{{ $config.version }}
@@ -17,8 +21,6 @@{{ $getString('MessageXLibraryIsEmpty', [libraryName]) }}
+{{ $getString('MessageXLibraryIsEmpty', [libraryName]) }}
{{ $strings.ButtonHome }}
+{{ $strings.ButtonHome }}
@@ -16,7 +16,7 @@{{ $strings.ButtonLatest }}
+{{ $strings.ButtonLatest }}
{{ $strings.ButtonLibrary }}
+{{ $strings.ButtonLibrary }}
@@ -36,7 +36,7 @@{{ $strings.ButtonSeries }}
+{{ $strings.ButtonSeries }}
@@ -44,7 +44,7 @@{{ $strings.ButtonCollections }}
+{{ $strings.ButtonCollections }}
{{ $strings.ButtonAuthors }}
+{{ $strings.ButtonAuthors }}
@@ -65,7 +65,7 @@{{ $strings.ButtonSearch }}
+{{ $strings.ButtonSearch }}
Albums
+Albums
{{ $strings.ButtonPlaylists }}
+{{ $strings.ButtonPlaylists }}
{{ $strings.ButtonIssues }}
+{{ $strings.ButtonIssues }}
{{ groupName }}
+{{ groupName }}
{{ title }}
{{ title }}
+{{ title }}
+
{{ titleCleaned }}
{{ authorCleaned }}
+{{ authorCleaned }}
{{ title }}
{{ title }}
+{{ title }}
{{ title }}
{{ title }}
+{{ title }}
{{ displayTitle }}
+{{ displayTitle }}
{{ displayTitle }}
{{ displayTitle }}
+{{ displayTitle }}
{{ displaySortLine }}
{{ rate }}⨯
+{{ rate }}x
{{ playbackRate }}⨯
+{{ playbackRate }}x
{{ title }}
+{{ title }}
- Invalid Cover
+Invalid Cover
{{ titleCleaned }}
+{{ titleCleaned }}
{{ authorCleaned }}
+{{ authorCleaned }}
Empty Collection
+Empty Collection
- Invalid Cover
+Invalid Cover
{{ title }}
+{{ title }}