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

WIP: Sync with fork #35

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

Conversation

livehybrid
Copy link
Collaborator

Overview of updates

Functionality Enhancements

  • Dashboard Parsing: Dashboards and their tags can now be dynamically parsed and selected during project setup, allowing for greater flexibility in dashboard management.
  • JWT Authentication: The introduction of simple JWT-based authentication mechanisms based on specific user/pass combo defined in environment variables..

CLI Tool Enhancements

cli/init.js

  • Introduced parseDashboardsAndTags function to parse dashboards and associated tags from environment variables or prompts.
  • Introduced functionality to inject custom visualizations in a folder defined in DASHPUB_CUSTOM_VIZ_PATH

Template Updates

package.json Dependencies

  • Added jsonwebtoken and cookies-next to dependencies for handling JWT authentication and cookies management.

New Login Component

  • Introduced a new login.js component in template/src/components for handling user authentication with a simple Splunk UI styled login form.

Page Component Styling

  • Minor styling adjustments to template/src/components/page.js for improved layout and readability.

Middleware for Authentication

  • Implemented middleware in template/src/middleware.ts to verify JWT tokens and manage access control, if enabled.

Dashboard Page Enhancements

  • Updated template/src/pages/[dashboard].jsx to support dynamic dashboard rendering with enhanced URL handling for images.

API Data Handling

  • Improved error handling and token authentication in template/src/pages/api/data/[dsid].js.

Login API Endpoint

  • Added a new API endpoint template/src/pages/api/login.js for handling login requests and token generation.

Login Page

  • Created a new login page template/src/pages/login.jsx integrating the Login component with overall theme support.

livehybrid and others added 30 commits March 2, 2022 14:30
feature: Dashboard selection from specific app
Add token auth capability
Allow setting empty tags for future use
Add token auth capability
Fix app context and upgrade template to latest components
Rebase and feature improvements (app/tags/images)
livehybrid and others added 21 commits December 9, 2022 11:43
Use dashboard default refresh time if set
* Added Tag options and updated yarn

* Disable NextJS Telemetry

* Fix embedded images

* Initial add of Docker image

* Rename

* Update docker-compose-envs.yml

* Create README.md
* Allow referencing static assets

* Update package.json

* Upgrades winter 2023

* Updates to latest dependencies

* Updated deps

* Updated intialMode

* homepage footer
@livehybrid livehybrid changed the title Basic Auth / Tags via env vars / custom Viz features WIP: Sync with fork Feb 27, 2024
* Allow referencing static assets

* Update package.json

* Upgrades winter 2023

* Updates to latest dependencies

* Updated intialMode

* homepage footer

* Update to newer node alpine image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant