Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to lts #1

Merged
merged 882 commits into from
Feb 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
882 commits
Select commit Hold shift + click to select a range
3155430
4.31.0
oznu Oct 28, 2020
4c85c1a
Update ca.json
bwp91 Oct 28, 2020
6284bfb
fix typo
oznu Oct 30, 2020
7cb53ae
re-organise css, readonly dark mode form input style
oznu Oct 30, 2020
47f412e
re-organise css, readonly dark mode form input style
oznu Oct 30, 2020
1c3ef2e
undo readonly test
oznu Oct 30, 2020
e4244b2
Merge pull request #919 from bwp91/patch-1
oznu Oct 30, 2020
5ebb750
update changelog
oznu Oct 30, 2020
9e2fafe
initial work on generic custom plugin ui
oznu Oct 31, 2020
7433a31
minor changes and tests for custom plugin ui
oznu Oct 31, 2020
c3b9f91
add tests for custom plugin ui
oznu Oct 31, 2020
4755de1
fix background css import
oznu Oct 31, 2020
1a05048
Update zh-CN.json
seanzhang98 Nov 1, 2020
6a1074f
further work on custom plugin ui
oznu Nov 2, 2020
df868f9
fix test cases
oznu Nov 2, 2020
08c055c
add ability to request i18n from custom ui
oznu Nov 2, 2020
f0041d8
add ability to request i18n from custom ui
oznu Nov 2, 2020
dd244fa
Update it.json
ffaamm Nov 2, 2020
2aa4d80
Update pl.json
grzegorz914 Nov 2, 2020
eb068dd
add ability for plugin custom ui to request config schema
oznu Nov 3, 2020
5c63662
Merge pull request #927 from seanzhang98/patch-9
oznu Nov 3, 2020
28b1258
Merge pull request #928 from ffaamm/patch-2
oznu Nov 3, 2020
4def84e
Merge pull request #929 from grzegorz914/patch-42
oznu Nov 3, 2020
1cfc322
update changelog
oznu Nov 3, 2020
4baa013
Add door and window
Feilner Nov 5, 2020
19535b6
add ui for homebridge 1.3+ bridge.bind options
oznu Nov 5, 2020
ae5d983
ensure bridge.bind values are valid for the new host when restoring a…
oznu Nov 5, 2020
0cd89f1
Update pl.json
grzegorz914 Nov 5, 2020
affa1e1
cache network interfaces
oznu Nov 5, 2020
efc5f4a
Update zh-CN.json
seanzhang98 Nov 5, 2020
2e680e0
Update fr.json
SonnyT72 Nov 5, 2020
9b204d0
Update es.json
masterfordev Nov 5, 2020
6ed17ad
Update it.json
ffaamm Nov 5, 2020
47236d5
add option to disabled scheduled backups - fixes #938
oznu Nov 6, 2020
76b8028
Merge pull request #935 from grzegorz914/patch-43
oznu Nov 6, 2020
6343bc1
Merge pull request #936 from seanzhang98/patch-10
oznu Nov 6, 2020
972f14a
Merge pull request #937 from SonnyT72/patch-5
oznu Nov 6, 2020
bfc65c3
Merge pull request #939 from masterfordev/patch-8
oznu Nov 6, 2020
a3c0daf
Merge pull request #940 from ffaamm/patch-1
oznu Nov 6, 2020
9f801b3
update changelog
oznu Nov 6, 2020
8c4aad3
exclude homebridge-camera-ui recordings from backups #938
oznu Nov 6, 2020
d58d4b2
4.32.0
oznu Nov 6, 2020
c1aa6ae
Update zh-CN.json
seanzhang98 Nov 6, 2020
1ab11a1
validate custom plugin ui config blocks
oznu Nov 6, 2020
e1f9c63
add modules
Feilner Nov 9, 2020
c9d2967
add modules
Feilner Nov 9, 2020
8594e4e
correct indention
Feilner Nov 9, 2020
c22d083
add new line at end of the file
Feilner Nov 9, 2020
085978c
Update de.json
Nov 9, 2020
09fbdc3
Bump find-my-way from 2.2.3 to 2.2.5
dependabot[bot] Nov 9, 2020
c6639ab
Merge pull request #942 from seanzhang98/patch-11
oznu Nov 10, 2020
9a28be2
Merge pull request #946 from Staubgeborener/master
oznu Nov 10, 2020
3e439f7
Merge pull request #945 from Feilner/master
oznu Nov 10, 2020
ecf32ea
Merge pull request #947 from oznu/dependabot/npm_and_yarn/find-my-way…
oznu Nov 10, 2020
6f912c7
update changelog
oznu Nov 10, 2020
55d2f8f
allow custom path for homebridge-ui
oznu Nov 11, 2020
e438fa0
custom plugin ui: dev server support
oznu Nov 11, 2020
030de02
fix tests
oznu Nov 11, 2020
e0b0168
add api endpoints to get and modify config for a single plugin
oznu Nov 13, 2020
2a24bea
adjust ui to use plugin config endpoints;
oznu Nov 13, 2020
cf6932a
warn users if the UI version is ahead of server version
oznu Nov 13, 2020
c2704d8
Update es.json
masterfordev Nov 13, 2020
56cb565
Add UI for Stateless Programmable Switch
Feilner Nov 13, 2020
f93dd1e
allow the schema-generated form to be optionally displayed under a pl…
oznu Nov 14, 2020
35b7c08
Merge pull request #950 from masterfordev/patch-9
oznu Nov 15, 2020
5d814a1
Merge pull request #951 from Feilner/master
oznu Nov 15, 2020
2f58523
update changelog
oznu Nov 15, 2020
897a5e1
add config bridge validation to server
oznu Nov 15, 2020
9fb32ee
fix type error in statelessprogrammableswitch
oznu Nov 15, 2020
6f217b5
4.33.0
oznu Nov 15, 2020
383c14e
Update zh-CN.json
seanzhang98 Nov 15, 2020
09b40d1
Update ca.json
bwp91 Nov 15, 2020
7aadf2c
Update fr.json
SonnyT72 Nov 15, 2020
ab5c399
fix #956
oznu Nov 16, 2020
4e72290
Merge pull request #952 from seanzhang98/patch-14
oznu Nov 16, 2020
16fcedf
Merge pull request #955 from SonnyT72/patch-6
oznu Nov 16, 2020
4598d82
Merge pull request #953 from bwp91/patch-1
oznu Nov 16, 2020
1c753d5
update changelog
oznu Nov 16, 2020
7a4ab26
Update it.json
ffaamm Nov 16, 2020
92e4f25
add standalone forms to custom ui
oznu Nov 19, 2020
b336711
Merge pull request #957 from ffaamm/patch-1
oznu Nov 19, 2020
1fff780
update changelog
oznu Nov 19, 2020
6f5a051
Update pl.json
grzegorz914 Nov 19, 2020
d89b744
fix #963 - ensure ui is restarted even if restart button is not used
oznu Nov 19, 2020
7143d11
4.34.0
oznu Nov 20, 2020
b456b61
Merge pull request #962 from grzegorz914/patch-44
oznu Nov 20, 2020
1a5722c
update changelog
oznu Nov 20, 2020
ef3ccb5
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Nov 20, 2020
9a2209b
test default issue template
oznu Nov 20, 2020
db2c04c
Bump systeminformation from 4.27.11 to 4.30.5
dependabot[bot] Nov 27, 2020
2ab5c5e
Create ko
thankee Nov 27, 2020
ac12393
Update ko
thankee Nov 27, 2020
20d3995
remove synology @eaDir, clean npm cache
oznu Nov 28, 2020
d47ef82
Merge pull request #975 from oznu/dependabot/npm_and_yarn/systeminfor…
oznu Nov 28, 2020
5fe95fd
Merge pull request #976 from thankee/patch-1
oznu Nov 28, 2020
c848f7c
changelog and ko language
oznu Nov 28, 2020
e8f96e6
Update ja.json
gaojie429 Nov 29, 2020
45b32b6
Update ko.json
thankee Nov 30, 2020
5082428
Merge pull request #978 from gaojie429/patch-4
oznu Nov 30, 2020
55f03e3
Merge pull request #979 from thankee/patch-2
oznu Nov 30, 2020
86cb26d
4.35.0
oznu Nov 30, 2020
1f9d301
Fixed some Japanese translation.
gaojie429 Nov 30, 2020
fac9009
Add workaround to form validation when using autofill credentials on …
sarthurdev Dec 6, 2020
0658aae
allow 1.2.x users to update to latest 1.2.x release
oznu Dec 7, 2020
db868ae
Merge pull request #980 from gaojie429/patch-5
oznu Dec 7, 2020
448bdc4
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Dec 7, 2020
081c695
Merge pull request #993 from sarthurdev/ios_autofill
oznu Dec 7, 2020
2a6e4ea
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Dec 7, 2020
0d79fe1
4.36.0
oznu Dec 7, 2020
567710d
update changelog
oznu Dec 7, 2020
2b40a40
Bump ini from 1.3.5 to 1.3.7
dependabot[bot] Dec 11, 2020
66c1e5d
Merge pull request #1000 from oznu/dependabot/npm_and_yarn/ini-1.3.7
oznu Dec 17, 2020
79ee75e
Bump systeminformation from 4.30.6 to 4.31.1
dependabot[bot] Dec 17, 2020
e40c2d3
Create mk.json
dimovskidamjan Dec 22, 2020
88da900
Update pt.json
SamuelMagano Dec 23, 2020
bb2c7c3
Merge pull request #1006 from oznu/dependabot/npm_and_yarn/systeminfo…
oznu Jan 11, 2021
abb7f28
update server deps
oznu Jan 11, 2021
320ed17
update helment config, hap client
oznu Jan 11, 2021
128b281
pollyfill globalThis for Node 11.x
oznu Jan 11, 2021
dd635ff
Merge pull request #1011 from dimovskidamjan/patch-1
oznu Jan 11, 2021
d86f8da
configured Macedonian lang
oznu Jan 11, 2021
594004f
Merge pull request #1014 from SamuelMagano/patch-3
oznu Jan 11, 2021
a47293c
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Jan 11, 2021
f5268fa
update changelog
oznu Jan 11, 2021
c2d79e1
fix deps
oznu Jan 11, 2021
d18d539
update angular
oznu Jan 11, 2021
8692089
update other ui deps
oznu Jan 11, 2021
224a235
fix #998
oznu Jan 12, 2021
e9e0a41
add support for homebridge 1.3 network / mdns options
oznu Jan 12, 2021
315d84e
correct @oznu/hap-client dep
oznu Jan 19, 2021
8ffcb4b
#287 - Added support for disabled plugins
oznu Jan 19, 2021
8a97375
Update pl.json
grzegorz914 Jan 19, 2021
5daf439
update changelog
oznu Jan 19, 2021
2b53889
Merge pull request #1032 from grzegorz914/patch-45
oznu Jan 19, 2021
0dab837
update changelog
oznu Jan 19, 2021
5abc6e5
Update pt.json
SamuelMagano Jan 20, 2021
8c15bda
Update fr.json
SonnyT72 Jan 20, 2021
19c91a3
Merge pull request #1034 from SamuelMagano/patch-4
oznu Jan 22, 2021
00e35c2
Merge pull request #1035 from SonnyT72/patch-7
oznu Jan 22, 2021
41296fc
update disable plugin translation
oznu Jan 22, 2021
4265c26
merge disable plugin message changes
oznu Jan 22, 2021
319a39f
update deps
oznu Jan 22, 2021
b9adee1
update ui deps
oznu Jan 22, 2021
a7e8d39
replace deprecated FormBuilder
oznu Jan 22, 2021
3d0ea68
Update pl.json
grzegorz914 Jan 22, 2021
ef6586c
Update fr.json
SonnyT72 Jan 22, 2021
059fa54
update tsconfig
oznu Jan 22, 2021
6c79f79
Update pt.json
SamuelMagano Jan 22, 2021
bf9a97b
use eslint for Angular ui project
oznu Jan 22, 2021
5c0e7a2
Update es.json
masterfordev Jan 22, 2021
8a685cf
update tr localizations | 1-139
OzturkAlperen Jan 23, 2021
de0972a
update tr localizations | 139-216
OzturkAlperen Jan 24, 2021
17015ad
update tr localizations | 216-366
OzturkAlperen Jan 24, 2021
b0658cb
update tr localizations | refine 1-366
OzturkAlperen Jan 24, 2021
e1b06c7
Update ca.json
bwp91 Jan 24, 2021
ee459f3
add support for _bridge
oznu Jan 25, 2021
e30133c
use eslint for server
oznu Jan 25, 2021
7e7c37b
update eslint
oznu Jan 25, 2021
c961169
Merge pull request #1036 from grzegorz914/patch-45
oznu Jan 25, 2021
362cfa7
Merge pull request #1037 from SonnyT72/patch-8
oznu Jan 25, 2021
065b2e6
Merge pull request #1042 from bwp91/master
oznu Jan 25, 2021
365659f
Merge pull request #1038 from SamuelMagano/patch-5
oznu Jan 25, 2021
5a6924f
Merge pull request #1039 from masterfordev/patch-10
oznu Jan 25, 2021
ae8e88a
Merge pull request #1041 from Alperen-Ozturk/master
oznu Jan 25, 2021
2da4203
update changelog
oznu Jan 25, 2021
b3821d1
cleanup old tslint comments
oznu Jan 25, 2021
e66e8cd
further work on child bridge support
oznu Jan 29, 2021
080faad
make icons in dropdown fixed width
oznu Jan 29, 2021
6718416
restart single child bridge
oznu Jan 29, 2021
6c5f074
i18n(zh_TW): update
hannoeru Jan 29, 2021
72ffd99
assign a port when creating child bridge config
oznu Jan 30, 2021
1bc9324
add translation for mdns option
oznu Jan 30, 2021
f60044d
Merge pull request #1045 from hannoeru/patch-1
oznu Jan 30, 2021
7741669
4.37.0
oznu Jan 30, 2021
85c25e4
update change log
oznu Jan 30, 2021
ba0ef7c
update readme
oznu Jan 30, 2021
655f164
use GitHub actions stalebot
oznu Jan 30, 2021
52a5cdc
use GitHub actions stalebot
oznu Jan 30, 2021
06004ee
Update pl.json
grzegorz914 Jan 30, 2021
9258fc8
Add `-T` command-line option to `hb-service`.
ebaauw Jan 31, 2021
0557b71
fix issue with older browsers and angular-jwt disallowed routes
oznu Feb 1, 2021
d325674
Merge pull request #1047 from grzegorz914/patch-46
oznu Feb 1, 2021
f9ecb41
Merge pull request #1048 from ebaauw/master
oznu Feb 1, 2021
4f24823
update changelog
oznu Feb 1, 2021
1159ffe
add translation for "Drop Here" - fixes #1046
oznu Feb 1, 2021
31ec94e
add translation for "Drop Here" - fixes #1046
oznu Feb 1, 2021
d9cfaa9
add translations for child bridges
oznu Feb 1, 2021
0d06525
Update pl.json
grzegorz914 Feb 1, 2021
dbe452a
Update pl.json
grzegorz914 Feb 1, 2021
290ae5a
use common ipc service for hb-service homebridge control
oznu Feb 2, 2021
5ef54e4
update readme
oznu Feb 2, 2021
ce66b62
update readme
oznu Feb 2, 2021
311f3ff
Merge pull request #1049 from grzegorz914/patch-47
oznu Feb 2, 2021
b9e4bdd
spelling error
grzegorz914 Feb 2, 2021
7cfc04b
child bridge widget
oznu Feb 2, 2021
da366cc
Merge branch 'master' into patch-48
oznu Feb 2, 2021
c77f511
Merge pull request #1053 from grzegorz914/patch-48
oznu Feb 2, 2021
5669562
y++
masterfordev Feb 3, 2021
3df4849
Translate labels for child bridges.
masterfordev Feb 3, 2021
a3e44e5
add more padding to bottom of child brige widget
oznu Feb 3, 2021
20901fe
seperate auth and settings service
oznu Feb 3, 2021
c816f77
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Feb 3, 2021
81f1064
Update pl.json
grzegorz914 Feb 4, 2021
ee966ea
remove child bridge cache when removing device pairing
oznu Feb 5, 2021
49331dd
Merge pull request #1054 from masterfordev/patch-11
oznu Feb 5, 2021
9698b36
Merge pull request #1055 from masterfordev/patch-12
oznu Feb 5, 2021
51e8566
remove "reset.title_clear_cache" key
oznu Feb 5, 2021
d6b3afd
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Feb 5, 2021
b6d456e
Merge pull request #1058 from grzegorz914/patch-49
oznu Feb 5, 2021
5b00662
Merge branch 'master' of github.com:oznu/homebridge-config-ui-x
oznu Feb 5, 2021
0eb76fc
update changelog
oznu Feb 5, 2021
838bf9a
add directives to support rtl
oznu Feb 5, 2021
10be79e
clean up plugin search
oznu Feb 5, 2021
e378048
Update hb-service.ts
ebaauw Feb 5, 2021
6691c40
Merge remote-tracking branch 'upstream/master'
ebaauw Feb 5, 2021
d504610
show when homebridge beta updates are available
oznu Feb 6, 2021
95177db
show when homebridge beta updates are available
oznu Feb 6, 2021
b51dbe7
4.38.0
oznu Feb 6, 2021
f5c7bca
Merge remote-tracking branch 'upstream/master'
ebaauw Feb 6, 2021
1834511
Update zh-CN.json
seanzhang98 Feb 6, 2021
b801e99
test macOS and Windows on node v15
oznu Feb 6, 2021
0db3e5e
test macOS and Windows on node v15
oznu Feb 6, 2021
01d4dc1
test macOS and Windows on node v15
oznu Feb 6, 2021
e198280
limit concurrency of plugin update check
oznu Feb 7, 2021
7e703a0
json editor option for plugins
oznu Feb 7, 2021
a1acdd7
Update custom-plugins.service.ts
donavanbecker Feb 8, 2021
cc19f69
test node-pty with bundled binaries
oznu Feb 8, 2021
f27390d
json config for each plugin
oznu Feb 9, 2021
a74d331
randomise the window in which scheduled backups can occur
oznu Feb 9, 2021
beab0a2
adjust hb-service rebuild command to work with pre-bundled node-pty b…
oznu Feb 10, 2021
7a564fd
Update pt.json
SamuelMagano Feb 10, 2021
99bb758
Merge pull request #1062 from seanzhang98/patch-15
oznu Feb 11, 2021
a28758e
Merge pull request #1069 from SamuelMagano/patch-6
oznu Feb 11, 2021
ded527a
Merge pull request #1064 from donavanbecker/patch-1
oznu Feb 11, 2021
faadb28
fix #1056 - irrigation system status
oznu Feb 11, 2021
b07f065
fix #1056 - irrigation system status
oznu Feb 11, 2021
d807269
Update pl.json
grzegorz914 Feb 11, 2021
83acf53
fix #1066 - prevent dashboard locking up when child bridge widget is …
oznu Feb 11, 2021
3afd61f
Merge pull request #1072 from grzegorz914/patch-50
oznu Feb 11, 2021
1816fbb
update changelog
oznu Feb 11, 2021
70443fd
Update fr.json
SonnyT72 Feb 11, 2021
23ee526
Update fr.json
SonnyT72 Feb 11, 2021
8609819
update funding
oznu Feb 12, 2021
11ebf09
Merge pull request #1060 from ebaauw/master
oznu Feb 12, 2021
6b2f9f7
Merge pull request #1074 from SonnyT72/patch-9
oznu Feb 12, 2021
ffe5068
plugin json config editor option hidden on mobile
oznu Feb 12, 2021
28afa84
update node-pty
oznu Feb 12, 2021
487f89c
add support for bridge.advertiser
oznu Feb 15, 2021
e671507
4.39.0
oznu Feb 15, 2021
1e55592
#1086 update node-pty
oznu Feb 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 62 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
ignorePatterns: [
"ui/",
'ui/**/*',
'dist/**/*',
],
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'quotes': ['error', 'single'],
'comma-dangle': ['error', 'only-multiline'],
'no-multiple-empty-lines': ['warn', { max: 1, maxEOF: 0 }],
'eol-last': ['error', 'always'],
'space-before-function-paren': ['error', { named: 'never' }],
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/semi': ['warn'],
'@typescript-eslint/member-delimiter-style': ['warn'],
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none', vars: 'local', varsIgnorePattern: 'key' }],
},
overrides: [
{
files: [
'**/test/**/*.spec.{j,t}s?(x)',
'**/test/**/*.e2e-spec.{j,t}s?(x)',
],
plugins: [
'jest',
],
extends: [
'plugin:jest/recommended',
'plugin:jest/style',
],
rules: {
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none', vars: 'local', varsIgnorePattern: 'key|wrapper' }],
'jest/no-conditional-expect': ['off']
},
env: {
jest: true,
},
}
]
};
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# These are supported funding model platforms

github: oznu
custom: https://paypal.me/oznu
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Bug Report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

<!-- You must use the issue template below when submitting a bug -->

**Describe The Bug:**
<!-- A clear and concise description of what the bug is. -->

**To Reproduce:**
<!-- Steps to reproduce the behavior. -->

**Expected behavior:**
<!-- A clear and concise description of what you expected to happen. -->

**Logs:**
<!-- Bug reports that do not contain logs may be closed without warning. -->

```
Show the Homebridge / Homebridge Config UI X logs here.
```

**Homebridge Config:**

```json
Show your homebridge config.json here
```

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Node.js Version**: <!-- node -v -->
* **NPM Version**: <!-- npm -v -->
* **Homebridge Version**: <!-- homebridge -V -->
* **Homebridge Config UI X Version**:
* **Operating System**: Raspbian / Ubuntu / Debian / Windows / macOS / Docker
* **Process Supervisor**: Docker / Systemd / init.d / pm2 / launchctl / hb-service / other / none


<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Homebridge Slack Community
url: https://slackin-znyruquwmv.now.sh/
about: Ask your questions in the ui channel
- name: Homebridge Discord Community
url: https://discord.gg/C87Pvq3
about: Join the Official Homebridge Discord community and ask in the ui channel.
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Stale Bot'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: stale
exempt-issue-labels: pinned,security
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
days-before-issue-stale: 30
days-before-issue-close: 5
days-before-pr-close: -1
days-before-pr-stale: -1
64 changes: 64 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Test

on: [
pull_request,
push
]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x]
include:
- os: macos-latest
node-version: 14.x
- os: macos-latest
node-version: 15.x
- os: windows-latest
node-version: 14.x
- os: windows-latest
node-version: 15.x

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build:server
- run: npm run lint:server
- run: npm run test:e2e

# remove dev deps
- run: npm clean-install --production

# test hb-service
- run: node dist/bin/hb-service.js -v
- if: runner.os == 'Linux'
name: 'Run hb-service install (Linux)'
run: |
sudo npm link
sudo npm install -g homebridge
sudo hb-service install --user homebridge
sleep 30
- if: runner.os == 'macOS'
name: 'Run hb-service install (macOS)'
run: |
sudo npm link
sudo npm install -g homebridge
sudo hb-service install
sleep 30
- if: runner.os == 'Windows'
name: 'Run hb-service install (Windows)'
run: |
npm link
npm install -g homebridge
hb-service install
Start-Sleep -s 30
- name: 'Test hb-service install'
run: node dist/bin/hb-service.js status --port 8581

4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ lib
src
screenshots
tsconfig.json
tslint.json
yarn.lock
webpack.config.js
tsconfig.build.json
nodemon-debug.json
nodemon.json
nest-cli.json
.eslintrc.js
.prettierrc
.vscode
.github
scripts
test

# Logs
logs
Expand Down
22 changes: 20 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@
"editor.insertSpaces": true,
"files.eol": "\n",
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
"editor.formatOnSave": true,
"eslint.workingDirectories": [
".",
"./ui"
],
"eslint.options": {
"extensions": [
".js",
".ts",
".html"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html"
],
}
Loading