Commit graph

112 commits

Author SHA1 Message Date
Aleksejs Kovalovs
1883761078
update version & libs 2026-05-13 19:12:05 +03:00
Aleksejs Kovalovs
ab76b6bc96
feat: sync profile photo to frontmatter (#47)
Adds PhotoAdapter that writes the contact photo URL to the `photo` frontmatter key (or `PHOTO` in VCF strategy). Prefers user-uploaded photos over Google-generated avatars. No new setting — enabled by default.
2026-05-13 19:03:14 +03:00
Aleksejs Kovalovs
b27a061094
docs: add CLAUDE.md with architecture and contributor guide 2026-05-13 18:51:58 +03:00
Aleksejs Kovalovs
0ef0816879
Revert "feat: sync profile photo to frontmatter with custom key (#47)"
This reverts commit 53f2989e8b.
2026-04-13 19:35:00 +03:00
Wang Di
53f2989e8b
feat: sync profile photo to frontmatter with custom key (#47)
* feat: sync profile photo to frontmatter with custom key

- Add photos field to GoogleContact interface
- Add PhotoAdapter (currently unused, for potential future use)
2026-04-13 19:17:39 +03:00
Aleksejs Kovalovs
c8e7dffe6e
update version & libs 2026-04-09 17:32:41 +03:00
Wang Di
fc53c6caf4
feat: sync website URLs from Google Contacts (#46)
- Add urls field to GoogleContact interface
- Add website setting to enable/disable URL syncing
- Create UrlAdapter to extract URLs as array
- Add toggle in settings UI for 'Sync website URLs'
- Add comprehensive tests for UrlAdapter

Frontmatter output: website: [url1, url2, ...]
2026-04-09 17:27:19 +03:00
Aleksejs Kovalovs
66f0cd25e1
Update version & libs 2026-03-14 17:37:19 +02:00
aleksejs1
32a1a306cc
feat(address): extract region (state) field in VCF strategy (#44)
Added the extraction of the Google Contact `region` field to the AddressAdapter.
This surfaces the state/region part of the address as `REGION` suffix (e.g. `ADR.REGION`)
which was previously missing when using the VCF naming strategy.
Closes #42
2026-03-14 17:30:58 +02:00
Aleksejs Kovalovs
a25e88688e
Update libs & version 2026-03-12 19:22:34 +02:00
aleksejs1
31154578fd
Add contact type setting #39 (#41)
* Add contact type setting

* Add type for address
2026-03-12 19:19:04 +02:00
Aleksejs Kovalovs
357a3fbad3
Update libs & version 2026-02-28 10:26:54 +02:00
Aleksejs Kovalovs
f06d288c3a
merge: merge skip-contacts into master and resolve conflicts in processContact 2026-02-28 10:21:53 +02:00
Micah Stauffer
c658bb206a
Sync contacts individually. (continue on error) (#40)
Also, add ability to skip contacts if they are missing a name.
2026-02-28 10:19:12 +02:00
Aleksejs Kovalovs
25fdc0bb77
refactor: split processContact to reduce cyclomatic complexity 2026-02-28 10:15:19 +02:00
LuvForAirplanes
9459c2846d
Sync contacts individually. (continue on error)
Also, add ability to skip contacts if they are missing a name.
2026-02-27 12:31:34 -05:00
Aleksejs Kovalovs
a9e415ebc6
Update libs & version 2026-01-27 06:07:30 +02:00
aleksejs1
2718178d8d
Array in property values #36 (#37) 2026-01-27 06:05:18 +02:00
Aleksejs Kovalovs
196ecf5221
Update version 2025-12-30 06:22:14 +02:00
Aleksejs Kovalovs
ed2aa0fb29
Refactor context & improve test coverage 2025-12-30 06:20:49 +02:00
Aleksejs Kovalovs
5d53fe9368
Update version & libs 2025-12-29 19:45:07 +02:00
Kamil
1f4d8bf078
Add support for "Relations" fields (#29)
* Update target to EcmaScript 2021

According to this: https://forum.obsidian.md/t/what-is-the-most-sensible-ecmascript-build-target-for-a-plugin/103193
There is no reason to go lower right now.

* Start loading Relations from the People API

* Add relationsAsLink setting

* Add relations adapter with VCF support

---------

Co-authored-by: Aleksejs Kovalovs <aleks4444@inbox.lv>
2025-12-29 19:40:52 +02:00
Aleksejs Kovalovs
5845592af3
cleanup 2025-12-21 18:41:08 +02:00
Aleksejs Kovalovs
4be71014e1
Fix VCF subfileds & Ids 2025-12-21 18:15:09 +02:00
Aleksejs Kovalovs
005361b1c4
Update version 2025-12-21 17:01:29 +02:00
aleksejs1
a540f366d0
Add support of other contacts #11 2025-12-21 16:59:37 +02:00
Aleksejs Kovalovs
4c1b010eca
Update version 2025-12-21 05:11:28 +02:00
aleksejs1
2c2c14164c
Add customizable naming strategy for filenames as Last First. #16 (#24)
Add customizable naming strategy for filenames as Last First. Implements #16
2025-12-21 05:09:19 +02:00
Aleksejs Kovalovs
ce40b97799
update version 2025-12-20 12:56:21 +02:00
aleksejs1
d3fa61e98c
Improve code quality (#23)
* improve code quality

* add complexity check

* add dependency-cruiser

* add ts-prune

* add eslint-plugin-boundaries

* add quality script

* fix github actions
2025-12-20 12:54:50 +02:00
Aleksejs Kovalovs
bf39688a94
improve code quality checks 2025-12-20 11:04:10 +02:00
Aleksejs Kovalovs
666f27d8a9
Add workflow to publish docs 2025-12-20 10:42:12 +02:00
Aleksejs Kovalovs
ecff4f7c64
Add docs/ to git ignore 2025-12-20 10:32:08 +02:00
Aleksejs Kovalovs
8eade4fbf0
Remove docs/ 2025-12-20 10:31:35 +02:00
Aleksejs Kovalovs
9b6a202c4e
Update libs & change version 2025-12-20 10:14:31 +02:00
aleksejs1
262a4deb65
Merge pull request #22 from aleksejs1/vcard-format
Vcard format #15
2025-12-20 10:11:45 +02:00
Aleksejs Kovalovs
bc1c21f8eb
clran up 2025-12-20 10:02:09 +02:00
Aleksejs Kovalovs
cfa2b3815c
update readme.md #15 2025-12-20 09:55:51 +02:00
Aleksejs Kovalovs
0063f05076
update settings and translations 2025-12-20 09:49:00 +02:00
Aleksejs Kovalovs
778a3ce1c7
Add tests #15 2025-12-20 09:41:59 +02:00
Aleksejs Kovalovs
3d7bd390b4
comma separated categories for vCard #15 2025-12-20 09:14:51 +02:00
Aleksejs Kovalovs
a7942aa66b
Fix vCard name fields #15 2025-12-20 09:00:57 +02:00
Aleksejs Kovalovs
c34d704ad1
feat: #15 introduce contact data formatter with pluggable field adapters and naming strategies, including VCF support for detailed address and organization fields. 2025-12-20 07:06:09 +02:00
Aleksejs Kovalovs
5e02791341
Fix vCard format multiple entities #15 2025-12-19 04:48:07 +02:00
Aleksejs Kovalovs
ecf98468c4
Add vcf (vCard) naming strategy #15 2025-12-18 19:41:49 +02:00
Aleksejs Kovalovs
5cda2d2617
Refactor frontmatter #15 2025-12-18 19:02:20 +02:00
Aleksejs Kovalovs
2d01996927
Update version to 1.0.9 and update libs 2025-12-18 05:22:50 +02:00
aleksejs1
17962c2a27
Merge pull request #21 from aleksejs1/add-audit-command-19
add contact audit command (#19)
2025-12-18 05:21:03 +02:00
Aleksejs Kovalovs
efea8fa631
feat: introduce contact audit service with new command and report generation for orphaned notes. (#19) 2025-12-18 05:12:44 +02:00
Aleksejs Kovalovs
cdc6503d0c
Add code of conduct 2025-12-14 06:52:32 +02:00