Skip to content
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

ical4j-connector 2.0-alpha #60

Merged
merged 214 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
8759ce5
Refactor dav response handling
Nov 17, 2021
5c87c9e
Code clean up
Nov 17, 2021
9118cfe
Refactor dav response handling
Nov 17, 2021
d3e43e3
Refactor dav request construction
Nov 17, 2021
2fee5c5
Added integration tests
Nov 17, 2021
2662163
Updated dependencies
Dec 28, 2021
6ec9a09
Added make for convenience
Dec 28, 2021
5510f0b
Added specification references
Dec 28, 2021
b4e39b2
Merged enums
Dec 28, 2021
fba225d
Refactored DAV/XML properties
Dec 28, 2021
d0355da
Refactored DAV response handling
Dec 29, 2021
ce49abb
Refactored support for PUT method
Dec 29, 2021
70c6673
Refactored DAV properties
Jan 1, 2022
5ddd5ee
Deprecated custom method
Jan 1, 2022
32bf0db
Refactored PUT method support
Jan 1, 2022
d1393b2
Refactored DAV client support
Jan 1, 2022
d4acb89
Support lambda exception handling
Jan 3, 2022
93001c4
Updated docs
Jan 3, 2022
726e3c4
Updated docs
Jan 4, 2022
ced5a58
Disabled integration tests
Feb 17, 2022
0b031f3
Update to latest ical4j release
Feb 17, 2022
02b7936
Fixed javadoc generation
Feb 17, 2022
f0fa0cd
Fixed javadoc generation
Feb 17, 2022
0973f0b
Fixed workflow for publish snapshots
Feb 17, 2022
895e1c4
Updated next version
Feb 17, 2022
a8bf4c6
Refactored method/request payloads
Jan 6, 2022
cde4b59
Refactored response handling
Jan 6, 2022
f7f5f09
Encapsulate DAV method request/response in client
Jan 6, 2022
3b12f0b
Refactored DAV client integration tests
Jan 7, 2022
18ff8ca
Removed path resolver reference from DAV client (DAV client paths are…
Jan 14, 2022
f8bea4d
Refactored path resolver
Jan 14, 2022
ff2e476
Refactored integration tests
Jan 14, 2022
10117c0
Fixed compilation issues
Feb 17, 2022
c360790
Fixed compilation issues
Feb 17, 2022
2c3ad27
Updated docs
Feb 17, 2022
20616e1
Use interfaces to define constants
Mar 21, 2022
8d4d7d0
Removed superfluous output
Mar 21, 2022
0195426
Upgrade to latest ical4j
Mar 21, 2022
58894ca
Refactoring path resolver
Mar 22, 2022
d1183ad
Implement dav resources
Mar 22, 2022
8e85b59
Added test coverage
Mar 22, 2022
59ad16e
Updated docs
Mar 22, 2022
8709011
Merge remote-tracking branch 'origin/develop' into feature/refactor
Mar 22, 2022
e7825a1
Updated build config
Mar 22, 2022
55c8c65
Approve major api changes due to refactor
Mar 22, 2022
ff4ead9
Updated docs formatting
Mar 22, 2022
8431d45
Added sponsorship details
Apr 7, 2022
8f96951
Added sponsorship details
Apr 7, 2022
233d71e
Added security scans
Apr 12, 2022
828660c
Remediate security alert
Apr 12, 2022
54184df
Gain all available resourcetypes from DavProperties
psnippen Apr 25, 2022
7d60b75
Merge pull request #52 from psnippen/bugfix/resourcetypes
benfortuna Apr 26, 2022
99a8d94
Updated gradle wrapper
May 9, 2022
b739277
Ignore jpa plugin artifacts
May 9, 2022
51b2d32
Removed redundant files
May 9, 2022
01b58b7
Refactored to a multi-module project
May 9, 2022
db033e5
Accept package change incompatibilities
May 9, 2022
4e78556
Refactored to a multi-module project
May 9, 2022
c06703c
Added support for ical4j v4
Jun 14, 2022
fc59561
Added merge and retrieve functions
Jun 14, 2022
74e7a28
Added command line support for calendar and card operations
Jun 14, 2022
52ece3b
Refactored xml request entities
Jun 21, 2022
93f4411
Added MKCOL props
Jun 21, 2022
7d7918c
Use path instead of URI for DAV client requests
Jun 21, 2022
bb141d1
Added command line dependencies
Jun 25, 2022
bdaa68c
Implement required methods
Jun 25, 2022
9be3944
Updated credentials
Jun 25, 2022
cf19661
Build with multiple JVMs
Jun 26, 2022
a716117
Disabled module support for java 8 compatibility
Jun 26, 2022
dc85409
Support initialisation of client with optional auth credentials
Jun 27, 2022
53a4fd9
Added test for dav client factory
Jun 28, 2022
3ffcfe1
Added container config for integration tests
Jun 28, 2022
c9a4dcd
Baikal returns HTTP 200 for MKCALENDAR
Jun 28, 2022
402b8fc
Support default headers for oauth bearer token
Jun 28, 2022
8516edf
Removed repository root path references to simplify path resolution
Jun 28, 2022
fdd0e1e
Added container config for integration tests
Jun 28, 2022
c13c575
Added test logging config
Jun 28, 2022
fc3e039
Fixed project description
Jun 28, 2022
5c16b78
Update jackrabbit dependency
Jun 28, 2022
8601628
Removed repository root path references to simplify path resolution
Jun 28, 2022
a76c05a
Refactoring
Jun 28, 2022
458dec8
Removed repository root path references to simplify path resolution
Jun 28, 2022
ab15398
Dedupe path separators
Jun 28, 2022
839e771
Updated ical4j dependencies
Aug 19, 2022
5db60fa
Updated dependencies
Aug 19, 2022
7473c0e
Updated baseline version
Aug 19, 2022
69ea535
Refactored test support
Aug 19, 2022
d3059cd
Added version info to manifest
benfortuna Nov 23, 2022
6a72a8a
Updated dependencies
benfortuna Nov 23, 2022
f5f8bef
Added placeholder for complex filter queries
benfortuna Nov 23, 2022
99ffa44
Refactored docs
benfortuna Nov 23, 2022
3daecfa
Split calendars when adding to ensure all UIDs are captured
benfortuna Feb 4, 2023
dbe5780
Improve typing
benfortuna Feb 4, 2023
cd149dd
Cleanup tests
benfortuna Feb 4, 2023
85da346
Improve typing
benfortuna Feb 4, 2023
dc2506d
Updated dependencies
benfortuna Feb 4, 2023
065dcf2
Improve typing
benfortuna Feb 4, 2023
844f51f
Refactoring
benfortuna Feb 11, 2023
51fdb26
Refactoring
benfortuna Feb 16, 2023
2236d2b
Refactoring
benfortuna Feb 16, 2023
d561d4d
Updated signatures to return UID of added collection objects
benfortuna Mar 2, 2023
f007ad2
Refactored local collection configuration
benfortuna Mar 2, 2023
fbd0036
Added collection manipulation commands
benfortuna Mar 2, 2023
df50a86
Updated command support
benfortuna Mar 5, 2023
0ec33bb
Added feature to bundle jetty
benfortuna Mar 5, 2023
19d6ce1
Added REST controllers
benfortuna Mar 5, 2023
d758202
Added providers for serialization to JSON, etc.
benfortuna Mar 5, 2023
927eb0c
Use built-in artefact generation
benfortuna Mar 5, 2023
b5f7a47
Added constant for default collection id
benfortuna Mar 5, 2023
487064e
Added constant for default collection id
benfortuna Mar 7, 2023
d397ca6
Added readme for cli and api
benfortuna Mar 14, 2023
1926788
Support listing collection object uids
benfortuna Mar 14, 2023
129e588
Refactored base command classes
benfortuna Mar 25, 2023
eb97ccb
Implement default output handlers
benfortuna Mar 25, 2023
5a4457b
Local install for testing
benfortuna Mar 25, 2023
9a1a437
Add logging to distribution
benfortuna Mar 25, 2023
13a909e
List all calendars in a collection
benfortuna Mar 30, 2023
ba1b95d
Added default constructor
benfortuna Mar 30, 2023
e1c419a
Implemented command functionality
benfortuna Mar 30, 2023
f8492bd
Refactored commands
benfortuna Mar 30, 2023
2efbecc
Added main class
benfortuna Mar 30, 2023
dd4c765
Updated dependencies
benfortuna Apr 10, 2023
b8483d8
Implemented collection export
benfortuna Apr 14, 2023
0940040
Upgraded gradle wrapper
benfortuna May 18, 2023
590384b
Use gradle check as default build action
benfortuna May 18, 2023
141dc53
Removed command and REST features to focus on core functionality
benfortuna Jun 4, 2023
7132c21
Removed command and REST features to focus on core functionality
benfortuna Jun 9, 2023
3b9fdff
Refine collection signatures
benfortuna Jun 9, 2023
cb45534
Refine build config
benfortuna Jun 9, 2023
fd171a4
Reduce scope of release until beta
benfortuna Jun 9, 2023
324c7f0
Refine collection signatures
benfortuna Jun 12, 2023
25e323c
Refactoring
benfortuna Jun 12, 2023
af7964d
Ignore test artefacts
benfortuna Jun 12, 2023
42dc1f1
Update baseline version
benfortuna Jun 12, 2023
48e4690
Extended listener support
benfortuna Jul 23, 2023
b222ab9
Updated dependencies
benfortuna Jul 23, 2023
cdc44a0
Added base classes for event handling
benfortuna Sep 14, 2023
7affdc3
Updated dependencies
benfortuna Dec 1, 2023
aa5bac2
Refactored api for consistent method conventions
benfortuna Dec 1, 2023
3b95e54
Removed jdk 8 from build targets
benfortuna Dec 1, 2023
da906b6
Defer jdk 21 build until upgrade to gradle 8+
benfortuna Dec 1, 2023
7407ad1
Refactored api for consistent method conventions
benfortuna Dec 1, 2023
85e0986
Refactored path resolution for caldav implementations
benfortuna Dec 1, 2023
66ec58f
Refactored path resolution for caldav implementations
benfortuna Dec 1, 2023
47c4a55
Refactored path resolution for caldav implementations
benfortuna Dec 1, 2023
d7407e5
Added encapsulation of session configuration
benfortuna Dec 1, 2023
5ee1d62
Refactored path resolution for caldav implementations
benfortuna Dec 1, 2023
39cbf16
Added encapsulation of session configuration
benfortuna Dec 1, 2023
acdf3d3
Merge branch 'develop' into feature/refactor
benfortuna Dec 1, 2023
97b196b
Refactored path resolution for caldav implementations
benfortuna Dec 1, 2023
06fb0cf
Fixed merge issue
benfortuna Dec 1, 2023
8b4bf31
Updated dependencies
benfortuna Jan 5, 2024
ba4de57
Restore file to fix merge conflict
benfortuna Jan 5, 2024
9127b1a
Merge branch 'develop' into feature/refactor
benfortuna Jan 5, 2024
4566a25
Updated dependencies
benfortuna Jan 5, 2024
dabb2f0
Merge remote-tracking branch 'origin/feature/refactor' into feature/r…
benfortuna Jan 5, 2024
d06a04c
Merge pull request #51 from ical4j/feature/refactor
benfortuna Jan 5, 2024
4d9cba2
Merge branch 'master' into develop
benfortuna Jan 6, 2024
b17f96a
Removed redundant files
benfortuna Jan 7, 2024
32870f3
Don't use null for property values
benfortuna Jan 7, 2024
b7bdf30
Removed redundant report type param
benfortuna Jan 7, 2024
efc0e60
Extract string value from element
benfortuna Jan 7, 2024
656a586
Fixed cast
benfortuna Jan 7, 2024
4769d68
Added convenience method for debugging
benfortuna Jan 7, 2024
ae620e6
Refactored test support
benfortuna Jan 7, 2024
c644e04
Fixed resource path
benfortuna Jan 7, 2024
5375fce
Disabled test
benfortuna Jan 7, 2024
23fc4b9
Updated radicale config
benfortuna Jan 7, 2024
817a5b8
Added baikal config
benfortuna Jan 7, 2024
4976baa
Upgraded baikal test data to 0.9.4
benfortuna Jan 7, 2024
08662a4
Support alpha release from develop branch
benfortuna Jan 7, 2024
191167b
Added workspace support
benfortuna Jan 25, 2024
0b77298
Added default, somewhat naive query/filtering support
benfortuna Feb 11, 2024
c8f27e1
Updated jdk matrix
benfortuna Feb 24, 2024
02efa40
Added Java module support
benfortuna Feb 24, 2024
6e58554
Upgrade gradle wrapper for java 21 compatibility
benfortuna Feb 24, 2024
e30858e
update merge
benfortuna Feb 29, 2024
bfbe152
Refactored property name sets
benfortuna Apr 1, 2024
3d32a5b
Updated dependencies
benfortuna Jun 10, 2024
5c5de12
Automate release notes
benfortuna Aug 6, 2024
40d84ac
Updated dependencies
benfortuna Aug 6, 2024
c127e39
Fixed test logging
benfortuna Aug 25, 2024
23b37e6
Disable output validation for now
benfortuna Sep 8, 2024
6d3d55f
Added convenience method for logging
benfortuna Sep 8, 2024
6371b00
Support multiple property sets
benfortuna Sep 8, 2024
d089596
Fixed cast
benfortuna Sep 8, 2024
0bde4d8
Support multiple property sets
benfortuna Sep 8, 2024
da27393
Added response handler for propfind
benfortuna Sep 8, 2024
769fa52
Support multiple components
benfortuna Sep 8, 2024
654b708
Fixed module scope
benfortuna Sep 8, 2024
9baea4b
Updated bind method
benfortuna Sep 8, 2024
88f5d34
Ignore broken test
benfortuna Sep 8, 2024
3855cd4
Upload test report
benfortuna Sep 8, 2024
1367c1f
Upload test report
benfortuna Sep 8, 2024
f6ab9ad
Upload test report
benfortuna Sep 8, 2024
e1ca5ca
Follow redirects
benfortuna Sep 8, 2024
0036238
Upload test report on failed build
benfortuna Sep 8, 2024
9574a47
Use common workflows
benfortuna Sep 8, 2024
f4f9210
Upload test report on failed build
benfortuna Sep 8, 2024
fdd0b16
Use common workflows
benfortuna Sep 8, 2024
ab842e8
Upload test report on failed build
benfortuna Sep 8, 2024
d29fcd0
Use var keyword to simplify code
benfortuna Sep 10, 2024
882b9c4
Refactoring
benfortuna Nov 2, 2024
3c43f03
Added workspace support
benfortuna Nov 2, 2024
c578875
Fixed test container startup
benfortuna Nov 2, 2024
8c85015
updated dependencies
benfortuna Nov 2, 2024
11c5dda
updated baikal credentials
benfortuna Nov 2, 2024
3f9b579
updated artefact
benfortuna Nov 3, 2024
4b8a62b
Removed module plugin causing duplicate classes issue
benfortuna Dec 26, 2024
5efc03e
Use common workflows
benfortuna Dec 26, 2024
a89f7c8
Remove db
benfortuna Dec 27, 2024
80f5342
Reverted db removal
benfortuna Dec 27, 2024
5b03581
Upgraded baikal db
benfortuna Dec 28, 2024
f3381da
Fixed deprecation issue
benfortuna Dec 28, 2024
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
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CHANGELOG_START_TAG=ical4j-connector-2.0.0-alpha2
CHANGELOG_END_TAG=HEAD

GRADLE_VERSION=8.4
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: benfortuna
31 changes: 20 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,29 @@ name: Java CI with Gradle

on: [push]

permissions: read-all

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
- name: Build with Gradle
# run: ./gradlew build
uses: eskatos/gradle-command-action@v1
with:
arguments: build
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Execute Gradle build
id: check
run: ./gradlew check --console=plain --warning-mode all

- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: test-report
path: "$GITHUB_WORKSPACE/ical4j-connector-dav/build/reports/tests"
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ develop, master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
schedule:
- cron: '20 13 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
21 changes: 21 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create Release

on:
push:
tags:
- "ical4j-connector-*"
- "!ical4j-connector-*-pre"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Generate changelog
# run: make changelog
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
# body_path: CHANGELOG.md
48 changes: 34 additions & 14 deletions .github/workflows/publish-snapshots.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,40 @@
name: Publish snapshots

on: [push]
on:
push:
branches:
- 'develop'
- 'feature/refactor'

permissions:
contents: read
checks: write
pull-requests: write

jobs:
gradle:
test:
uses: ical4j/ical4j/.github/workflows/test.yml@develop

publish:
name: Publish Artifact
needs: test
if: ${{ needs.test.result == 'success' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
arguments: build -x test publish
env:
GPR_USERNAME: benfortuna
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Execute Gradle build
run: ./gradlew build -x test publish
env:
GPR_USERNAME: benfortuna
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
55 changes: 55 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '36 1 * * 3'
push:
branches: [ develop ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read

steps:
- name: "Checkout code"
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1 # v1.0.4
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`,
# regardless of the value entered here.
publish_results: true

# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
ical4j-connector.iml
build
.gradle
.jpb
out
target
ical-local
Loading
Loading