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

Migrate app frontend to Vue #936

Merged
merged 17 commits into from
Jul 21, 2023
Merged

Migrate app frontend to Vue #936

merged 17 commits into from
Jul 21, 2023

Commits on Jul 20, 2023

  1. fix: Modernize template and controller for loading scripts

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    aa62223 View commit details
    Browse the repository at this point in the history
  2. feat: Modernize controller and add SettingsController

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    c95caef View commit details
    Browse the repository at this point in the history
  3. Poll should be done on frontend and not hang php thread, also merge g…

    …et and search API
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    0ed7db6 View commit details
    Browse the repository at this point in the history
  4. fix: PHP class property promotion refactoring

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    84d6135 View commit details
    Browse the repository at this point in the history
  5. fix: Add tests for backend logic

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    883b5d6 View commit details
    Browse the repository at this point in the history
  6. feat(ci): Check linter results on frontend files

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    ab06deb View commit details
    Browse the repository at this point in the history
  7. Migrate to vue: Prepare config files and add log table components

    Reimplement frontend settings and log entry actions
    
    * Move to `NcAppSettingsDialog`
    * Make table header sticky
    * Make table columns fixed width
    * Add actions to rows
    * Add modal to view raw data of log entry
    * Add helpers and settings store
    * Add store for fetching and polling log entries
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    f90c229 View commit details
    Browse the repository at this point in the history
  8. chore: Drop old React components

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    6420918 View commit details
    Browse the repository at this point in the history
  9. feat(frontend): Implement local search / filtering log entries by search

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    4a92b8a View commit details
    Browse the repository at this point in the history
  10. fix: Restructure frontend files for Typescript interfaces and fix mis…

    …sing functions
    
    * Allow polling (live log)
    * Allow downloading log files
    * Implement infinite scroll
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5f88552 View commit details
    Browse the repository at this point in the history
  11. feat(frontend): Implement local logfile parsing

    And fix handling quoted log entries when parsing a file (did not even work in React)
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d698ea4 View commit details
    Browse the repository at this point in the history
  12. feat(CI): Check code coverage of PHP and frontend code

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d5bafec View commit details
    Browse the repository at this point in the history
  13. feat(tests): Add unit tests for frontend code (utils & stores)

    Important: Note that the tests are run with timezone **not** set to UTC,
    this allows to test if there is a difference between local TZ and UTC.
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    da32e4a View commit details
    Browse the repository at this point in the history
  14. fix: Reorder files and remove unused imports + Add Exception componen…

    …ts and parse even old exception types
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d15f0d8 View commit details
    Browse the repository at this point in the history
  15. fix: Add more unit tests

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e180c40 View commit details
    Browse the repository at this point in the history
  16. fix: Improve design and accessibility

    * Use secondary button style for filtered columns
    * Minor typo in dialog name
    * Make table border and log level colors less annoying
    * Add header to app
    * Make `<hr>` look less bright
    * Only try to load entries from server if file logging is enabled
    * Clear local log entries when switching to server log
    * Make filter button primary when active
    * Add default name to downloaded log file
    * Remove 'hide raw entry' button
    * Datetime format on settings dialog
    * LogDetailsModal should display the information in vertical list on mobile
    * Move actions inside the details modal
    * Add name to settings button
    * Move copy actions in modal to the same row as the 'hide exception' button
    * Make sure only the table is scrolled and the settings button is always displayed
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d0e659e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. chore: Compile assets

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    Signed-off-by: nextcloud-command <[email protected]>
    susnux authored and nextcloud-command committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9219831 View commit details
    Browse the repository at this point in the history