Name: postmark Version: 2.0.0 Release: 1%{?dist} Summary: Personal desktop CRM for social and career relationship tracking License: MIT URL: https://github.com/lacamar/%{name} Source0: %{name}-%{version}.tar.gz Source1: %{name}-%{version}-vendor.tar.gz %global debug_package %{nil} BuildRequires: cargo BuildRequires: rust BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: desktop-file-utils BuildRequires: librsvg2-tools BuildRequires: systemd-rpm-macros Requires: qt6-qtdeclarative Requires: xdg-utils Requires: hicolor-icon-theme %{?systemd_requires} Recommends: xdg-desktop-portal Recommends: poppler-utils %description Local-only kanban CRM for keeping in touch with people: contact cadence, notifications and optional local-LLM suggestions. Qt Quick on Wayland. %prep %autosetup -a1 mkdir -p .cargo printf '[source.crates-io]\nreplace-with = "vendored-sources"\n\n[source.vendored-sources]\ndirectory = "vendor"\n' > .cargo/config.toml %build POSTMARK_ROOT=%{_datadir}/%{name} cargo build --release --offline --locked -p postmark-desktop mkdir -p render for size in 16 32 48 64 128 256 512; do rsvg-convert -w "${size}" -h "${size}" icons/%{name}.svg -o "render/%{name}-${size}.png" done %install install -Dm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} install -d %{buildroot}%{_datadir}/%{name} cp -a qml icons %{buildroot}%{_datadir}/%{name}/ echo -n "%{version}" > %{buildroot}%{_datadir}/%{name}/VERSION install -Dm644 packaging/%{name}.service %{buildroot}%{_userunitdir}/%{name}.service desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ --set-key=Exec --set-value=%{name} \ --set-key=Icon --set-value=%{name} \ %{name}.desktop install -Dm644 icons/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg for size in 16 32 48 64 128 256 512; do install -Dm644 "render/%{name}-${size}.png" \ "%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png" done %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop cargo test --release --offline --locked -p postmark-core %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %postun %systemd_user_postun_with_restart %{name}.service %files %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/ %{_userunitdir}/%{name}.service %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Fri Nov 20 2026 lacamar - 2.0.0-1 - Rewrite in Rust (cxx-qt), QML unchanged - Drop Python dependencies - App icons in the app picker * Mon Oct 26 2026 lacamar - 1.5.1-1 - Lint fixes * Mon Oct 26 2026 lacamar - 1.5.0-2 - Run unit tests in %%check * Mon Aug 17 2026 Postmark - 1.5.0-1 - Renamed from "Social CRM" to "Postmark" -- same app, new name. Package name, binary, app id, systemd unit, QML namespace, and the $XDG_DATA_HOME/$XDG_CONFIG_HOME directories are all "postmark" now; installing this package migrates nothing automatically -- existing ~/.local/share/social-crm and ~/.config/social-crm data was moved by hand to the postmark equivalents before this release * Thu Aug 13 2026 Social CRM - 1.4.0-1 - New guided flow for adding a contact: name first, then relationship, personal details, work, ways to reach them, cadence, and notes/tags, one screen at a time, with a "Don't know" button next to every optional field so skipping something is explicit instead of a guess about whether leaving it blank "counts" - Fix notes (and "how we met") silently never saving: both fields use StyledTextArea, which wraps TextArea -- TextArea has no editingFinished signal (only TextField does), so the save handler had been binding to nothing since the field was added, with only a stderr-only warning to show for it. Also fixes a related case where closing the detail panel right after typing could drop the edit before the fixed handler got a chance to save it * Tue Aug 11 2026 Social CRM - 1.3.0-1 - The "Later" column (or any column) can now be collapsed down to a thin vertical label strip -- click the chevron to collapse/expand - Every column can be resized by dragging its right edge; width snaps live to whole numbers of contact-card widths, so cards wrap into a grid (1, 2, 3... across) instead of the old fixed single-card-wide column. Both the collapsed state and card-width are remembered per column across restarts * Tue Aug 11 2026 Social CRM - 1.2.0-1 - Track which messaging service(s) you actually use with each contact: per-profile Instagram/Snapchat/Messenger handle + pasted chat-deep-link, and a BlueBubbles (iMessage/SMS) handle (schema v9) - BlueBubbles auto-sync: a background worker retrospectively reviews each fully-elapsed day against your self-hosted BlueBubbles server and logs one merged sent/received/exchanged interaction per contact per day -- never in real time, never more than one entry per day regardless of how many messages went back and forth - New Daily Review popup for Instagram/Snapchat/Messenger (none of which expose a personal-DM API to sync automatically): defaults to reviewing yesterday, one click opens each service's chat, one click logs the day's direction -- merges into the same one-row-per-day history as the BlueBubbles path - Paste an avatar image straight from the clipboard, alongside the existing file picker -- also the practical way to pull a profile photo off Instagram/Snapchat/Messenger, since this app deliberately doesn't scrape those (no personal-DM/photo API, and automated access is against all three platforms' ToS even via a real logged-in session) * Fri Aug 07 2026 Social CRM - 1.1.1-1 - Fix Escape not actually clearing the header search filter: it wiped the visible text but assigned straight to the field's `text` property, which permanently breaks its binding to appController.searchQuery (the same footgun DetailView's editable fields already work around) -- the board stayed filtered with an empty-looking search box until retyping something. Escape now clears through searchQuery instead. * Fri Aug 07 2026 Social CRM - 1.1.0-1 - Subtle motion throughout: the contact detail panel actually slides in from the right and fades now (it was already commented as a "slide-in panel" but had never actually animated); popups/dialogs (Settings, notifications, suggestions, add-contact) fade+scale in and out instead of snapping; kanban cards fade+scale in/out when a search filters them or they move between columns, instead of popping; the health-status dot on each card eases between colors; the notification/suggestion header badges pop in with a little overshoot instead of appearing instantly * Fri Aug 07 2026 Social CRM - 1.0.0-1 - Fix openEmail() crashing (AttributeError) when sending an email to a contact -- launcher.launch_email() was missing - Fix select_weekly_queue() silently truncating priority contacts once the weekly outreach cap was hit, contradicting its own documented contract that priority contacts always get a slot - Search contacts by name/tag/city/employer across the whole kanban board (Ctrl+F to focus); Ctrl+N for a new contact - SQLite WAL mode (less lock contention between the GUI thread and the LLM worker's own connection) and an automatic timestamped DB backup before any pending migration runs, plus a manual "Back up now" button in Settings - Remember window size across restarts (size only, deliberately never position -- Wayland compositors don't let clients place their own window) - `social-crm --version` - New fast unit test suite (backend/cadence.py, backend/priority.py, the new search filter, backend/db.py's backup/WAL behavior) -- `just test` now runs 59 tests in well under a second, all against isolated temp state, never the real data.db * Fri Aug 07 2026 Social CRM - 0.10.0-1 - Fix the interaction-date calendar picker occasionally entering a date one day after the day clicked -- it was reinterpreting a UTC-stored time-of-day against a newly-picked local date without converting first, which could roll the displayed local date forward (or back) by one near a day boundary - Year selector (« ») alongside the existing month arrows on the calendar picker - Install a systemd --user service (graphical-session.target) so the app runs under systemd lifecycle management; package upgrades now restart it automatically via the postun scriptlet - Enforce a single running instance (QLockFile under $XDG_RUNTIME_DIR); launching again focuses the existing window (niri) instead of opening a second one - Show the running app version at the bottom of the Settings panel * Wed Aug 05 2026 Social CRM - 0.9.0-1 - Hometown field on contact profiles, alongside City (schema v8) * Wed Aug 05 2026 Social CRM - 0.8.0-1 - Priority is now tri-state (high/medium/low) everywhere: kanban card marker, a segmented High/Medium/Low selector on the detail view, and LLM-suggested priority -- the LLM can now suggest moving someone down to low or back to medium, not just up to high (schema v5) - Age field on contact profiles (schema v6) - New Suggestions Center popup listing every pending LLM suggestion across all contacts at once, instead of only inside each contact's own detail view - Fix notifications about new LLM suggestions doing nothing when clicked -- they now open the Suggestions Center - Fix idle detection gating background LLM analysis: it only saw input events delivered to this app's own window, so analysis kicked in while the user was plainly busy elsewhere. Now uses real compositor-wide idle time (ext-idle-notify-v1, optional via python3-pywayland), falling back to the old behavior if the compositor doesn't support it * Tue Aug 04 2026 Social CRM - 0.7.1-1 - Backfill the circular crop onto avatars that were already set before 0.7.0 -- those were saved by the old code and stayed square on disk even after upgrading, since the fix only applied to new uploads. Runs once per file at startup (cheap corner-alpha check), no re-upload needed * Tue Aug 04 2026 Social CRM - 0.7.0-1 - Fix avatar photos still rendering blank after the 0.6.0 path fix: QtQuick.Effects.MultiEffect turned out to render nothing at all when its source item is hidden (visible:false or opacity:0, tried both), so the circular crop is now baked into the saved file itself instead of masked at display time - Attach files to a contact's profile; text is extracted from plain-text files and PDFs (via poppler-utils, optional) and fed into the LLM analysis prompt alongside notes and interaction history (schema v4) * Tue Aug 04 2026 Social CRM - 0.6.0-1 - Connect contacts to each other: search-and-add on the detail view, connection avatars shown as chips there and as a small stack on each kanban card (symmetric relationship, schema v3) - "Date we first met" field alongside "How we met" - Fix avatar images never actually displaying after picking a file (the DB only stored the bare filename; AvatarImage.qml needs an absolute path) -- affected profile photos, card avatars, and the new connection avatars alike * Tue Aug 04 2026 Social CRM - 0.5.1-1 - Rounded corners on data-entry fields throughout the app - "How we met" is now a multi-line field that expands with content * Tue Aug 04 2026 Social CRM - 0.5.0-1 - Fix stale contact-detail fields bleeding between contacts after the first edit (name, how-met, city, occupation, languages, career relevance, contact link, notes -- a QML declarative-binding bug, not a backend/data issue) - Tag entry now suggests existing tags as you type - New Nationality and Employer contact fields (schema v2) * Tue Aug 04 2026 Social CRM - 0.4.1-1 - Fix hard crash opening a contact's chat via a preferred desktop app (invalid D-Bus bus name for most .desktop IDs was hitting a fatal libdbus assertion) - Raise LLM request timeout from 30s to 240s (a real "thinking" model was consistently timing out, silently producing no suggestions) - Add tests/test_llm_suggestions.py (just test / just test-llm) * Tue Aug 04 2026 Social CRM - 0.4.0-1 - Move settings out of the SQLite data file into $XDG_CONFIG_HOME/social-crm/ config.json, with a one-time migration from the old settings table so upgrading doesn't reset anyone's preferences * Tue Aug 04 2026 Social CRM - 0.3.0-1 - Fix card clicks and drag-and-drop reliability (Flickable was stealing the mouse grab from nested card MouseAreas) - Escape closes the detail panel and all popups/dialogs - Interaction history: click to edit note or date, delete entries - Disable Qt's QML disk cache (was serving stale UI after reinstalls) - Reserve space for the overlay scrollbar so it stops covering controls - Hover feedback across interactive UI elements * Tue Aug 04 2026 Social CRM - 0.2.0-1 - Uncontacted field and per-interaction date picker - App icon (hicolor theme) and correct Wayland app_id * Tue Aug 04 2026 Social CRM - 0.1.0-1 - Initial packaging