Skip to content

Commit

Permalink
Merge pull request #7 from jellyfin/master
Browse files Browse the repository at this point in the history
Update to master
  • Loading branch information
BaronGreenback authored Dec 13, 2020
2 parents 22733f7 + 5a650d3 commit f78354b
Show file tree
Hide file tree
Showing 190 changed files with 8,249 additions and 8,784 deletions.
29 changes: 0 additions & 29 deletions .ci/azure-pipelines-lint.yml

This file was deleted.

1 change: 0 additions & 1 deletion .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ pr:

jobs:
- template: azure-pipelines-build.yml
- template: azure-pipelines-lint.yml
- template: azure-pipelines-package.yml
5 changes: 0 additions & 5 deletions .dependabot/config.yml

This file was deleted.

8 changes: 3 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,9 @@ module.exports = {
},
rules: {
// TODO: Fix warnings and remove these rules
'no-redeclare': ['off'],
'no-useless-escape': ['off'],
'no-unused-vars': ['off'],
// TODO: Remove after ES6 migration is complete
'import/no-unresolved': ['off']
'no-redeclare': ['warn'],
'no-useless-escape': ['warn'],
'no-unused-vars': ['warn']
},
settings: {
polyfills: [
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
95 changes: 95 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Lint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
run-eslint:
name: Run eslint
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install Node.js dependencies
run: yarn install --frozen-lockfile
env:
SKIP_PREPARE: true

- name: Run eslint
run: yarn lint

run-stylelint-css:
name: Run stylelint (css)
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Set up stylelint matcher
uses: xt0rted/stylelint-problem-matcher@v1

- name: Cache dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install Node.js dependencies
run: yarn install --frozen-lockfile
env:
SKIP_PREPARE: true

- name: Run stylelint
run: yarn stylelint:css

run-stylelint-scss:
name: Run stylelint (scss)
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Set up stylelint matcher
uses: xt0rted/stylelint-problem-matcher@v1

- name: Cache dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install Node.js dependencies
run: yarn install --frozen-lockfile
env:
SKIP_PREPARE: true

- name: Run stylelint
run: yarn stylelint:scss
15 changes: 15 additions & 0 deletions .github/workflows/merge-conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Merge Conflicts"

on:
push:
branches:
- master
jobs:
triage:
runs-on: ubuntu-latest
if: github.repository == 'jellyfin/jellyfin-web'
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "merge conflict"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 15 additions & 15 deletions .stylelintrc → .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"plugins": [
"stylelint-no-browser-hacks/lib",
"stylelint-no-browser-hacks/lib"
],
"rules": {
"at-rule-empty-line-before": [ "always", {
except: [
"except": [
"blockless-after-same-name-blockless",
"first-nested",
"first-nested"
],
ignore: ["after-comment"],
"ignore": ["after-comment"]
} ],
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
Expand All @@ -26,27 +26,27 @@
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-empty-line-before": [ "always", {
except: ["first-nested"],
ignore: ["stylelint-commands"],
"except": ["first-nested"],
"ignore": ["stylelint-commands"]
} ],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"custom-property-empty-line-before": [ "always", {
except: [
"except": [
"after-custom-property",
"first-nested",
"first-nested"
],
ignore: [
"ignore": [
"after-comment",
"inside-single-line-block",
],
"inside-single-line-block"
]
} ],
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-duplicate-properties": [
true,
{
ignore: ["consecutive-duplicates-with-different-values"]
"ignore": ["consecutive-duplicates-with-different-values"]
}
],
"declaration-block-no-shorthand-property-overrides": true,
Expand Down Expand Up @@ -105,8 +105,8 @@
}
],
"rule-empty-line-before": [ "always-multi-line", {
except: ["first-nested"],
ignore: ["after-comment"],
"except": ["first-nested"],
"ignore": ["after-comment"]
} ],
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
Expand Down Expand Up @@ -138,6 +138,6 @@
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"value-list-max-empty-lines": 0,
"value-list-max-empty-lines": 0
}
}
8 changes: 8 additions & 0 deletions .stylelintrc.scss.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [ "./.stylelintrc.json" ],
"plugins": [ "stylelint-scss" ],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- [MrTimscampi](https://github.com/MrTimscampi)
- [ConfusedPolarBear](https://github.com/ConfusedPolarBear)
- [Sarab Singh](https://github.com/sarab97)
- [DesertCookie](https://github.com/desertcookie)
- [GuilhermeHideki](https://github.com/GuilhermeHideki)
- [Andrei Oanca](https://github.com/OancaAndrei)
- [Cromefire_](https://github.com/cromefire)
Expand Down
20 changes: 20 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
babelrcRoots: [
// Keep the root as a root
'.'
],
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: 3
}
]
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-methods',
'babel-plugin-dynamic-import-polyfill'
]
};
2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# We just wrap `build` so this is really it
name: "jellyfin-web"
version: "10.7.0"
version: "10.8.0"
packages:
- debian.all
- fedora.all
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
jellyfin-web (10.8.0-1) unstable; urgency=medium

* Forthcoming stable release

-- Jellyfin Packaging Team <[email protected]> Fri, 04 Dec 2020 21:58:23 -0500

jellyfin-web (10.7.0-1) unstable; urgency=medium

* Forthcoming stable release
Expand Down
4 changes: 3 additions & 1 deletion fedora/jellyfin-web.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global debug_package %{nil}

Name: jellyfin-web
Version: 10.7.0
Version: 10.8.0
Release: 1%{?dist}
Summary: The Free Software Media System web client
License: GPLv3
Expand Down Expand Up @@ -42,6 +42,8 @@ mv dist %{buildroot}%{_datadir}/jellyfin-web
%{_datadir}/licenses/jellyfin/LICENSE

%changelog
* Fri Dec 04 2020 Jellyfin Packaging Team <[email protected]>
- Forthcoming stable release
* Mon Jul 27 2020 Jellyfin Packaging Team <[email protected]>
- Forthcoming stable release
* Mon Mar 23 2020 Jellyfin Packaging Team <[email protected]>
Expand Down
Loading

0 comments on commit f78354b

Please sign in to comment.