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

Make navbar scrollable #1490

Open
wants to merge 349 commits into
base: wip
Choose a base branch
from
Open

Make navbar scrollable #1490

wants to merge 349 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 28, 2021

  1. Remove unused function getenv_default()

    Remove commented code
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    0857bd4 View commit details
    Browse the repository at this point in the history
  2. Fix invalid reference in ModuleServiceProvider.php

    Upgrade phpcs
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    a05c6b9 View commit details
    Browse the repository at this point in the history
  3. Provide test for datatables API

    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    1873c9b View commit details
    Browse the repository at this point in the history
  4. Add new migrations for new BusinessUnit and MachineGroup schema

    Move old Eloquent Models into the MR\ classic namespace
    Add new models into the App\ namespace for BusinessUnit.php and MachineGroup.php
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    abd9199 View commit details
    Browse the repository at this point in the history
  5. Temporarily disable authorization gates because they are locking out …

    …admins also.
    
    Summarised business unit redesign into business-units-v2.md
    Add and separate GraphQL definitions for businessunit.graphql and machinegroup.graphql
    Create VueJS components to demonstrate usage of Apollo + Vue for BU frontend
    Further convert some items in the munkireport blade layout from php to blade
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    5129a91 View commit details
    Browse the repository at this point in the history
  6. Dropping GraphQL (lighthouse) and graphql-playground as out-of-scope …

    …for this release. The definitions can live in this repo until ready.
    
    Create API controllers (standard REST) for BusinessUnit/MachineGroup management.
    Removed the static /business_units link from the admin menu.
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    7382c87 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d22006 View commit details
    Browse the repository at this point in the history
  8. apply machine and business unit policies

    listen to the login event to assign a role
    doco!
    set group memberships on LDAP login
    decide role membership at successful login
    set group memberships (sorta) using SAML2, needs more configurable behaviour.
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    9168d1b View commit details
    Browse the repository at this point in the history
  9. Update ReportController.php

    Fix alerting
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    4de5afc View commit details
    Browse the repository at this point in the history
  10. Update AdminController.php

    fix save_business_unit
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    4e1b7bd View commit details
    Browse the repository at this point in the history
  11. Update LoginRoleDecider.php

    Add business unit support
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    5eded02 View commit details
    Browse the repository at this point in the history
  12. Add MachineGroupMembership listener

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    6f2ed23 View commit details
    Browse the repository at this point in the history
  13. Update LoginRoleDecider.php

    Put role in session
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    093cb33 View commit details
    Browse the repository at this point in the history
  14. Update site_helper.php

    Fix get_filtered_groups
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    14acd47 View commit details
    Browse the repository at this point in the history
  15. Update LoginRoleDecider.php

    Store role in user record
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    314f4b5 View commit details
    Browse the repository at this point in the history
  16. Update web.php

    Use middleware guard for routes
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    38cbccd View commit details
    Browse the repository at this point in the history
  17. Update head.php

    Use role
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    d225e0a View commit details
    Browse the repository at this point in the history
  18. Update web.php

    Move unit routes to delete_machine
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    3090ff9 View commit details
    Browse the repository at this point in the history
  19. Update LoginRoleDecider.php

    Fix variable
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    9c0446c View commit details
    Browse the repository at this point in the history
  20. Update MachineGroupMembership.php

    Simplify logging
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    bbfde7a View commit details
    Browse the repository at this point in the history
  21. Update web.php

    Move get_machine_groups route
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    a534d79 View commit details
    Browse the repository at this point in the history
  22. Update FilterController.php

    Fix filtering
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    6ccd527 View commit details
    Browse the repository at this point in the history
  23. Update web.php

    Allow post in module routes
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    458fcf2 View commit details
    Browse the repository at this point in the history
  24. Fix module loading

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    be5580f View commit details
    Browse the repository at this point in the history
  25. Fix online migrations

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    8e669b9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    597b778 View commit details
    Browse the repository at this point in the history
  27. Update docker for composer 2.x

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    258b5e0 View commit details
    Browse the repository at this point in the history
  28. Update docker file to allow log

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    c16a8e9 View commit details
    Browse the repository at this point in the history
  29. Update dockerfile

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    9f536d8 View commit details
    Browse the repository at this point in the history
  30. Update Dockerfile

    Use builtin composer setup
    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    cdcf286 View commit details
    Browse the repository at this point in the history
  31. Add module search path to example

    bochoven authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    add6d8a View commit details
    Browse the repository at this point in the history
  32. using php.ini-production and configure php upload settings (munkirepo…

    …rt#1404)
    
    * using php.ini-production and configure php upload settings
    
    * fix missing quotation marks
    b-reich authored and mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    440221f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    430bff9 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    fddb7b0 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    cc786b1 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    2961635 View commit details
    Browse the repository at this point in the history
  37. convert client.client_detail view into blade view clients.detail

    extra trailing comma unneeded in package.json
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    ae3fd2f View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ae3932d View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    de193f6 View commit details
    Browse the repository at this point in the history
  40. Create base class AuthorizationTestCase.php to simulate access for al…

    …l role types in integration tests
    
    Add authz tests to archiver and clients controller tests
    user factory has a default value for role
    attempt to fix munkireport GitHub Actions, starting with the laravel example
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    366dd02 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    a1555cd View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a55f837 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    5f015b4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    16bdc15 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    562cf5c View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    4cfa6db View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    bc8fe25 View commit details
    Browse the repository at this point in the history
  48. Update several dependencies based upon the requirements of a new Lara…

    …vel 7.x project
    
    Add support for more environment variables that reflect the old state of db configuration on the wiki.
    No need to set up a real capsule in LegacyMigrationSupport.php because its a fake stand-in for the db instance inside the app container
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    888cb4e View commit details
    Browse the repository at this point in the history
  49. Fixed an issue running legacy migrations via the FakeCapsule: you mus…

    …t return the specific builder type of the active connection, not a generic schemabuilder instance instantiated from the DI container
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    571bf51 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    7f2df04 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    60c0ce1 View commit details
    Browse the repository at this point in the history
  52. Hella ugly copy and paste implementation of Gate::authorize() until w…

    …e can respect NOAUTH at the route level.
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    08b323f View commit details
    Browse the repository at this point in the history
  53. Implement gate based hiding of Archive button in clients/detail

    Implement gate based hiding of Admin menu in mr blade layout.
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    07ceaff View commit details
    Browse the repository at this point in the history
  54. Add a memberships helper method to legacy BusinessUnit.php

    Show role and BU in profile menu for debugging purposes.
    LoginRoleDecider.php uses members() scope function on legacy BusinessUnit.php
    Admin menu is properly hidden if not an admin in the blade layout and head partial
    mosen committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    96195f4 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    a0a6643 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Add PHPstan to check type annotations

    Gave Modules manager an ->add method to manually call from outside providers
    try something else with the GitHub actions, why not.
    Move some initialisation code in ReportController.php which prevents route:list from working.
    mosen committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    e0be3f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2021

  1. Add table users_contact_methods to store contact addresses for Noti…

    …fiable.
    
    Add standard migration `notifications` table for testing notifications using the database notifier. This wont be used as a standard receiver.
    Add column `users.locale` to satisfy requirement of localization when locale based notifications are rendered.
    Add config option `notifications.forward_events` (default true) which converts MunkiReport event rows into notifications.
    Add API's for Users and Contact Methods, and Tests for both
    Fill out BrokenClient.php notification
    business-units.js was temporarily broken by npm prune and has been commented out
    Add changelog information about event forwarding
    Add slack notification channel as a default
    Add trait ContactMethodNotifiable.php which provides a standard implementation of Notifiable using the `users_contact_methods` table.
    Add notification GeneralEvent.php which any `event` table event falls into if there are no specific implementations.
    Add MeController.php to retrieve current user information, although this might not be a standard pattern for Auth provider.
    Add NewClient.php notification
    Add `uiv` frontend package to theme Vue components in Bootstrap 3.x style.
    Add `whatwg-fetch` package to polyfill the Fetch API on older browsers.
    Add a user profile view and route.
    Implement routing of MunkiReport events via store_event() by injecting Notifications facade into store_event() when config is enabled.
    Add REST API endpoints (v6) for Users and UserContactMethods.
    mosen committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    ba27af7 View commit details
    Browse the repository at this point in the history
  2. Add user admin link to head partial AND mr.blade.php layout

    Add Users vue component and UsersTable.vue super simple data table (for now).
    Add UsersController.php for non-REST MVC users landing page.
    Add /admin/users route to the admin section.
    Compile resources/js/users.js as a Vue app for the users controller only.
    mosen committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    defde1d View commit details
    Browse the repository at this point in the history
  3. Add component UserForm.vue for user editing

    Wire up UsersList.vue to UserForm.vue in Users.vue top level view
    Discarded UsersTable.vue because it did not need such large real estate. Switched to list group (UsersList.vue).
    mosen committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    3ccceae View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2021

  1. Add Vue dependencies using global CDN to mr layout for now, as we are…

    … not using tree-shaking for every VueJS bundle.
    
    Add Spinner implementation from loading.io
    Richer design for the User editor form. Loading users partially works now.
    mosen committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    eba6b10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62e7ac7 View commit details
    Browse the repository at this point in the history
  3. Fix Request for local php

    bochoven committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    e17cb83 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Configuration menu
    Copy the full SHA
    adde1cd View commit details
    Browse the repository at this point in the history
  2. Remove MultiAuthGuard.php/NoAuthGuard.php which were earlier attempts…

    … to mix NOAUTH with authentication
    mosen committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    c2feeea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d393f9 View commit details
    Browse the repository at this point in the history
  4. Remove auth middleware from constructors of controllers and make sure…

    … it is added to web routes instead.
    mosen committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    2e515fd View commit details
    Browse the repository at this point in the history
  5. Move admin routes into their own file

    Add auth middleware to routes. The `can` middleware applies to policies only so might be redundant
    mosen committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    3b78d14 View commit details
    Browse the repository at this point in the history
  6. Complete reimplementation of the archive authorization using Larave…

    …l Policy instead of Auth Guard. Now respects business unit membership vs machine group access.
    mosen committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    ce05698 View commit details
    Browse the repository at this point in the history
  7. Quick test of a teams notification working.

    Move webhook URLs into the services.php config which is standard for Laravel.
    mosen committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    396947d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    553c484 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Move migrations from munkireport/machine into core

    Move migrations from munkireport/reportdata into core
    Modify ClassLoader so it will fall back to the normal search paths after checking each module when the model ends in _model.php
    Move views from reportdata into views/reportdata, same with machine
    Mini fluff cleanup
    Remove munkireport/reportdata and munkireport/machine from the dependency list in composer.json
    Moved JavaScript assets of reportdata and machine modules to public/assets/js/<modulename>. They may be moved later.
    Moved models of ReportData/Machine into munkireport/models namespace.
    Moved processors of ReportData/Machine into munkireport/processors namespace, these are not yet registered in any way so they will fail.
    Move and rename ReportDataModelFactory.php and MachineFactory.php into database/factories
    Moved model_lookup_helper.php from the machine module into app/helpers
    Added the README.md from reportdata into README.reportdata.md
    Add reportdata config vars into config/reportdata.php
    Add backwards compatible module routes for machine and reportdata into the web.php routes
    Add new method addCoreWidgets() which registers widgets that are part of core as a result of importing reportdata and machine modules.
    Shims may need to be added for \Reportdata_model and \Machine_model if other modules refer to them this way.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    fe39693 View commit details
    Browse the repository at this point in the history
  2. Fix imports of Reportdata_model and Machine_model using the root name…

    …space.
    
    clients_listing.php refers to the correct javascript file that was moved into assets
    Dirty hacks for core modules in Modules by adding method `addCoreModules()` and returning the Laravel view path if the module is a "core" module.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    524dcff View commit details
    Browse the repository at this point in the history
  3. Core widgets are back. Module widgets were being registered twice, an…

    …d the second time was with addModuleWidgets which adds a fixed path infix to every module (even core ones). Removed widgets from Modules class and everything is fine again.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    706d963 View commit details
    Browse the repository at this point in the history
  4. Moved a bunch of Eloquent scope traits into App\ for usage by models

    Fixed some js file references in machine views
    Reconciled some models with their current definitions (Machine / ReportData)
    Add shims for Machine_model and Reportdata_model if people are using the unnamespaced versions of those
    Re-enable some relationship finders on Eloquent models now that ReportData/Machine are in core
    Remove duplicate definition of MachinePolicy.php which will have to be rewritten anyway.
    Make ReportDataController use ReportData model
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    3e9cd15 View commit details
    Browse the repository at this point in the history
  5. Convert json KISSMVC template view to response()->json() in Machine…

    …Controller.php and ReportDataController.php
    
    Fix up several tests that are now failing because authorization is enforced.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    17600ea View commit details
    Browse the repository at this point in the history
  6. Remove useless DocBlocks

    Update ArchiverController.php to check on ReportData Model policy
    AuthServiceProvider.php checks for both Reportdata_model and App\ReportData in policy
    Rewrite query for clients/get_data into 100% Eloquent query builder.
    Remove Eloquent models Comment and Tag, they are not yet part of the rewrite.
    Annotate some arguments and return value types
    Add App\Network because some core controllers rely on it, but we cannot join to munkireport\modules\Network_model
    Tried to rewrite the query in ReportDataController.php new_clients() but it is insane.
    Moved SerialNumberModel.php out of MR\ as we will be using it in core.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    6c57bf5 View commit details
    Browse the repository at this point in the history
  7. Switch some ReportDataController.php histogram queries over to Carbon…

    … for the relative date/time formatting.
    
    Add test route reportdata/new_clients2 while refactoring the giant query for new clients graph.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    bc95d84 View commit details
    Browse the repository at this point in the history
  8. Comments

    Use response()->json() in more places instead of mr_view or jsonView
    Clean up further references to Reportdata_model
    Warn if using Controller->authorize(), it should be removed.
    Tidy up unused references.
    mosen committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    ee7cb88 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Create Laravel Middleware "ClientPassphrase" to implement the client_…

    …passphrase functionality described in the wiki. This removes that functionality from ReportController.php. This middleware is registered as "client.passphrase".
    
    Rename Machine_processor to MachineProcessor
    Protect all /report routes with the client.passphrase middleware
    Made a pretty hamfisted way of including Processors from the App\ namespace.
    More tests of ReportController.php hooray
    Fix ReportDataProcessor (renamed from Reportdata_processor)
    mosen committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    d282b36 View commit details
    Browse the repository at this point in the history
  2. Add example responses in DocBlocks so I can check against what is cur…

    …rently being returned.
    
    Re-added network ip to clients/get_data
    Tried to rewrite LocaleController.php without so much string manipulation. Parsing takes extra time so commented out for the moment.
    Invalid relative directory for machine lookup helper.
    ManagerController.php didnt need an index method OR the extra auth check (already applied at middleware)
    Add feature tests for ReportController
    Further work on ReportDataController.php trying to make a query builder version of the new_clients() method
    Some type annotation cleanup
    mosen committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    400dff7 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Renamed ModuleServiceProvider.php to ModulesServiceProvider.php so th…

    …at the former could be a base class for Module Service Providers (yeah thats confusing).
    
    Added processor registration via DI injected App\Processors class
    Update ArchiverController.php to use Laravel conventions for request and response, to make it testable.
    Add tests for many more controller methods
    Remove `me` route.
    mosen committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    ac7caf6 View commit details
    Browse the repository at this point in the history
  2. Add trait ProvidesHistogram.php to ReportData and Machine. Histogram …

    …queries were common in ReportDataController.php and MachineController.php so they could be abstracted generally for all Models.
    
    Rewrite machine/get_memory_stats to use ProvidesHistogram.php trait.
    Rewrite reportdata/get_lastseen_stats and reportdata/getUptimeStats to use ProvidesHistogram.php trait.
    mosen committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4772ad5 View commit details
    Browse the repository at this point in the history
  3. Update DataTables to 1.10.24 (munkireport#1410)

    * Merge 5.6.5 (munkireport#1407)
    
    * Update composer.json
    
    * Updated CHANGELOG
    
    * Bump version to 5.6.5
    
    * Release version 5.6.5.
    
    * Bumping to v5.6.6 for development.
    
    * Update third party module repos (munkireport#1408)
    
    * Update DataTables to 1.10.24
    
    Co-authored-by: Arjen van Bochoven <[email protected]>
    Co-authored-by: tuxudo <[email protected]>
    3 people authored and mosen committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c4fc8ff View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2021

  1. .dockerignore composer local overrides

    override php:7-apache container entrypoint for key generation and migrations to avoid pre-baking the encryption key
    rewrite parts of Dockerfile to use unprivileged user and expose more config, more volumes
    testing histogram() function w MachineController.php
    Move php.ini to a more sane location (build/)
    mosen committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    721bd81 View commit details
    Browse the repository at this point in the history
  2. create a Processor contract which encompasses the interface used for …

    …processors.
    
    switch over the /report/check_in route to ReportsController, to test the new Reports service.
    Remove index.php? from reportcommon.py, because rewrite will always be required on Laravel
    Add new service `Reports` which does much of the heavy lifting that ReportController did, and should bring a new way of adding report processors.
    Add new controller ReportsController.php which uses the new Reports service as an alternative to ReportController
    mosen committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    ce59e79 View commit details
    Browse the repository at this point in the history
  3. put GraphQL back into v6 due to popular demand.

    separate one schema per model
    update lighthouse to v5
    fix a bug in getting core module paths with append param
    mosen committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    fc0bd58 View commit details
    Browse the repository at this point in the history
  4. Ignore node_modules in docker builds

    Fleshed out all the GraphQL schemas as much as possible
    Dockerfile uses multi-stage build to include Laravel Mix (webpack) content
    install_script.php had to append a forward slash to the base url because module installers expect relative paths starting with pathname
    Move /module routes back into unauthenticated because of get_script
    mosen committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    afdbd96 View commit details
    Browse the repository at this point in the history
  5. ClientsController.php - no need to order a single result.

    Modules->getPath() intentionally broken for core modules to avoid producing subpaths of base directories
    went back to ReportController as ReportsController was doing 302 redirects, needs troubleshooting.
    mosen committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    4417ccf View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Update Laravel provided version of Bootstrap from 4.5 to 4.6

    Recompile frontend assets
    Update bargraph_widget.php to use Bootstrap 4
    Update all bootswatch themes to their Bootstrap 4 versions
    Install frontend dependencies using npm (via package.json) and then added copy commands to webpack.mix.js, which allows you to keep frontend dependencies up to date, without introducing webpack bundling
    Update frontend dependencies bootstrap, bootstrap-markdown, bootstrap-tagsinput, datatables, datatables buttons, datatables print button, jszip, marked, nvd3, moment
    Update business_unit.php view for Bootstrap 4
    Update business_units.php view for Bootstrap 4
    Update button_widget.php view for Bootstrap 4
    Update client_dont_exist.php view for Bootstrap 4
    Update client_error.php view for Bootstrap 4
    Update client_widget.php view for Bootstrap 4
    Update generic dashboard view for Bootstrap 4
    Update most admin views for Bootstrap 4
    Remove datatables.bootstrap.js, it was for Bootstrap 3. Commit datatables.bootstrap4 from the datatables-bs4 package.
    Update listings views for Bootstrap 4
    Update client detail for Bootstrap 4. The tab dropdown still tries to render behind the static navbar which is still an issue.
    Added an empty view empty.php which is for testing layout elements without any extra body content.
    Update error_widget.php for Bootstrap 4
    Significantly reworked head.php and foot.php partials to be way more consistent, and to allow the choice of CDN delivered CSS/JS or locally delivered CSS/JS. Also Bootstrap 4
    Add config file frontend.php to choose whether assets will be delivered from a CDN
    Update registered_clients_widget.php for Bootstrap 4
    Update scrollbox_widget.php for Bootstrap 4
    Updated build/update_bootstrap.py so that it would download items directly using curl instead of writing the file itself. Also switched over to bootswatch for bootstrap 4.
    Update uptime_widget.php for Bootstrap 4
    Remove unused boilerplate template welcome.blade.php
    Update widget_gallery.php for Bootstrap 4
    mosen committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    7735ce4 View commit details
    Browse the repository at this point in the history
  2. Fix version footer not being a fluid container

    Default CDN to off for CSS and JS assets, and fix a bunch of issues related to that.
    Reconcile head.php with mr.blade.php layout again, so that they closely match.
    Added popper.js to laravel webpack.mix.js config, because its a requirement of bootstrap 4.
    mosen committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    2803d58 View commit details
    Browse the repository at this point in the history
  3. Make login layout look exaclty like the MR6 authenticated navigation …

    …layout
    
    Fix logout via FORM (Laravel requires CSRF token)
    mosen committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    cb1ae2d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Put Laravel Sanctum back for API Keys issued to GraphQL and other APIs

    Create new controllers, views, and API's for issuing API keys.
    Add new REST Resources to represent results for DataTables.NET
    Docker php entrypoint does not attempt to generate an app key if one is supplied.
    GraphQL Playground uses session authentication (for now)
    API Keys menu item added to user menu
    GraphQL supports sanctum keys for authentication outside of our request domain
    mosen committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    fae3c90 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. Add experimental dashboards v2 controller which is enabled by env ALP…

    …HA_FEATURE_DASHBOARDS
    
    Recompile js assets (app.js/app.css) actually lets not track these
    Updated some required module versions to 6.0 which will break until i have push access to modules
    Add frontend for experimental dashboards v2
    Extra check for read permission on module graphql schema
    depend on vue-router, it will be needed for Dashboards v2
    mosen committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    97ed9a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d9df16 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Add i18next + vue-i18next to Vue app.js. I18n is still broken though

    Fix blue icon decoration of widget list icon by adding text-reset class (non 3rd party modules only)
    Created experimental drag/drop dashboard using vue-grid-layout which is disabled by default.
    Tree shaking vendor libraries for app.js
    Rollback dependencies on 3rd party modules so pushing to upstream doesnt break everyones local copy.
    Fix always-visible loading indicator in client listing.
    mosen committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    b5ba064 View commit details
    Browse the repository at this point in the history
  2. One step closer to delete machine working by fixing the route and cli…

    …ent side ajax. jqXHR.success() was deprecated after jQuery 3.0
    mosen committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    e03573d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcb938d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3aff1ea View commit details
    Browse the repository at this point in the history
  5. Make clients/get_data backwards compatible to satisfy older javascrip…

    …ts that expected an array of length 1
    
    Fix the dynamic dropdown list building for the Remote Control button.
    mosen committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    3a41c5b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    83c86b2 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Configuration menu
    Copy the full SHA
    9f7c02e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a498b67 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2021

  1. Update CHANGELOG

    bochoven committed May 21, 2021
    Configuration menu
    Copy the full SHA
    c8d2e88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1c3724 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    135fee7 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. Add CloudFormation stack to deploy MunkiReport PHP on ECS/fargate wit…

    …h SQLite only.
    
    Add mingrammer diagram
    Add README describing CloudFormation
    Added Local Admin Seeder to make bootstrap auth possible for containers now that NOAUTH is gone.
    mosen committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    e7b92a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2021

  1. Configuration menu
    Copy the full SHA
    5f463c9 View commit details
    Browse the repository at this point in the history
  2. Change deprecated maintainer

    bochoven committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    74bc961 View commit details
    Browse the repository at this point in the history
  3. Add github registry workflow

    bochoven committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    6a9528a View commit details
    Browse the repository at this point in the history
  4. Fix docker entrypoint

    bochoven committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    333dd9f View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Change apache port to 8080

    bochoven committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    f2ed24d View commit details
    Browse the repository at this point in the history
  2. Fix naming of dataTables css

    bochoven committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    935c953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa8844d View commit details
    Browse the repository at this point in the history
  4. Use APP_URL to generate urls

    bochoven committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    112e40a View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2021

  1. Add baseurl to saml2 config

    bochoven committed Aug 27, 2021
    Configuration menu
    Copy the full SHA
    eacedda View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Add popper.js

    bochoven committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    52be8ba View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Add README about the AWS ECS + SQLite option

    Add CloudFormation template for AWS ECS + SQLite
    Add some mingrammar based diagram python scripts to describe these AWS setups
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    4033c87 View commit details
    Browse the repository at this point in the history
  2. Global search is held behind a feature toggle `munkireport.alpha_feat…

    …ures.search`
    
    Added search to old and new style layouts
    Added laravel/scout and tntsearch dependencies (and unfortunately, the dev-master revisions of many modules)
    Add dependency for bootstrap-4-autocomplete on the search widget
    Started a Vue based search widget
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    2d61cb9 View commit details
    Browse the repository at this point in the history
  3. Add a Locales controller to support ajax fetch of i18next locales

    Vue navigation component uses wait-for-t prop to async fetch translations of menu items
    Configure i18next to use fetch API
    Add routes for locales fetching
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    4d2e618 View commit details
    Browse the repository at this point in the history
  4. Start supporting the alpha dashboard layout by creating Vue equivalen…

    …ts of Events/Scrollbox/Threshold etc.
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    25f8e58 View commit details
    Browse the repository at this point in the history
  5. Merge pull request munkireport#1427 from mosen/feature/dashboard7

    Feature/dashboard7
    tests currently failing due to PHPass issue which will be resolved in the next PR
    mosen authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    44b8bc3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    03e23a7 View commit details
    Browse the repository at this point in the history
  7. Merge pull request munkireport#1428 from mosen/hotfix/phpass

    Update PHPass dependency to new maintainer until we know impact.
    mosen authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    90806e2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    312ff14 View commit details
    Browse the repository at this point in the history
  9. Begin documenting process for upgrade

    Use laravel/legacy-factories to support classless seeders and factories
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    0ba5392 View commit details
    Browse the repository at this point in the history
  10. Add dependency laravel/legacy-factories to support non-class based se…

    …eders and factories
    
    Update public/index.php as per Upgrade guide to support Laravel 8 maintenance mode
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    c6b460b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c446fd7 View commit details
    Browse the repository at this point in the history
  12. Add Larastan to aid in detecting type issues

    MunkiReport "works" after the v8 upgrade
    mosen committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    7582043 View commit details
    Browse the repository at this point in the history
  13. Merge pull request munkireport#1429 from mosen/feature/laravel8

    Feature/laravel8
    mosen authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    7154207 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    af9e0f2 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Run 2to3 -w public/assets/client_installer

    Set python interpreter to `/usr/local/munkireport/python3`
    mosen committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    42aa57e View commit details
    Browse the repository at this point in the history
  2. phpserialize.py: def await() clashes with reserved keyword await, r…

    …enamed to await_sym()
    mosen committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    e5a8215 View commit details
    Browse the repository at this point in the history
  3. Update all code in munkilib/ that came from munki itself to the lates…

    …t munki source (to capture work aleady done on python3 compatibility in munkilib modules)
    mosen committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    7999bc2 View commit details
    Browse the repository at this point in the history
  4. phpserialize.py: support encoding of python3 strings which are suppli…

    …ed as bytes
    
    reportcommon.py: decode bytes of utf8 encoded strings which previously would have been just "str"
    mosen committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    d8e04db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1483b5b View commit details
    Browse the repository at this point in the history
  6. Merge pull request munkireport#1430 from mosen/feature/install_py3

    Feature/install py3
    mosen authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    eb045e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Update all faker factories to the Laravel 8 class style.

    Add HasFactory trait to models that support the new factory classes
    Rename seeds to seeders as per upgrade guide, amend PSR-4 autoloader
    Update tests to use new Model::factory() faker factory instead of the factory() function
    mosen committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    5551c38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e89833c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. AuthServiceProvider.php gives more context in logs when admin check f…

    …ails
    
    Fixed several feature tests which did not have correct authorization
    Add separate tests for sanctum driven api
    mosen committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    098bc90 View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1431 from mosen/hotfix/unit_test_403_a…

    …uthz
    
    Hotfix/unit test 403 authz
    mosen authored Jan 7, 2022
    Configuration menu
    Copy the full SHA
    5dba346 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Configuration menu
    Copy the full SHA
    6288623 View commit details
    Browse the repository at this point in the history
  2. Fix seeder namespaces

    mosen committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    59f566d View commit details
    Browse the repository at this point in the history
  3. Make docker entrypoint display warning if APP_URL is not set

    Ignore more dirs in docker build to try get a slight speedup
    Default the container url to http://localhost:8080
    mosen committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    b87154e View commit details
    Browse the repository at this point in the history
  4. Merge pull request munkireport#1432 from mosen/hotfix/wip_patching

    Hotfix/wip patching
    mosen authored Jan 9, 2022
    Configuration menu
    Copy the full SHA
    02cc679 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Replace abort() with response() helper in some places as it is more c…

    …orrect.
    
    Create a modules api to introspect installed modules
    Separate routes which are dedicated to inventory submission so that all the auth for clients can be lumped into one routes file
    Commented out broken global search route
    Update a significant number of dependencies
    More API tests are passing
    Added a single GraphQL test
    mosen committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    9fa5c87 View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1433 from mosen/feature/package_discovery

    Package discovery and more testing
    mosen authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    46c8894 View commit details
    Browse the repository at this point in the history
  3. Update purl.py to store response as "data" aka bytes not str(), which…

    … solves an issue when purl tries to convert every chunk in the response to str() and ends up double encoding the response data.
    
    Update reportcommon.py to decode the bytes returned by Purl
    Minor PEP code style changes.
    mosen committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    265bb53 View commit details
    Browse the repository at this point in the history
  4. Merge pull request munkireport#1434 from mosen/hotfix/purl_python3_by…

    …testring
    
    python3 compatibility in purl/reportcommon
    mosen authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    42f2677 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Replace munkireport unserializer with xKerman safe unserializer packa…

    …ge, still getting serialization errors.
    
    Change order of preference for python3's so that munki python comes before python.org
    Copy install_script.php changes to install.blade.php in case we ever move it to blade
    reportcommon.py uses second param of display_x() functions from munki so that unicode strings are converted automatically.
    mosen committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    f65963c View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Moved client routes into their own folder, so the client inventory lo…

    …gic can be separated from the web logic.
    
    phpserialize.py was failing to serialize the correct length of strings because the length calculation was taken after the conversion from unicode, but the original unicode string was given in the request body, which always forced a mismatch.
    Correct usage of display_x() functions imported from munkilib
    mosen committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    92a76b9 View commit details
    Browse the repository at this point in the history
  2. Use package xkerman/restricted-unserialize instead of built-in munkir…

    …eport unserializer.
    mosen committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    3b45ca9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6e7af7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request munkireport#1435 from mosen/hotfix/safe_unserializer

    Hotfix/safe unserializer
    mosen authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    c60e92c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf33410 View commit details
    Browse the repository at this point in the history
  6. Merge pull request munkireport#1436 from mosen/hotfix/github-actions-pkg

    Update registry action to use GITHUB_TOKEN which is the new best practice
    mosen authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    67e7f50 View commit details
    Browse the repository at this point in the history
  7. colors pkg broken by author

    mosen committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    6493807 View commit details
    Browse the repository at this point in the history
  8. colors pkg broken by author

    mosen committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    02b567a View commit details
    Browse the repository at this point in the history
  9. Merge pull request munkireport#1437 from mosen/hotfix/github-actions-pkg

    Hotfix/GitHub actions pkg
    mosen authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    686d8a0 View commit details
    Browse the repository at this point in the history
  10. Merge pull request munkireport#1380 from joncrain/master

    Adding python/json installer/file types for module template
    mosen authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    eae6b74 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

  1. minor additions to systeminfo controller which could take over from S…

    …ystemController
    
    Add comments which explain actions that are only partially migrated.
    Add v6 docker notes
    Create error pages which have the same style as v5 error view
    Increase test coverage, in some cases marking inadequate tests as incomplete.
    mosen committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    a067219 View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1438 from mosen/feature/legacy_view_up…

    …dates
    
    General view clean up and testing improvement
    mosen authored Jan 15, 2022
    Configuration menu
    Copy the full SHA
    1072a12 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. ClientsController.php uses firstOrFail instead of the client_dont_exi…

    …st.php view.
    
    Add a rough digest of what changed to the CHANGELOG.md
    mosen committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    f3fa115 View commit details
    Browse the repository at this point in the history
  2. Replace kissmvc view install_plist.php with install/plist

    Replace kissmvc view database.php with database.blade.php
    Some comments and tidy up
    First draft trial of widgets as laravel blade components.
    Remove deprecated create_local_user.php view
    Replace kissmvc view status.php with status.blade.php
    Started gallery.blade.php and dashboard.blade.php
    mosen committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    09cbecb View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1439 from mosen/feature/widget_components

    Feature/widget components
    mosen authored Jan 17, 2022
    Configuration menu
    Copy the full SHA
    afa3c44 View commit details
    Browse the repository at this point in the history
  4. Add SearchController for submitting searches for each model type.

    Make Machine and ReportData searchable
    Put search feature behind a feature flag `ALPHA_FEATURE_SEARCH`.
    Add Laravel Scout and the TNT Search Provider as a lazy option
    Add Laravel Scout Default Config
    Add search routes
    Ignore TNTSearch index in .gitignore
    mosen committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    0ea1054 View commit details
    Browse the repository at this point in the history
  5. Merge pull request munkireport#1440 from mosen/feature/scout_search_c…

    …herry_pick
    
    Global search merge from scout branch (alpha)
    mosen authored Jan 17, 2022
    Configuration menu
    Copy the full SHA
    2127a14 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. Add facade accessors for Dashboards and Widgets

    Add function mr_view_output() for rendering a KissMvc view into an output buffer and returning it.
    Change the default dashboard to use a blade view in order to test blade view components as widgets.
    Added lots of inline comments to munkireport Dashboard and Widgets classes to clarify where changes could be made to introduce backwards compatible dashboard/widget components.
    Module based widgets and tabs have a module name in their info array so that we could use @include instead of mr_view() in future.
    Remove unused ModuleServiceProvider.php, I have made many attempts at refactoring module support and theres probably still more cruft.
    Add support for rendering module views via the Blade View namespace syntax, i.e module::view will look for the php based view, even if the module was hand copied/installed.
    Add a widget service provider to make Widgets class more laravel idiomatic.
    Add each of the stock yaml widgets as a Blade View Component.
    Move core widget view paths out of the Widget class and back into the config so we can have two Widget implementations running at the same time.
    More conversion notes in docs/illuminate
    Remove auth views that are no longer in use.
    Create a blade view template for dashboards that uses dynamic components to display yaml based widgets, or uses the "Legacy" component to display a wrapped KissMvc widget.
    Replace most hand crafted error redirects with the Laravel standard error handling and error templates in errors/404.blade.php for example.
    Create a blank layout that does not use any session vars so that `php please down` actually shows the maintenance view without throwing an exception.
    Override only the default dashboard so that it uses the new controller action.
    mosen committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    a5b2d96 View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1441 from mosen/feature/yaml_widget_co…

    …mponents
    
    Substantial backwards/forwards compatible views and widgets services
    mosen authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    7c24a9b View commit details
    Browse the repository at this point in the history
  3. Move compatibility providers to their own section for clarity

    Lots of documentation about how compatibility is provided
    Add upgrade guide
    Removed some seemingly unused classes from the MR\ namespace that might have been imported from the previous rewrite attempt.
    mosen committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    8d9a1c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. LoginRoleDecider.php can use email addresses as the user principal fo…

    …r role decisions.
    
    Dashboard.php getDropdownData sometimes took null parameters, so the type hint has been fixed.
    Change ROLES_ADMIN example config to use admin@localhost which is now the default admin user
    mosen committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    8f5eec1 View commit details
    Browse the repository at this point in the history
  2. Import and convert tag module to core.

    Change all tag classes to use Laravel convention.
    bootstrap-tagsinput is failing with bootstrap 4
    mosen committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    bceff33 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1442 from mosen/feature/cleanup

    Feature/cleanup
    mosen authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    a2e730d View commit details
    Browse the repository at this point in the history
  4. Merge pull request munkireport#1443 from mosen/feature/tag_merge

    Import and convert tag module to core.
    mosen authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    fa21298 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d7ac144 View commit details
    Browse the repository at this point in the history
  6. Merge pull request munkireport#1444 from mosen/feature/comment_merge

    Import and convert comment module to core.
    mosen authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    0b94f87 View commit details
    Browse the repository at this point in the history
  7. Import and convert event module to core.

    Add factories and feature tests for modules converted to core.
    Add ORM relationships enabled by importing some modules to core.
    Deprecate the use of event filtering via event.yml
    mosen committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    1290594 View commit details
    Browse the repository at this point in the history
  8. Merge pull request munkireport#1445 from mosen/feature/event_merge

    Import and convert event module to core.
    mosen authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    cbbec34 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Remove redundant framework/down code from ReportController.php

    Remove deprecated show/custom action.
    Remove ununsed _pageNotFound() method, replaced with NotFoundException from Laravel.
    Add tons of comments to older codebase.
    YAML listings are rendered using blade instead of kissmvc view
    Lots of static type annotations added.
    Older view abstractions like Listing and Widgets now include a view namespace or component name in case you want to use blade instead of php with an older style module as part of a migration strategy.
    Widgets.php supports the addition of custom blade components via addComponent() as widgets so that we can support blade, yaml, or php.
    Started a ModuleServiceProvider abstract provider for v6 style modules to register widgets/listings/reports.
    Some minor typo cleanup.
    Update docs to reflect deprecation notices.
    Fix the Vue spa layout in case any further features are developed there.
    Add dependency date-fns to format dates in Vue
    mosen committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    2cf4367 View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1446 from mosen/feature/v6_module_loading

    Widget compatibility with custom components and misc. cleanup
    mosen authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    949b060 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Add vue-apollo and peer deps to frontend for GraphQL frontend demo

    Extract sourcemaps in mix dev configuration
    Add bootstrap 4 themes that were missing
    Add GraphQL type schemas for comment/event/tag
    Reorder lighthouse-php middleware as per the recommended settings
    Change /dashboards alpha feature to use mix() function so that Hot Module Reload works for Vue components
    Add GraphQL client to Vue frontend parts
    Create messages widget demo of GraphQL.
    Add plugin config for GraphQL IDE Plugin
    Fix location of mix-manifest.json by explicitly setting public js path in webpack.mix.js
    mosen committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    d35940d View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1447 from mosen/feature/gql_query

    Fix GraphQL Support
    mosen authored Jan 22, 2022
    Configuration menu
    Copy the full SHA
    e39adc4 View commit details
    Browse the repository at this point in the history
  3. Add support for OpenID Connect/OAuth2 SSO via Socialite.

    Add socialite provider Azure AD.
    Add guide to configuration of Microsoft Azure AD with MunkiReport-PHP.
    Add example config section for Azure AD sign-in
    Add oauth2 redirect and callback routes which are scoped to provide multi-provider sso in future.
    mosen committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    89c07be View commit details
    Browse the repository at this point in the history
  4. Merge pull request munkireport#1448 from mosen/feature/azure_ad_oidc

    OIDC + AAD support for SSO
    mosen authored Jan 22, 2022
    Configuration menu
    Copy the full SHA
    806142e View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Configuration menu
    Copy the full SHA
    33f3870 View commit details
    Browse the repository at this point in the history
  2. Add deprecation logging to deprecated API's with opt-in log file

    Lots of docblocks explaining deprecated API's and replacements
    Attempt to remove deprecated API usage from core.
    Go back to legacy implementation of Business Units as the new one is not ready.
    Remove several functions from v5 helpers library.
    mosen committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    9bd2451 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1449 from mosen/feature/legacy_code_hunt

    Remove more legacy code
    mosen authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    0413c93 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Move most of the remaining v5 compatibility classes from MR\ namespac…

    …e to Compatibility\ namespace to be clearer about intentions
    
    Remove redundant Machine_model which is now aliased by App\Machine
    Add VueTableScopes to App\ namespace
    Move legacy cache/hash/event into App\ as they will not go away soon
    Put business units rewrite behind a feature flag
    Upgrade a couple of small views from php to blade
    Reconcile view layouts to be more similar
    Remove the MR\ namespace from the autoloader
    mosen committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    f9b124b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e868c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78fcc0b View commit details
    Browse the repository at this point in the history
  4. Remove munkireport\models\Reportdata_model and replace with App\Repor…

    …tData
    
    alias \Reportdata_model to App\ReportData
    mosen committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    2f8c37c View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Fix invalid class name in CommentController.php

    Fix invalid class namespace in BusinessUnit.php
    Move some munkireport\models into the Compatibility namespace.
    Move most shim functions into the compatibility dir
    Update composer.json to use new shim directory
    Reconcile phpunit.xml with latest Laravel template.
    Futile struggle with log configuration in unit test environment
    mosen committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    d0e7c21 View commit details
    Browse the repository at this point in the history
  2. Fix missing save() in MachineGroupsController.php

    Move a number of classes which were from v5 or earlier into the Compatibility namespace
    Update incorrect phpDoc blocks
    Add an MRQueryBuilder.php contract to track the implementation of the compatibility layer.
    Reintroduce the deprecations log channel but disable it during feature/unit testing
    Start a FilterScope for Eloquent to implement half of the required methods from MRQueryBuilder
    Update shims/v5.php to alias moved classes into Compatibility
    Default the deprecations log channel to the null driver
    Fix assertions in tesst MachineGroupsControllerTest.php
    Fix factory requirements in test ArchiverControllerTest.php
    Mark some tests which are impossible to satisfy right now as incomplete.
    Remove namespaces from autoloader which are completely empty now.
    mosen committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    b827098 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1451 from mosen/feature/legacy_code_hunt2

    Feature/legacy code hunt2
    mosen authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    bed0f3c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Make AppController.php so that there is a landing page for SPA

    Rename members relationship on BusinessUnit.php to users
    Swap some models to SerialNumberModel.php
    Add a couple of missing model relationships
    Start a business-units config file for v2
    Add migrations for pivot tables on business unit machine groups
    Keep extending graphql schema to facilitate more relationship queries and mutations in business units
    Moved vue stuff into modular dir structure
    Added bootstrap-vue and vue-typeahead-bootstrap dependencies
    Add compatibility for graphql-tag loader to mix
    mosen committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    c6f9d99 View commit details
    Browse the repository at this point in the history
  2. Move GraphQL schema types to their modules out of general schema

    Significant work on Business unit components and GraphQL mutations which is still evolving into something concise.
    mosen committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    9ceb069 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1452 from mosen/feature/business_units…

    …_v2_draft
    
    Feature/business units v2 draft
    mosen authored Jan 27, 2022
    Configuration menu
    Copy the full SHA
    1d1cad5 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Fix approx 160 PHPStan errors with the remainder needing further inve…

    …stigation
    
    Include class aliases in phpstan config
    mosen committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    0237d0f View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Configuration menu
    Copy the full SHA
    15f9fcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2630cb5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1453 from mosen/hotfix/phpstan_fixes

    Hotfix/phpstan fixes
    mosen authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    c44a32c View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. Rename github workflows to describe their purpose

    Add recommendations from setup-php github action for composer setup and many other optional parameters.
    Copied the existing build workflow into a pull request workflow which will be test focused as opposed to deploy/publish focused
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    e6dda86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc99951 View commit details
    Browse the repository at this point in the history
  3. Merge pull request munkireport#1458 from mosen/feature/github-actions…

    …-release
    
    Feature/GitHub actions release
    mosen authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    5fee9eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad29545 View commit details
    Browse the repository at this point in the history
  5. Merge pull request munkireport#1459 from mosen/feature/github-actions…

    …-release
    
    Ignore some step failures to continue developing workflow
    mosen authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    199cedd View commit details
    Browse the repository at this point in the history
  6. Add an ad-hoc build and upload workflow, to test artifact release bui…

    …ld process
    
    Add a release-on-tag workflow which is incomplete.
    Rename `build and test` to just `test`, because the workflow is really about testing, building is a side effect.
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    03ddfcb View commit details
    Browse the repository at this point in the history
  7. Merge pull request munkireport#1460 from mosen/feature/github-actions…

    …-release
    
    GitHub Actions Improvements
    mosen authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    50407f7 View commit details
    Browse the repository at this point in the history
  8. Ignore laravel mix build output

    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    b0a7dfe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9610250 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e3b6f85 View commit details
    Browse the repository at this point in the history
  11. Switch to archive creation as recommended.

    Try a draft release using commit sha as the release version
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    5ff95e1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8ee1830 View commit details
    Browse the repository at this point in the history
  13. Rename build-adhoc.yml to build and release WIP, because it now draft…

    …s a release of WIP for each build
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    41b8689 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ddc7c78 View commit details
    Browse the repository at this point in the history
  15. Move js dependencies out of devDependencies unless they are actually …

    …for unit/integration/e2e testing
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    7575b31 View commit details
    Browse the repository at this point in the history
  16. Add npm caching to wip release action

    Name wip releases with a commit sha suffix
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    c3685ef View commit details
    Browse the repository at this point in the history
  17. Disable action to build wip on push

    Sync wip action to prod tag action
    mosen committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    1ad672f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    758b467 View commit details
    Browse the repository at this point in the history
  19. Merge pull request munkireport#1461 from mosen/wip

    Add wip release and tagged release actions
    mosen authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    b4506dd View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Make github action release name the same as the manual process.

    Move deployment scripts/aids to deploy/ dir
    mosen committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    bba2fed View commit details
    Browse the repository at this point in the history
  2. Merge pull request munkireport#1462 from mosen/wip

    Make github action release name the same as the manual process.
    mosen authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7cab50a View commit details
    Browse the repository at this point in the history

Commits on May 7, 2022

  1. Configuration menu
    Copy the full SHA
    198cd2f View commit details
    Browse the repository at this point in the history
  2. Update python3 hashbang

    bochoven committed May 7, 2022
    Configuration menu
    Copy the full SHA
    22d936c View commit details
    Browse the repository at this point in the history
  3. Build wip image on push

    bochoven committed May 7, 2022
    Configuration menu
    Copy the full SHA
    adf70b8 View commit details
    Browse the repository at this point in the history
  4. Fix yaml

    bochoven committed May 7, 2022
    Configuration menu
    Copy the full SHA
    b6e13dc View commit details
    Browse the repository at this point in the history

Commits on May 8, 2022

  1. Configuration menu
    Copy the full SHA
    d926609 View commit details
    Browse the repository at this point in the history
  2. Update disk_report to py3

    bochoven committed May 8, 2022
    Configuration menu
    Copy the full SHA
    5d9915a View commit details
    Browse the repository at this point in the history
  3. Update modules to py3

    managedinstalls, munkiinfo, network, security
    bochoven committed May 8, 2022
    Configuration menu
    Copy the full SHA
    776a448 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7fe7efb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51d4afa View commit details
    Browse the repository at this point in the history
  6. Skip wip builder

    bochoven committed May 8, 2022
    Configuration menu
    Copy the full SHA
    0186623 View commit details
    Browse the repository at this point in the history
  7. Update composer

    bochoven committed May 8, 2022
    Configuration menu
    Copy the full SHA
    1af09d4 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Update logging.php

    bochoven committed May 20, 2022
    Configuration menu
    Copy the full SHA
    5d3fedb View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. Remove the firewall package

    bochoven committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    a9d32ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f086e75 View commit details
    Browse the repository at this point in the history
  3. Removing network module

    To get rid if the migration error that
    2022_04_10_000001_network_fix_vlans causes
    bochoven committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    5b9b95f View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    e6b924e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89d7320 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f1d0a1d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Reconcile some differences from Laravel 9 app skeleton to current mun…

    …kireport-php
    
    Update dependencies incrementally
    mosen committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    496874e View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Update laravel-mix to laravel-vite-plugin using migration guide.

    Notes about failing tests
    Make docker build work again
    Move webpack out of the way but still needed to refer to copy tasks
    mosen committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    298a032 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Very rough notes about steps taken to upgrade to Laravel 9 which need…

    … to be written out properly
    
    Remove graphql-tag dependency from Vue components
    Switch business units v2 route to business-units
    vue-typeahead-bootstrap not compatible with VueJS 3, commented out until a suitable replacement can be found.
    Remove bootstrap-vue which so far was only referenced for icon font components
    Removed v-wait-for-t directive from translations because vue-i18next had to be replaced by vue-i18n which does not support this directive
    vue-grid-layout is not compatible with VueJS 3, commented out until a suitable replacement can be found.
    Upgraded vue-router to v4 for compatibility with VueJS 3
    bootstrap.js updated as per laravel migration guide
    Removed files related to laravel-mix which is replaced by Vite
    Moved i18n setup code to i18n.js
    require()s had to be moved to imports because Vite only supports this
    Fix some blade views containing @Vite
    business units v2 being disabled also disables the route from being accessed
    Remove @vue/cli-shared-utils, no longer needed
    Remove vue-loader and other webpack supporting libraries
    Add vite plugins to support self-signed SSL and static asset copying (TBD)
    mosen committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    dbfbd5c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2022

  1. Added vite plugins for self-signed certs in local dev, vue template t…

    …ransformation for sfcs, static copy to mimic the webpack static copy
    mosen committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    850a2da View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Added a wait to the php entrypoint just in case MariaDB does not come…

    … up first, this is a temporary measure and the container should be doing/relying upon a health check.
    
    The example docker-compose.mariadb.yml used a host mounted volume which broke testing when flipping between munkireport versions. This has been moved to a container volume.
    The mariadb dependency in docker-compose.mariadb.yml is fixed to a particular version to satisfy requirements when the pull policy disregards the latest tag.
    You cannot use the service name "db" in a compose file as it will clash with Laravel database config environment vars if docker-compose is providing env vars (the old service linking way).
    mosen committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    1df6f59 View commit details
    Browse the repository at this point in the history
  2. Replace outdated GitHub Actions

    mosen committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    73508ad View commit details
    Browse the repository at this point in the history
  3. A bug in the local admin seed script prevented restarts of containers…

    … from working.
    
    Update docker-compose examples to use new-style config vars
    Move all the documentation around so that the v6 docs are at the root of docs/
    mosen committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    9235268 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Add command config:debug to show effective database configuration ins…

    …ide a container where there are multiple config sources and the true settings are confusing to determine.
    
    Remove Dockerfile ENV DB_CONNECTION which made it impossible to use a v5 database config with a container in a backwards compatible way
    mosen committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    cba1f2c View commit details
    Browse the repository at this point in the history
  2. Reinstate earlier logic for determining correct python3 interpreter, …

    …except i moved macadmins python3 to the most preferred (because munkireport-runner bails without pyobjc).
    
    The API for League\Flysystem changed when it got upgraded to v3 which broke /install/get_paths, which is now fixed
    mosen committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    b586ca6 View commit details
    Browse the repository at this point in the history
  3. reinstated filters in /install/get_paths so synology/hfs forks arent …

    …downloaded (what year is it).. anyway
    mosen committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    0930d57 View commit details
    Browse the repository at this point in the history
  4. Make navbar scrollable

    Guillon88 authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    99b3461 View commit details
    Browse the repository at this point in the history