diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e47ad69 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +key.pub diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl new file mode 100755 index 0000000..1384d3c --- /dev/null +++ b/.terraform.lock.hcl @@ -0,0 +1,24 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/heroku/heroku" { + version = "4.0.0-beta" + constraints = "4.0.0-beta" + hashes = [ + "h1:WBRqvxkaSer+0S+9TqA2nxebWzvPPMscJmANLG3wrjY=", + "zh:043b1f2c64fb33a2a32af22e02e7cfd3361ee124bae826b0769c5460abcba6b6", + "zh:139c485ab58b79798ffafaec8704f4e852702b524ad5a785456f90f5a92e683e", + "zh:13dddc556f28eef23b22940d7a5e751206a13737bfe82f1dbd11da5a417ac3fa", + "zh:28cf7f7105648bebeb9b2ce229b2035ed4cc638b5acd54c7251d2b0527d0ad7c", + "zh:5ce22e9c79999b664b416a1ad0d0151a11c71813034dd0705cbf11063c4a2ad3", + "zh:5d5316f68c885c11602a2c9c84d2b29d6682e9d5ade662b54e0026d9b7852990", + "zh:88054e40d19f45a6b3b86c7769af2aaabbc3efcbc7ace362214f565fcedb09f8", + "zh:b09dbe98506f6b716b87fffa5bb5703effc7d4c6ebaebf77aee138c28b60b87d", + "zh:b34c99c1a8420e052be76a4eaa0359350f222b593c3a28e65f98a9d20424b917", + "zh:b38bb158384c3ac97376ca7ce0a025e10e05891d89f24ae99c2fe99bb903a040", + "zh:b6a4e5cdad51c8bd740144be3ef0d85cb133f1c5217b0fddf7cf39af46b99be4", + "zh:bd96b70d312b86f2afae09635d0291429215ca57ec625e027450533c0109607b", + "zh:e62d372bd28ec6b73068271b223a0d2594063a1a0275339c3dd975de10f3b3c7", + "zh:f9ee905aedcae43b545bf3d4152d86eafa9dff329a8c7fea8325d78e2b21f354", + ] +} diff --git a/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/CHANGELOG.md b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/CHANGELOG.md new file mode 100644 index 0000000..6520644 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/CHANGELOG.md @@ -0,0 +1,326 @@ +# This file is now deprecated. Please visit [Releases](https://github.com/heroku/terraform-provider-heroku/releases) for more information. + +## 2.5.0 (July 03, 2020) + +FEATURES: +* New data source: `heroku_pipeline` Get information on a Heroku Pipeline ([#268](https://github.com/heroku/terraform-provider-heroku/pull/268)) + +IMPROVEMENTS: +* Clarify usage constraints of Build source path ([#270](https://github.com/heroku/terraform-provider-heroku/pull/270)) +* Upgrade acceptance tests to Go 1.14 ([#271](https://github.com/heroku/terraform-provider-heroku/pull/271)) + +## 2.4.1 (May 20, 2020) + +IMPROVEMENTS: +* Upgrade to Terraform Plugin SDK v1.12.0 ([#266](https://github.com/heroku/terraform-provider-heroku/pull/266)) + +BUG FIXES: +* Importing a `heroku_pipeline` by its name now sets its ID correctly ([#266](https://github.com/heroku/terraform-provider-heroku/pull/266)) + +## 2.4.0 (April 22, 2020) + +FEATURES: +* **Resource `heroku_pipeline`** now supports setting `owner` user or team, including defaulting to the current API key's user ID ([#259](https://github.com/heroku/terraform-provider-heroku/pull/259)) + +IMPROVEMENTS: +* **Terraform Provider acceptance tests** now run on pull requests, pushes to master, and nightly using [GitHub Actions](https://github.com/heroku/terraform-provider-heroku/actions) configured for the [CI workflows](https://github.com/heroku/terraform-provider-heroku/tree/master/.github/workflows) + +BUG FIXES: +* **Resource `heroku_app`** + * now imports `buildpacks` and other attributes, consistent with create & read ([#257](https://github.com/heroku/terraform-provider-heroku/pull/257)) + * now reads `organization.locked`, consistent with create ([#257](https://github.com/heroku/terraform-provider-heroku/pull/257)) + * drops the non-standard `uuid` attribute ([#257](https://github.com/heroku/terraform-provider-heroku/pull/257)) +* **Data source `heroku_app`** now returns `id` attribute, consistent with resource `heroku_app` ([#255](https://github.com/heroku/terraform-provider-heroku/pull/255)) + + +## 2.3.0 (March 30, 2020) + +FEATURES: +* New resource: `heroku_pipeline_config_var` ([#256](https://github.com/heroku/terraform-provider-heroku/pull/256)) + +IMPROVEMENTS: +* Upgrade `heroku-go` to `v5.2.0` ([#256](https://github.com/heroku/terraform-provider-heroku/pull/256)) + +BUG FIXES: +* Properly set `heroku_app.acm` when this attribute is not defined ([#256](https://github.com/heroku/terraform-provider-heroku/pull/256)) +* Remove quoted interpolation-only expressions in docs ([#245](https://github.com/heroku/terraform-provider-heroku/pull/245)) + +## 2.2.2 (February 20, 2020) + +IMPROVEMENTS +* Upgrade to Terraform Plugin SDK v1.7.0 ([#248](https://github.com/heroku/terraform-provider-heroku/pull/248)) + +## 2.2.1 (October 03, 2019) + +IMPROVEMENTS: +* Migrate to Terraform Plugin SDK ([#240](https://github.com/heroku/terraform-provider-heroku/pull/240)) + +## 2.2.0 (September 19, 2019) + +FEATURES: +* `heroku_app_webhook` - Ability to manage App Webhooks ([#239](https://github.com/heroku/terraform-provider-heroku/pull/239)) + +IMPROVEMENTS: +* Update vendored Terraform to v0.12.8 ([#238](https://github.com/heroku/terraform-provider-heroku/pull/238)) + +## 2.1.2 (August 09, 2019) + +IMPROVEMENTS: +* Update vendored Terraform to v0.12.6 ([#234](https://github.com/heroku/terraform-provider-heroku/pull/234)) +* Stop creating `cedar-14` apps during tests ([#232](https://github.com/heroku/terraform-provider-heroku/pull/232)) +* Standardize UUID usage on `google/uuid` ([#228](https://github.com/heroku/terraform-provider-heroku/pull/228)) + +## 2.1.1 (August 07, 2019) + +BUG FIXES: +* Rework `heroku_addon.config` migration ([#230](https://github.com/heroku/terraform-provider-heroku/pull/230)) +* Fix `heroku_formation` segfault when app does not exist ([#229](https://github.com/heroku/terraform-provider-heroku/pull/229)) +* Docs correction ([#225](https://github.com/heroku/terraform-provider-heroku/pull/225)) & clarification ([#224](https://github.com/heroku/terraform-provider-heroku/pull/224)) + + +## 2.1.0 (July 24, 2019) + +FEATURES: +* `heroku_addon` - Ability to set addon name ([#210](https://github.com/heroku/terraform-provider-heroku/pull/210)) + +BUG FIXES: +* Add migration for `heroku_addon` to fix dirty plan after `heroku_addon.config` attribute changed from `TypeList` of `TypeSet` + to `TypeSet` ([#217](https://github.com/heroku/terraform-provider-heroku/pull/217)) + +## 2.0.3 (July 12, 2019) + +BUG FIXES: +* Restore compatibility with Terraform 0.12 [#220](https://github.com/heroku/terraform-provider-heroku/pull/220) + +## 2.0.2 (July 11, 2019) + +**This release is broken for Terraform 0.12.** + +IMPROVEMENTS: +* Upgrade heroku-go client to stable Go Module support `v5` & to provide more Heroku Platform API features [#211](https://github.com/heroku/terraform-provider-heroku/pull/211) + +BUG FIXES: +* Revise docs for Terraform v0.12 map attribute-assignment syntax [#212](https://github.com/heroku/terraform-provider-heroku/pull/212) & [#216](https://github.com/heroku/terraform-provider-heroku/pull/216) +* Revise docs to correct `import` example [#215](https://github.com/heroku/terraform-provider-heroku/pull/215) + +## 2.0.1 (June 20, 2019) + +BUG FIXES: +* Fix unhandled errors [#193](https://github.com/heroku/terraform-provider-heroku/pull/193) +* Prevent leaking `heroku_app` `sensitive_config_vars` through `all_config_vars` [#206](https://github.com/heroku/terraform-provider-heroku/pull/206) + +## 2.0.0 (June 03, 2019) + +FEATURES: +* **Terraform 0.12** compatibility [#179](https://github.com/heroku/terraform-provider-heroku/pull/179) + +IMPROVEMENTS: +* Documentation fix-ups [#189](https://github.com/heroku/terraform-provider-heroku/pull/189) & [#192](https://github.com/heroku/terraform-provider-heroku/pull/192) + +## 1.9.0 (April 01, 2019) + +FEATURES: +* **New Data Source:** `heroku_team` [#188](https://github.com/heroku/terraform-provider-heroku/pull/188) +* **New Resource:** `heroku_config` (for defining config vars to be used in other resources) [#183](https://github.com/heroku/terraform-provider-heroku/pull/183) +* **New Resource:** `heroku_app_config_association` (for setting, updating, and deleting config vars on apps) [#183](https://github.com/heroku/terraform-provider-heroku/pull/183) + +IMPROVEMENTS: +* Clarify usage of Heroku Teams in the docs [#187](https://github.com/heroku/terraform-provider-heroku/pull/187) + +BUG FIXES: +* Fix tests using SSL Endpoint DNS target [#191](https://github.com/heroku/terraform-provider-heroku/pull/191) + +## 1.8.0 (February 27, 2019) + +FEATURES: +* Switch to Go Modules (prep for Terraform 0.12) [#177](https://github.com/heroku/terraform-provider-heroku/pull/177) + +IMPROVEMENTS: +* Clarifying, expanding, and cross-referencing the Provider docs [#175](https://github.com/heroku/terraform-provider-heroku/pull/175) + +BUG FIXES: +* Fix so `heroku_build` source path can be current `.` or a parent `..` directory [#181](https://github.com/heroku/terraform-provider-heroku/pull/181) + +## 1.7.4 (February 01, 2019) + +IMPROVEMENTS: +* Upgrade heroku-go client to support more Heroku Platform API features [#169](https://github.com/heroku/terraform-provider-heroku/pull/169) +* Add `cidr` & `data_cidr` to `heroku_space` resource & data source [#167](https://github.com/heroku/terraform-provider-heroku/pull/167) + +## 1.7.3 (January 22, 2019) + +IMPROVEMENTS: +* `heroku_app` - New attribute `sensitive_config_vars` to help with sensitive heroku app config vars [#163](https://github.com/heroku/terraform-provider-heroku/pull/163) + +## 1.7.2 (January 08, 2019) + +IMPROVEMENTS: +* Identify Terraform API requests via User-Agent header [#161](https://github.com/heroku/terraform-provider-heroku/pull/161) + +## 1.7.1 (December 18, 2018) + +BUG FIXES: +* Add missing features/fixes to changelog [#157](https://github.com/heroku/terraform-provider-heroku/pull/157) +* Build resource doc fixups [#156](https://github.com/heroku/terraform-provider-heroku/pull/156) + +## 1.7.0 (December 14, 2018) + +FEATURES: +* **New Resource:** `heroku_build` (for deploying source code to Heroku) [#149](https://github.com/heroku/terraform-provider-heroku/pull/149) + +IMPROVEMENTS: +* Retry with backoff when rate-limited [#135](https://github.com/heroku/terraform-provider-heroku/pull/135) +* Configurable delays to provider to help alleviate issues with Heroku backend eventual consistency with regards to app, spaces, and domain creation [#142](https://github.com/heroku/terraform-provider-heroku/pull/142) + +BUG FIXES: +* `heroku_app_feature` - Typos in Documentation & Test Fixes [#143](https://github.com/heroku/terraform-provider-heroku/pull/143) +* Fix bad formatting in docs [#147](https://github.com/heroku/terraform-provider-heroku/pull/147) +* Fix panic condition in parseCompositeID [#148](https://github.com/heroku/terraform-provider-heroku/pull/148) +* Terraform sometimes creates a Heroku Cert, then gets a conflict error [#37](https://github.com/heroku/terraform-provider-heroku/issues/37) +* Add Exponential Backoff When adding Heroku Domain [#71](https://github.com/heroku/terraform-provider-heroku/issues/71) +* heroku_space_inbound ruleset can't be applied because heroku_space isn't actually ready [#116](https://github.com/heroku/terraform-provider-heroku/issues/116) + +## 1.6.0 (November 13, 2018) + +FEATURES: +* **New Resource:** `heroku_account_feature` (for managing account features) [#134](https://github.com/heroku/terraform-provider-heroku/pull/134) +* **New Data Resource:** `heroku_addon` (Get information on a Heroku Addon) [#130](https://github.com/heroku/terraform-provider-heroku/pull/130) + +IMPROVEMENTS: +* `heroku_cert` - Set private_key parameter to sensitive [#133](https://github.com/heroku/terraform-provider-heroku/pull/133) +* `heroku_slug` - Add test for heroku slug with a private space app [#138](https://github.com/heroku/terraform-provider-heroku/pull/138) +* `heroku_slug` - Fetch slug archives via HTTPS & allow users to specify a `file_url` attribute [#139](https://github.com/heroku/terraform-provider-heroku/pull/139) + +BUG FIXES: +* `heroku_formation` - Fix formation.html.markdown [#136](https://github.com/heroku/terraform-provider-heroku/pull/136) +* `heroku_domain` - Fix heroku domain test after a [recent change](https://devcenter.heroku.com/changelog-items/1488) randomly generates a DNS target [#137](https://github.com/heroku/terraform-provider-heroku/pull/137) + + +## 1.5.0 (October 15, 2018) + +FEATURES: +* Support for ~/.netrc authentication [#113](https://github.com/heroku/terraform-provider-heroku/pull/113) + +IMPROVEMENTS: +* `heroku_app` - Now exports the UUID Heroku assigns the app as `uuid` [#127](https://github.com/heroku/terraform-provider-heroku/pull/127) +* `heroku_slug` - Slug doc corrections & formatting [#125](https://github.com/heroku/terraform-provider-heroku/pull/125) +* Fixes code snippet in the README.md [#129](https://github.com/heroku/terraform-provider-heroku/pull/129) + +## 1.4.0 (September 11, 2018) + +FEATURES: +* **New Resource:** `heroku_slug` - Provides the ability to create & upload a slug (archive of executable code) to an app [#119](https://github.com/heroku/terraform-provider-heroku/pull/119) +* **New Resource:** `heroku_team_member` - Ability to manage members of a Heroku team [#121](https://github.com/heroku/terraform-provider-heroku/pull/121) + +IMPROVEMENTS: +* `heroku_app` - Remove notes about private beta for internal apps and VPN connections [#115](https://github.com/terraform-providers/terraform-provider-heroku/pull/115) +* `heroku_space_vpn_connection` - Remove notes about private beta for internal apps and VPN connections [#115](https://github.com/terraform-providers/terraform-provider-heroku/pull/115) + +BUG FIXES: +* `data_source_heroku_space_peering_info` - Fix missing vpc_cidr attribute [#114](https://github.com/terraform-providers/terraform-provider-heroku/pull/114) +* logging - Case insensitive logging check for TF_LOG [#120](https://github.com/terraform-providers/terraform-provider-heroku/pull/120) + +## 1.3.0 (August 16, 2018) + +FEATURES: +* **New Resource:** `heroku_space_app_access` (for managing space access) [#83](https://github.com/terraform-providers/terraform-provider-heroku/pull/83) +* **New Resource:** `heroku_space_vpn_connection` (to establish VPN connections) [#104](https://github.com/terraform-providers/terraform-provider-heroku/pull/104) + +IMPROVEMENTS: +* Replace custom validators with validators provided by terraform [#107](https://github.com/terraform-providers/terraform-provider-heroku/pull/107) +* Various test improvements and fixes [#105](https://github.com/terraform-providers/terraform-provider-heroku/pull/105) +* Update heroku dep to point at heroku repo [#106](https://github.com/terraform-providers/terraform-provider-heroku/pull/106) + +BUG FIXES: +* Set vpc_peering_connection_id attribute to the correct value [#110](https://github.com/terraform-providers/terraform-provider-heroku/pull/110) + +## 1.2.0 (July 21, 2018) + +IMPROVEMENTS: + +* Update the `heroku-go` client to the latest version. [#97](https://github.com/terraform-providers/terraform-provider-heroku/pull/97) +* Migrate to dep for managing `vendor/` and update packages in `vendor/` [#99](https://github.com/terraform-providers/terraform-provider-heroku/pull/99) + +FEATURES: +* Add `internal_routing` option to `heroku_app` [#100](https://github.com/terraform-providers/terraform-provider-heroku/pull/100) + +## 1.1.1 (July 17, 2018) + +BUG FIXES: + +* r/heroku_addon: Add migration to store the `uuid` for the resource ID instead of `name` ([#84](https://github.com/terraform-providers/terraform-provider-heroku/pull/84)) +* r/heroku_addon_attachment: Add migration to store the `uuid` of the addon for `addon_id` ([#84](https://github.com/terraform-providers/terraform-provider-heroku/pull/84)) + +## 1.1.0 (July 13, 2018) + +FEATURES: + +* r/heroku_space_inbound_ruleset: Add a new resource for managing [inbound IP rulesets](https://devcenter.heroku.com/articles/platform-api-reference#inbound-ruleset) for Heroku Private Spaces ([#91](https://github.com/terraform-providers/terraform-provider-heroku/pull/91)) + +IMPROVEMENTS: + +* HTTP headers are now shown when `TF_LOG` is set to `DEBUG` or `TRACE` ([#89](https://github.com/terraform-providers/terraform-provider-heroku/pull/89)) + +## 1.0.2 (July 10, 2018) + +BUG FIXES: + +* r/heroku_formation: Add support for Free/Hobby Dyno Types ([#80](https://github.com/terraform-providers/terraform-provider-heroku/pull/80)) +* r/heroku_space: Fixed interface conversion panic applying changed trusted ips ([#88](https://github.com/terraform-providers/terraform-provider-heroku/pull/88)) + +## 1.0.1 (June 27, 2018) + +BUG FIXES: + +* r/heroku_space: Fix bug [#75](https://github.com/terraform-providers/terraform-provider-heroku/issues/75) in [#76](https://github.com/terraform-providers/terraform-provider-heroku/pull/76) that caused Terraform plans to destroy existing Heroku Private Spaces + +## 1.0.0 (June 19, 2018) + +FEATURES: + +* r/heroku_app: Add `acm` field to enable Heroku Automated Certificate Management (ACM) ([#38](https://github.com/terraform-providers/terraform-provider-heroku/issues/38)) +* r/heroku_team_collaborator: Add a new team collaborator resource ([#56](https://github.com/terraform-providers/terraform-provider-heroku/pull/56)) +* d/heroku_space_peering_info: Add a new data resource for getting VPC peering information for a Heroku private space ([#57](https://github.com/terraform-providers/terraform-provider-heroku/pull/57)) +* r/heroku_app_release: Add a new app release resource ([#62](https://github.com/terraform-providers/terraform-provider-heroku/pull/62)) +* r/heroku_formation: Add a new formation resource ([#62](https://github.com/terraform-providers/terraform-provider-heroku/pull/62)) +* r/heroku_space_peering_request_accepter: Add a new space peering request accepter resource ([#58](https://github.com/terraform-providers/terraform-provider-heroku/pull/58)) + +IMPROVEMENTS: + +* r/heroku_app: Wait until for new release after updating config vars ([#35](https://github.com/terraform-providers/terraform-provider-heroku/issues/35)) +* r/heroku_addon_attachment: Fix Attachment Ids +* r/heroku_space: Add space attributes for outbound IPs and shield + +## 0.1.2 (January 04, 2018) + +FEATURES: + +* All resources now support `terraform import` ([#31](https://github.com/terraform-providers/terraform-provider-heroku/pull/31)) + +IMPROVEMENTS: + +* r/heroku_app: Revert change ([#17](https://github.com/terraform-providers/terraform-provider-heroku/pull/17)) which deleted externally-created config vars ([#36](https://github.com/terraform-providers/terraform-provider-heroku/pull/36)) +* r/heroku_app: Change import to use the app name as its ID if possible ([#34](https://github.com/terraform-providers/terraform-provider-heroku/pull/34)) +* r/heroku_addon: Pass confirm option during addon creation ([#32](https://github.com/terraform-providers/terraform-provider-heroku/pull/32)) +* r/heroku_space: Support trusted_ip_ranges ([#28](https://github.com/terraform-providers/terraform-provider-heroku/pull/28)) + +## 0.1.1 (November 07, 2017) + +FEATURES: + +* **New Resource:** `r/heroku_addon_attachment` ([#19](https://github.com/terraform-providers/terraform-provider-heroku/issues/19)) + +IMPROVEMENTS: + +* r/heroku_app: Protect against panic ([#11](https://github.com/terraform-providers/terraform-provider-heroku/issues/11)) +* r/heroku_app: always read all config vars ([#17](https://github.com/terraform-providers/terraform-provider-heroku/issues/17)) +* r/heroku_app: Handle updating an app's stack ([#16](https://github.com/terraform-providers/terraform-provider-heroku/issues/16)) +* r/heroku_app: Adding an Exists method to check for if an App exists ([#20](https://github.com/terraform-providers/terraform-provider-heroku/issues/20)) +* r/heroku_app: Making the `config_vars` field Optional + Computed ([#22](https://github.com/terraform-providers/terraform-provider-heroku/issues/22)] [[#23](https://github.com/terraform-providers/terraform-provider-heroku/issues/23)) +* r/heroku_addon: Adding an Exists method to check for if an Addon exists ([#21](https://github.com/terraform-providers/terraform-provider-heroku/issues/21)) + +## 0.1.0 (June 20, 2017) + +NOTES: + +* Same functionality as that of Terraform 0.9.8. Repacked as part of [Provider Splitout](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/) diff --git a/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/LICENSE b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/LICENSE new file mode 100644 index 0000000..a612ad9 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/README.md b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/README.md new file mode 100644 index 0000000..091e024 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/README.md @@ -0,0 +1,114 @@ +Terraform Provider Heroku +========================= + +[![Acceptance tests](https://github.com/heroku/terraform-provider-heroku/workflows/Acceptance/badge.svg)](https://github.com/heroku/terraform-provider-heroku/actions?query=workflow%3AAcceptance) + +This provider is used to configure resources supported by the [Heroku Platform API](https://devcenter.heroku.com/articles/platform-api-reference). + +See the [official documentation](https://www.terraform.io/docs/providers/heroku/index.html) to use this provider in a Terraform configuration. + + + +Requirements +------------ + +- [Terraform](https://www.terraform.io/downloads.html) 0.12.x +- [Go](https://golang.org/doc/install) 1.15 (to build the provider plugin) + +Usage +----- + +For Terraform 0.11 compatibility, the configuration should specify version 3 or lower: + +```hcl-terraform +provider "heroku" { + version = "~> 3.0" +} +``` + +Otherwise, the configuration should specify version 4 or higher: + +```hcl-terraform +provider "heroku" { + version = "~> 4.0" +} +``` + +👓📚 For more usage info, see [Heroku Provider docs](https://www.terraform.io/docs/providers/heroku/index.html). + +Development +----------- + +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine +(version 1.15+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), +as well as adding `$GOPATH/bin` to your `$PATH`. + +### Clone the Provider + +With Go language, the repository must be cloned to a specific path in `$GOPATH/src` that matches its module import path. + +```sh +mkdir -p $GOPATH/src/github.com/heroku +cd $GOPATH/src/github.com/heroku +git clone git@github.com:heroku/terraform-provider-heroku +``` + +### Build the Provider + +To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory. + +```sh +$ make build +... +$ $GOPATH/bin/terraform-provider-heroku +... +``` + +### Using the Provider + +To use the dev provider with local Terraform, copy the freshly built plugin into Terraform's local plugins directory: + +```sh +cp $GOPATH/bin/terraform-provider-heroku ~/.terraform.d/plugins/ +``` + +Set the Heroku provider without a version constraint: + +```hcl-terraform +provider "heroku" {} +``` + +Then, initialize Terraform: + +```sh +terraform init +``` + +### Testing + +Please see the [TESTING](TESTING.md) guide for detailed instructions on running tests. + +### Updating or adding dependencies + +This project uses [Go Modules](https://github.com/golang/go/wiki/Modules) for dependency management. + +Dependencies can be added or updated as follows: + +```bash +$ GO111MODULE=on go get github.com/some/module@release-tag +$ GO111MODULE=on go mod tidy +$ GO111MODULE=on go mod vendor +``` + +This example will fetch a module at the release tag and record it in your project's go.mod and go.sum files. It's a good idea to tidy up afterward and then copy the dependencies into vendor/. + +If a module does not have release tags, then `module@master` can be used instead. + +#### Removing dependencies + +Remove all usage from your codebase and run: + +```bash +$ GO111MODULE=on go mod tidy +$ GO111MODULE=on go mod vendor +``` diff --git a/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/terraform-provider-heroku_v4.0.0-beta b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/terraform-provider-heroku_v4.0.0-beta new file mode 100755 index 0000000..5c41fa2 Binary files /dev/null and b/.terraform/providers/registry.terraform.io/heroku/heroku/4.0.0-beta/darwin_amd64/terraform-provider-heroku_v4.0.0-beta differ diff --git a/Dockerfile b/Dockerfile index 57b769a..4217bab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,5 @@ WORKDIR / COPY Makefile $WORKDIR COPY .Radicale.props.jq $WORKDIR -RUN make -e APPLICATION=radicale -e DOMAIN=ocw.mit.edu - CMD radicale --server-hosts 0.0.0.0:$PORT --config /config/config diff --git a/Makefile b/Makefile index ae4c731..d50dcbf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,15 @@ +APPLICATION_ENVIRONMENT ?= test +HEROKU_APP ?= fixme JQ = $(shell which jq) COLLECTION_ROOT = $(APPLICATION)/data/collections/collection-root +%.plan: init + terraform plan -out $@ + +init: + terraform $@ + + default: extract @@ -23,7 +32,16 @@ $(COLLECTION_ROOT)/user/%/.Radicale.props: $(COLLECTION_ROOT) build: - docker build -t radicale:latest . + docker build -t radical:latest . + +run: build + docker run --rm -p 5432:5432 radical:latest + +.PHONY: image.pkr.hcl +image.pkr.hcl: + packer build $@ +$(APPLICATION_ENVIRONMENT)/bookmarks-%.json: + @cat $@ | jq -rf bookmarks.jq diff --git a/bookmarks.jq b/bookmarks.jq new file mode 100644 index 0000000..277df00 --- /dev/null +++ b/bookmarks.jq @@ -0,0 +1 @@ +.children[] | select(.root == "unfiledBookmarksFolder").children[].title diff --git a/heroku.tf b/heroku.tf new file mode 100644 index 0000000..5278a96 --- /dev/null +++ b/heroku.tf @@ -0,0 +1,43 @@ +terraform { + required_providers { + heroku = { + source = "heroku/heroku" + version = "4.0.0-beta" + } + } +} + +provider "heroku" { + # Configuration options +} +variable "example_app_name" { + description = "Name of the Heroku app provisioned as an example" +} + +resource "heroku_app" "example" { + name = var.example_app_name + region = "us" +} +# Build code & release to the app +resource "heroku_build" "example" { + app = "${heroku_app.example.name}" + buildpacks = ["https://github.com/mars/create-react-app-buildpack.git"] + + source = { + url = "https://github.com/mars/cra-example-app/archive/v2.1.1.tar.gz" + version = "2.1.1" + } +} + +# Launch the app's web process by scaling-up +resource "heroku_formation" "example" { + app = "${heroku_app.example.name}" + type = "web" + quantity = 1 + size = "Standard-1x" + depends_on = ["heroku_build.example"] +} + +output "example_app_url" { + value = "https://${heroku_app.example.name}.herokuapp.com" +} diff --git a/heroku.yml b/heroku.yml new file mode 100644 index 0000000..8eec25b --- /dev/null +++ b/heroku.yml @@ -0,0 +1,3 @@ +build: + docker: + web: Dockerfile diff --git a/image.pkr.hcl b/image.pkr.hcl new file mode 100644 index 0000000..e654c22 --- /dev/null +++ b/image.pkr.hcl @@ -0,0 +1,34 @@ +variable "region" { + type = string + default = "us-east-1" +} + +locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") } + +source "amazon-ebs" "example" { + ami_name = "page-${local.timestamp}" + instance_type = "t2.micro" + region = var.region + source_ami_filter { + filters = { + name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*" + root-device-type = "ebs" + virtualization-type = "hvm" + } + most_recent = true + owners = ["099720109477"] + } + ssh_username = "ubuntu" +} + +build { + sources = ["source.amazon-ebs.example"] + + provisioner "file" { + source = "./key.pub" + destination = "/tmp/key.pub" + } + provisioner "shell" { + script = "setup.sh" + } +} diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..f19d8b1 --- /dev/null +++ b/main.tf @@ -0,0 +1,27 @@ +variable "image_id" { + type = string +} + +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 3.27" + } + } +} + +provider "aws" { + profile = "default" + region = "us-east-1" +} + +resource "aws_instance" "example" { + ami = var.image_id + instance_type = "t2.micro" + + tags = { + Name = "PAGE" + } +} + diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..5cc0658 --- /dev/null +++ b/setup.sh @@ -0,0 +1,7 @@ +# Installing SSH key +sudo mkdir -p /home/ubuntu/.ssh +sudo chmod 700 /home/ubuntu/.ssh +sudo cp /tmp/key.pub /home/ubuntu/.ssh/authorized_keys +sudo chmod 600 /home/ubuntu/.ssh/authorized_keys +sudo chown -R ubuntu /home/ubuntu/.ssh +sudo usermod --shell /bin/bash ubuntu diff --git a/terraform.tfstate b/terraform.tfstate new file mode 100644 index 0000000..932110e --- /dev/null +++ b/terraform.tfstate @@ -0,0 +1,8 @@ +{ + "version": 4, + "terraform_version": "0.14.2", + "serial": 1, + "lineage": "efe63795-8bb9-9166-6a5e-be60fb76253c", + "outputs": {}, + "resources": [] +} diff --git a/test.plan b/test.plan new file mode 100644 index 0000000..7c84850 Binary files /dev/null and b/test.plan differ diff --git a/test/bookmarks-2021-03-10.json b/test/bookmarks-2021-03-10.json new file mode 100644 index 0000000..6767c15 --- /dev/null +++ b/test/bookmarks-2021-03-10.json @@ -0,0 +1 @@ +{"guid":"root________","title":"","index":0,"dateAdded":1607127320353000,"lastModified":1615345569354000,"id":1,"typeCode":2,"type":"text/x-moz-place-container","root":"placesRoot","children":[{"guid":"menu________","title":"menu","index":0,"dateAdded":1607127320353000,"lastModified":1615343817218000,"id":2,"typeCode":2,"type":"text/x-moz-place-container","root":"bookmarksMenuFolder","children":[{"guid":"YZXuwRpaQEwG","title":"test","index":0,"dateAdded":1615343807301000,"lastModified":1615343817218000,"id":121,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"4Z1yCjvWch62","title":"follower_maze","index":0,"dateAdded":1613683187281000,"lastModified":1615343817218000,"id":28,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"javIwHeYU20H","title":"gRPC","index":0,"dateAdded":1613683175841000,"lastModified":1613683187310000,"id":27,"typeCode":1,"iconuri":"https://grpc.io/favicons/android-chrome-512x512.png","type":"text/x-moz-place","uri":"https://grpc.io/"},{"guid":"ScsGPRAOYCFt","title":"plantuml","index":1,"dateAdded":1613683219008000,"lastModified":1613683229303000,"id":29,"typeCode":1,"charset":"windows-1252","iconuri":"https://s.plantuml.com/favicon.ico","type":"text/x-moz-place","uri":"https://plantuml.com/preprocessing"},{"guid":"mjyueHy0iSau","title":"Language Guide  |  Protocol Buffers  |  Google Developers","index":2,"dateAdded":1613683275531000,"lastModified":1613683279673000,"id":30,"typeCode":1,"iconuri":"https://www.gstatic.com/devrel-devsite/prod/v4ff7513a940c844d7a200d0833ef676f25fef10662a3b57ca262bcf76cbd98e2/developers/images/touchicon-180.png","type":"text/x-moz-place","uri":"https://developers.google.com/protocol-buffers/docs/overview"},{"guid":"CNZGlEnmgGV0","title":"The C4 model for visualising software architecture","index":3,"dateAdded":1613692264123000,"lastModified":1613692269970000,"id":31,"typeCode":1,"type":"text/x-moz-place","uri":"https://c4model.com/"}]}]}]},{"guid":"toolbar_____","title":"toolbar","index":1,"dateAdded":1607127320353000,"lastModified":1613694411624000,"id":3,"typeCode":2,"type":"text/x-moz-place-container","root":"toolbarFolder"},{"guid":"unfiled_____","title":"unfiled","index":3,"dateAdded":1607127320353000,"lastModified":1615345569354000,"id":5,"typeCode":2,"type":"text/x-moz-place-container","root":"unfiledBookmarksFolder","children":[{"guid":"XouoYlv_BZXy","title":"models/EU-US/brexit","index":0,"dateAdded":1614589448270000,"lastModified":1614595889407000,"id":62,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"IBVQ9Ktgl9j0","title":"European Union - Wikipedia","index":0,"dateAdded":1614589550030000,"lastModified":1614589553611000,"id":63,"typeCode":1,"tags":"GeoSpatialGeomertry","iconuri":"https://en.wikipedia.org/static/apple-touch/wikipedia.png","type":"text/x-moz-place","uri":"https://en.wikipedia.org/wiki/European_Union"},{"guid":"skh7n9C5ZY51","title":"United States - Wikipedia","index":1,"dateAdded":1614589581257000,"lastModified":1614589581257000,"id":64,"typeCode":1,"tags":"Continent","iconuri":"https://en.wikipedia.org/static/apple-touch/wikipedia.png","type":"text/x-moz-place","uri":"https://en.wikipedia.org/wiki/United_States"},{"guid":"cq9rPz3dlhUo","title":"Brexit: What you need to know about the UK leaving the EU - BBC News","index":2,"dateAdded":1614589902003000,"lastModified":1614589902003000,"id":68,"typeCode":1,"tags":"GovernmentOrganization,FundingScheme","type":"text/x-moz-place","uri":"https://www.bbc.com/news/uk-politics-32810887"},{"guid":"2sv3CJoOjXN3","title":"http://localhost:4001/models/EU_US/brexit","index":3,"dateAdded":1614590457793000,"lastModified":1614590457793000,"id":75,"typeCode":1,"tags":"relatedQueries,interestByRegion,autoComplete,PresentationLogic","type":"text/x-moz-place","uri":"http://localhost:4001/models/EU_US/brexit","keyword":"list, of, keys, or a single one - perhaps better to feed in raw","postData":null}]},{"guid":"rJurCsoTVFhC","title":"analytics","index":1,"dateAdded":1614475078176000,"lastModified":1615262980034000,"id":32,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"BS03Rx2S4k7d","title":"Fiverr - Freelance Services Marketplace for Businesses","index":0,"dateAdded":1614475114795000,"lastModified":1614475122158000,"id":33,"typeCode":1,"tags":"Graphics,Design,Digital_Marketing,Writing,Translation,Video,Animation,Music,Audio,Programming,Tech","iconuri":"https://assetsv2.fiverrcdn.com/assets/v2_globals/apple-touch-icon-180x180-d5abd4cedbaf861091f2e039bfe10970.png","type":"text/x-moz-place","uri":"https://www.fiverr.com/"},{"guid":"PgYrofJd1beO","title":"Google Trends Categories · pat310/google-trends-api Wiki · GitHub","index":1,"dateAdded":1614475167130000,"lastModified":1614475167130000,"id":34,"typeCode":1,"iconuri":"https://github.githubassets.com/favicons/favicon.svg","type":"text/x-moz-place","uri":"https://github.com/pat310/google-trends-api/wiki/Google-Trends-Categories"},{"guid":"1WiCbwQPY2ap","title":"DuckDuckGo !Bang","index":2,"dateAdded":1614476867573000,"lastModified":1614476867573000,"id":57,"typeCode":1,"iconuri":"https://duckduckgo.com/assets/icons/meta/DDG-iOS-icon_152x152.png","type":"text/x-moz-place","uri":"https://duckduckgo.com/bang_lite.html"},{"guid":"a8OL8Dng-hMa","title":"Programmable Search Engine by Google","index":3,"dateAdded":1614478102719000,"lastModified":1614478102719000,"id":58,"typeCode":1,"iconuri":"https://www.google.com/favicon.ico","type":"text/x-moz-place","uri":"https://programmablesearchengine.google.com/about/"},{"guid":"2svXOFTQRutJ","title":"Schema.org - Schema.org","index":4,"dateAdded":1614499179731000,"lastModified":1614499179731000,"id":59,"typeCode":1,"charset":"windows-1252","iconuri":"https://www.schema.org/docs/favicon.ico","type":"text/x-moz-place","uri":"https://www.schema.org/"},{"guid":"3FVZ93mj3UmL","title":"The Linux man-pages project","index":5,"dateAdded":1614500917364000,"lastModified":1614500917364000,"id":60,"typeCode":1,"type":"text/x-moz-place","uri":"https://www.kernel.org/doc/man-pages/"},{"guid":"PjCZWmFhC8Uv","title":"GitHub - tldr-pages/tldr: 📚 Collaborative cheatsheets for console commands","index":6,"dateAdded":1614500938529000,"lastModified":1614500938529000,"id":61,"typeCode":1,"iconuri":"https://github.githubassets.com/favicons/favicon.svg","type":"text/x-moz-place","uri":"https://github.com/tldr-pages/tldr"}]},{"guid":"bktquLFHEGcj","title":"StackOverflowQuestions","index":2,"dateAdded":1614595555468000,"lastModified":1614595889407000,"id":106,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"ZYCEJWIUcCtO","title":"google-trends-api - npm","index":0,"dateAdded":1614595527254000,"lastModified":1614595570133000,"id":105,"typeCode":1,"tags":"RemoteCategory:Programming_&_Tech","iconuri":"https://static.npmjs.com/1996fcfdf7ca81ea795f67f093d7f449.png","type":"text/x-moz-place","uri":"https://www.npmjs.com/package/google-trends-api#interestbyregion","keyword":"does \"keyword\" argument violate comparing search term and topic?","postData":null}]},{"guid":"pkc5uNDJlEbm","title":"Translations","index":3,"dateAdded":1614593615106000,"lastModified":1614595889407000,"id":90,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"aQMsymimG5vB","title":"Hot Questions - Stack Exchange","index":0,"dateAdded":1614593523369000,"lastModified":1614593630317000,"id":86,"typeCode":1,"tags":"WebService,Historical","iconuri":"https://cdn.sstatic.net/Sites/stackexchange/Img/apple-touch-icon.png","type":"text/x-moz-place","uri":"https://stackexchange.com/"},{"guid":"sHVxITKIIXY6","title":"A place to share knowledge and better understand the world","index":1,"dateAdded":1614593548434000,"lastModified":1614593630317000,"id":87,"typeCode":1,"tags":"WebService,Language","iconuri":"https://qsf.fs.quoracdn.net/-4-images.favicon.ico-26-ebf6a9e7f7b4576d.ico","type":"text/x-moz-place","uri":"https://www.quora.com/","keyword":"german, expert","postData":null},{"guid":"NwkOEaG60rbh","title":"Twitter. It’s what’s happening / Twitter","index":2,"dateAdded":1614593562956000,"lastModified":1614593630317000,"id":88,"typeCode":1,"tags":"WebService,RealTime","iconuri":"https://abs.twimg.com/responsive-web/client-web/icon-ios.b1fc7275.png","type":"text/x-moz-place","uri":"https://twitter.com/?lang=en"},{"guid":"GQ0UFF84RF48","title":"http://localhost:4001/babel/data","index":3,"dateAdded":1614593602701000,"lastModified":1614593630317000,"id":89,"typeCode":1,"tags":"PresentationLogic","type":"text/x-moz-place","uri":"http://localhost:4001/babel/data","keyword":"build up representation in translations by asking questions about example translations and technical / historical knowledge informing translations | media is message","postData":null},{"guid":"210E2ycaCfDM","title":"tmux://translations.development - Google Search","index":4,"dateAdded":1614593720731000,"lastModified":1614593729053000,"id":91,"typeCode":1,"tags":"Schedule","type":"text/x-moz-place","uri":"https://www.google.com/search?client=firefox-b-d&q=tmux%3A%2F%2Ftranslations.development"}]},{"guid":"kUWALg__AfCl","title":"Tech","index":4,"dateAdded":1614595984991000,"lastModified":1614596002826000,"id":110,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"hZZjUZ2K51Nt","title":"Error | Trello","index":0,"dateAdded":1614595974669000,"lastModified":1614595985020000,"id":109,"typeCode":1,"iconuri":"https://a.trellocdn.com/prgb/dist/images/ios/apple-touch-icon-152x152-precomposed.0307bc39ec6c9ff499c8.png","type":"text/x-moz-place","uri":"https://trello.com/c/8OH3X5bl"}]},{"guid":"_e7qKcX0DPY3","title":"selbstandige","index":5,"dateAdded":1615254695822000,"lastModified":1615257112519000,"id":111,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"cNvDnq7rpZPn","title":"Technical","index":0,"dateAdded":1615255117656000,"lastModified":1615255127344000,"id":113,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/maSbEhFS/technical"},{"guid":"cIctfo--sjPQ","title":"Content","index":1,"dateAdded":1615255226865000,"lastModified":1615255235360000,"id":116,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/FFhUDhCU/content"},{"guid":"DgmnsI4eQv7h","title":"Product","index":2,"dateAdded":1615255183571000,"lastModified":1615255193303000,"id":115,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/1FURBshu/product"},{"guid":"f-sGwU17D1UR","title":"Business","index":3,"dateAdded":1615255157910000,"lastModified":1615255166159000,"id":114,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/42uqfRWq/business"},{"guid":"qVDOOQHjroaF","title":"Search API","index":4,"dateAdded":1615257112519000,"lastModified":1615257122469000,"id":117,"typeCode":1,"tags":"entrypoint","type":"text/x-moz-place","uri":"https://developer.atlassian.com/cloud/trello/rest/api-group-search/"},{"guid":"_KZO66RBm0Za","title":"Workspace","index":5,"dateAdded":1615254712581000,"lastModified":1615255135380000,"id":112,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/RxPvhmVt/workspace"}]}]},{"guid":"mobile______","title":"mobile","index":4,"dateAdded":1607127320361000,"lastModified":1607127320461000,"id":6,"typeCode":2,"type":"text/x-moz-place-container","root":"mobileFolder"}]} \ No newline at end of file diff --git a/test/bookmarks.html b/test/bookmarks.html new file mode 100644 index 0000000..f7cb20d --- /dev/null +++ b/test/bookmarks.html @@ -0,0 +1,65 @@ + + + +Bookmarks +

Bookmarks Menu

+ +

+

test

+

+

follower_maze

+

+

gRPC +
plantuml +
Language Guide  |  Protocol Buffers  |  Google Developers +
The C4 model for visualising software architecture +

+

+

Other Bookmarks

+

+



models/EU-US/brexit

+

+

European Union - Wikipedia +
United States - Wikipedia +
Brexit: What you need to know about the UK leaving the EU - BBC News +
http://localhost:4001/models/EU_US/brexit +

+

analytics

+

+

Fiverr - Freelance Services Marketplace for Businesses +
Google Trends Categories · pat310/google-trends-api Wiki · GitHub +
DuckDuckGo !Bang +
Programmable Search Engine by Google +
Schema.org - Schema.org +
The Linux man-pages project +
GitHub - tldr-pages/tldr: 📚 Collaborative cheatsheets for console commands +

+

StackOverflowQuestions

+

+

google-trends-api - npm +

+

Translations

+

+

Hot Questions - Stack Exchange +
A place to share knowledge and better understand the world +
Twitter. It’s what’s happening / Twitter +
http://localhost:4001/babel/data +
tmux://translations.development - Google Search +

+

Tech

+

+

Error | Trello +

+

selbstandige

+

+

Technical +
Content +
Product +
Business +
Search API +
Workspace +

+

+

diff --git a/test/bookmarks.json b/test/bookmarks.json new file mode 100644 index 0000000..35caf6e --- /dev/null +++ b/test/bookmarks.json @@ -0,0 +1 @@ +{"guid":"root________","title":"","index":0,"dateAdded":1607127320353000,"lastModified":1615343817218000,"id":1,"typeCode":2,"type":"text/x-moz-place-container","root":"placesRoot","children":[{"guid":"menu________","title":"menu","index":0,"dateAdded":1607127320353000,"lastModified":1615343817218000,"id":2,"typeCode":2,"type":"text/x-moz-place-container","root":"bookmarksMenuFolder","children":[{"guid":"YZXuwRpaQEwG","title":"test","index":0,"dateAdded":1615343807301000,"lastModified":1615343817218000,"id":121,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"4Z1yCjvWch62","title":"follower_maze","index":0,"dateAdded":1613683187281000,"lastModified":1615343817218000,"id":28,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"javIwHeYU20H","title":"gRPC","index":0,"dateAdded":1613683175841000,"lastModified":1613683187310000,"id":27,"typeCode":1,"iconuri":"https://grpc.io/favicons/android-chrome-512x512.png","type":"text/x-moz-place","uri":"https://grpc.io/"},{"guid":"ScsGPRAOYCFt","title":"plantuml","index":1,"dateAdded":1613683219008000,"lastModified":1613683229303000,"id":29,"typeCode":1,"charset":"windows-1252","iconuri":"https://s.plantuml.com/favicon.ico","type":"text/x-moz-place","uri":"https://plantuml.com/preprocessing"},{"guid":"mjyueHy0iSau","title":"Language Guide  |  Protocol Buffers  |  Google Developers","index":2,"dateAdded":1613683275531000,"lastModified":1613683279673000,"id":30,"typeCode":1,"iconuri":"https://www.gstatic.com/devrel-devsite/prod/v4ff7513a940c844d7a200d0833ef676f25fef10662a3b57ca262bcf76cbd98e2/developers/images/touchicon-180.png","type":"text/x-moz-place","uri":"https://developers.google.com/protocol-buffers/docs/overview"},{"guid":"CNZGlEnmgGV0","title":"The C4 model for visualising software architecture","index":3,"dateAdded":1613692264123000,"lastModified":1613692269970000,"id":31,"typeCode":1,"type":"text/x-moz-place","uri":"https://c4model.com/"}]}]}]},{"guid":"toolbar_____","title":"toolbar","index":1,"dateAdded":1607127320353000,"lastModified":1613694411624000,"id":3,"typeCode":2,"type":"text/x-moz-place-container","root":"toolbarFolder"},{"guid":"unfiled_____","title":"unfiled","index":3,"dateAdded":1607127320353000,"lastModified":1615343817218000,"id":5,"typeCode":2,"type":"text/x-moz-place-container","root":"unfiledBookmarksFolder","children":[{"guid":"GL6KuLtYahYC","title":"","index":0,"dateAdded":1615342860512000,"lastModified":1615342860512000,"id":120,"typeCode":3,"type":"text/x-moz-place-separator"},{"guid":"zQa_EDIVBvSB","title":"","index":1,"dateAdded":1610576694899000,"lastModified":1614595889407000,"id":19,"typeCode":3,"type":"text/x-moz-place-separator"},{"guid":"XouoYlv_BZXy","title":"models/EU-US/brexit","index":2,"dateAdded":1614589448270000,"lastModified":1614595889407000,"id":62,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"IBVQ9Ktgl9j0","title":"European Union - Wikipedia","index":0,"dateAdded":1614589550030000,"lastModified":1614589553611000,"id":63,"typeCode":1,"tags":"GeoSpatialGeomertry","iconuri":"https://en.wikipedia.org/static/apple-touch/wikipedia.png","type":"text/x-moz-place","uri":"https://en.wikipedia.org/wiki/European_Union"},{"guid":"skh7n9C5ZY51","title":"United States - Wikipedia","index":1,"dateAdded":1614589581257000,"lastModified":1614589581257000,"id":64,"typeCode":1,"tags":"Continent","iconuri":"https://en.wikipedia.org/static/apple-touch/wikipedia.png","type":"text/x-moz-place","uri":"https://en.wikipedia.org/wiki/United_States"},{"guid":"cq9rPz3dlhUo","title":"Brexit: What you need to know about the UK leaving the EU - BBC News","index":2,"dateAdded":1614589902003000,"lastModified":1614589902003000,"id":68,"typeCode":1,"tags":"GovernmentOrganization,FundingScheme","type":"text/x-moz-place","uri":"https://www.bbc.com/news/uk-politics-32810887"},{"guid":"2sv3CJoOjXN3","title":"http://localhost:4001/models/EU_US/brexit","index":3,"dateAdded":1614590457793000,"lastModified":1614590457793000,"id":75,"typeCode":1,"tags":"relatedQueries,interestByRegion,autoComplete,PresentationLogic","type":"text/x-moz-place","uri":"http://localhost:4001/models/EU_US/brexit","keyword":"list, of, keys, or a single one - perhaps better to feed in raw","postData":null}]},{"guid":"rJurCsoTVFhC","title":"analytics","index":3,"dateAdded":1614475078176000,"lastModified":1615262980034000,"id":32,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"BS03Rx2S4k7d","title":"Fiverr - Freelance Services Marketplace for Businesses","index":0,"dateAdded":1614475114795000,"lastModified":1614475122158000,"id":33,"typeCode":1,"tags":"Graphics,Design,Digital_Marketing,Writing,Translation,Video,Animation,Music,Audio,Programming,Tech","iconuri":"https://assetsv2.fiverrcdn.com/assets/v2_globals/apple-touch-icon-180x180-d5abd4cedbaf861091f2e039bfe10970.png","type":"text/x-moz-place","uri":"https://www.fiverr.com/"},{"guid":"PgYrofJd1beO","title":"Google Trends Categories · pat310/google-trends-api Wiki · GitHub","index":1,"dateAdded":1614475167130000,"lastModified":1614475167130000,"id":34,"typeCode":1,"iconuri":"https://github.githubassets.com/favicons/favicon.svg","type":"text/x-moz-place","uri":"https://github.com/pat310/google-trends-api/wiki/Google-Trends-Categories"},{"guid":"1WiCbwQPY2ap","title":"DuckDuckGo !Bang","index":2,"dateAdded":1614476867573000,"lastModified":1614476867573000,"id":57,"typeCode":1,"iconuri":"https://duckduckgo.com/assets/icons/meta/DDG-iOS-icon_152x152.png","type":"text/x-moz-place","uri":"https://duckduckgo.com/bang_lite.html"},{"guid":"a8OL8Dng-hMa","title":"Programmable Search Engine by Google","index":3,"dateAdded":1614478102719000,"lastModified":1614478102719000,"id":58,"typeCode":1,"iconuri":"https://www.google.com/favicon.ico","type":"text/x-moz-place","uri":"https://programmablesearchengine.google.com/about/"},{"guid":"2svXOFTQRutJ","title":"Schema.org - Schema.org","index":4,"dateAdded":1614499179731000,"lastModified":1614499179731000,"id":59,"typeCode":1,"charset":"windows-1252","iconuri":"https://www.schema.org/docs/favicon.ico","type":"text/x-moz-place","uri":"https://www.schema.org/"},{"guid":"3FVZ93mj3UmL","title":"The Linux man-pages project","index":5,"dateAdded":1614500917364000,"lastModified":1614500917364000,"id":60,"typeCode":1,"type":"text/x-moz-place","uri":"https://www.kernel.org/doc/man-pages/"},{"guid":"PjCZWmFhC8Uv","title":"GitHub - tldr-pages/tldr: 📚 Collaborative cheatsheets for console commands","index":6,"dateAdded":1614500938529000,"lastModified":1614500938529000,"id":61,"typeCode":1,"iconuri":"https://github.githubassets.com/favicons/favicon.svg","type":"text/x-moz-place","uri":"https://github.com/tldr-pages/tldr"}]},{"guid":"bktquLFHEGcj","title":"StackOverflowQuestions","index":4,"dateAdded":1614595555468000,"lastModified":1614595889407000,"id":106,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"ZYCEJWIUcCtO","title":"google-trends-api - npm","index":0,"dateAdded":1614595527254000,"lastModified":1614595570133000,"id":105,"typeCode":1,"tags":"RemoteCategory:Programming_&_Tech","iconuri":"https://static.npmjs.com/1996fcfdf7ca81ea795f67f093d7f449.png","type":"text/x-moz-place","uri":"https://www.npmjs.com/package/google-trends-api#interestbyregion","keyword":"does \"keyword\" argument violate comparing search term and topic?","postData":null}]},{"guid":"pkc5uNDJlEbm","title":"Translations","index":5,"dateAdded":1614593615106000,"lastModified":1614595889407000,"id":90,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"aQMsymimG5vB","title":"Hot Questions - Stack Exchange","index":0,"dateAdded":1614593523369000,"lastModified":1614593630317000,"id":86,"typeCode":1,"tags":"WebService,Historical","iconuri":"https://cdn.sstatic.net/Sites/stackexchange/Img/apple-touch-icon.png","type":"text/x-moz-place","uri":"https://stackexchange.com/"},{"guid":"sHVxITKIIXY6","title":"A place to share knowledge and better understand the world","index":1,"dateAdded":1614593548434000,"lastModified":1614593630317000,"id":87,"typeCode":1,"tags":"WebService,Language","iconuri":"https://qsf.fs.quoracdn.net/-4-images.favicon.ico-26-ebf6a9e7f7b4576d.ico","type":"text/x-moz-place","uri":"https://www.quora.com/","keyword":"german, expert","postData":null},{"guid":"NwkOEaG60rbh","title":"Twitter. It’s what’s happening / Twitter","index":2,"dateAdded":1614593562956000,"lastModified":1614593630317000,"id":88,"typeCode":1,"tags":"WebService,RealTime","iconuri":"https://abs.twimg.com/responsive-web/client-web/icon-ios.b1fc7275.png","type":"text/x-moz-place","uri":"https://twitter.com/?lang=en"},{"guid":"GQ0UFF84RF48","title":"http://localhost:4001/babel/data","index":3,"dateAdded":1614593602701000,"lastModified":1614593630317000,"id":89,"typeCode":1,"tags":"PresentationLogic","type":"text/x-moz-place","uri":"http://localhost:4001/babel/data","keyword":"build up representation in translations by asking questions about example translations and technical / historical knowledge informing translations | media is message","postData":null},{"guid":"210E2ycaCfDM","title":"tmux://translations.development - Google Search","index":4,"dateAdded":1614593720731000,"lastModified":1614593729053000,"id":91,"typeCode":1,"tags":"Schedule","type":"text/x-moz-place","uri":"https://www.google.com/search?client=firefox-b-d&q=tmux%3A%2F%2Ftranslations.development"}]},{"guid":"kUWALg__AfCl","title":"Tech","index":6,"dateAdded":1614595984991000,"lastModified":1614596002826000,"id":110,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"hZZjUZ2K51Nt","title":"Error | Trello","index":0,"dateAdded":1614595974669000,"lastModified":1614595985020000,"id":109,"typeCode":1,"iconuri":"https://a.trellocdn.com/prgb/dist/images/ios/apple-touch-icon-152x152-precomposed.0307bc39ec6c9ff499c8.png","type":"text/x-moz-place","uri":"https://trello.com/c/8OH3X5bl"}]},{"guid":"_e7qKcX0DPY3","title":"selbstandige","index":7,"dateAdded":1615254695822000,"lastModified":1615257112519000,"id":111,"typeCode":2,"type":"text/x-moz-place-container","children":[{"guid":"cNvDnq7rpZPn","title":"Technical","index":0,"dateAdded":1615255117656000,"lastModified":1615255127344000,"id":113,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/maSbEhFS/technical"},{"guid":"cIctfo--sjPQ","title":"Content","index":1,"dateAdded":1615255226865000,"lastModified":1615255235360000,"id":116,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/FFhUDhCU/content"},{"guid":"DgmnsI4eQv7h","title":"Product","index":2,"dateAdded":1615255183571000,"lastModified":1615255193303000,"id":115,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/1FURBshu/product"},{"guid":"f-sGwU17D1UR","title":"Business","index":3,"dateAdded":1615255157910000,"lastModified":1615255166159000,"id":114,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/42uqfRWq/business"},{"guid":"qVDOOQHjroaF","title":"Search API","index":4,"dateAdded":1615257112519000,"lastModified":1615257122469000,"id":117,"typeCode":1,"tags":"entrypoint","type":"text/x-moz-place","uri":"https://developer.atlassian.com/cloud/trello/rest/api-group-search/"},{"guid":"_KZO66RBm0Za","title":"Workspace","index":5,"dateAdded":1615254712581000,"lastModified":1615255135380000,"id":112,"typeCode":1,"type":"text/x-moz-place","uri":"https://trello.com/b/RxPvhmVt/workspace"}]}]},{"guid":"mobile______","title":"mobile","index":4,"dateAdded":1607127320361000,"lastModified":1607127320461000,"id":6,"typeCode":2,"type":"text/x-moz-place-container","root":"mobileFolder"}]} \ No newline at end of file