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

Withings Service #1399

Closed
wants to merge 218 commits into from
Closed
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
3b8b0b3
init oaut2 client feature
euguuu May 4, 2021
fe8140c
Merge remote-tracking branch 'origin/oauth2-client' into withings-only
euguuu May 4, 2021
e463867
init withings service
euguuu May 4, 2021
b72ca90
init oaut2 client feature
euguuu May 4, 2021
0bf61f4
Merge branch 'oauth2-client' into withings-only
euguuu May 4, 2021
ea72f0b
init withings service
euguuu May 13, 2021
cfb4248
Merge remote-tracking branch 'origin/master' into withings-only
euguuu May 13, 2021
1a243fa
fix from review feedback
euguuu May 24, 2021
a485ad8
Merge remote-tracking branch 'origin/master' into oauth2-client-3
euguuu May 24, 2021
9be4f8c
Merge branch 'master' into oauth2-client
euguuu Nov 21, 2021
2578d58
fix synch package-lock.json
euguuu Nov 21, 2021
6e83383
Merge branch 'master' into withings-only
euguuu Nov 21, 2021
36380f8
Merge branch 'master' into withings-only
euguuu Nov 28, 2021
ab7810a
fix dep
euguuu Nov 28, 2021
1ef11b6
add cypress test
euguuu Dec 6, 2021
61d7b22
Merge branch 'oauth2-client' into withings-only
euguuu Dec 6, 2021
de44184
fix merge error
euguuu Dec 6, 2021
cfa2bd2
fix server test
euguuu Dec 10, 2021
1674f32
Merge branch 'master' into withings-only
euguuu Dec 10, 2021
7558ee8
fix translation
euguuu Dec 10, 2021
c67823c
fix cypress test
euguuu Dec 10, 2021
6ebf107
improve server test
euguuu Dec 10, 2021
3c71cd9
improve server test
euguuu Dec 10, 2021
6eae869
fix test
euguuu Dec 14, 2021
4a31360
fix test
euguuu Dec 14, 2021
9a80f0a
fix test
euguuu Dec 14, 2021
e7fd0ee
Merge branch 'master' into withings-only
euguuu Jan 3, 2022
aa1f0b6
fix for review
euguuu Jan 3, 2022
737eea0
fix for review
euguuu Feb 6, 2022
5bff196
fix cypress
euguuu Feb 6, 2022
e935bee
fix for review
euguuu Feb 28, 2022
c14c0a1
Merge branch 'master' into withings-only
euguuu Feb 28, 2022
c264fd2
fix for review
euguuu Mar 1, 2022
7cc6990
fix test error
euguuu Mar 1, 2022
3ae98ef
fix for review
euguuu Mar 1, 2022
2cb3760
fix for review
euguuu Mar 6, 2022
d4f1b1f
fix fo review
euguuu Mar 6, 2022
2b9416a
fix tests
euguuu Mar 7, 2022
9764f6b
Merge branch 'master' into withings-only
euguuu Mar 7, 2022
4853a3d
fix for review
euguuu Mar 9, 2022
fa5e760
Merge branch 'master' into withings-only
euguuu Mar 13, 2022
4a17498
fix for review
euguuu Mar 13, 2022
d676f22
Merge branch 'master' into withings-only
euguuu Mar 20, 2022
920ef80
add edit device page
euguuu Mar 20, 2022
996ef72
fix test
euguuu Mar 20, 2022
12cb0d5
fix test
euguuu Mar 20, 2022
4127afc
fix package-lock
euguuu Mar 21, 2022
16d553c
Merge branch 'master' into withings-only
euguuu Mar 22, 2022
6ef3674
revert front package.json
euguuu Mar 22, 2022
cd69205
fix for review
euguuu Mar 26, 2022
f9e5343
fix for review
euguuu Mar 27, 2022
f2ef2a0
fix for review
euguuu Mar 28, 2022
ab8da95
fix for review
euguuu Mar 29, 2022
fc994f9
fix for review
euguuu Mar 30, 2022
039f179
fix for review
euguuu Apr 6, 2022
2d916bc
Merge branch 'master' into withings-only
euguuu Apr 9, 2022
9c00a9d
Create docker-image.yml
euguuu Apr 10, 2022
83fee7c
Delete docker-image.yml
euguuu Apr 10, 2022
0571d2c
fix for review
euguuu Apr 10, 2022
d98a4ac
Merge branch 'master' into withings-only
euguuu Apr 11, 2022
9e655c8
fix merge error
euguuu Apr 11, 2022
75aaad1
fix package-lock
euguuu Apr 11, 2022
c40c17b
fix for review
euguuu Apr 18, 2022
5f34c18
fix for review
euguuu Apr 18, 2022
832ba1f
firx for review
euguuu Apr 18, 2022
7d5995f
fix bug redirect uri
euguuu Apr 19, 2022
c015fb5
Merge branch 'master' into withings-only
euguuu May 11, 2022
4845f51
fix merge error
euguuu May 11, 2022
c17d801
fix cypress
euguuu May 11, 2022
2566864
fix cypress
euguuu May 12, 2022
6fa2078
fix cypress
euguuu May 12, 2022
d15ce28
fix cypress
euguuu May 15, 2022
8c8cce8
fix cypress
euguuu May 15, 2022
0047b79
Merge branch 'master' into withings-only
euguuu May 15, 2022
b92c6e6
fix cypress
euguuu May 15, 2022
d2d9516
fix cypress
euguuu May 15, 2022
e0ed0a6
fix cypress
euguuu May 15, 2022
d26dc48
fix cypress
euguuu May 15, 2022
df6fe0f
Merge branch 'master' into withings-only
euguuu May 16, 2022
61ceca5
fix new eslint front
euguuu May 16, 2022
802d768
Merge branch 'master' into withings-only
euguuu Jun 3, 2022
f4807c9
fix for review
euguuu Jun 8, 2022
b7ebe08
fix for review
euguuu Jun 12, 2022
b548c8f
fix for review
euguuu Jun 12, 2022
a67a527
Merge remote-tracking branch 'upstream/master'
euguuu Jul 28, 2022
192b554
Merge remote-tracking branch 'origin/master' into withings-only
euguuu Jul 28, 2022
4b7ee5b
Add missing integrations + add open-zwave deprecated warning (#1579)
Pierre-Gilles Aug 4, 2022
b70be1d
Zigbee2mqtt: Add support for VOC Sensors (#1556)
VonOx Aug 4, 2022
29b6f8e
Fix Google Home/Alexa links (#1582)
Pierre-Gilles Aug 4, 2022
d8eb14d
Merge branch 'master' into withings-only
euguuu Aug 5, 2022
9e80bae
Merge branch 'master' into withings-only
euguuu Aug 5, 2022
b798c81
change url withings partner
euguuu Aug 5, 2022
51c43b4
Create docker-image.yml
euguuu Apr 10, 2022
5ecfdca
Delete docker-image.yml
euguuu Apr 10, 2022
b464624
Merge branch 'master' into withings-only
euguuu Sep 9, 2022
0bae2be
fix for review
euguuu Sep 11, 2022
0965eda
fix chmod on package files
euguuu Sep 11, 2022
8bea21a
fix for review
euguuu Sep 12, 2022
9d46d4e
Create docker-image.yml
euguuu Apr 10, 2022
88ab5af
Delete docker-image.yml
euguuu Apr 10, 2022
33e9311
Merge branch 'master' into withings-only
euguuu Sep 12, 2022
1f270b7
Merge branch 'master' into withings-only
euguuu Sep 25, 2022
750dd74
Merge branch 'master' into withings-only
euguuu Sep 29, 2022
2cc85b2
fix test
euguuu Sep 29, 2022
39ed182
Reword leak sensor values (#1608)
atrovato Sep 30, 2022
b7b97d2
Add Broadlink cover devices (#1607)
atrovato Sep 30, 2022
911b4c3
Fix Broadlink labels (#1606)
atrovato Oct 3, 2022
ffbd669
Handle Zigbee2mqtt cover devices (#1577)
atrovato Oct 3, 2022
e9b4c13
Tasmota: Add more temp devices (#1570)
atrovato Oct 3, 2022
e13fb1a
Scene: Fix #1605, improve HTTP request response parser to handle null…
Pierre-Gilles Oct 3, 2022
69bc5fc
Add new data, datarate, precipitation category and units (#1601)
VonOx Oct 4, 2022
25b9529
4.11.0
Pierre-Gilles Oct 4, 2022
9598588
Update CHANGELOG
Pierre-Gilles Oct 4, 2022
58e258b
Create docker-image.yml
euguuu Apr 10, 2022
effae95
Delete docker-image.yml
euguuu Apr 10, 2022
a275a09
fix for review
euguuu Oct 4, 2022
c4605e6
Merge branch 'master' into withings-only
euguuu Oct 5, 2022
bd85203
fix for review
euguuu Oct 7, 2022
13f8ba8
Create docker-image.yml
euguuu Apr 10, 2022
d36240c
Delete docker-image.yml
euguuu Apr 10, 2022
d6e4a53
Create docker-image.yml
euguuu Apr 10, 2022
21fcb51
Delete docker-image.yml
euguuu Apr 10, 2022
6731e85
Merge branch 'master' into withings-only
euguuu Oct 11, 2022
18f8419
fix for review
euguuu Oct 16, 2022
60d2df9
Create docker-image.yml
euguuu Apr 10, 2022
e0287fa
Delete docker-image.yml
euguuu Apr 10, 2022
a901898
Merge branch 'master' into withings-only
euguuu Oct 16, 2022
6e3802f
fix merge error
euguuu Oct 16, 2022
698e34e
Create docker-image.yml
euguuu Apr 10, 2022
db34119
Delete docker-image.yml
euguuu Apr 10, 2022
d034da2
Merge branch 'master' into withings-only
euguuu Oct 17, 2022
4b59c2c
change label for review
euguuu Oct 17, 2022
bbf9b2b
Create docker-image.yml
euguuu Apr 10, 2022
81162b7
Delete docker-image.yml
euguuu Apr 10, 2022
3d71aed
Merge branch 'master' into withings-only
euguuu Oct 28, 2022
577d48a
Create docker-image.yml
euguuu Apr 10, 2022
91ab5f0
Delete docker-image.yml
euguuu Apr 10, 2022
d433992
Merge branch 'master' into withings-only
euguuu Oct 31, 2022
5c309e5
change packae-lock
euguuu Oct 31, 2022
9f373e5
change package-lock
euguuu Oct 31, 2022
8e6c774
change packag-lock
euguuu Oct 31, 2022
00eea11
change package-lock
euguuu Oct 31, 2022
f417d81
fix for review
euguuu Oct 31, 2022
096b800
fix prettier
euguuu Oct 31, 2022
1b04581
Create docker-image.yml
euguuu Apr 10, 2022
664a410
Delete docker-image.yml
euguuu Apr 10, 2022
b90f66e
Merge branch 'master' into withings-only
euguuu Nov 6, 2022
2bb7150
fix cypres s test
euguuu Nov 6, 2022
80b9273
add log
euguuu Nov 6, 2022
e7f627e
add log
euguuu Nov 6, 2022
00dcd55
Create docker-image.yml
euguuu Apr 10, 2022
afb7038
Delete docker-image.yml
euguuu Apr 10, 2022
cab0583
Merge branch 'master' into withings-only
euguuu Nov 18, 2022
30001d6
add new ftuute and label
euguuu Nov 18, 2022
ab57d37
add unit trad
euguuu Nov 18, 2022
a65f38f
fix test
euguuu Nov 18, 2022
58f0bb6
Create docker-image.yml
euguuu Apr 10, 2022
d9b4023
Delete docker-image.yml
euguuu Apr 10, 2022
6e98259
Merge branch 'master' into withings-only
euguuu Dec 10, 2022
21e3b4a
fix bug and img
euguuu Dec 10, 2022
f4aed0c
add logs
euguuu Dec 10, 2022
10b503e
update pckage.json
euguuu Dec 10, 2022
ab745f5
fix prettier
euguuu Dec 10, 2022
5eed16d
fix eslint
euguuu Dec 10, 2022
58b1c4e
fix test
euguuu Dec 10, 2022
b973fd8
Create docker-image.yml
euguuu Apr 10, 2022
cf1ffe7
Delete docker-image.yml
euguuu Apr 10, 2022
4cb6749
Merge branch 'master' into withings-only
euguuu Dec 18, 2022
0be7624
fix for scanwatch
euguuu Dec 18, 2022
3e19fbe
add test case
euguuu Dec 18, 2022
58dd72e
fix scanwatch test
euguuu Dec 18, 2022
8de6956
change feature icon
euguuu Dec 21, 2022
9ca61b2
fix for review
euguuu Jan 15, 2023
af20b5a
Merge branch 'master' into withings-only
euguuu Jan 26, 2023
72a8a36
Merge branch 'master' into withings-only
euguuu Jan 27, 2023
a30cfdb
Merge branch 'master' into withings-only
euguuu Jan 27, 2023
426e66c
Merge branch 'master' into withings-only
euguuu Feb 5, 2023
1bc8974
Be able to re-order dashboard boxes with drag and drop (#1704)
Pierre-Gilles Feb 6, 2023
cc6504d
Fix CalDAV update during sync (#1703)
bertrandda Feb 6, 2023
465a963
Fix NaN dates in tasks list on Safari/Firefox (#1697)
cicoub13 Feb 6, 2023
c75dbb1
Add AQI sensor (#1685)
VonOx Feb 6, 2023
84cd890
Zigbee2mqtt: Add limits on Docker containers logs size (#1692)
atrovato Feb 6, 2023
92de5c2
4.16.0
Pierre-Gilles Feb 6, 2023
b4a49ef
Upgrade CHANGELOG
Pierre-Gilles Feb 6, 2023
8b80ffa
Add back full screen button (#1706)
Pierre-Gilles Feb 6, 2023
3286534
4.16.1
Pierre-Gilles Feb 6, 2023
fc4ea6d
Upgrade CHANGELOG
Pierre-Gilles Feb 6, 2023
6e65d6f
Add core scheduler for all entities / integrations (#1641)
atrovato Feb 10, 2023
61bf2e4
Add ability to send real requests to OpenAI (#1708)
Pierre-Gilles Feb 10, 2023
87eca74
Improve dashboard re-order UX on mobile (#1707)
Pierre-Gilles Feb 10, 2023
4b650bc
4.17.0
Pierre-Gilles Feb 13, 2023
325d507
Fix bug on OpenAI screen when chat was never enabled (#1709)
Pierre-Gilles Feb 13, 2023
c4f6b32
4.17.1
Pierre-Gilles Feb 13, 2023
051158e
Upgrade CHANGELOG
Pierre-Gilles Feb 13, 2023
0874dcc
Create docker-image.yml
euguuu Apr 10, 2022
d5abc98
Delete docker-image.yml
euguuu Apr 10, 2022
89b19e8
fix merge
euguuu Mar 12, 2023
4ffcd05
Merge branch 'master' into withings-only
euguuu Mar 12, 2023
2a10359
Merge branch 'master' into withings-only
euguuu Mar 31, 2023
33206a4
Merge branch 'master' into withings-only
euguuu Apr 7, 2023
056c295
Merge branch 'master' into withings-only
euguuu Apr 10, 2023
324abb3
fix prettier
euguuu Apr 10, 2023
438db16
Merge branch 'master' into withings-only
euguuu May 1, 2023
f8e2cb6
fix eslint
euguuu May 1, 2023
071e843
fix prettier
euguuu May 1, 2023
49d926f
Merge branch 'master' into withings-only
euguuu May 19, 2023
3dc8a80
Merge branch 'master' into withings-only
euguuu May 29, 2023
6dca7d7
Merge branch 'master' into withings-only
euguuu Jun 17, 2023
a432258
fix date on poll
euguuu Jun 17, 2023
6b5ed69
fix eslint
euguuu Jun 17, 2023
51ea4a4
fix test
euguuu Jun 17, 2023
26a847c
Merge branch 'master' into withings-only
euguuu Jul 22, 2023
dd032ee
Merge branch 'master' into withings-only
euguuu Sep 4, 2023
ebb7317
Merge branch 'GladysAssistant:master' into withings-only
euguuu Oct 12, 2023
730da29
fix test after merge
euguuu Oct 12, 2023
c259d0d
fix oauth2 expire token error
euguuu Oct 15, 2023
6602afb
fix error oauth2 refresh token
euguuu Oct 15, 2023
48492a9
remove console
euguuu Oct 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
describe('Withings Empty device list', () => {
before(() => {
cy.login();

cy.visit('/dashboard/integration/health/withings/device');
});

it('Check Empty device page', () => {
cy.get('.alert-info').i18n('integration.withings.device.noDevices');
});

it('Check right menu page', () => {
cy.contains('a', 'integration.withings.device.menu').should(
'have.attr',
'href',
'/dashboard/integration/health/withings/device'
);

cy.get('.list-group-item-action').i18n('integration.withings.settings.menu');

cy.contains('a', 'integration.withings.documentation').should('exist');
cy.contains('a', 'integration.withings.officialWebSite').should('have.attr', 'href', 'https://www.withings.com/');
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
describe('Withings settings page', () => {
before(() => {
cy.login();

cy.visit('/dashboard/integration/health/withings/settings');
});

it('Check setting page and connect', () => {
cy.get('.markup').i18n('integration.oauth2.instructions');

cy.get('.form-label').i18n('integration.oauth2.apiKeyLabel');

cy.get('input')
.first()
.clear()
.type('FakeClientId');

cy.get('input')
.last()
.clear()
.type('FakeSecret');

const serverUrl = Cypress.env('serverUrl');
cy.intercept(
{
method: 'POST',
url: `${serverUrl}/api/v1/service/oauth2/client/authorization-uri`
},
req => {
req.reply(res => {
res.body.authorizationUri = `/dashboard/integration/health/withings/settings`;
});
}
);

cy.contains('button', 'integration.oauth2.buttonConnect').click();

// Check redirected to settings page
cy.location('pathname').should('eq', '/dashboard/integration/health/withings/settings');

cy.get('.alert-info').i18n('integration.withings.settings.complete');

cy.get('.alert-info').i18n('integration.withings.settings.clientId');

cy.get('.alert-info').contains('FakeClientId');

cy.get('.alert-info').i18n('integration.withings.settings.afterIntegration');

cy.get('.alert-info').i18n('integration.withings.settings.instructionsToUse');

cy.contains('p', 'integration.oauth2.delete').should('exist');
});

it('Check unconnect', () => {
cy.contains('button', 'integration.oauth2.unconnectButton').click();

cy.get('.markup').i18n('integration.oauth2.instructions');

cy.get('.form-label').i18n('integration.oauth2.apiKeyLabel');
});
});
Loading