Skip to content
Permalink
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

595 lines (512 sloc) 53.4 KB

Changelog

All notable changes to this project will be documented in this file.

Generated by auto-changelog.

v3.13.0

23 March 2019

  • Fix stretch build #486
  • Fix #392 : Don't schedule auto wake up alarm #485
  • Fixed #476, Use right favicon without the white background #484
  • Fix #390, Installation of module works at reboot even if one fails #483
  • Fix #438, display an error in the frontend when a device cannot be contacted #472
  • Improve README with more example and new design #482
  • Update color picker #478
  • Load dotenv file event on all environment #470
  • 🐳 Update .dockerignore to fix docker image build #479
  • 🐳 Docker multiarch support #465
  • Add Raspbian image upgrade command 3eec0ff
  • Update translation ff1b969
  • Fix initial state of checkUserPresence c3b02ce

v3.12.1

29 January 2019

  • Switch brain.classify to message.send 287901e

v3.12.0

29 January 2019

  • Refresh new events in websockets on me view, Fix #440 #471
  • Fix issue when 2 box charts are displayed, fix #462 #463
  • Fix undefined module slug in the tmp folder #469
  • Open API Gladys Gateway #474
  • Fix #464 #464 #464
  • Upgrade yarn.lock fae3ac6
  • Change Gladys Project to Gladys Assistant in README 5f638e4
  • Bugfix Gladys Gateway server url 1ff282f

v3.11.6

7 December 2018

  • Copy hooks assets not only in api/hooks folder but in production and tmp folder too 9131b1a

v3.11.5

6 December 2018

  • Update Changelog for Gladys v3.11.4 7693067
  • Add database migration to 3.11.5 to add column color to table area f8de99d

v3.11.4

3 December 2018

  • Add nmap to Dockerfile for some modules #452
  • Test against current version of Node.js in Travis #451
  • Adding the color-picker and push-button to the device-room box #445
  • Specify utf8 when creating mysql db for dev mode #444
  • Improve devices curves view in UI #443
  • Add gladys.event.purgeByEventType function #442
  • Create Dockerfile.arm32v7 #435
  • Fix #356: Notification/Messages are always sent through websocket by default. #356
  • Fix #433 : add fallback to house in weather get command #433
  • Fix #453 : Add ability to edit house/room in UI #453
  • Fix #446: Display more rooms in UI when account has many rooms #446
  • Close #457 : Improve TV API with more functions & detection of available functions #457
  • Close #454 : Add getDeviceTypeByCategory route in device service + filter device by service #454
  • Close #456 : REST API now exposes GET /module/method route to get available function from module #456
  • Close #450 : Add ability to create notification from REST API #450
  • Close #449 : Add ability to track user location in the past between date range #449
  • Close #441 & #369 : Check if user has left area now takes accuracy into account #441
  • Close #437 : house.checkUserPresence is now started automatically with default values #437
  • Closes #410 : Add function gladys.deviceType.getByTag(options); #410
  • Fix #448 : Increase maxBuffer size when installing NPM dependency of module #448
  • Remove istanbul (no longer up to date) and use just mocha instead to run tests 8e441d8
  • Update gladys-gateway-js to 1.0.7 to fix Gladys Gateway disconnect errors on flaky connection 9bac5fc
  • Fix areas tests 9629df2

v3.11.3

2 November 2018

  • update gladys-gateway-js to 1.0.5 40ce3ab

v3.11.2

1 November 2018

  • Gladys Gateway is now more resilient to network failure. 06d5fb7
  • Fix linting issues b05e203

v3.11.1

31 October 2018

  • Bugfix gateway: generate fingerprint with webcrypto API as well in handleMessage e9a7a8f
  • load users keys after login 9ea2966
  • hide user list when gladys gateway is not connected 2199252

v3.11.0

31 October 2018

  • Fix display joystick display bug on television box #434
  • hash gladys-gateway with webcrypto api rather than node.js d0bd96a
  • Add icons to layout 1a13063
  • add db migration for v3.11.0 28c3795

v3.10.3

14 October 2018

  • Rolling back bcrypt to 3.0.0 fa3e6e9

v3.10.2

12 October 2018

  • updateAllData need user object 13b2e5c

v3.10.1

12 October 2018

  • add updateAllData function + update all data at update of Gladys v3.10.1 693d33d
  • docker every single version as well as major version c40ab0e

v3.10.0

12 October 2018

  • When creating an event, return name and code in object #398
  • 🔧 Update .travis.yml to manage docker build #387
  • Emit event gladys-launched at startup. #425
  • Fix #362 : Add push button in UI #430
  • Fix #413 : Improve detection of devicetype by the brain #432
  • Correction of the slider width to no longer display the horizontal scroll + doc for deviceType.getByCategory #414
  • Update jsdoc.js to add gladys.area.userIn #420
  • Fix #361 Multiple slide are no longer overriding each other #409
  • Fix issue #412: Area behavior has been completely rewritten #419
  • Fix JS doc #418
  • Close #400 : add trueIf condition option to reverse conditions #400
  • Close #403 : Add house.isMode function to test if house is in current mode #403
  • Fix #301 : Gladys now send a notification when a module is updated #301
  • Fix #391 : Module assets are now copied in both www and .tmp folder are install/removed at uninstall #391
  • Fix #411 : add television native API in Gladys #411
  • Fix #300: Add new colorpicker for deviceTypes (#404) #300
  • Add contributing link in README 49356cb
  • add db migration to v3.10.0 60449c4
  • build documentation only on master 2e89fa9

v3.9.1

22 July 2018

  • Modify Events functions #380
  • Fix #382 : Device graph select box now fallback to device name + type if devicetype name is not defined #382
  • Fix #379 : Deleting / Approving a sentence remove/approve the right one in the UI #379
  • Change french translation of devices and maps 4d4ec04

v3.9.0

22 July 2018

  • Added JS documentation on gladys time functions #354
  • Replace "Réveils" term in French #364
  • 🐳 Switch from node:carbon to node:8-alpine for Docker base image and add Timezone feature #376
  • Fix #334 : Display notification text in notification list #334
  • Fix #355 : Add rate limit on login route so login can't be bruteforced #355
  • Add new function isInTimeRange to check if current time is in a provided time range 1eaa566
  • Add DB migration to Gladys 3.9.0 7e2632a
  • Removing log gladys.location.create which is useless e5f98b4

v3.8.1

13 May 2018

  • Updating required node versions #348
  • Update box chart for correctly display labels #331
  • Add device value box #330
  • Add the possibility to see the user's areas on the map #316
  • Fix the height of ul menu #306
  • Fix bug in launcher view #305
  • Mise à jour #5
  • Mise à jours 3.8.0 #4
  • Fix #310 : When user has never been seen, we create event "back-at-home" #310
  • Fix #334 : Notification are now fully displayed #334
  • Fix #351 : View device by room is now refreshed live on change with websockets #351
  • Fix #346 : Empty room are not displayed anymore + reload device view on tab change #346
  • Fix #340 : improve device modal size for large screen #340
  • Fix #307 : Switch maps tiles provider to HTTPS #307
  • Remove ES6 templates in front that does not support ES6 syntax f542e7f
  • We now verify in TravisCI that front end builds pass 07df966
  • Add possibility to manage areas in maps view 8b73fab

v3.8.0

4 March 2018

  • Fix #303 : Now able to specify if an alarm is a wake up alarm or not #303
  • add default value to select box in alarm view 6190811
  • add db migration to v3.7.8 becc980
  • save gladys db version 3.7.8 16995d4

v3.7.8

4 March 2018

  • Mise à jour #3
  • remove rpi-update.sh script from repo 0995f7c
  • redirect npm install stdout to /dev/null to avoid reaching max buffer values of child_process.exec c948d59
  • Update time.isItPM.js 83f98f0

v3.7.7

26 February 2018

  • Remove duplicate "Ctrl" in ChartBox controller name #294
  • Update device.create.js #302
  • DB migration now does all changes to data model too c4ca219
  • perform db migration only in production mode 06f63d0
  • wait for db migration to boot gladys afed396

v3.7.6

20 February 2018

  • add checkDbVersion at Gladys start f2320a1

v3.7.5

19 February 2018

  • Mise à jours #2
  • Fix #295 : Upgrade limdu to 0.9.4 so it uses brain.js instead of brain #295
  • Fix #227 : House.userSeen now create location for the user when user is seen at home #227
  • Fix #289 : add ability to change deviceType value in GET request for third party apps #289
  • Fix #290 : Add more logs to sqlUnique to help find issues #290
  • Translate boxType title in UI faec9a5
  • add empty state in chart.ejs box a9ce28a
  • Remove duplicate "Ctrl" in controller name 043e5db

v3.7.4

28 January 2018

  • correction of the UPDATE function in HOUSESERVICE. #243
  • Mise à jour #1
  • Don't change name of device when updating it #257
  • Fix #278 : add snow.svg in white #278
  • Fix #262 : house.getUsers() function now return user back-at-home + user-seen-at-home events #262
  • Fix #264 : Remove sensible data in brain classify response #264
  • update CHANGELOG.md 1a08460
  • Add tooltip in views & update fr and en json b8b0ad3
  • Add .vscode to gitignore 6d83794

v3.7.3

14 November 2017

  • Fix #236 : Handle null value & uppercase value in house, room & deviceType name in parser #236
  • Fix #216 : Now able to upgrade a module directly from the UI ! #216
  • Fix #220 : Now adding a wait modal when clicking on reboot button with a regular healthcheck #220
  • Fix #251 : Brain UI is now setting correctly the service field when updating sentences #251
  • Fix #249 : If user has only one house and say "I'm back home", Gladys should suppose it's his only house #249
  • Fix #226 : Add infinite scrolling in My Devices view #226
  • Add /system/health route to healthCheck Gladys 222ad36
  • Replace the button with the switch 077dccf
  • add onoffswitch css file to pipeline.js 4b2d147

v3.7.2

21 October 2017

  • bugfix in scenario.export, group scenario params not by code but by id fbc86f5

v3.7.1

16 October 2017

  • ES6 => ES5 on client side 23a7fb5

v3.7.0

15 October 2017

  • Sentence ui #242
  • Connaitre le paramètre introuvable. #120
  • Update HouseController.js #237
  • put old behaviour on connections.js ( default value ) 99106e8
  • let not supported in vode4 d9c0c3e
  • set sentence status = 'official' when inserting batch 855ad5a

v3.6.3

26 September 2017

  • Update deviceType.queries.js #221
  • Fix #222 : Do not send websocket notification when device is updated #222
  • Update last event user-seen-at-home instead of creating one new every time 924b282
  • Switch Dockerfile from argon to boron 61bcc34
  • test gladys with Node 8 2093984

v3.6.2

11 September 2017

  • Fix #217 : StateTypeParam are no longer inserted in duplicate #217
  • Fix #215 : Remove "view all" link in notification list #215
  • Fix #200 : Scenario now have a title ! #200
  • Fix #214 : Get /devicestate now return all devicestate ! #214
  • Fix #198 : Now using websocket to tell front-end that module is installed #198
  • Fix #196 : Script errors now displayed in script view ! #196
  • Fix #197 : Script UI is now more clear ! :) #197
  • Fix #207 : Add all field in GROUP BY clause in Get user location query #207
  • Fix #199 : Add more feedback on most form validation when form is invalid #199
  • Fix #206 : update all dependencies in package.json & removed unused ones #206
  • Fix #169 : Fix bug in house.checkUsersPresence() when multiple users are at home #169
  • Get command weather at a specific time! b397cc7
  • pass user id in script context even when starting script from scenario e8428b1
  • bugfix weather.command() test 209c80c

v3.6.1

28 May 2017

v3.6.0

28 May 2017

  • gladys autoWake up feature c7949c4
  • calendar.getFirstEventTodayUser() d5bf175
  • change translation in Alarm vie d34c48f

v3.5.4

28 May 2017

  • remove arrow function in client code 8e9ccab

v3.5.3

27 May 2017

  • add validation errors message in House & rooms view 05a72dd
  • recognizing house & rooms in event.command() 1e6f64c
  • trying to call Gladys service first before module service in notification.create() 26036aa

v3.5.2

16 May 2017

  • rpi-update.sh moved to /home/pi #179
  • add house description in parameters to help user a6d0394
  • Update general.ejs e4d119d
  • Update general.ejs 3c322c8

v3.5.1

11 April 2017

  • bugfix in brain answer : keep only 2 first character of user language c4f5412
  • update rpi-update.sh, start directly node init.js in folder instead of using absolute path 83622e6

v3.5.0

10 April 2017

  • Add a Gitter chat badge to README.md #168
  • created alarm.command, you can now create alarm while speaking with Gladys ! 569c33c
  • install notification only if not exist 137c84d
  • create notification type socket at startup if not exist 7e88db7

v3.4.4

8 March 2017

v3.4.3

7 March 2017

  • Fix #150 : devicetype in lowercase in SQL request for case sensitive system #150
  • add clear icon svg weather e2c8009
  • remove update button, clarify memory f3d029d
  • postcode in house is now a string 5901eb5

v3.4.2

11 February 2017

  • Fix #149 : Alarm now scheduled at startup #149
  • add wind icon cd5ed0a
  • fix issue with maps icon when running in production mode 80e61e5
  • update CHANGELOG 16d6173

v3.4.1

31 January 2017

  • update CHANGELOG for Gladys 3.4 81286e0
  • boxType.create now update boxType if already exist 3f53415

v3.4.0

31 January 2017

  • add purge function on devicestate #138
  • add sun.getState, sun.isItDay, sun.isItNight #135
  • Update fs-extra to version 1.0.0 🚀 #108
  • Update bcrypt to version 1.0.0 🚀 #124
  • Proposal for allowing users to set their own env vars directly in the project. #130
  • sync all calendars directly threw gladys api c391f59
  • add error when geolocation failed 55eed38
  • commit changes to layout.ejs & index.ejs 9002e40

v3.3.4

11 December 2016

  • add unit test to GET /devicetype/room 3272562
  • updated changelog for 3.3.3 a7eb514
  • fix critical bug when getting deviceType by room a6d263d

v3.3.3

10 December 2016

  • Close #122, scenario now accepts empty templates #122
  • Close #121, brain now call module functions and not global services #121
  • send mode id into scope in mode change 24484be
  • GET routes on event and deviceState are linked to new controller 2ca1c40
  • add documentation URL to apidoc.json 2213033

v3.3.2

14 November 2016

  • add roomName in deviceType get requests 2dd7e9d
  • modified CHANGELOG 992db63

v3.3.1

13 November 2016

  • test if scope has property before overidding it 1a2388d
  • update CHANGELOG 579923e

v3.3.0

12 November 2016

  • return boxId and display it in init function b551e80
  • init music controller with boxId 8f77cc3
  • Added music service in changelog ! 0b4b48f

v3.2.4

11 November 2016

  • Introducing CHANGELOG ! 17b895e
  • clone params in scenario.trigger function so that original object is not modified ae88c2a

v3.2.3

11 November 2016

  • add event params to scope so that conditions can be verified ed8c4c2

v3.2.2

8 November 2016

  • fixed error in README.md from 9 PM -> 9 AM #110
  • Prepare front app to event box in dashboard 5e99592
  • bugfix: Create event in scenario now working a430286
  • get users and houses in event create box 92fbc60

v3.2.1

27 October 2016

  • Fixed two typos in en.json #101
  • apidoc comments in EventController ed127a0
  • apidoc implementation beb9e3c
  • authenticated middleware authenticated dfe5a9d

v3.2.0

3 October 2016

  • Update notification README #96
  • Close #95 : Device.getByIdentifier & deviceType.getByIdentifier #95
  • close #97 : deviceType getByDevice performance improvements #97
  • deviceType.getById & deviceType.getByType 32c7866
  • fix test 9400118
  • change d.name by dt.name 08a48ec

v3.1.11

25 September 2016

v3.1.10

25 September 2016

  • Accept string in deviceType exec and parseFloat instead of parseInt 9176b8b
  • accept boolean & string in deviceState.create a49b29a
  • add deviceType identifier in getDeviceType query b29b82a

v3.1.9

25 September 2016

  • Create or update device & deviceType c945c61
  • deviceState createByDeviceTypeIdentifier b5a4027
  • Delete deviceType delete all his deviceState 4b36ce6

v3.1.8

24 September 2016

  • Feature : Configure machines in web view afd2c4f
  • Feature : gladys.machine.getMyHouse 3408318
  • host is not required in a machine b060a9c

v3.1.7

24 September 2016

  • Add possibilities to create device and devicetype in web view f42348f
  • new method : house.isUserAtHome 721b7ed
  • new route : DELETE /devicetype/:id 67f7f81

v3.1.6

22 September 2016

  • add user to notify function so that the notification module have data about the user a30b4e6

v3.1.5

19 September 2016

v3.1.4

19 September 2016

  • bugfix : read notification on click on notification 557797f

v3.1.3

19 September 2016

  • bugfix : exec update script in detached process 11dec2e

v3.1.2

18 September 2016

  • ensure that update script has exec permission on start 15e1f9f

v3.1.1

18 September 2016

  • bugfix script update path 91b299d

v3.1.0

18 September 2016

  • close #79 : Get notifications with infinite scrolling and read when clicks #79
  • close #81 : you can update Gladys IN Gladys ! :D #81
  • No sudo required anymore in rpi-update.sh, because pm2 now handle non sudo auto restart 398ce91
  • use latest version of Node.js LTS 6db0b16

v3.0.8

18 September 2016

  • Update supertest to version 2.0.0 🚀 #68
  • Update include-all to version 1.0.5 🚀 #76
  • Update grunt-mocha-test to version 0.13.0 🚀 #87
  • Update should to version 11.1.0 🚀 #73
  • Update mocha to version 3.0.2 🚀 #71
  • Update grunt-contrib-uglify to version 2.0.0 🚀 #66
  • Update should to version 10.0.0 🚀 #65
  • Update async to version 2.0.0 🚀 #64
  • close #82 : Now possible to create user in param view #82
  • close #91 : Text from modal module view updated #91
  • close #78 : store now load modules very quickly ! #78
  • close #84 : Lock page now working #84
  • close #89 : Check if version is superior when auto update #89
  • close #83 : Do not display ugly avatar and useless search bar #83
  • close #90 : Do not exec install function when module does not exist #90
  • close #80 : Now possible to update a user in profile page in parameters #80
  • update install and update script bdc5c8a
  • System.update start update script 95cb03b
  • bugfix add create user modal title 209f72a

v3.0.7

15 September 2016

  • Update deviceType.exec and script.exec to handle scenarios e989a0a

v3.0.6

15 September 2016

  • Downloading new action in installation steps and in update page ed34563
  • new route : /update/action to update action in scenario bd58186

v3.0.5

15 September 2016

  • ensure that api/hooks folder exist in grunt task d328b9a
  • fs-extra is not a dev dependency. moving it in package.json 1751769

v3.0.4

14 September 2016

  • actionType create or update ae2487a
  • actionTypeParam create or update f481cf3

v3.0.3

26 August 2016

  • SQL optimization on deviceType getByRoom ebbc4e0
  • add LEFT JOIN to deviceType.getByRoom query 9f5d3c1

v3.0.2

8 August 2016

  • ng-device-detector, detect the browser device and save it as a device in gladys ( work in progress ) 3efab20
  • DeviceState create route ( POST & GET ) 1721868
  • chore(package): update should to version 10.0.0 6418a01

v3.0.1

10 June 2016

  • Update all dependencies 🌴 #59
  • fix error meteo #58
  • remove googlecalendarservice f421aeb
  • chore(package): update dependencies d9c19e4
  • remove beta in version number 23a0e2d

v3.0.0-alpha1

28 March 2016

  • Sleep graph text translation in french #53
  • I18 birthdate placeholder. Fix #14 #50
  • ngcloak installation page 6c0845f
  • Clean module view 7c83f7f
  • gladys alpha1 ae350b4

v2.1.9

31 December 2015

  • Remove serialport, motion sensors, phenixElectricdevice, RFListener, Timer from core ( will be modules ) 9222b4b
  • AlarmService to folder dfd6020
  • Remove sails-hook-dev dependecy, causing bug on case sensitive system c794d21

v2.1.8

30 December 2015

  • motion to motionRoom in launcherTypes. Fix #42 #42
  • Change node.js version in README and installation process e1c9302
  • Change again from bcryptjs to bcrypt because bcryptjs is very slow on unusable on Raspberry Pi B/B+ ( 50 seconds to hash a password... compared to 2 seconds for bcrypt ) 78b6733
  • Saving grunt-cli dependency version in package.json 92fab84

v2.1.6

29 November 2015

  • Adding footer, version and links in front #44
  • houseValidator 084323c
  • LifeEventValidator. Removed LiveEventController tests 301a23e
  • LifeEventControllerTest e2aca89

v2.1.5

18 November 2015

  • Update dependencies ( bcrypt => bcryptjs & MD5 deprecated => md5 ) #43
  • Update package.json ( add keywords, bin, bugs, repository ) efe85ba
  • Adding all mp3 and wav file to gitignore fb1d4ad
  • Package.json : Added npm publish scripts 04e06a2

v2.1.4

9 November 2015

  • Loading hooks services in sandboxed scripts. Fixes #34 #34
  • More cleaner, using older function b71aefd
  • Valid ExampleService 774dbbe
  • Gladys 2.1.4 682dcbf

v2.1.3

4 October 2015

  • Fix #17 - Problem with email verification on User Models #17
  • Sync events with GitHub a70d489
  • Gladys version 2.1.3 8da796a
  • Sync events at bootstrap aaa7f89

v2.1.1

22 September 2015

  • Gladys 2.1.1 - Fixing speak issue dfa8292
  • Fixing speak issues, speaking now working 0a92d54

v2.1.0

17 September 2015

  • Remove CDN from welcome views #33
  • Adding gulp #32
  • Fix bug callback undefined #31
  • misspelled goingToSleep #28
  • Add charset parameter to SpeakService #27
  • pm2 / rename app to gladys #24
  • no data userSleep #19
  • Breadcrumb correction #18
  • Fixes #26 , remove useless JS client on welcome page #26
  • Gladys is not private, update package.json 047bceb
  • New version ( 2.1.0 ) 0bdaad3
  • Added the possibility to block signup so people can't create an account on your Gladys server ( useful for an open server ) b5d2f18
You can’t perform that action at this time.