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

FEMS-Backports 2024-08 (2) #2771

Merged
merged 17 commits into from
Aug 31, 2024
Merged

FEMS-Backports 2024-08 (2) #2771

merged 17 commits into from
Aug 31, 2024

Commits on Aug 30, 2024

  1. UI: fix sum chart in consumption history

    Wrong variable used in consumption detail html
    
    Reviewed-by: Stefan Feilmeier <[email protected]>
    Co-authored-by: Lukas Rieger <[email protected]>
    Co-committed-by: Lukas Rieger <[email protected]>
    sfeilmeier and lukasrgr committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    bfe88bb View commit details
    Browse the repository at this point in the history
  2. UI: add routing guards for settings

    - Introduction of [Routing Guards](https://v17.angular.io/api/router#types)
    - Not visible routes could be accessed through manually going there
    - Adding edge role check before accessing this route
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    30ad01f View commit details
    Browse the repository at this point in the history
  3. UI: center refresher-spinner

    Center refresh-content-spinner
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    b6244e7 View commit details
    Browse the repository at this point in the history
  4. Rrd4j: Fix query for custom range

    - fix start for timeranges with not the first day of the month
    - fix readonly only worked with debugmode
    
    Reviewed-by: Hueseyin Sahutoglu <[email protected]>
    Co-authored-by: Michael Grill <[email protected]>
    Co-committed-by: Michael Grill <[email protected]>
    sfeilmeier and michaelgrill committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    13f691e View commit details
    Browse the repository at this point in the history
  5. UI: Migration to angular 18

    Update Angular, Zone.js, Typescript
    
    Co-authored-by: Kai Jeschek <[email protected]>
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier and da-Kai committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    38da223 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    27676f0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    05c3dcf View commit details
    Browse the repository at this point in the history
  8. UI: enforce double quotes

    - Enforce usage of double quotes
    - prohibit single quotes
    - backticks are still usable -> [ref](https://eslint.org/docs/latest/rules/quotes#double)
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    443764d View commit details
    Browse the repository at this point in the history
  9. UI: add exhaustive switch eslint rule

    - Add eslint rule [`switch-exhaustiveness-check`](https://typescript-eslint.io/rules/switch-exhaustiveness-check/)
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    797fe90 View commit details
    Browse the repository at this point in the history
  10. UI: App: Update android api due to googles new policy

    - Updating android api level due to googles new policy, enforcing `ANDROID_API_LEVEL=34` to be minimum version
    
    Reviewed-by: Kai Jeschek <[email protected]>
    sfeilmeier committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    eb327d3 View commit details
    Browse the repository at this point in the history
  11. Build android app

    Add CI pipeline for building Android apps
    
    Co-authored-by: Lukas Rieger <[email protected]>
    Reviewed-by: Lukas Rieger <[email protected]>
    sfeilmeier and lukasrgr committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    852fd3a View commit details
    Browse the repository at this point in the history
  12. GridOptimizedCharge: avoid fail state in OFF

    Reviewed-by: Sebastian Asen <[email protected]>
    Co-authored-by: Johann Kaufmann <[email protected]>
    Co-committed-by: Johann Kaufmann <[email protected]>
    sfeilmeier and johannk24 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    74a6699 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. UI: Reduce history queries & overloading of chartData

    If a history chart takes too long to load and the user switches the timerange,
    the old timerange will be shown instead of the actual one (at least for a few seconds, until the new chart is finished)
    
    Co-authored-by: Lukas Rieger <[email protected]>
    Reviewed-by: Lukas Rieger <[email protected]>
    Co-authored-by: Fabian Brandtner <[email protected]>
    Co-committed-by: Fabian Brandtner <[email protected]>
    3 people committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    311b9c1 View commit details
    Browse the repository at this point in the history
  2. UI: Replace setCurrentComponent with getCurrentEdge

    - Replace `setCurrentComponent` with `getCurrentEdge`, setCurrentComponent is already deprecated and shouldnt be used anymore
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    67e6030 View commit details
    Browse the repository at this point in the history
  3. UI: Unify fixDigitalOutput & singlethreshold history (#1315)

    - Unify and refactor all FixDigitalOutputControllers and SingleThresholds in one widget in history
    - Refactoring them and using the new `CumulatedLevelActiveTime`-Channel
    
    Co-authored-by: Sebastian Asen <[email protected]>
    Reviewed-by: Sebastian Asen <[email protected]>
    sfeilmeier and sebastianasen committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    70b6864 View commit details
    Browse the repository at this point in the history
  4. UI: fix TimeOfUseTariff powerSocChart

    - Fix `TypeError: this.options.plugins is undefined`
    - To reproduce the error see "live" screen and open the modal for Time-of-Use with ADMIN role.
    
    Reviewed-by: Sagar Venu <[email protected]>
    sfeilmeier committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    bbe249d View commit details
    Browse the repository at this point in the history
  5. Fix build

    sfeilmeier committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    61208ef View commit details
    Browse the repository at this point in the history