Commit Graph
435 Commits
Author SHA1 Message Date
thischwa 4603753e7a Merge remote-tracking branch 'origin/feature/ki-review' into feature/ki-review
Build and Analyse / build-and-analyse (push) Failing after 1m27s
2026-11-04 17:08:51 +01:00
thischwaandClaude Opus 5.5 09eabb0d59 fix: stable and consistent paging of DNS records (#2)
- list DNS records with order=name&direction=asc, without an order
  Cloudflare's pages can overlap and miss records
- de-duplicate fetched entries by ID, fetch the pages again (up to 3
  times) if fewer entries than total_count were fetched, otherwise log
  a warning; debug log per fetched page
- testPaging: unique record names for an unambiguous order
- testDns: wait for the unfiltered record list, which can lag behind
  directly after creating records

refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:43:22 +01:00
gitea-actions-bot 4ca2c96c4b ci: update test report [skip ci] 2026-11-04 11:51:19 +00:00
thischwa 6eb6c2b778 Merge remote-tracking branch 'origin/feature/ki-review' into feature/ki-review
Build and Analyse / build-and-analyse (push) Failing after 1m21s
2026-11-04 12:49:04 +01:00
thischwaandClaude Opus 5.5 c7f27f2ac0 security: encode request parameters, enforce HTTPS, add timeouts (#2)
- query values (zone names, subdomains) are URL-encoded, zone and
  record IDs must be alphanumeric: prevents query parameter injection
  and path traversal
- zone names and subdomains with whitespace, control characters or
  \ ? # & ; | < > " ' ` are rejected with an IllegalArgumentException
- withBaseUrl only accepts HTTPS (plain HTTP only for loopback hosts),
  no query/fragment, trailing slash is removed
- connect and response timeouts (defaults 10 s / 30 s), configurable
  via withConnectTimeout / withResponseTimeout; values below 1 ms or
  overflowing milliseconds are rejected
- null credentials throw an IllegalArgumentException, build() without
  authentication an IllegalStateException
- tests, README and changelog updated

refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:48:54 +01:00
gitea-actions-bot d7df7cde9a ci: update test report [skip ci] 2026-11-03 17:27:38 +00:00
gitea-actions-bot d6b1333056 ci: update test report [skip ci] 2026-11-03 17:25:33 +00:00
thischwa f6c0544d9a Merge remote-tracking branch 'origin/feature/ki-review' into feature/ki-review
Build and Analyse / build-and-analyse (push) Failing after 1m17s
2026-11-03 18:24:06 +01:00
thischwa 0e6f4bb9c0 ci: add API_TOKEN environment variable to enable live tests in build-and-analyse workflow 2026-11-03 18:23:53 +01:00
gitea-actions-bot 88601efa1b ci: update test report [skip ci] 2026-11-03 17:19:07 +00:00
gitea-actions-bot 9e7118bcf8 ci: update test report [skip ci] 2026-11-03 17:04:41 +00:00
thischwaandClaude Opus 5.5 c3a5c5f3e5 test: cover AI code review changes in CfClientTest (#2)
Build and Analyse / build-and-analyse (push) Successful in 30s
- live tests for API error details (status code, Cloudflare errors),
  404 on deleting an unknown record, unknown zones with and without
  emptyResultThrowsException, closing the client, multi-level
  subdomains and the zone apex, server- and client-side type filter,
  record attributes (priority, comment, SRV data) and Instant
  timestamps
- testPaging fetches all pages with a small page size, therefore
  CfDnsClient got a package-private constructor with a custom page size
- testDns checks that recordUpdate doesn't modify the given record
- SRV records: the priority is part of the data, fixed javadoc,
  README and changelog accordingly

refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:02:16 +01:00
gitea-actions-bot 20fabf9667 ci: update test report [skip ci] 2026-11-03 16:34:48 +00:00
thischwaandClaude Opus 5.5 b6821b0076 ci: run build workflow for feature/** branches
Build and Analyse / build-and-analyse (push) Successful in 27s
"feature*" doesn't match branch names containing a slash like
feature/ki-review, so the workflow wasn't triggered.

refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 17:33:33 +01:00
thischwaandClaude Opus 5.5 732f92ee78 AI code review: fix bugs, rename sld to subdomain, improve usability (#2)
- bug fixes: API errors are no longer wrapped into "Unexpected error!",
  zoneGet no longer crashes on unknown zones, getSubdomain handles apex
  and multi-level names, batch operations send the full record name,
  list methods fetch all pages, recordDelete handles empty results
- rename "sld" to "subdomain": getSubdomain(), recordCreateSubdomain(),
  old methods deprecated; "@" (CfDnsClient.APEX) addresses the apex
- one shared HTTP client with connection pooling, CfDnsClient
  implements AutoCloseable
- CloudflareApiException provides HTTP status code and Cloudflare
  errors, HTTP 404 throws CloudflareNotFoundException
- RecordEntity supports priority, data, comment and tags
- recordCreate/recordUpdate send only writable attributes and don't
  modify the given record
- breaking: recordList overloads replaced by recordListBySubdomain and
  recordListByType, timestamps are java.time.Instant
- single record type is filtered server-side (?type=)
- tests, README and changelog updated

refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:44:25 +01:00
gitea-actions-bot 4b560141a1 ci: update test report [skip ci] 2026-10-31 11:26:47 +00:00
thischwaandClaude Opus 5.5 31229ff627 update README and fix "getRecord" wording in docs and messages
Build and Analyse / build-and-analyse (push) Successful in 24s
- README: fix fluent API examples (getRecord), complete recordCreate
  docs, document paging, groupRecordsByFqdn, recordDelete by id and
  multiple types in recordDeleteTypeIfExists, mention Java 17
- replace stray "getRecord" wording with "record" in javadoc, log and
  exception messages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:25:27 +01:00
gitea-actions-bot d2acc3ce74 ci: update test report [skip ci] 2026-10-31 10:56:43 +00:00
thischwaandClaude Opus 5.5 9aba45ab0e changes since v0.5.0
Build and Analyse / build-and-analyse (push) Successful in 23s
- prepare next development iteration 0.6.0-SNAPSHOT
- updated dependencies: jackson 3.2.4, httpclient5 5.6.4, lombok 1.18.48,
  logback-classic 1.6.6, mockito-junit-jupiter 5.24.0
- updated maven plugins: maven-compiler-plugin 3.16.0,
  maven-surefire-plugin 3.6.0, maven-jar-plugin 3.5.1
- jetbrains-annotations version moved to a property
- ci: publish-report rebases instead of force pushing and only
  publishes on push events
- add test report link to README.md
- update test report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:39:15 +01:00
thischwa 9a312b464e [maven-release-plugin] prepare release v0.5.0
Build and Analyse / build-and-analyse (push) Successful in 25s
v0.5.0
2026-09-07 09:25:59 +02:00
gitea-actions-bot bc373dad59 ci: update test report [skip ci] 2026-09-07 06:51:02 +00:00
thischwa b13a9ad02e install python3 in publish-report action
Build and Analyse / build-and-analyse (push) Successful in 24s
2026-09-07 08:50:29 +02:00
thischwa 65339f900d add java distribution input to setup-java-maven action
Build and Analyse / build-and-analyse (push) Failing after 43s
2026-09-07 08:29:39 +02:00
thischwa 7e065552a6 simplify action inputs by removing java distribution configuration
Build and Analyse / build-and-analyse (push) Failing after 5s
2026-09-07 08:21:12 +02:00
thischwa 6a11d881e1 add build and analyse workflow badge to README.md
Build and Analyse / build-and-analyse (push) Failing after 46s
2026-09-07 08:08:11 +02:00
gitea-actions-bot 7446dcc659 ci: update test report [skip ci] 2026-08-05 15:43:08 +00:00
thischwa 42e06245e1 fix #1 migrate codebase to Jackson 3.x 2026-08-05 17:42:04 +02:00
gitea-actions-bot 36d44ed7a4 ci: update test report [skip ci] 2026-08-05 15:04:39 +00:00
thischwa 68846b6676 update issue tracker link in pom.xml 2026-08-05 17:02:36 +02:00
gitea-actions-bot a651d478b0 ci: update test report [skip ci] 2026-07-21 17:35:05 +00:00
thischwa 3c480f19f8 add generation timestamp to JUnit test report 2026-07-21 19:33:51 +02:00
thischwa 32a35781b5 set Maven compiler source and target to java.version in pom.xml 2026-07-12 19:41:43 +02:00
thischwa 59111ea53c LICENSE aktualisiert 2026-07-12 18:19:55 +02:00
thischwa 982a95451d set Maven compiler source and target to java.version in pom.xml 2026-07-10 17:19:31 +02:00
thischwa be2fb5d89e update issue tracker link in README.md 2026-07-10 15:46:46 +02:00
thischwa d213f72138 update Maven package link in README.md 2026-07-08 19:34:07 +02:00
thischwa 824bcf060d add javadoc badge to README.md 2026-07-08 19:24:54 +02:00
thischwa dbedcdfe16 update javadoc link in README.md 2026-07-07 18:53:01 +02:00
thischwa 87b39fca7b update javadoc link in README.md 2026-07-03 18:16:30 +02:00
thischwa d052555ba7 Merge remote-tracking branch 'origin/develop' into develop 2026-06-28 19:38:24 +02:00
thischwa dfa2753619 - moved git actions to gitea actions
- removed sonarqube
- added report for junit tests
2026-06-28 19:37:50 +02:00
thischwa 0a47bb6338 remove javadoc 2026-06-28 19:09:53 +02:00
thischwa 25228af9f0 Generate Javadocs for BatchResponse and RecordType classes in the codes.thischwa.cf.model package. 2026-06-28 18:20:39 +02:00
thischwa d4fba87e13 Migrate GitHub Actions workflows and custom actions to Gitea, replacing .github directory with .gitea. 2026-06-28 13:09:05 +02:00
gitea-actions-bot 9919230a3b ci: update test report [skip ci] 2026-06-28 10:49:25 +00:00
thischwa ba9bc9ea93 Update publish-report action to write output to test.md instead of index.md 2026-06-28 12:48:34 +02:00
thischwa eea6e72145 Update changelog for version 0.5.0-SNAPSHOT: migrate to git.mein-gateway.de and replace SonarQube with custom actions 2026-06-27 19:39:27 +02:00
gitea-actions-bot c68b865798 ci: update test report [skip ci] 2026-06-27 17:03:10 +00:00
thischwa 41d35fe745 Add JaCoCo coverage parsing to publish-report action; enhance Markdown report with coverage details. 2026-06-27 19:02:19 +02:00
thischwa c2d10bb929 Clarify step names in publish-report action for improved readability. 2026-06-27 18:53:53 +02:00