Commit Graph

66 Commits

Author SHA1 Message Date
ab303c694e Update PLUG.md name for Gitea
All checks were successful
Build SilverBullet Plug / build (push) Successful in 21s
2026-02-16 09:31:16 -08:00
31fdf3f42b Correct PLUG.md format based on template
All checks were successful
Build SilverBullet Plug / build (push) Successful in 28s
2026-02-16 08:23:07 -08:00
cb4f2c03c0 Switch PLUG.md back to table format for better compatibility
All checks were successful
Build SilverBullet Plug / build (push) Successful in 31s
2026-02-16 08:22:19 -08:00
GitHub Action
74177dc4b5 Build and update icalendar.plug.js [skip ci] 2026-02-16 16:10:53 +00:00
f2fedb690c Bump version to 0.2.2
All checks were successful
Build SilverBullet Plug / build (push) Successful in 26s
2026-02-16 08:10:15 -08:00
099374e878 Remove artifact upload step
All checks were successful
Build SilverBullet Plug / build (push) Successful in 21s
2026-02-16 08:06:49 -08:00
GitHub Action
479c096587 Build and update icalendar.plug.js [skip ci] 2026-02-16 16:05:47 +00:00
57cb085982 Add contents:write permission to fix CI push
Some checks failed
Build SilverBullet Plug / build (push) Failing after 28s
2026-02-16 08:05:17 -08:00
f847ad53bc Update SilverBullet dependency to v2.4.1
Some checks failed
Build SilverBullet Plug / build (push) Failing after 23s
2026-02-16 07:57:23 -08:00
6a862a5563 Use GITHUB_TOKEN for push in CI
Some checks failed
Build SilverBullet Plug / build (push) Failing after 27s
2026-02-16 07:50:27 -08:00
3fa0bd553b Robust fetch with User-Agent and URL encoding
Some checks failed
Build SilverBullet Plug / build (push) Failing after 26s
2026-02-16 07:48:32 -08:00
af12466721 Use edge compiler URL
Some checks failed
Build SilverBullet Plug / build (push) Failing after 28s
2026-02-16 07:43:22 -08:00
17ba5aa701 Add git diagnostics to workflow
Some checks failed
Build SilverBullet Plug / build (push) Failing after 13s
2026-02-16 07:42:23 -08:00
b8497c09d3 Fix checkout fetch-depth for CI push
Some checks failed
Build SilverBullet Plug / build (push) Failing after 14s
2026-02-16 07:41:31 -08:00
0a58c16705 Add URL trimming and fetching logs
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
2026-02-16 07:40:35 -08:00
b59aabd115 Update to SB v0.10.4
Some checks failed
Build SilverBullet Plug / build (push) Failing after 7s
2026-02-15 17:53:21 -08:00
c39b869795 Update dependencies and add diagnostics
Some checks failed
Build SilverBullet Plug / build (push) Failing after 7s
2026-02-15 17:52:33 -08:00
e33be08320 Use raw github URL for plug-compiler
Some checks failed
Build SilverBullet Plug / build (push) Failing after 7s
2026-02-15 17:51:37 -08:00
1ce9011d60 Try building with --no-check and Deno v2.x
Some checks failed
Build SilverBullet Plug / build (push) Failing after 7s
2026-02-15 17:50:52 -08:00
56e11f748b Use stable plug-compiler v0.10.1 to fix CI
Some checks failed
Build SilverBullet Plug / build (push) Failing after 8s
2026-02-15 17:50:09 -08:00
bb1b9a93ad Make configuration more robust for single sources
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
2026-02-15 17:39:32 -08:00
6641f03519 Update PLUG.md
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
2026-02-16 00:05:47 +00:00
44079d525a Use Deno v1.x and add debugging to workflow
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
2026-02-15 15:56:10 -08:00
GitHub Action
a09bfd805a Build and update icalendar.plug.js [skip ci] 2026-02-15 23:55:00 +00:00
19826c1678 Automate committing compiled plug back to repo
Some checks failed
Build SilverBullet Plug / build (push) Failing after 14s
2026-02-15 15:54:42 -08:00
651a1107d1 Align project structure with silverbullet-plug-template
Some checks failed
Build SilverBullet Plug / build (push) Failing after 11s
- Rename deno.jsonc to deno.json and update build tasks
- Add PLUG.md for SB v2 installation
- Update .gitignore to include .plug.js files
- Update README.md with new installation instructions
- Simplify GitHub workflow
2026-02-15 15:27:51 -08:00
daab3cf2f3 Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
2026-02-15 15:02:07 +00:00
5ba0445eeb Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
2026-02-15 15:00:21 +00:00
31fddc1e26 Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
2026-02-15 14:58:47 +00:00
7ff19185e2 Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 8s
2026-02-15 14:57:29 +00:00
606340058e Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 24s
2026-02-15 14:54:48 +00:00
1107571bf1 Update .github/workflows/publish.yml
Some checks failed
Publish / publish (push) Failing after 1m6s
2026-02-15 14:49:38 +00:00
1d2fd52715 Add .github/workflows/publish.yml 2026-02-15 14:47:33 +00:00
Alexandre Nicolaie
deb30ab6b3 Migrate to ts-ics 2.4.0 API and fix duplicate recurring events
ts-ics 2.4.0 changed API from parseIcsCalendar to convertIcsCalendar
and VCalendar to IcsCalendar. The new API returns Date objects and
nested date structures that require recursive conversion to strings
for SilverBullet indexing.

Recurring events were creating duplicate refs because the hash only
used the UID, which is identical across occurrences. Including the
start date in the unique key ensures each occurrence gets a distinct
ref.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
2025-10-18 16:15:46 +02:00
Alexandre Nicolaie
904c1b9d94 Add clear all events functionality
Add 'iCalendar: Clear All Events' command to completely remove
all indexed calendar events and cache. Useful for maintenance
and troubleshooting.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
2025-10-18 16:15:46 +02:00
Alexandre Nicolaie
34bbe69569 Add automatic calendar sync on editor initialization
Calendars now sync automatically when the editor starts, eliminating the
need for manual sync after opening SilverBullet.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
2025-10-18 16:15:46 +02:00
Alexandre Nicolaie
38dd97c25c Add force sync command
Add 'iCalendar: Force Sync' command to bypass cache and
immediately synchronize calendar events. Useful when you
need fresh data before the cache expires.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
2025-10-18 16:15:46 +02:00
Alexandre Nicolaie
d3e4fc021b Migrate to SilverBullet v2 indexing system
Replace deprecated query provider with index-based architecture.
Events are now indexed using index.indexObjects() and queryable
via Lua Integrated Query (LIQ).

Breaking changes:
- Plugin now requires SilverBullet v2 (use v0.1.0 for SB v1)
- Old query syntax no longer works (use LIQ instead)
- Manual sync required via 'iCalendar: Sync' command
- Events cached for 6h by default (was real-time)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
2025-10-18 16:15:46 +02:00
Marek S. Lukasiewicz
8a7c9700ee Update README 2025-01-05 19:22:02 +01:00
Marek S. Lukasiewicz
e12420aba3 Add Nextcloud screenshot 2025-01-05 19:09:48 +01:00
Marek S. Łukasiewicz
4df5a1f8a8 Update README.md 2025-01-05 18:20:40 +01:00
Marek S. Lukasiewicz
e13e6e2bc2 Add LICENSE 2025-01-05 17:59:16 +01:00
Marek S. Lukasiewicz
529c534d4a Add version command v0.1.0 2025-01-05 17:57:27 +01:00
Marek S. Lukasiewicz
d28bd28efc Add instructions for Nextcloud and Google Calendar 2025-01-05 17:54:11 +01:00
Marek S. Lukasiewicz
1de79df25d Define the event object 2025-01-05 17:14:34 +01:00
Marek S. Lukasiewicz
9d234428d4 Load ics sources from Space Config 2025-01-05 16:56:39 +01:00
Marek S. Lukasiewicz
968353ce80 Rename Plug to icalendar 2025-01-05 16:06:57 +01:00
Marek S. Lukasiewicz
98edb7a818 Specify project scope 2025-01-04 20:51:41 +01:00
Marek S. Lukasiewicz
10a64f8927 Fix querying with filters 2025-01-04 19:22:43 +01:00
Marek S. Lukasiewicz
c028032787 WIP: Query for events 2025-01-03 23:55:53 +01:00