Skip to content

refactor: use openapi generated contentful sdk #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 238 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
75c29d8
Space resource is migrated to SDK
tolgaio Mar 14, 2017
4c2500f
Locale resource migration
tolgaio Mar 14, 2017
3d8da54
error type check
tolgaio Mar 14, 2017
a301fb1
ApiKey is migrated to SDK
tolgaio Mar 14, 2017
294af40
Merge pull request #2 from danihodovic/feature/sdk-integration
tolgaio Mar 14, 2017
14eb676
webhook resource sdk integration
tolgaio Mar 14, 2017
d0c9909
delete models
tolgaio Mar 14, 2017
0902576
Space update test
tolgaio Mar 14, 2017
5deec27
Content type resource
Mar 15, 2017
b06f4ce
Add Dockerfile for testing
danihodovic Mar 15, 2017
7a1d738
Add Makefile for building/testing Docker image
danihodovic Mar 15, 2017
8476d0e
Add circle.yml
danihodovic Mar 15, 2017
9ee9585
Override dependencies to workaround CI
danihodovic Mar 15, 2017
feca117
Merge pull request #3 from danihodovic/add-dockerfile-makefile-circle…
danihodovic Mar 15, 2017
7bb27c0
webhook resource test case
tolgaio Mar 15, 2017
f90d840
Merge branch 'master' of github.com:danihodovic/contentful-terraform
tolgaio Mar 15, 2017
78246b4
Merge branch 'master' into feature/sdk-integration
lneves75 Mar 15, 2017
1d97b8e
Merge pull request #4 from danihodovic/feature/sdk-integration
lneves75 Mar 15, 2017
b1e54a5
Content types first tests
Mar 16, 2017
a3696f3
webhook fixture configuration fix
tolgaio Mar 17, 2017
b71ab51
Merge branch 'master' of github.com:danihodovic/contentful-terraform
tolgaio Mar 17, 2017
f46a442
Delete unused content_type files
tolgaio Mar 17, 2017
d48b0f8
Run SDK in debug mode when TF_LOG env is presented
tolgaio Mar 17, 2017
177e568
Webhook destroy check fix
tolgaio Mar 17, 2017
22e9048
CT update and tests ok
Mar 17, 2017
fbd229c
Merge branch 'master' of github.com:danihodovic/contentful-terraform
Mar 17, 2017
5deb852
changes to content type
Mar 17, 2017
ed4a8d6
Run tests in verbose mode
danihodovic Mar 17, 2017
05a9589
Merge pull request #5 from danihodovic/run-tests-using-verbose
danihodovic Mar 18, 2017
fb88f68
[Changed] Sdk package name
tolgaio Mar 20, 2017
0466c6a
Merge branch 'master' of github.com:danihodovic/contentful-terraform
tolgaio Mar 20, 2017
21794ab
use new sdk usage, only store sdk client in provider config
tolgaio Mar 20, 2017
af1b0dd
Merge pull request #6 from danihodovic/sdk-usage
tolgaio Mar 20, 2017
0647cbd
Add Makefile command for end-to-end tests
danihodovic Mar 20, 2017
bf9d4da
Run end-to-end tests on Circle CI
danihodovic Mar 20, 2017
8c01fb4
Ignore .envrc
danihodovic Mar 20, 2017
9eeb645
Don't run end-to-end tests on CI
danihodovic Mar 20, 2017
74cd659
Merge pull request #7 from danihodovic/command-for-end-to-end-tests
danihodovic Mar 21, 2017
46622c7
Cache go get dependencies
danihodovic Mar 21, 2017
607a824
Merge pull request #8 from danihodovic/cache-dependencies
danihodovic Mar 21, 2017
60e9915
Added MIT license
Mar 21, 2017
069efb5
Adjusted README
Mar 21, 2017
c3431cb
Merge pull request #9 from danihodovic/readme
lneves75 Mar 21, 2017
09c481d
Adjusted README a bit more
Mar 21, 2017
59917b1
Removed Versioning section from README as no versioning will be imple…
Mar 22, 2017
c06f7a9
Resource contenttype (#12)
lneves75 Mar 29, 2017
779dd71
[Added] locale resource and test
tolgaio Mar 29, 2017
79a3a1a
apikey resource fixes and testing
tolgaio Mar 27, 2017
06a0be9
Merge pull request #11 from contentful-labs/resource_locales
tolgaio Mar 29, 2017
7bce6e4
Merge pull request #10 from contentful-labs/resource_apikeys
tolgaio Mar 29, 2017
77c3c16
[Fix] removed hardcoded space_id from test
Mar 30, 2017
e7bf870
Merge branch 'master' of github.com:contentful-labs/terraform-contentful
Mar 30, 2017
e1d027a
Remove unused id field
elblivion Nov 27, 2017
9ac9d75
Bump Golang version
elblivion Nov 27, 2017
c745935
Merge pull request #15 from contentful-labs/remove-id-field
elblivion Nov 28, 2017
123cc81
Update Contentful description
Khaledgarbaya Dec 1, 2017
a236851
Merge pull request #16 from contentful-labs/Khaledgarbaya-patch-1
tolgaio Dec 1, 2017
7434f36
local-setup
Ardjan-Aalberts Apr 8, 2020
9592d20
Fixed non working code and some test related bugs.
Ardjan-Aalberts Apr 15, 2020
c47c04b
Correct project setup
Ardjan-Aalberts Apr 16, 2020
2f42852
Minor changes
Ardjan-Aalberts Apr 16, 2020
b39551d
Rename circle.yml to .circleci/config.yml
jberghoef Apr 16, 2020
f8cccab
Create go.yml
jberghoef Apr 16, 2020
f794e2b
Update go.yml
jberghoef Apr 16, 2020
2369c74
Space id to environment variable
Ardjan-Aalberts Apr 16, 2020
39d7b10
Docker working
Ardjan-Aalberts Apr 17, 2020
efbd7b2
removed some redundant code
Ardjan-Aalberts Apr 17, 2020
959381d
Merge branch 'master' into local-setup
Ardjan-Aalberts Apr 17, 2020
e07dfc3
go mod versioning fix
Ardjan-Aalberts Apr 20, 2020
b61f04c
Merge branch 'local-setup' of github.com:labd/terraform-contentful
Ardjan-Aalberts Apr 20, 2020
28f0dcd
go test wildcard fix
Ardjan-Aalberts Apr 20, 2020
4790009
go test wildcard?
Ardjan-Aalberts Apr 20, 2020
914fb72
Hoping this works...
Ardjan-Aalberts Apr 20, 2020
62088e0
Maybe this?
Ardjan-Aalberts Apr 20, 2020
6bd6f78
test config change
Ardjan-Aalberts Apr 20, 2020
ec1582b
test config change
Ardjan-Aalberts Apr 20, 2020
eee4c7b
test config change
Ardjan-Aalberts Apr 20, 2020
a257694
test config change
Ardjan-Aalberts Apr 20, 2020
90f9df8
test config change
Ardjan-Aalberts Apr 20, 2020
3187670
test config change
Ardjan-Aalberts Apr 20, 2020
950bec5
test config change
Ardjan-Aalberts Apr 20, 2020
dc16e9b
test config now using secrets as environment variables for tests.
Ardjan-Aalberts Apr 20, 2020
854c02a
Terraform account boolean now set to True/1
Ardjan-Aalberts Apr 20, 2020
9c5e0a1
Merge pull request #3 from labd/local-setup
Ardjan-Aalberts Apr 20, 2020
2cdda34
Update README.md
Ardjan-Aalberts Apr 20, 2020
c256d5f
Updated ReadMe to display correct project data.
Ardjan-Aalberts Apr 20, 2020
aae92e7
Added Environments as resources for the provider. The provider is now…
Ardjan-Aalberts Apr 23, 2020
cd770c9
Merge pull request #4 from labd/features/environments
Ardjan-Aalberts Apr 30, 2020
ad5bf8b
Added support for entries.
Ardjan-Aalberts May 6, 2020
226d194
Merge pull request #5 from labd/features/entries
jberghoef May 6, 2020
aeec413
Added support for assets.
Ardjan-Aalberts May 8, 2020
58617b1
Fixed versioning bug.
Ardjan-Aalberts May 11, 2020
fbb9be2
Fixed early-return bug.
Ardjan-Aalberts May 11, 2020
92c857d
Features/assets (#6)
Ardjan-Aalberts May 11, 2020
702ceb0
Fixed optional fields of asset.
Ardjan-Aalberts May 13, 2020
2e9c03a
Added uploads service.
Ardjan-Aalberts May 13, 2020
7541b93
Merge branch 'master' of github.com:labd/terraform-contentful
Ardjan-Aalberts May 13, 2020
52c736a
Optional fields
Ardjan-Aalberts May 13, 2020
82c55d4
Uploads resource to different branch.
Ardjan-Aalberts May 13, 2020
7fd15ef
Uploads resource to different branch.
Ardjan-Aalberts Jul 3, 2020
504539f
Update README
tleguijt Oct 22, 2020
9932c1c
Change build make target
tleguijt Oct 22, 2020
38f623a
Rename to terraform-provider-contentful
tleguijt Oct 22, 2020
d07dc1d
Set contentful-go to v0.5.0
tleguijt Oct 22, 2020
078c3de
Add release action
tleguijt Oct 22, 2020
aa6015c
Prepare changelog
tleguijt Oct 22, 2020
03253be
Removed unfinished 'upload' resources
tleguijt Oct 26, 2020
98a28ed
v0.1.0
tleguijt Oct 26, 2020
b41486e
Add goreleaser
tleguijt Oct 26, 2020
994bc8b
Fixed typo
tleguijt Oct 26, 2020
393ced5
try GPG_PASSPHRASE
tleguijt Oct 26, 2020
174f854
Add `testacc` option to makefile to run without docker, update changelog
qdegraaf Apr 29, 2021
58f884c
Fix validations issue (#8)
Ardjan-Aalberts Apr 30, 2021
430d8e9
Update Changelog
qdegraaf Apr 30, 2021
3a07bc6
Add tfplugindocs generated docs with examples, update gitignore
qdegraaf Jun 3, 2021
78f8d44
feat: Update go version to 1.17 and use the terraform plugin SDK
FaHeymann Jan 23, 2022
3cf6699
feat: Compatibility with terraform standards and SDK v2
FaHeymann Jan 23, 2022
1c6b11f
local-setup
Ardjan-Aalberts Apr 8, 2020
42b9af3
Fixed non working code and some test related bugs.
Ardjan-Aalberts Apr 15, 2020
7ef3977
Correct project setup
Ardjan-Aalberts Apr 16, 2020
0f77ece
Minor changes
Ardjan-Aalberts Apr 16, 2020
0eb15e9
Space id to environment variable
Ardjan-Aalberts Apr 16, 2020
b88a2b0
Docker working
Ardjan-Aalberts Apr 17, 2020
8163d15
removed some redundant code
Ardjan-Aalberts Apr 17, 2020
9f2e0bf
go mod versioning fix
Ardjan-Aalberts Apr 20, 2020
03ea07f
Create go.yml
jberghoef Apr 16, 2020
7d905fa
Update go.yml
jberghoef Apr 16, 2020
e681c3f
go test wildcard fix
Ardjan-Aalberts Apr 20, 2020
82cfadf
test config change
Ardjan-Aalberts Apr 20, 2020
f7be769
test config change
Ardjan-Aalberts Apr 20, 2020
6d60d2e
test config change
Ardjan-Aalberts Apr 20, 2020
5fae27f
test config change
Ardjan-Aalberts Apr 20, 2020
44857e5
test config now using secrets as environment variables for tests.
Ardjan-Aalberts Apr 20, 2020
40328ca
Terraform account boolean now set to True/1
Ardjan-Aalberts Apr 20, 2020
13d63eb
Update README.md
Ardjan-Aalberts Apr 20, 2020
fe694a2
Updated ReadMe to display correct project data.
Ardjan-Aalberts Apr 20, 2020
32ab4f1
Added Environments as resources for the provider. The provider is now…
Ardjan-Aalberts Apr 23, 2020
a7b6bae
Added support for entries.
Ardjan-Aalberts May 6, 2020
c517c3f
Added support for assets.
Ardjan-Aalberts May 8, 2020
78b3b44
Fixed versioning bug.
Ardjan-Aalberts May 11, 2020
8ab4bae
Fixed early-return bug.
Ardjan-Aalberts May 11, 2020
72332a0
Fixed optional fields of asset.
Ardjan-Aalberts May 13, 2020
8726ad7
Added uploads service.
Ardjan-Aalberts May 13, 2020
83901b5
Features/assets (#6)
Ardjan-Aalberts May 11, 2020
4466f08
Optional fields
Ardjan-Aalberts May 13, 2020
352daa0
Uploads resource to different branch.
Ardjan-Aalberts May 13, 2020
9aecdd9
Uploads resource to different branch.
Ardjan-Aalberts Jul 3, 2020
0a8377b
Update README
tleguijt Oct 22, 2020
8371bc7
Change build make target
tleguijt Oct 22, 2020
3dc6193
Rename to terraform-provider-contentful
tleguijt Oct 22, 2020
6418d3d
Set contentful-go to v0.5.0
tleguijt Oct 22, 2020
b8fa4e2
Add release action
tleguijt Oct 22, 2020
c45419a
Prepare changelog
tleguijt Oct 22, 2020
d66f90a
Removed unfinished 'upload' resources
tleguijt Oct 26, 2020
b68e108
v0.1.0
tleguijt Oct 26, 2020
aee5e2d
Add goreleaser
tleguijt Oct 26, 2020
617cc49
Fixed typo
tleguijt Oct 26, 2020
d7e829f
try GPG_PASSPHRASE
tleguijt Oct 26, 2020
6ebcd36
Add `testacc` option to makefile to run without docker, update changelog
qdegraaf Apr 29, 2021
e49c1d4
Fix validations issue (#8)
Ardjan-Aalberts Apr 30, 2021
c719cf1
Update Changelog
qdegraaf Apr 30, 2021
e5d94ba
Add tfplugindocs generated docs with examples, update gitignore
qdegraaf Jun 3, 2021
b639dfa
Synchronized project metafiles from labd/.github-private
demeyerthom Aug 11, 2023
a1e4ba5
🔄 synced local '.github/' with remote 'projects/go/.github'
labd-project-manager[bot] Sep 1, 2023
4cfcf70
Merge remote-tracking branch 'FaHeymann/update-go-and-terraform-sdk' …
demeyerthom Sep 15, 2023
5aff3bb
Minor cleanup
demeyerthom Sep 15, 2023
1b86413
Added changie, updated docs, updated to go 1.21
demeyerthom Sep 15, 2023
2893bfc
Added changie file
demeyerthom Sep 15, 2023
aec86d9
Merge pull request #22 from labd/19-fix-failing-tests
demeyerthom Sep 15, 2023
86cea3d
Release v0.4.0
demeyerthom Sep 15, 2023
90443ac
Merge pull request #23 from labd/release/v0.4.0
demeyerthom Sep 15, 2023
2bbfbec
PLT-684 - Add support for locales in env
Engerim Oct 25, 2023
2e3b0a7
Merge pull request #1 from Flaconi/plt-0-enable-locale-env-support
Engerim Oct 25, 2023
ddd3d32
PLT-684 - Prepare release
Engerim Oct 25, 2023
11517f2
Merge pull request #2 from Flaconi/plt-684-prepare-release
Engerim Oct 25, 2023
441435a
Release v0.5.0
Engerim Oct 25, 2023
2c6680f
Merge pull request #3 from Flaconi/release/v0.5.0
Engerim Oct 25, 2023
eb9e881
PLT-684 - Fix passphrase
Engerim Oct 25, 2023
275927d
Merge pull request #4 from Flaconi/plt-684-fix
Engerim Oct 25, 2023
91d783e
Release v0.5.1
Engerim Oct 25, 2023
5b818bd
Merge pull request #5 from Flaconi/release/v0.5.1
Engerim Oct 25, 2023
67aa50b
PLT-684 - Fix action
Engerim Oct 25, 2023
c8ad772
Merge pull request #6 from Flaconi/plt-684-fix
Engerim Oct 25, 2023
f5fedbb
Release v0.5.2
Engerim Oct 25, 2023
3da78fd
Merge pull request #7 from Flaconi/release/v0.5.2
Engerim Oct 25, 2023
b58e707
PLT-684 - Extend support in content types
Engerim Nov 6, 2023
d892731
Merge pull request #8 from Flaconi/plt-684-content-type
Engerim Nov 6, 2023
ea53e4a
Release v1.0.0
Engerim Nov 6, 2023
6ed59c8
Merge pull request #9 from Flaconi/release/v1.0.0
Engerim Nov 6, 2023
c52bcff
PLT-684 - Allow dedicated content type id
Engerim Nov 6, 2023
b3652a7
PLT-684 - Improve control settings (#11)
Engerim Nov 8, 2023
20ea831
Release v1.1.0 (#12)
github-actions[bot] Nov 8, 2023
49fa9fc
PLT-0 - Fix issue that default values are not set in contentful (#13)
Engerim Nov 10, 2023
c5fe002
Release v1.1.1 (#14)
github-actions[bot] Nov 10, 2023
133b95d
PLT-0 - Prevent field type change (#15)
Engerim Nov 13, 2023
76b339d
Release v1.2.0 (#16)
github-actions[bot] Nov 13, 2023
ca4c9c1
PLT-0 - Prevent field type change (#17)
Engerim Nov 14, 2023
6b42130
Release v1.2.1 (#18)
github-actions[bot] Nov 14, 2023
1c38f00
PLT-0 - update go releaser (#19)
Engerim Nov 29, 2023
f53b8b5
PLT-746 - Add support for apps (#20)
Engerim Dec 8, 2023
481cbd0
PLT-747 - Reorder of fields is not working (#22)
Engerim Dec 8, 2023
4932700
Release v1.3.0 (#21)
github-actions[bot] Dec 8, 2023
f458b7a
PLT-751 - Add support for app_installation (#23)
Engerim Dec 15, 2023
1c03604
Release v1.4.0 (#24)
github-actions[bot] Dec 15, 2023
bd155c0
PLT-0 - Use flaconi (#25)
Engerim Dec 19, 2023
96d5073
PLT-0 - Update API Keys (#27)
Engerim Dec 19, 2023
3248219
Release v2.0.0 (#26)
github-actions[bot] Dec 19, 2023
c797003
PLT-824 - Fixing for duplicated fields in content type (#28)
Engerim Mar 11, 2024
749f0e6
Release v3.0.0 (#29)
github-actions[bot] Mar 11, 2024
a0db2e4
fix: fixed incorrect documentation
demeyerthom Apr 19, 2024
64e558a
Merge pull request #30 from labd/29-mistake-in-asset-resource-usage-docs
demeyerthom Apr 19, 2024
cbcc5f4
feat: added option to set different base url
demeyerthom Apr 19, 2024
e219ac0
Merge pull request #32 from labd/28-provider-does-not-work-with-conte…
demeyerthom Apr 19, 2024
d8495a1
Release v0.5.0
demeyerthom Apr 19, 2024
ae30c05
Merge pull request #33 from labd/release/v0.5.0
demeyerthom Apr 19, 2024
43cb64c
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] May 3, 2024
db1bf3f
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] May 7, 2024
8bc88ff
🔄 synced local '.changie.yaml' with remote 'projects/go-terraform-pro…
labd-project-manager[bot] May 7, 2024
38b8ba0
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] May 10, 2024
c421212
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] May 10, 2024
bf76f6b
feat: support rich text fields
demeyerthom Jun 7, 2024
f218c8d
feat: added changie files
demeyerthom Jun 7, 2024
340506c
Merge pull request #35 from labd/34-does-this-provider-support-richtext
demeyerthom Jun 7, 2024
400403d
Release v0.5.1
demeyerthom Jun 7, 2024
b7b3313
Merge pull request #36 from labd/release/v0.5.1
demeyerthom Jun 7, 2024
fb50aa4
Revert "Release v0.5.1"
demeyerthom Jun 21, 2024
8be0b4a
Merge pull request #41 from labd/revert-36-release/v0.5.1
demeyerthom Jun 21, 2024
c34316a
Release v0.5.1
demeyerthom Jun 21, 2024
63d2c46
Update release.yaml
demeyerthom Jun 21, 2024
41d115c
Merge pull request #42 from labd/release/v0.5.1
demeyerthom Jun 21, 2024
c793ec4
Release v0.5.1
demeyerthom Jun 21, 2024
a3c5e8f
Merge pull request #43 from labd/release/v0.5.1
demeyerthom Jun 21, 2024
e1f97e0
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] Aug 2, 2024
d730f52
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
labd-project-manager[bot] Mar 7, 2025
6bc8d66
Merge remote-tracking branch 'flaconi/main'
mvantellingen Mar 24, 2025
3cc4de1
Merge pull request #45 from labd/feature/merge-flaconi-version
mvantellingen Mar 24, 2025
a24047f
chore: use `labd/contentful-go` package
mvantellingen Mar 24, 2025
2e25928
refactor: initial steps with openapi generated sdk
mvantellingen Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/header.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).
Empty file added .changes/unreleased/.gitkeep
Empty file.
3 changes: 3 additions & 0 deletions .changes/unreleased/Added-20250324-081735.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Added
body: Merge all improvements/fixes and new features from the flaconi version
time: 2025-03-24T08:17:35.614551+01:00
24 changes: 24 additions & 0 deletions .changes/v0.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
0.3.1 (2021-04-30)
==================
# Fixes

* Fixed a bug causing validations in fields to not be saved properly to the models

0.3.0 (2021-04-29)
==================
Re-release of 0.1.0 to fix registry.
# Features

Create, update and delete Contentful resources:
- [x] Spaces
- [x] Content Types
- [x] API Keys
- [x] Webhooks
- [x] Locales
- [x] Environments
- [x] Entries
- [x] Assets

0.1.0 (2020-10-26)
==================
Initial release
3 changes: 3 additions & 0 deletions .changes/v0.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.4.0 - 2023-09-15
### Added
* Updated to go 1.21, updated documentation and metadata files
7 changes: 7 additions & 0 deletions .changes/v0.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## v0.5.0 - 2024-04-19
### Added
* Added option to set different base url for API
### Fixed
* Fixed documentation
### Security
* Updated dependencies
4 changes: 4 additions & 0 deletions .changes/v0.5.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## v0.5.1 - 2024-06-21
### Fixed
* Added support for richtext
* Added better error handling
3 changes: 3 additions & 0 deletions .changes/v0.5.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.2 - 2023-10-25
### Fixed
* use action correct
3 changes: 3 additions & 0 deletions .changes/v1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.0.0 - 2023-11-06
### Changed
* Extended ContentType to support enviroments, more validations, locales in environments
3 changes: 3 additions & 0 deletions .changes/v1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.1.0 - 2023-11-08
### Added
* Added support for bulk_editing and tracking_field_id in settings; removed call to get contentful environment
3 changes: 3 additions & 0 deletions .changes/v1.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.1.1 - 2023-11-10
### Fixed
* Fixed issue that default values are not set
3 changes: 3 additions & 0 deletions .changes/v1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.2.0 - 2023-11-13
### Added
* Prevent field type change with error
3 changes: 3 additions & 0 deletions .changes/v1.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.2.1 - 2023-11-14
### Fixed
* Fixed field type validation to allow new fields in the middle
5 changes: 5 additions & 0 deletions .changes/v1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v1.3.0 - 2023-12-08
### Added
* Add support app configuration in the organization
### Fixed
* Fixed wrong behaviour when fields where sorted
3 changes: 3 additions & 0 deletions .changes/v1.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v1.4.0 - 2023-12-15
### Added
* Add support for app_installations
7 changes: 7 additions & 0 deletions .changes/v2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## v2.0.0 - 2023-12-19
### Added
* Add support for preview api keys
### Changed
* Use flaconi fork of contentful lib
* Replace labd with flaconi in the whole code base
* Use for app installation new client version
6 changes: 6 additions & 0 deletions .changes/v3.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## v3.0.0 - 2024-03-11
### Added
* added for content types unique validation
* switch to latest version of the contentful go lib
### Changed
* environment for content type is now required
28 changes: 28 additions & 0 deletions .changie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
changesDir: .changes
unreleasedDir: unreleased
headerPath: header.tpl.md
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
kindFormat: '### {{.Kind}}'
changeFormat: '* {{.Body}}'
kinds:
- label: Added
auto: minor
- label: Changed
auto: major
- label: Deprecated
auto: minor
- label: Removed
auto: major
- label: Fixed
auto: patch
- label: Security
auto: patch
- label: Dependency
auto: patch
newlines:
afterChangelogHeader: 1
beforeChangelogVersion: 1
endOfVersion: 1
envPrefix: CHANGIE_
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @labd/go
128 changes: 128 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: When you are running into an issue
title: ''
labels: bug, triage
assignees: ''

---

### Version information
- **terraform**: _Please specify the version of Terraform you are using._
- **terraform provider**: _Please specify the version of the provider you are using._

### Describe the bug
A clear and concise description of what the bug is.

### To Reproduce
Steps to reproduce the behavior.

### Expected behavior
A clear and concise description of what you expected to happen.

### Screenshots
If applicable, add screenshots to help explain your problem.

### Additional context
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Feature request
about: When you are missing a specific feature
title: ''
labels: enhancement, triage
assignees: ''

---

Describe the feature you would like to see implemented. Please provide as much
detail as possible. If you have a specific use case, please provide that as
well.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/support-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Support request
about: When you have a generic question
title: ''
labels: question, triage
assignees: ''

---

Describe your question here. Please provide as much detail as possible. If you
have a specific use case, please provide that as well.
```
25 changes: 25 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
day: tuesday
commit-message:
prefix: "chore(deps)"
groups:
go:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
day: tuesday
commit-message:
prefix: "chore(deps)"
groups:
github-actions:
patterns:
- "*"
36 changes: 36 additions & 0 deletions .github/workflows/dependabot-changie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Dependabot add changie file
on:
pull_request:
types: [opened]

permissions:
pull-requests: write
issues: write
repository-projects: write
contents: write

jobs:
dependabot-changie:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Fetch Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Create change file
uses: miniscruff/changie-action@v2
with:
version: latest
args: new --body "${{ github.event.pull_request.title }}" --kind Dependency

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(deps): add changelog for dependabot updates"
commit_user_name: "dependabot[bot]"
commit_user_email: "dependabot[bot]@users.noreply.github.com"
Loading