Skip to content

Commit

Permalink
Develop (#277)
Browse files Browse the repository at this point in the history
* updated openweather api version

* technical debt

* added iframe dashboard component

* updated pachka plugin
  • Loading branch information
e154 authored Jun 12, 2024
1 parent f76ad70 commit a0740f9
Show file tree
Hide file tree
Showing 117 changed files with 876 additions and 1,949 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.0
go-version: 1.22.0

- name: Set up Node
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.0
go-version: 1.22.0

- name: Install linter
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.0
go-version: 1.22.0

- name: Set up Node
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ import (
"github.com/labstack/echo/v4/middleware"
"go.uber.org/atomic"

"github.com/e154/bus"
"github.com/e154/smart-home/adaptors"
"github.com/e154/smart-home/api/controllers"
"github.com/e154/smart-home/api/stub"
publicAssets "github.com/e154/smart-home/build"
"github.com/e154/smart-home/common/events"
"github.com/e154/smart-home/common/logger"
"github.com/e154/smart-home/system/bus"
"github.com/e154/smart-home/system/rbac"
)

Expand Down
2 changes: 1 addition & 1 deletion api/dto/developer_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
package dto

import (
"github.com/e154/bus"
"github.com/e154/smart-home/api/stub"
"github.com/e154/smart-home/system/bus"
)

type DeveloperTools struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package container

import (
"github.com/e154/bus"
"github.com/e154/smart-home/adaptors"
"github.com/e154/smart-home/api"
"github.com/e154/smart-home/api/controllers"
Expand All @@ -27,7 +28,6 @@ import (
"github.com/e154/smart-home/system/access_list"
"github.com/e154/smart-home/system/automation"
"github.com/e154/smart-home/system/backup"
"github.com/e154/smart-home/system/bus"
"github.com/e154/smart-home/system/gate/client"
"github.com/e154/smart-home/system/initial"
localMigrations "github.com/e154/smart-home/system/initial/local_migrations"
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/gate_container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/e154/smart-home/system/gate/server"
"go.uber.org/fx"

"github.com/e154/smart-home/system/bus"
"github.com/e154/bus"
"github.com/e154/smart-home/system/logging"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/server/reset_container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/e154/smart-home/system/migrations"
"go.uber.org/fx"

"github.com/e154/smart-home/system/bus"
"github.com/e154/bus"
"github.com/e154/smart-home/system/logging"
)

Expand Down
3 changes: 2 additions & 1 deletion endpoint/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ func (a *AuthEndpoint) PasswordReset(ctx context.Context, userEmail string, toke
}

a.eventBus.Publish(notify.TopicNotify, common.Message{
Type: email.Name,
Type: email.Name,
EntityId: nil, //todo fix
Attributes: map[string]interface{}{
email.AttrAddresses: user.Email,
email.AttrSubject: "Reset your Smart home password",
Expand Down
2 changes: 1 addition & 1 deletion endpoint/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ package endpoint
import (
"context"

"github.com/e154/bus"
"github.com/e154/smart-home/adaptors"
m "github.com/e154/smart-home/models"
"github.com/e154/smart-home/system/access_list"
"github.com/e154/smart-home/system/automation"
"github.com/e154/smart-home/system/bus"
"github.com/e154/smart-home/system/cache"
"github.com/e154/smart-home/system/jwt_manager"
"github.com/e154/smart-home/system/mqtt"
Expand Down
2 changes: 1 addition & 1 deletion endpoint/developer_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"context"
"fmt"

"github.com/e154/bus"
"github.com/e154/smart-home/common"
"github.com/e154/smart-home/common/events"
m "github.com/e154/smart-home/models"
"github.com/e154/smart-home/system/bus"
)

// DeveloperToolsEndpoint ...
Expand Down
Loading

0 comments on commit a0740f9

Please sign in to comment.