Commit Graph

22 Commits (12305352fd8dc8ac2daac529ce94c4f451da82a4)

Author SHA1 Message Date
Scott Anderson cbdfc0e525
Collect user feedback per page and restructure modals (#4014)
* WIP feedback forms

* WIP complete feedback lifecycles

* finalize page feedback interactions

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
2022-05-13 16:35:01 -06:00
Jason Stirnaman 823459b276
Fix/influxdb urls (#3829)
* fix: set cookie to empty string if undefined.

* fix: indent.

* fix: run validation on every keyup, delayed by 500ms.

* fix: replacing URLs and hosts.
1. Safari (and FF?) don't support regex lookbehinds. Instead of a
   lookbehind, capture the preceding and following character of a
   matched hostname then check that they don't match URL delimiter
   characters (to avoid altering a full URL).
2. When replacing full URLs, match an optional port pattern to avoid
   partial replacement, e.g. if the previous URL was http://a.com,
   the user changed to http://a.com:90, and we've already replaced
   once, replace the whole URL, not
   just http://a.com with http://a.com:90.
Some refactoring for efficiency and debugging.

* fix: URL validation. Let URL() tell us if it's valid. If it's not, check the pieces with regex. Improve the domain pattern to require a host (not just a port number).

* Update assets/js/influxdb-url.js

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2022-03-07 11:30:04 -06:00
Scott Anderson ddc41fa055
Support cloud regions with multiple clusters in the docs (#3693)
* support multiple clusters in cloud regions

* Apply suggestions from code review

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
2022-02-02 14:00:34 -07:00
Jason Stirnaman 94445ea114
URL pattern fixes (#2995)
* fix: Wrong URL to CLI download. Remove trailing slash preventing regex match of cloud2 URL.

* fix: Prevent hostname pattern from matching values that contain URL path. Remove the ':' exclusion from the hostname pattern to prevent re-replacing cloud URLs that contain 'cloud2'. Compare and use URL().origin to avoid unwanted trailing slashes added by URL().href.
2021-08-10 09:29:37 -05:00
Scott Anderson c9dcb0c841
Correctly update InfluxDB URLs that don't have a trailing slash or URL path (#2925)
* WIP debugging URL js

* correctly update influxdb urls without a trailing slash or url path
2021-07-27 15:24:22 -06:00
Jason Stirnaman f0bc51f1cb
Fix example urls 2861 (#2863)
* fix: fix broken link by adding API guide for creating a bucket.  - add example code.  - add aliases for pages moved from Tools.

* fix: move create a bucket into the existing page for now. Copy example to API quick start.

* Update content/influxdb/v2.0/organizations/buckets/create-bucket.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/organizations/buckets/create-bucket.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/organizations/buckets/create-bucket.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/organizations/buckets/create-bucket.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/api-guide/api_intro.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2.0/api-guide/api_intro.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* fix: remove alias (#2861)

* fix: replace correct URLs, hostnames, protocols (#2861)
- Replaced recently added "parsed" URL objects with map()
  to get the hostname replacements separately.
- Iterate over hostname replacements and only replace if the
  match isn't preceded by `/` or `.`.

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2021-07-20 16:17:30 -06:00
Jason Stirnaman 39e775be62 Merge branch 'master' of github.com:influxdata/docs-v2 into feature/2689-get-started-with-api
* 'master' of github.com:influxdata/docs-v2: (63 commits)
  CLI fixes (#2844)
  Fix links (#2828)
  Fix/2759 1.x query api (#2841)
  fix: updating windows start instructions (#2842)
  Add static legend to visualization examples (#2837)
  Fix Windows CLI download link (#2840)
  Fix incorrect Telegraf output settings info (#2754)
  Move static legend to cloud-only (#2798)
  ThingWorx integration (#2558)
  edits
  Update content/influxdb/v2.0/process-data/task-options.md
  Update content/influxdb/v2.0/process-data/task-options.md
  Update task-options.md
  hr eg covers itt
  1.19.1 release notes (#2819)
  edit
  fixes issue #2672 https://github.com/influxdata/docs-v2/issues/2672
  Update content/kapacitor/v1.6/guides/anomaly_detection.md
  Update content/kapacitor/v1.5/guides/anomaly_detection.md
  Update content/kapacitor/v1.4/guides/anomaly_detection.md
  ...
2021-07-15 13:50:48 -05:00
Jason Stirnaman 9bb3340b02
Fix/2759 1.x query api (#2841)
* fix: 1.x compat api. Clarify authentication schemes, parameters, and use cases for OSS and Cloud (#2759)

* fix: curl examples

* update: add node.js examples

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2021-07-14 16:59:39 -05:00
Jason Stirnaman 97c34c2efb update: set cookie for preferred client library in URL path. Activate the code-tab from cookie for query param. Tab text is normalized for matching if it doesn't first match exactly. (#2689) 2021-06-15 17:03:31 -05:00
Scott Anderson ec6fec8c0b hotfix: fix cardinality examples, update URL selector js, closes influxdata/DAR#159 2020-12-16 08:24:21 -07:00
Scott Anderson 942203d351
2.0 GA and separate Cloud from OSS (#1805)
* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Security & auth

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* split content for notification endpoints

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* removed product tags from nav and articles

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Security & auth

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* split content for notification endpoints

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* removed product tags from nav and articles

* New URL switcher (#1720)

* restructured url modal

* rearchitected the url switcher functionality

* add influxdb preference management to url switcher

* create separate pages for querying data

* update weight

* Update flux-repl.md

* Update influx-query.md

* edits f Scott

* move content from explore-metrics to data-explorer

* edits; delete explore-metrics

* edits

* delete file

* remove duplicate content

* add InfluxQLquery examples

* Remove references to "security script"

* draft updates for Band Plot vis

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Security & auth

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* split content for notification endpoints

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* removed product tags from nav and articles

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* split content for notification endpoints

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* New URL switcher (#1720)

* restructured url modal

* rearchitected the url switcher functionality

* add influxdb preference management to url switcher

* URL validation on custom URL (#1763)

* added url validation to custom url form, resolves #1739

* removed placeholder message from custom url form

* updated styles for url selector modal

* Move restore command to `influx` cli, update flags

* Update table for backup

* Remove RC information, update paths for restore, change `backup-path` flag to `input`

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Security & auth

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* split content for notification endpoints

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* removed product tags from nav and articles

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* New URL switcher (#1720)

* restructured url modal

* rearchitected the url switcher functionality

* add influxdb preference management to url switcher

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* WIP separate cloud docs, duplicate content shortcode

* WIP cloud-separation

* WIP separate cloud

* duplicated oss into cloud and am making updates

* moved cloud updates to cloud

* reimplemented duplicate-oss shortcode

* separate Cloud and OSS content in Tools & integ...

* Split OSS and Cloud content for Manage org

* Split OSS and Cloud - Manage Orgs add'l updates

* various updates, primarily in oss and cloud reference

* Move InfluxQL doc to Cloud

- Remove the "Query with InfluxQL" page from OSS docs
- Re-incorporate changes made in https://github.com/influxdata/docs-v2/pull/1506

* URL validation on custom URL (#1763)

* added url validation to custom url form, resolves #1739

* removed placeholder message from custom url form

* updated styles for url selector modal

* WIP updating InfluxDB OSS naming throughout

* updated canonical shortcode for oss vs cloud, updated 2.0 version numbers on homepage

* updated swagger file to rc4 for 2.0 and cloud

* fixed canonical partial

* Update multi-user Cloud docs

Also adds a heading the note on permissions.

Closes #1764

* Fix table for backup flags

* Update input flag, remove TSI references

* Address PR feedback

* Remove product tag

* Fix DBRP mapping examples (#1776)

* updated dbrp mapping examples in influxql query guide, closes #1774

* removed unnecessarily escaped newline from dbrp mapping example

* add draft rc4 and GA RNs

* cloud and oss name updates

* emphasis production ready

* update curl example

* duplicate oss pages in cloud

* Address PR feedback

* added new aws us east region, resolves #1777 (#1782)

* Add steps for script editor

* Add cloud version

* moved and updated upgrade guides (#1783)

* Fix typos

* update upgrade links

* edits

* Clarify 1m cardinality is initial limit only

* fix typo

* fix date

* Add note on `_internal` database to v1-to-v2 upgrade guide

Closes #1775.

* Update influxdb.md

* fixed broken links throughout cloud docs

* fixed broken links in 2.0 oss

* Address PR feedback

* remove window pushdowns

* updated oss pushdown list

* Add instructions for verifying InfluxDB 2.0 download

* updated latest versions in edge.js

* added flux-0.94.0 to flux release notes (#1790)

* update date and add Flux .94.0 link

* delete broken link to image

* remove auto refresh; not currently in UI

* add duplicate-oss tag to Cloud execute-queries

* highlight diff between Flux and InfluxQL example

* delete extra header

* Generate v1 compatibility API docs (#1789)

* updated swagger generation to generate v1 compat api docs

* restructured api docs

* updated restore flags table

* updated infludb binary urls in oss and cloud

* Address PR feedback

* Make contact support a mailto link

* Add --log-level flag to `influxd upgrade`

Closes #1795

* add release note about api/v2/delete

* update delete data note for 2.0

* edit

* Fix URLs and filenames in OSS 2.0 Get Started

* update version for GA

* Add color to Flux example for Flux documentation (addresses #1724 )

* Change versions to 2.0.1 in GS

* Replace 2.0.0 with 2.0.1

* Revert Docker updates to 2.0.0

* Add release notes for 2.0.0

* edits; add known issue

* clarify DB is 1.x

* updated influxdb versions in cloud and oss getting started

* updated influxdb oss urls doc

* remove rc and upd upgrade link in back up data

* Edit `influxd upgrade` docs (#1798)

* Edit `influxd upgrade` guide

Major revision of existing docs.

Add "Before you begin: important considerations" section.

* Address PR feedback

* Edit backup instructions

* More work on kap

* Rm comment

* Rm sentence

* Add note on Docker

* Edit intro

* Edit link

* Work on PR feedback

* Continue PR feedback

* More PR feedback

* More edits

* more edits

* Edits

* more edits

* rm word

* updates to address PR feedback for the upgrade guide

Co-authored-by: pierwill <pierwill@users.noreply.github.com>
Co-authored-by: Scott Anderson <scott@influxdata.com>

Co-authored-by: Kelly <kelly@influxdata.com>
Co-authored-by: pierwill <pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com>
2020-11-11 09:52:14 -07:00
Scott Anderson f6a75a6668 uppdated js to not change influxdb 1.x urls, added keep url tags to telegraf, chronograf, and kapacitor codeblocks 2020-09-04 11:38:40 -06:00
Scott Anderson b5b7e7756b hotfix: updated button text on cloud only codeblocks 2020-07-11 22:39:58 -06:00
Scott Anderson ed272f713b added cloud-only url replacement 2020-07-11 22:25:25 -06:00
Scott Anderson 8d4fb3f6e0 hotfix: quick updates to URL doc and js 2020-07-02 15:03:47 -06:00
Scott Anderson 987ce7b9ca fixed typo in js comment 2020-07-02 11:08:01 -06:00
Scott Anderson 7265768dba dynamically change influxdb URL based on referrer, resolves #1115 2020-07-02 09:05:53 -06:00
Scott Anderson 6ee959554c updated custom url functionality 2020-06-29 16:36:31 -06:00
Scott Anderson 2769693405 add the ability to set custom influxdb urls, resolves #1116 2020-06-29 13:37:26 -06:00
Scott Anderson cc51d22263 added a feature callout for the url selector 2020-04-23 11:19:22 -06:00
Scott Anderson 62d8de6306 update influxdb urls on window focus, exempt code blocks from being updated, added info to contributing.md 2020-04-20 14:47:04 -06:00
Scott Anderson 07017fa340 added influxdb selector functionality 2020-04-17 00:57:07 -06:00