Commit graph

28 commits

Author SHA1 Message Date
Roland
87082885cc Refs #17 a logcal change to allow for testabillity of the new features separately 2026-04-17 14:18:48 +02:00
Roland
dbe12e89b3 Refs #17 a littl cleanup befor pull review 2026-04-17 13:51:52 +02:00
Roland
8feb076c49 Refs #17 add defaults to current file implemented as command p action, validation in default field inputs 2026-04-17 13:36:18 +02:00
Roland
51ee6c8737 Refs #17 we have settings page and the create new works 2026-04-16 17:06:22 +02:00
Roland Broekema
c430b0b586 Refs: #73 first test set for the sync loop bug updateFromRemote 2026-01-05 16:17:47 +01:00
Roland Broekema
1e0d9e03f4 Refs: #71 #70 bugfix on insight settings and pushing too cardav new created contact 2025-12-03 14:06:24 +01:00
Roland Broekema
1d23ee3313 Refs #8 Made the conversion functions but unfortunatelt downstream the photo compatibillity plan did not work ot 2025-11-01 14:22:43 +01:00
Roland Broekema
acfdc5efde Refs #8 going threw file logic but unfortunately all code is needed 2025-10-26 11:11:36 +01:00
Roland Broekema
14bcb8459e Refs #8 settingsContext is now a deeper module with a clear interface reducing overall complexity 2025-10-25 14:38:23 +02:00
Roland Broekema
f1a5632f51 Refs #8 mergin in master too keep diverging minimal as possible 2025-10-16 15:11:18 +02:00
k-g-a
bbf5d6983b test(vcard.spec): move console warn from stderr output to an expected call 2025-10-14 14:43:16 +05:00
k-g-a
4791b5dc14 tests(context.spec): fix typo 2025-10-14 14:42:13 +05:00
k-g-a
69fd1e6c35 test(encodings.spec): add encoding tests and helper function 2025-10-14 14:41:40 +05:00
k-g-a
f611ade4bb test(fixtures): add test data 2025-10-14 14:39:00 +05:00
Roland Broekema
200e6c0d62 Refs #8: mergin in master so that we can contignue dev on this feature 2025-09-19 16:43:39 +02:00
Roland Broekema
e0a9f7ee6f feat: add new contact now allows to select kind (addition on #42) 2025-09-19 13:55:22 +02:00
Roland Broekema
274a25efe1 feat: treat FN as a mandatory field as per spec. remove fallback to ORG. make tests green again 2025-09-08 12:26:03 +02:00
Bjørn Stabell
906818901a feat: Add full support for organization contacts (#43)
- Converted vCard parsing from array-based to generator pattern (use less memory so bigger batch imports are possible)
- Centralized name/slug creation into nameUtils module
- Support organization contacts that don't require given/family names - slug/file names are now based on N components if they exist, with FN, NICKNAME, ORG, and UUID as fallbacks
- Contacts that miss all of those fields are considered invalid and skipped on batch import
- Update UI to handle batch imports with proper skip reporting
- Improved error handling and reporting during VCF imports
- Add test coverage for organization contacts, file and slug creation utilities

This allows proper import/export of organization contacts (companies,
businesses) that only have an ORG field without requiring artificial
name fields, matching the behavior of standard contact applications.
2025-09-04 10:23:29 -07:00
Roland Broekema
1e8aa04adc Refs #8: decided to introduce signals to reduce callback complexity while we work on sync 2025-07-09 10:18:59 +02:00
Roland Broekema
0810c8af51 Refs #8: we have a settings page that can check the connection and save the settings if ok 2025-06-26 14:36:59 +02:00
Roland Broekema
0dd74913f9 Refs #32: adding some docs for testing 2025-06-12 20:41:06 +02:00
Roland Broekema
6e47b37b17 Refs #32: Completed implementing test for tostring. 2025-06-12 16:49:29 +02:00
Roland Broekema
dc32e87c62 Refs #32: Moving obsidion Notice outside the vcard module 2025-06-12 15:55:23 +02:00
Roland Broekema
b51052f239 Refs #32: we now have a full test set for vcard.parse, wohoo 2025-06-12 14:10:46 +02:00
Roland Broekema
66eb591ced extracted the sorting algorith and moved out of the vcard module at this is only important for the md render and we can guarantee the sorting is maintained this way 2025-06-10 09:48:56 +02:00
Roland Broekema
a01db62ede Refs #32: repair the build and allowing for use the vcard module 2025-06-06 17:40:34 +02:00
Roland Broekema
dc3c16ae9b Refs #32: test for vcard.createEmpty 2025-06-06 17:19:19 +02:00
Roland Broekema
5c3f88a6e0 Refs #32: some basics testing setup with coverage 2025-06-05 12:17:52 +02:00