Commit 70a8d91
authored
Feature user management (openWB#3119)
* restrict access to mosquitto and apache
* move mosquitto setup to own file
* implement dis-/enabling unencrypted access
* migrate simpleAPI
* adopt lxde session
* implement switching between acl and dynsec
* fix mosquitto setup
* fix apache setup
* fix dynsec setup
* migrate simpleAPI to localhost 1884
* add official mosquitto apt repository
* configuration changes on boot only
* fix disabling user management
* add resetUserManagement command
* upgrade npm packages
* fix mosquitto.acl permissions
* mosquitto: add ws listener on localhost
* Koala: adopt mqtt options
* upgrade theme and display wrappers to mqtt 5.14.1
* roles for theme and display wrapper
* koala: login handling
* koala: improve handling of invalid credentials
* restructure security topics
* koala: fix charge point display
* classic: migrate mqtt package
* Update command.py
* Update default-dynamic-security.json
* restructure dynsec methods
* check acl roles at start
* updated default and template acls
* add acl roles for components and io
* access controlled commands (#4)
* access controlled commands
* classic theme: fix publishing
* koala: change command topics
* koala: reset values on publish error
* allow changing admin password
* fix handling missing topics in shell scripts
* clean mosquitto.conf after restore to allow downgrading
* include user management specific files in backup/restore process
* fix reload in theme and display wrapper
* remove dynsec settings on factory reset
* detect dynsec plugin path
* resubscribe on reconnect
* fix deleting mosquitto configuration on restore
* fix battery card display for missing permissions
* adjust role acls
* koala: fix manual soc update for charge points
* fix charge point sum ACL
* ACL migration
* add more topics to basic system role
* fix counter role ACL
* add roles for status, charge log, chart and general settings access
* catch login error
* koala: reload on failed login
* koala: make grid and home optional in flow chart
* koala: only display datasets with configured ACLs in history chart
* koala: refactor daily totals chart for individual components
* enable apache http on localhost:81
* replace router.go(0) with location.reload()
* koala: warn if default credentials are used
* refactor security topic structure
* theme/display wrapper: fix missed publish function upgrade
* standard-legacy theme: fix missed smart home upgrade to mqtt 5.14.1
* restructure permission topics
* complete settings roles
* fix default security roles
* add default user group
* prepare cards theme for mqtt auth
* add version to default dynamic security roles
* rename some roles for easier parsing
* update acls (openWB#3106)
* update acls
* clean mosquitto conf.d on update
* reset password
* fix updating ACLs on startup
* fix token request
* minor fixes for password reset
* fix removing outdated ACL roles
* improve login and password reset dialogues
* koala: require data protection acknowledge for password reset
* koala: layout enhancements
* cards: login handling (temporary)
* cards: adopt logic for missing topics
* Cards: add parameter "hide_login"
* display wrapper: check for stored credentials
* cards display: layout fixes
* cleanup
* cards display: improve logout
* add stored credentials to backup
* fix local display startup
* add "userManagementSupported" flag for themes
* cards: updated dependencies
* koala: remove warning about anonymous connection
* add mqtt chargepoint role
* add io-device write rule
* add mqtt soc write rule (partial)
* integrate mqtt component write rules
* integrate "others/#" data
* fix adding roles on startup
* add display clients
* fix local display without internal charge point (standalone)
* fix factory and user management reset
* koala: modify mqtt connect message
* koala: updated packages
* cards: updated packages
* update default ACLs
* fix initializing user management
* display hostname
* HTTP-API: support basic auth for user management
* update default role for active bat control
* fix surplus charge configuration role
* modify acls for io configuration
* modify login/-out modals
* optimize password reset dialog
* fix init_user_management file check
* reload display after user management initialization
* fix initialization of roles and clients1 parent 0d243cd commit 70a8d91
733 files changed
Lines changed: 82235 additions & 10175 deletions
File tree
- data
- clients
- config
- apache
- display
- mosquitto
- local
- public
- packages
- control
- helpermodules
- mosquitto_dynsec
- modules
- display_themes
- cards
- source
- src
- components
- ChargePoints
- Dashboard
- stores
- views
- colors
- web_themes
- colors
- koala
- source
- src
- components
- charts
- dailyTotals
- energyFlowChart
- historyChart
- models
- layouts
- pages
- stores
- standard_legacy
- web
- js
- runs
- dynsec_helper
- http-api/v1
- remoteSupport
- simpleAPI
- config
- src
- web
- display
- js
- settings
- assets
- modules/legacy_smart_home
- js
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
File renamed without changes.
0 commit comments