791 Commits

Author SHA1 Message Date
dextmorgn
431d3997f4 Merge pull request #142 from harmsolo13/fix/celery-healthcheck
fix: replace celery container's inherited curl-based healthcheck
2026-04-29 11:35:17 +02:00
harmsolo13
d4dbe8d0fe fix: replace celery container's inherited curl-based healthcheck
The celery container builds from flowsint-api/Dockerfile which carries
a HEALTHCHECK directive that does `curl -f http://localhost:5001/health`.
The API container has an HTTP server on 5001 — celery doesn't, it's a
worker. So the inherited healthcheck always fails and `docker ps` shows
celery as (unhealthy) even when the worker is actively processing jobs.

This is cosmetic noise today but bites in two real ways: (1) restart
policies that key off health won't re-up celery on a real failure
because Docker can't tell good unhealthy from bad unhealthy, (2) any
service that adds `depends_on: celery: condition: service_healthy`
will refuse to start.

Fix: add a service-level healthcheck on celery in both compose files
(prod and dev) that uses celery's own `inspect ping` primitive
against the worker's broker. Compose-level healthcheck overrides the
Dockerfile-level one, so no Dockerfile change needed.

Smoke-tested locally: container goes from (unhealthy) to (healthy)
within ~30s of restart with no other changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 18:13:26 +09:30
dextmorgn
62e34c6e9b chore: update README.md with discord link 2026-04-19 13:18:55 +02:00
dextmorgn
2a4878c8fc chore: update gh workflow v1.2.8 2026-04-11 15:20:07 +02:00
dextmorgn
6a14484ccd Merge pull request #136 from reconurge/feat/rbac
Feat/rbac
2026-04-11 14:51:34 +02:00
dextmorgn
47b0c05115 feat(app): RBAC permission gating, UserAvatar component, share dialog redesign and responsive grids
- Add UserAvatar and AvatarGroup components to /ui/avatar, migrate all consumers
- Display collaborator avatars in top navbar with AvatarGroup
- Gate edit actions behind canEdit: toolbar (connect, merge, layouts), nodes-view,
  nodes-panel, relationships-view (checkboxes + delete), edge-details-panel,
  graph-navigation (Add tab), import sheet, analysis creation
- Add role badge (owner/admin/editor/viewer) with colored icons in case-header
- Redesign share-dialog: role badges as dropdown triggers, skeleton loading,
  owner/member separation, hover-reveal delete button
- Switch all card grids from viewport breakpoints to CSS container queries
  (dashboard-stats, investigations-list, sketches-section, metrics-grid, custom-types)
- Extend container query classes in styles.css for all needed column counts
2026-04-11 14:44:29 +02:00
dextmorgn
8cd6b237bb fix(core/tests): update failing test 2026-04-11 14:44:29 +02:00
dextmorgn
ce1f50bb72 chore: update yarn.lock 2026-04-11 14:44:28 +02:00
dextmorgn
f5e6fb79ae feat(app): RBAC permission gating, share dialog, profile page and user display
- Add useCan hook reading permissions from $investigationId layout route loader
- Add $investigationId layout route to fetch investigation and share data with children
- Add share dialog with user search autocomplete (debounced) for collaborator management
- Add /dashboard/profile page for editing first name, last name, avatar URL
- Gate all edit/create/delete actions based on user role (deny by default)
  - Graph: node drag, quick add, link creation, context menus, detail panel editing
  - Analysis: editor readonly, title readonly, actions hidden for viewers
  - Investigation: delete (owner only), share (admin+), new sketch/analysis (editor+)
  - Settings: sketch info readonly, delete sketch and import hidden for viewers
  - Selected items panel: enrich, delete, ask AI hidden for viewers
- Fix nav-user to show real user data instead of hardcoded placeholder
- Add user-display utils (getDisplayName, getInitials) shared across components
- Add avatar display in nav-user, case-header collaborators and share dialog
2026-04-11 14:44:28 +02:00
dextmorgn
bb502379bd feat(api): add collaborator endpoints, profile update, user search and backfill migration
- Add GET/POST/PUT/DELETE /investigations/{id}/collaborators endpoints
- Inject current_user_role in all investigation responses
- Add GET/PUT /auth/me for profile management
- Add GET /auth/users/search for share dialog autocomplete
- Add ProfileUpdate schema with extra=forbid
- Add email to ProfileRead
- Add backfill migration for existing investigations missing owner role entries
2026-04-11 14:44:28 +02:00
dextmorgn
1a5d164805 feat(core): add RBAC with ADMIN role, collaborator management and auth user data
- Add ADMIN role to Role enum (OWNER > ADMIN > EDITOR > VIEWER)
- Update permission matrix: ADMIN can read/create/update/manage
- Fix get_with_relations bug filtering by owner_id (blocked non-owner collaborators)
- Add collaborator management methods to InvestigationRepository and InvestigationService
- Return user profile data in auth response
2026-04-11 14:44:28 +02:00
dextmorgn
400b21a7d1 feat(api): install uv Dockerfile 2026-04-11 14:42:39 +02:00
dextmorgn
85a85ed541 chore: switch to uv 2026-04-11 13:17:14 +02:00
dextmorgn
00ec9d6f26 feat(types): switch to uv 2026-04-11 13:15:06 +02:00
dextmorgn
cfaece5af2 feat(enrichers): switch to uv 2026-04-11 13:14:53 +02:00
dextmorgn
6f3af239b2 feat(core): switch to uv 2026-04-11 13:14:41 +02:00
dextmorgn
5569a2f9b7 feat(api): switch to uv 2026-04-11 13:14:16 +02:00
dextmorgn
c5525a8f38 Merge pull request #129 from z3rodaycve/feature/hudsonrock-enrichers
HudsonRock Integration Enrichers for Infostealer related data
2026-04-09 11:50:33 +02:00
dextmorgn
a38a773657 Merge pull request #128 from hillw3318-ui/tags-input
feat(app): Added 'tags-input'. Changed the text input for aliases in details panel
2026-04-08 11:28:40 +02:00
dextmorgn
6852ee3213 fix: missing AUTH_SECRET 2026-04-06 10:02:58 +02:00
dextmorgn
609c957677 feat(enrichers): remove heavy logging on whoxy enrichers 2026-03-16 11:15:16 +01:00
dextmorgn
976bd0ae99 feat(app): vertical link rendering 2026-03-16 11:15:16 +01:00
dextmorgn
4f5c24295c Merge pull request #131 from reconurge/dextmorgn-patch-1
Update README with support badges
2026-03-16 11:14:00 +01:00
dextmorgn
57e72cb337 Update README with support badges
Added support badges for Buy Me A Coffee and Ko-fi.
2026-03-16 11:13:44 +01:00
William Hill
1d376b8ac0 Merge branch 'reconurge:main' into tags-input 2026-03-16 00:32:00 +03:00
bjst0ne
def29144eb fix(app): fixed lists/arrays render in 'details-panel' 2026-03-16 00:37:03 +03:00
dextmorgn
3ef942a2bc feat(app): fix double-click detection and graphRef initialization
Thread MouseEvent through onBackgroundClick for double-click detection.
Use stable callback ref to avoid ForceGraph2D stale closure issues.
Fix graphRef not being set on first load by notifying parent immediately
after ForceGraph2D mounts. Close quick-add input on blur.
v1.2.7
2026-03-15 13:34:34 +01:00
dextmorgn
1ee06f5c8a feat(types): format phone numbers to avoid doublons 2026-03-15 13:07:01 +01:00
dextmorgn
37cdd93257 feat(types): detect individual from spaces 2026-03-15 13:06:40 +01:00
dextmorgn
5292a3c541 feat(app): add quick-add node on double-click
Double-click on the graph background opens an inline input at that position.
Typing triggers debounced type detection via the API, showing the detected
type as a badge. On Enter, a node is created at the click position with the
detected type and persisted to the API. Escape or click outside cancels.
2026-03-15 12:37:46 +01:00
dextmorgn
972763343e feat(api): add type detection route and service
Add POST /api/types/detect endpoint that detects the type of a text input
by iterating registered types and calling their detect() classmethod.
Returns detected type with fields and primary field pre-filled.
Falls back to Phrase when no type matches.
2026-03-15 12:35:46 +01:00
dextmorgn
97ef7e4695 feat(app): add alt+drag edge creation between nodes
Allow creating edges by holding Alt and dragging from one node to another.
On release, the edge is added to the graph and the edge context menu opens
with the label input focused and selected, ready for editing. The edge is
only persisted to the API on Enter/submit; Escape removes it from the store.
2026-03-15 11:51:05 +01:00
bjst0ne
3e8e4c8423 Merge branch 'main' into tags-input 2026-03-10 13:37:48 +03:00
bjst0ne
cd67ae369b refactor(app): changed props for 'tags-input' 2026-03-10 12:54:16 +03:00
z3rodaycve
ff9d270ddd Release of HudsonRockToUsername, HudsonRockToPhone, HudsonRockToEmail 2026-03-10 10:24:39 +01:00
dextmorgn
aacbd5ac85 feat(app): add input and output type to enricher template 2026-03-09 19:39:33 +01:00
dextmorgn
6b35cccddb feat(core): add input and output type to template generator 2026-03-09 19:39:08 +01:00
dextmorgn
2ea40c4eae feat(api): add input and output type to enricher template 2026-03-09 19:38:42 +01:00
dextmorgn
611bc1a563 feat(app): improve node and edge rendering 2026-03-08 20:01:55 +01:00
dextmorgn
a2cc352235 feat: update gitignore for DS Store 2026-03-08 19:58:57 +01:00
dextmorgn
16df6b9928 feat(app): update status indicator height 2026-03-04 21:50:15 +01:00
dextmorgn
ffd44968ad feat(app): update toolbars layout 2026-03-04 19:53:50 +01:00
dextmorgn
bb7c955eab feat(app): update details panel 2026-03-04 19:33:02 +01:00
dextmorgn
fd8ddcfd77 Merge pull request #126 from gustavorps/fix/proxy-api
fix(api): Better support to reverse proxy deploy
2026-03-04 09:21:02 +01:00
dextmorgn
ddc36eac4d Merge pull request #125 from gustavorps/feat/soft-delete
feat(core): Soft delete
2026-03-02 20:50:11 +01:00
bjst0ne
5cdd8e70af feat(app): add copy for lists in details-panel 2026-03-02 02:33:57 +03:00
bjst0ne
15878019fa feat(app): add tags-input for list fields in creation form 2026-03-02 02:05:05 +03:00
bjst0ne
523a387661 refactor(app): change tags-input to stacked variant 2026-03-01 19:06:11 +03:00
bjst0ne
171c606e07 fix(app): reduced the height of tags-input 2026-03-01 19:06:11 +03:00
bjst0ne
22400f2e20 refactor(app): change styles to general design 2026-03-01 19:06:11 +03:00