Repository: favonia/cloudflare-ddns
Pull request #323 (2022-12-05 14:44:32)

docs: prepare for 1.8.1

codecov[bot]: # [Codecov](https://codecov.io/gh/favonia/cloudflare-ddns/pull/323?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) Report
> Merging [#323](https://codecov.io/gh/favonia/cloudflare-ddns/pull/323?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) (6dbb826) into [main](https://codecov.io/gh/favonia/cloudflare-ddns/commit/a6a8dad3337681dfda9af1232e3acf1c7e33c9f7?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) (a6a8dad) will **decrease** coverage by `0.00%`.
> The diff coverage is `100.00%`.

> :exclamation: Current head 6dbb826 differs from pull request most recent head ef5ab8a. Consider uploading reports for the commit ef5ab8a to get more accurate results

```diff
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   87.89%   87.88%   -0.01%     
==========================================
  Files          32       32              
  Lines        2048     2047       -1     
==========================================
- Hits         1800     1799       -1     
  Misses        236      236              
  Partials       12       12              
```

| Flag | Coverage Δ | |
|---|---|---|
| unittests | `87.88% <100.00%> (-0.01%)` | :arrow_down: |

Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia#carryforward-flags-in-the-pull-request-comment) to find out more.

| [Impacted Files](https://codecov.io/gh/favonia/cloudflare-ddns/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) | Coverage Δ | |
|---|---|---|
| [internal/api/cloudflare.go](https://codecov.io/gh/favonia/cloudflare-ddns/pull/323/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia#diff-aW50ZXJuYWwvYXBpL2Nsb3VkZmxhcmUuZ28=) | `100.00% <100.00%> (ø)` | |

:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia)


Patch:
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1ff0683..97f4808 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -19,7 +19,7 @@ jobs:
     name: Build
     runs-on: ubuntu-latest
     concurrency:
-      group: ${{ github.workflow }}-${{ github.ref }}
+      group: ${{ github.workflow }}-build-${{ github.ref }}
       cancel-in-progress: true
     permissions:
       contents: read
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index e8bd284..ee56b65 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -17,7 +17,7 @@ permissions:
 
 # Allow one concurrent deployment
 concurrency:
-  group: "pages"
+  group: ${{ github.workflow }}
   cancel-in-progress: true
 
 jobs:
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown
index 8607757..fb9ec82 100644
--- a/CHANGELOG.markdown
+++ b/CHANGELOG.markdown
@@ -1,3 +1,7 @@
+# [1.8.1](https://github.com/favonia/cloudflare-ddns/compare/v1.8.0...v1.8.1) (2022-12-05)
+
+A minor update with internal refactoring and insignificant UI adjustments.
+
 # [1.8.0](https://github.com/favonia/cloudflare-ddns/compare/v1.7.2...v1.8.0) (2022-11-25)
 
 ### Bug Fixes
diff --git a/README.markdown b/README.markdown
index 72a9a17..13a94db 100644
--- a/README.markdown
+++ b/README.markdown
@@ -169,7 +169,7 @@ Change `1000` to the user or group IDs you wish to use to run the updater. The s
 <details>
 <summary>🎭 Use <code>PROXIED=true</code> to hide your IP addresses.</summary>
 
-The setting `PROXIED=true` instructs Cloudflare to cache webpages on your machine and hide your actual IP addresses. If you wish to bypass that and expose your actual IP addresses, simply remove `PROXIED=true`. (The default value of `PROXIED` is `false`.)
+The setting `PROXIED=true` instructs Cloudflare to cache webpages on your machine and hide your actual IP addresses. If you wish to bypass that and expose your actual IP addresses, simply remove `PROXIED=true`. If your traffic is not HTTP(S), then Cloudflare cannot proxy it and you must turn off the proxying by removing `PROXIED=true`. (The default value of `PROXIED` is `false`.)
 
 </details>
 
diff --git a/internal/api/cloudflare.go b/internal/api/cloudflare.go
index fbc4b57..7c3648a 100644
--- a/internal/api/cloudflare.go
+++ b/internal/api/cloudflare.go
@@ -117,8 +117,7 @@ func (h *CloudflareHandle) ActiveZones(ctx context.Context, ppfmt pp.PP, name st
 			"initializing", // the setup was just started?
 			"moved",        // domain registrar not pointing to Cloudflare
 			"pending":      // the setup was not completed
-			ppfmt.Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete", name, zone.Status)
-			ppfmt.Warningf(pp.EmojiWarning, "Some features might stop working")
+			ppfmt.Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete; some features might not work as expected", name, zone.Status) //nolint:lll
 			ids = append(ids, zone.ID)
 		case
 			"deleted": // archived, pending/moved for too long


Test patch:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index fbeaa6d..96785c0 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -46,6 +46,9 @@ jobs:
   fuzz:
     name: Fuzz
     runs-on: ubuntu-latest
+    concurrency:
+      group: ${{ github.workflow }}-fuzz-${{ github.ref }}
+      cancel-in-progress: true
     env:
       FUZZTIME: "60s"
     steps:
diff --git a/internal/api/cloudflare_test.go b/internal/api/cloudflare_test.go
index 3d86c4f..06b3a93 100644
--- a/internal/api/cloudflare_test.go
+++ b/internal/api/cloudflare_test.go
@@ -412,8 +412,7 @@ func TestZoneOfDomain(t *testing.T) {
 			1, mockID("test.org", 0), true,
 			func(m *mocks.MockPP) {
 				gomock.InOrder(
-					m.EXPECT().Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete", "test.org", "pending"), //nolint:lll
-					m.EXPECT().Warningf(pp.EmojiWarning, "Some features might stop working"),
+					m.EXPECT().Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete; some features might not work as expected", "test.org", "pending"), //nolint:lll
 				)
 			},
 		},
@@ -423,8 +422,7 @@ func TestZoneOfDomain(t *testing.T) {
 			1, mockID("test.org", 0), true,
 			func(m *mocks.MockPP) {
 				gomock.InOrder(
-					m.EXPECT().Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete", "test.org", "initializing"), //nolint:lll
-					m.EXPECT().Warningf(pp.EmojiWarning, "Some features might stop working"),
+					m.EXPECT().Warningf(pp.EmojiWarning, "Zone %q is %q; your Cloudflare setup is incomplete; some features might not work as expected", "test.org", "initializing"), //nolint:lll
 				)
 			},
 		},