Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
003200b
Update CONTRIBUTING.md
tcheeric Aug 19, 2025
9372d84
docs: clarify PR branch
tcheeric Aug 20, 2025
a3611a5
Merge pull request #396 from tcheeric/codex/update-contributing-instr…
tcheeric Aug 20, 2025
c8217fa
docs: reinforce PR submission guidelines
tcheeric Aug 20, 2025
e4ee959
Merge pull request #397 from tcheeric/codex/update-agents.md-for-pr-g…
tcheeric Aug 20, 2025
af49981
remove GitHub action for assigning Copilot reviewer
Aug 21, 2025
152b6c1
docs: update AGENTS.md with additional guidelines for new features an…
Aug 21, 2025
c2bd047
docs: update AGENTS.md to include guideline for describing test methods
Aug 21, 2025
56995d9
ci: show build log errors
tcheeric Aug 21, 2025
2bec13f
ci: surface build errors in failure issues
tcheeric Aug 21, 2025
5242b14
Merge pull request #399 from tcheeric/codex/update-ci-workflow-to-cre…
tcheeric Aug 21, 2025
6d7a130
Merge branch 'develop' into codex/update-ci-workflow-to-log-build-errors
tcheeric Aug 21, 2025
6669f36
Merge pull request #398 from tcheeric/codex/update-ci-workflow-to-log…
tcheeric Aug 21, 2025
1d688bd
ci: add codex label step
tcheeric Aug 21, 2025
ad3e4c7
Merge pull request #400 from tcheeric/codex/add-label-to-issues-in-wo…
tcheeric Aug 21, 2025
1c069d8
docs: list NIP titles
tcheeric Aug 21, 2025
9e368be
Merge pull request #401 from tcheeric/codex/add-nip-title-to-stopped-…
tcheeric Aug 21, 2025
05d7a91
ci: simplify PR title regex
tcheeric Aug 21, 2025
3cfbcf4
Merge pull request #402 from tcheeric/codex/update-pr-title-validatio…
tcheeric Aug 21, 2025
b51d5c5
feat: harden NIP-05 validator HTTP handling
tcheeric Aug 21, 2025
6acec2c
Merge pull request #403 from tcheeric/codex/refactor-nip05validator-f…
tcheeric Aug 21, 2025
4d0f8be
fix: add signing exception class
tcheeric Aug 21, 2025
61a2261
fix: handle event encoding errors
tcheeric Aug 21, 2025
be0df6b
fix: remove default marker assignment in EventTag
tcheeric Aug 21, 2025
78f879f
Merge pull request #404 from tcheeric/codex/introduce-signingexceptio…
tcheeric Aug 21, 2025
c7c39f8
Merge pull request #405 from tcheeric/codex/refactor-baseeventencoder…
tcheeric Aug 21, 2025
48e9b35
Merge pull request #406 from tcheeric/codex/refactor-marker-handling-…
tcheeric Aug 21, 2025
4529fcb
docs: enforce PR template usage
tcheeric Aug 21, 2025
200f059
Merge pull request #407 from tcheeric/codex/update-agent.md-to-enforc…
tcheeric Aug 21, 2025
f195b0b
chore: bump version to 0.2.2.1
tcheeric Aug 21, 2025
b5766b7
Merge pull request #408 from tcheeric/codex/update-version-to-0.2.2.1
tcheeric Aug 21, 2025
37b06d1
Update nostr-java-event/src/main/java/nostr/event/json/codec/EventEnc…
tcheeric Aug 21, 2025
4c5ef4c
test: add validation tests for more event types
tcheeric Aug 22, 2025
4ea39e0
Merge pull request #410 from tcheeric/codex/add-unit-tests-for-event-…
tcheeric Aug 22, 2025
7b1128e
refactor: remove unused Nip05Obj inner class
tcheeric Aug 22, 2025
18f3f2f
refactor: use EventEncodingException for encoding
tcheeric Aug 22, 2025
b6b81e7
Merge pull request #411 from tcheeric/codex/remove-nip05obj-inner-class
tcheeric Aug 22, 2025
88f51c6
Merge pull request #412 from tcheeric/codex/replace-jsonprocessingexc…
tcheeric Aug 22, 2025
be4d51b
refactor: unify decoder interface
tcheeric Aug 22, 2025
94ea72e
Merge pull request #413 from tcheeric/codex/update-decoders-to-confor…
tcheeric Aug 22, 2025
3e0994a
docs: update AGENTS.md to include guideline for adding test descriptions
Aug 22, 2025
b8accba
add GitHub action for resolving Codex-labeled issues
Aug 22, 2025
5d1cb68
ci: restrict codex workflow to CI-created issues
tcheeric Aug 22, 2025
9924626
Merge pull request #414 from tcheeric/codex/update-codex-job-conditio…
tcheeric Aug 22, 2025
7f6132b
chore(deps): bump spring-boot.version from 3.5.4 to 3.5.5
dependabot[bot] Aug 26, 2025
827e3d1
chore(deps): bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Aug 26, 2025
10f063f
chore(deps): bump actions/setup-java from 4 to 5
dependabot[bot] Aug 26, 2025
8f92263
chore(deps): bump actions/checkout from 3 to 5
dependabot[bot] Aug 26, 2025
a7842f7
chore(deps): bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Aug 26, 2025
9f3bae5
ci: configure release-please
tcheeric Aug 27, 2025
510b1a5
Merge pull request #420 from tcheeric/codex/create-release-configurat…
tcheeric Aug 27, 2025
2d1dd2e
ci: add workflow to publish artifacts
tcheeric Aug 27, 2025
e37bfee
Merge pull request #421 from tcheeric/codex/add-github-workflow-for-m…
tcheeric Aug 27, 2025
46cc49c
Merge pull request #416 from tcheeric/dependabot/maven/develop/org.ap…
tcheeric Aug 27, 2025
21e5db6
Merge pull request #417 from tcheeric/dependabot/github_actions/devel…
tcheeric Aug 27, 2025
77cce53
Merge pull request #418 from tcheeric/dependabot/github_actions/devel…
tcheeric Aug 27, 2025
f385122
chore: add maven configuration file
Aug 28, 2025
3bf07b5
chore: add commitlint configuration for commit message validation
Aug 28, 2025
675c0a7
docs: add commit message guidelines for consistency
Aug 28, 2025
95dbbea
chore: remove redundant workflow file
Aug 28, 2025
57c36f8
Merge remote-tracking branch 'origin/develop' into develop
Aug 28, 2025
bfc474c
ci: add workflow for verifying conventional commits
Aug 28, 2025
5366182
ci: add google-java-format workflow for code formatting
Aug 28, 2025
002ca9e
Google Java Format
Aug 28, 2025
bc9ee2d
ci: trigger publish on release workflow run
tcheeric Aug 28, 2025
0a60469
ci: trigger release-please on CodeQL success
tcheeric Aug 28, 2025
fe42be7
ci: run CodeQL after CI workflow
tcheeric Aug 28, 2025
f9afe90
ci: run after Format workflow
tcheeric Aug 28, 2025
1c44aaf
ci: guard google-java-format workflow
tcheeric Aug 28, 2025
10c3a36
Merge pull request #423 from tcheeric/codex/update-release-please.yml…
tcheeric Aug 28, 2025
f898b23
Google Java Format
Aug 28, 2025
be126fa
Merge pull request #422 from tcheeric/codex/modify-github-actions-pub…
tcheeric Aug 28, 2025
333ce25
Merge pull request #424 from tcheeric/codex/update-codeql-analysis-wo…
tcheeric Aug 28, 2025
d35c035
Merge pull request #425 from tcheeric/codex/update-ci-triggers-in-ci.yml
tcheeric Aug 28, 2025
33e48ab
Merge pull request #426 from tcheeric/codex/update-google-java-format…
tcheeric Aug 28, 2025
45d1abe
docs(agents): update test method documentation guidelines
Aug 28, 2025
efdf035
docs(contributing): update contribution guidelines for clarity
Aug 28, 2025
cfbc3f6
chore(license): update copyright holder in LICENSE file
Aug 28, 2025
e2571c3
Add qodana.yaml file
qodana-bot Aug 30, 2025
d146127
Add github workflow file
qodana-bot Aug 30, 2025
133b238
Merge pull request #427 from tcheeric/qodana-automation-1618672767
tcheeric Aug 30, 2025
b4d0b00
docs(api): add comprehensive Javadocs and clean up
Aug 31, 2025
9fcab91
chore(release): bump version to 0.2.3.0 (next minor)
Aug 31, 2025
1a7673b
Merge pull request #428 from tcheeric/docs/api-javadocs
tcheeric Aug 31, 2025
7130bd3
refactor: remove redundant rethrow and reuse HttpClient
Aug 31, 2025
e9b750d
docs: add PR 1 draft description
Aug 31, 2025
dd1355b
build: bump version to 0.2.4 and add PR draft
Aug 31, 2025
e410d35
Merge branch 'develop' into refactor/rethrow-and-httpclient
tcheeric Aug 31, 2025
ee41aa6
Merge pull request #429 from tcheeric/refactor/rethrow-and-httpclient
tcheeric Aug 31, 2025
c8c31b7
refactor(deserializer): replace forEachRemaining with while loop for …
Aug 31, 2025
38b6b90
refactor(nip): update StringEscapeUtils import to use commons.text pa…
Aug 31, 2025
ec59bec
chore(pom): bump version to 0.3.0 and add commons-text dependency
Aug 31, 2025
9c70f4a
fix(CreateOrUpdateStallEvent): improve validation for stall fields
Aug 31, 2025
b40a9b6
refactor(merchant-event): streamline error handling for entity valida…
Aug 31, 2025
9938071
refactor(nip): simplify nip05 validation and improve error handling
Aug 31, 2025
c5393e4
refactor(nostr): update retryable annotation to include IOException
Aug 31, 2025
7135a2e
Merge pull request #430 from tcheeric/refactor/rethrow-and-httpclient…
tcheeric Aug 31, 2025
616664c
Merge pull request #419 from tcheeric/dependabot/maven/develop/org.sp…
tcheeric Aug 31, 2025
2e646b2
Merge remote-tracking branch 'origin/dependabot/maven/develop/spring-…
Aug 31, 2025
0837154
Merge pull request #431 from tcheeric/release/0.3.1-refactor-deprecat…
tcheeric Aug 31, 2025
4878f29
chore(workflows): remove CodeQL analysis workflow
Aug 31, 2025
8752c7e
chore(workflows): update workflow triggers for formatting and CI
Aug 31, 2025
7dec7e0
chore(pom): bump nostr-java version to 0.3.1
Aug 31, 2025
2147498
ci(workflows): update publish workflow for release events
Aug 31, 2025
c06f6f4
Merge pull request #432 from tcheeric/publish_action
tcheeric Aug 31, 2025
383046f
chore(deps): bump JetBrains/qodana-action from 2025.1 to 2025.2
dependabot[bot] Sep 2, 2025
cd00a3d
chore(deps): bump actions/checkout from 3 to 5
dependabot[bot] Sep 2, 2025
625dfce
chore: tidy spring websocket client files
tcheeric Oct 3, 2025
2d6a242
docs: add spring subscription example client
tcheeric Oct 3, 2025
924599e
fix: avoid blocking subscription close
tcheeric Oct 3, 2025
4b0a175
chore: add .qodana to gitignore
Oct 3, 2025
932d643
refactor(api): enable non-blocking subscription handling
Oct 3, 2025
d2635dc
refactor(api): restore override for decode method
Oct 3, 2025
14ad06b
docs(bech32): improve method documentation for encode and decode
Oct 3, 2025
e34c7c8
refactor(api): make classTypeTagsMap final for immutability
Oct 3, 2025
5a521f2
docs(schnorr): enhance method documentation for sign and verify
Oct 3, 2025
ab99fe4
refactor(api): remove unused id field from ZapRequest
Oct 3, 2025
b811357
refactor(api): remove redundant assertion handling in product event v…
Oct 3, 2025
22d3f93
refactor(api): restore override annotation for decode method
Oct 3, 2025
0bd966c
refactor(api): restore override annotation for decode method
Oct 3, 2025
024ec93
refactor(api): restore override annotation for decode method
Oct 3, 2025
ba98567
refactor(api): suppress resource warning for HttpClient instantiation
Oct 3, 2025
33543a3
refactor(api): restore override annotations and clean up method docum…
Oct 3, 2025
d0818b5
refactor(api): make relayName and relayUri final fields
Oct 3, 2025
74858ea
refactor: deleted files
Oct 3, 2025
03a405f
refactor(api): simplify tag addition logic in CalendarContent
Oct 3, 2025
5968fcc
refactor: update pull request template to clarify purpose section
Oct 3, 2025
18de8cd
Merge pull request #448 from tcheeric/codex/add-non-blocking-subscrip…
tcheeric Oct 3, 2025
f0e3cb7
chore(pom): update version to 0.4.0
Oct 3, 2025
df880ac
wip: migrate nostr-java to nostr-java-bom - needs BOM update for Spri…
Oct 5, 2025
2d21380
feat: migrate nostr-java to nostr-java-bom and bump to 0.5.0
Oct 5, 2025
f7b3a3b
chore: add PR document for BOM migration
Oct 5, 2025
ddf23e5
chore: update GitHub workflow triggers for Qodana and formatting
Oct 5, 2025
4777ced
chore: configure CI to run on pull requests and pushes
Oct 5, 2025
7e7547f
Merge pull request #434 from tcheeric/dependabot/github_actions/devel…
tcheeric Oct 5, 2025
ce4ed73
Merge pull request #433 from tcheeric/dependabot/github_actions/devel…
tcheeric Oct 5, 2025
c400c3d
chore(pom): delete
Oct 5, 2025
1a113d6
chore: bump version to 0.5.0
Oct 5, 2025
643539c
docs: Revamp docs, add streaming subscriptions guide, and add navigat…
Oct 5, 2025
b3a8b6d
docs: comprehensive documentation improvements and fixes
Oct 5, 2025
61fb3ab
docs: update relay URLs to use 398ja relay
Oct 5, 2025
5bfeb08
docs: remove redundant examples from CODEBASE_OVERVIEW.md
Oct 5, 2025
38bc38e
fix: source plugin versions from properties
tcheeric Oct 5, 2025
08b1d6c
Merge pull request #450 from tcheeric/codex/address-comment-in-pom.xml
tcheeric Oct 5, 2025
368eeec
Merge pull request #449 from tcheeric/feat/bom-migration
tcheeric Oct 5, 2025
11a268b
chore: bump version to 0.5.1
Oct 5, 2025
d56ff99
docs: add PR document for documentation improvements
Oct 5, 2025
b8b65e1
docs(agents): enhance coding and documentation guidelines
Oct 5, 2025
66a1a6d
Merge branch 'develop' into docs/revamp-docs
tcheeric Oct 5, 2025
3048ccf
chore: align module versions with 0.5.1
tcheeric Oct 5, 2025
2f064ad
Merge pull request #451 from tcheeric/docs/revamp-docs
tcheeric Oct 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
extends: '@commitlint/config-conventional'

rules:
# See: https://commitlint.js.org/reference/rules.html
#
# Rules are made up by a name and a configuration array. The configuration
# array contains:
#
# * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if
# violated
# * Applicability [always|never]: never inverts the rule
# * Value: value to use for this rule (if applicable)
#
# Run `npx commitlint --print-config` to see the current setting for all rules.

header-max-length: [2, always, 100] # Header can not exceed 100 chars

type-case: [2, always, lower-case] # Type must be lower case
type-empty: [2, never] # Type must not be empty

# Supported conventional commit types
type-enum: [2, always, [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]]

scope-case: [2, always, lower-case] # Scope must be lower case

# Error if subject is one of these cases (encourages lower-case)
subject-case: [2, never, [sentence-case, start-case, pascal-case, upper-case]]
subject-empty: [2, never] # Subject must not be empty
subject-full-stop: [2, never, "."] # Subject must not end with a period

body-leading-blank: [2, always] # Body must have a blank line before it
body-max-line-length: [2, always, 100] # Body lines can not exceed 100 chars

footer-leading-blank: [2, always] # Footer must have a blank line before it
footer-max-line-length: [2, always, 100] # Footer lines can not exceed 100 chars

# ------------------------------------------------------------
# BREAKING CHANGES — guidance (informational; not enforced):
#
# How to mark a breaking change (either or both):
# 1) Put "!" in the header after the type or scope, e.g.:
# feat!: drop support for node 14
# refactor(auth)!: remove legacy token flow
#
# 2) Add a footer that starts with:
# BREAKING CHANGE: <short summary>
# Follow with impact/migration details, each line ≤ 100 chars.
#
# This config already allows both patterns via @commitlint/config-conventional.
# Note: commitlint cannot (in YAML) *require* a BREAKING CHANGE footer only
# when "!" is used. If you need that kind of conditional enforcement, use a
# JS config (*.cjs) with a custom rule.
# ------------------------------------------------------------
6 changes: 0 additions & 6 deletions .github/labeler.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Why now?
## Summary
<!-- Explain the problem, context, and why this change is needed. Link to the issue. -->

Related issue: #____

## What changed?
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/assign-copilot-review.yml

This file was deleted.

46 changes: 40 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
name: CI

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
branches:
- develop
- main
- master
push:
branches:
- develop
- main
- master

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v4
- uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -q verify
run: ./mvnw -q verify |& tee build.log
- name: Show build log
if: failure()
run: |
echo "Build error"
grep '^\[ERROR\]' build.log || true
echo "Build log tail"
tail -n 200 build.log
- name: Upload surefire reports
if: always()
uses: actions/upload-artifact@v4
Expand All @@ -41,4 +57,22 @@ jobs:
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
- name: Create issue on failure
if: failure() && github.ref == 'refs/heads/develop'
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
const file = fs.readFileSync('build.log', 'utf8').split('\\n');
const errors = file.filter(line => line.startsWith('[ERROR]'))
.slice(-20)
.join('\\n');
const log = file.slice(-50).join('\\n');
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `CI build failed for ${context.sha.slice(0,7)}`,
body: `Build failed for commit ${context.sha} in workflow run ${context.runId}.\\n\\nBuild error:\\n\\n\u0060\u0060\u0060\\n${errors}\\n\u0060\u0060\u0060\\n\\nLast lines of build log:\\n\\n\u0060\u0060\u0060\\n${log}\\n\u0060\u0060\u0060`,
labels: ['ci']
});
30 changes: 0 additions & 30 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/enforce_conventional_commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Conventional Commits

permissions:
contents: read

on:
pull_request:
branches:
- develop

jobs:
commit-lint:
name: Verify Conventional Commits

# Skip this job if this is a release PR
if: (github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'release-please--'))

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v5
with: { fetch-depth: 0 }

- name: Check Commit Messages
uses: wagoid/commitlint-github-action@v6
with: { configFile: .commitlintrc.yml }
20 changes: 20 additions & 0 deletions .github/workflows/google-java-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Format

on:
pull_request:
branches:
- main
- master

jobs:

formatting:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5 # v2 minimum required
- uses: axel-op/googlejavaformat-action@v4
with:
args: "--replace"
# Recommended if you use MacOS:
# github-token: ${{ secrets.GITHUB_TOKEN }}
19 changes: 0 additions & 19 deletions .github/workflows/issue-labeler.yml

This file was deleted.

Loading
Loading