Commit Graph

8596 Commits (pbarnett/update-getting-started-video)

Author SHA1 Message Date
Jason Stirnaman 630002bed1
Update content/shared/influxdb3-cli/create/trigger.md 2025-05-21 10:48:34 -05:00
peterbarnett03 e8e69d9804
fix: clarify that a plugin filename is needed 2025-05-21 09:14:22 -04:00
Jason Stirnaman 57f600c86f
Merge pull request #6070 from influxdata/feat-oss-2.7.12-release
feat(oss2): Release notes for OSS 2.7.12
2025-05-20 17:51:32 -05:00
Jason Stirnaman 50a9d7c796 feat(oss2): 2.7.12 release notes: include bug fix, bump version 2025-05-20 16:24:06 -05:00
Jason Stirnaman fae826f6ef
Merge branch 'master' into feat-oss-2.7.12-release 2025-05-20 15:54:49 -05:00
Jason Stirnaman 749c8a41ff
Merge pull request #6082 from influxdata/fix-cleanup-enterprise-admin-token-endpoint
fix(ent3): Remove 'enterprise' from /api/v3/configure/token/admin end…
2025-05-20 11:40:32 -05:00
Jason Stirnaman b66e602c7e
Merge branch 'master' into fix-cleanup-enterprise-admin-token-endpoint 2025-05-20 11:18:05 -05:00
Jason Stirnaman b79269b11a fix(ent3): Remove 'enterprise' from /api/v3/configure/token/admin endpoint 2025-05-20 11:10:38 -05:00
Jason Stirnaman ccd9ab1ade
Merge pull request #6081 from influxdata/chore-update-mono-version
chore(mono): update latest to 3.0.3
2025-05-20 09:37:32 -05:00
Jason Stirnaman e90e513f47 chore(mono): update latest to 3.0.3 2025-05-20 09:35:08 -05:00
Jason Stirnaman ff1c55800f
Merge pull request #6078 from influxdata/hotfix-database-revoke-token
hotfix(clustered): fix product name and remove dupe file
2025-05-19 18:09:27 -05:00
Jason Stirnaman bf6c9ab4b3 hotfix(clustered): fix product name and remove dupe file 2025-05-19 18:05:55 -05:00
Jason Stirnaman 94392b740f
Merge pull request #6077 from influxdata/fix-isset-called-on-nil-values
chore(hugo): Update shortcodes and templates to avoid calling isset o…
2025-05-19 17:56:41 -05:00
Jason Stirnaman f8f48d451a
Merge branch 'master' into feat-oss-2.7.12-release 2025-05-19 14:58:40 -05:00
Jason Stirnaman 30f7495a72 chore(hugo): Update shortcodes and templates to avoid calling isset on <nil> 2025-05-19 14:57:15 -05:00
Jason Stirnaman 18b90035a4 fix: broken links and formatting, missing Management API ReDoc security section for auth types 2025-05-19 14:09:38 -05:00
Jason Stirnaman 6f8707363d
Merge pull request #6075 from influxdata/6072-update-the-latest-stable-oss-callout-to-3-core
6072 update the latest stable oss callout to 3 core
2025-05-19 14:04:44 -05:00
Jason Stirnaman 8a7edf01d4
Merge branch 'master' into 6072-update-the-latest-stable-oss-callout-to-3-core 2025-05-19 14:01:19 -05:00
Jameelah Mercer 2cd8687246
Merge pull request #6002 from influxdata/5949-add-api-reference-examples-to-influxdb3
Adding adequate CLI examples for creating triggers
2025-05-19 10:43:43 -07:00
Jason Stirnaman 9da9b8570e
Apply suggestions from code review 2025-05-19 12:40:19 -05:00
Jason Stirnaman f81b2e27bc fix(layout): Missing closing paren 2025-05-19 12:35:17 -05:00
Jameelah Mercer 59dca83f14
Update content/shared/influxdb3-cli/create/token.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:33:35 -07:00
Jameelah Mercer adb3264f4d
Update content/shared/influxdb3-cli/create/token.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:33:18 -07:00
Jameelah Mercer 2540cee9cf
Update content/shared/influxdb3-cli/create/token.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:33:01 -07:00
Jameelah Mercer f245785139
Update content/shared/influxdb3-cli/create/table.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:32:44 -07:00
Jameelah Mercer 02035d2f52
Update content/shared/influxdb3-cli/create/table.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:32:25 -07:00
Jameelah Mercer 185c2faaa9
Update content/shared/influxdb3-cli/create/distinct_cache.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:31:56 -07:00
Jameelah Mercer 9adda3e659
Update content/shared/influxdb3-cli/create/distinct_cache.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:31:44 -07:00
Jameelah Mercer d16c2264d6
Update content/shared/influxdb3-cli/create/distinct_cache.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:31:30 -07:00
Jameelah Mercer 138decaf3f
Update content/shared/influxdb3-cli/create/distinct_cache.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:31:17 -07:00
Jameelah Mercer e0564330a2
Update content/shared/influxdb3-cli/create/distinct_cache.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-19 10:30:55 -07:00
Jason Stirnaman 6ee0fb495f
Update layouts/index.html
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-05-19 11:57:00 -05:00
Jason Stirnaman 1dce052e56 fix(JS): Rename CommonJS scripts to .cjs extension, keep type: module as the project default. Update and fix ESLint configuration.
- Renames JavaScript files in flux-build-scripts and api-docs/openapi/plugins to .cjs file extension to declare them as CommonJS module syntax.
2025-05-19 11:34:42 -05:00
Jason Stirnaman f53eaf88d9 fix(example): Bad link 2025-05-19 09:55:50 -05:00
Jason Stirnaman da767f5228 chore(test): e2e test improvements:
- Link checker should report the first broken link
- Link checker should only test external links if the domains are in the allowed list
- If test subjects don't start with 'content/', treat them as URL paths and don't send them to map-files-to-urls.js.
2025-05-19 09:55:06 -05:00
Jason Stirnaman 02e10068ad - **Improved successor handling in stable-version.html**
- Fixed logic to maintain current product context while using successor for version info
  - Added appropriate successor product display in callout warning
  - Fixed conditions for when callout should appear
  - Fixed potential `isset <nil>` problems with proper nil checks before accessing properties

- **Added comprehensive Cypress tests for successor relationship**
  - Created `stable-version-callout.cy.js` for testing successor behavior
  - Tests that `/influxdb/v1/` and `/influxdb/v2/` pages show successor callout
  - Verifies "InfluxDB 3 Core" appears in callout with correct links
  - Checks product data configuration in `products.yml`
  - Includes JavaScript error detection

- **Configured environment-specific Hugo settings**
  - Added `/config/testing/config.yml` for test environment
  - Configured port 1315 for test environment
  - Added build parameters specific to testing context
  - Separated test environment from development environment

- **Updated Docker configuration**
  - Added new package.json script for building Docker image
  - Improved Docker-based testing commands
2025-05-19 09:55:06 -05:00
Jason Stirnaman 4cfff239f3 End-to-end testing, CI script, and JavaScript QoL improvements:
- **Environment variable formatting** - Updated environment variable configuration from array format to object format to comply with Lefthook schema validation requirements.
- **Unified link testing** - Consolidated multiple product-specific link testing commands into a single `e2e-links` command that processes all staged Markdown and HTML files across content directories.
- **Package script integration** - Modified commands to use centralized yarn scripts instead of direct execution, improving maintainability and consistency.
- **Source information extraction** - Enhanced to correctly extract and report source information from frontmatter.
- **URL and source mapping** - Improved handling of URL to source path mapping for better reporting.
- **Ignored anchor links configuration** - Added proper exclusion of behavior-triggering anchor links (like tab navigation) to prevent false positives.
- **Request options correction** - Fixed Cypress request options to ensure `failOnStatusCode` is properly set when `retryOnStatusCodeFailure` is enabled.
- **Improved error reporting** - Enhanced error reporting with more context about broken links.
- **New test scripts added** - Added centralized testing scripts for link checking and codeblock validation.
- **Product-specific test commands** - Added commands for each product version (InfluxDB v2, v3 Core, Enterprise, Cloud, etc.).
- **API docs testing** - Added specialized commands for testing API documentation links.
- **Comprehensive test runners** - Added commands to run all tests of a specific type (`test:links:all`, `test:codeblocks:all`).
- Fix Docker build command and update CONTRIBUTING.

chore(js): JavaScript QoL improvements:

- Refactor main.js with a componentRegistry object and clear initialization of components and globals
- Add a standard index.js with all necessary exports.
- Update javascript.html to use the index.js
- Remove jQuery script tag from header javascript.html (remains in footer)
- Update package file to improve module discovery.
- Improve Hugo and ESLint config for module discovery and ES6 syntax
2025-05-19 09:50:33 -05:00
Jason Stirnaman 853e628880 chore(ci): Shortcode tests using example.md. Support test-only files (such as example.md) without abusing draft mode.
- Add a frontmatter test-only attribute for files like example.md. Don't use draft: true for these files.
- Add support in index.html for the attribute so that the files are only rendered when running in the testing environment.
- e2e smoke test using example.md, ensure it renders without JavaScript errors.
2025-05-19 09:33:34 -05:00
meelahme b3b087bf45 Clarify token usage instructions and reinforce one-time visibility 2025-05-16 21:07:13 -07:00
meelahme 74039f1919 resolving lint check warning 2025-05-16 20:52:38 -07:00
meelahme 83d800be46 minor update to table.md 2025-05-16 20:50:53 -07:00
meelahme c60766be3e updating verification example to be more precise 2025-05-16 20:47:05 -07:00
meelahme fa8e6114f9 Fix pytest.mark.skip rendering issue in SHOW TABLES example output block 2025-05-16 20:38:32 -07:00
meelahme d8e043e193 Clarify table creation behavior in CLI docs; add note about automatic creation on write 2025-05-16 20:10:56 -07:00
Jameelah Mercer ed3aa1ff30
Update content/shared/influxdb3-cli/create/token.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 19:39:13 -07:00
Jameelah Mercer 7f1a3b6cec
Update trigger.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 14:21:36 -07:00
Jameelah Mercer 69170973f8
Update trigger.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 14:21:25 -07:00
Jameelah Mercer cf87936e97
Update trigger.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 14:21:18 -07:00
Jameelah Mercer a2145f0f98
Update trigger.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 14:21:12 -07:00
Jameelah Mercer ef239efffa
Update token.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-05-16 14:21:05 -07:00