Repository navigation
Releases
Releases · abjelosevic88/pocket-homelab-cost-split
v0.10.1
v0.10.0
Pocket Search, Day and Hub: find your groups and expenses, see your s…
v0.9.0
Added
- Pocket Move can copy all your groups out and bring them in.
GET /api/v1/export.jsonis every group you are in (archived ones too), each as its group export;GET /api/v1/pocket/portabledescribes it formove:export/move:importlinks.
Changed
- Import adds once.
POST /api/v1/importtakes a single group's export or the all-groups file. A group already here (the same group on this box, or one brought in before) is skipped, so the same file twice adds nothing. Members other than you stay names; no accounts are made. Imported groups keep when they were started.
v0.8.1
Fixed
- Balances page crashed on a settled group ("can't access property 'length', c.settlements is null"). When nobody owed anybody the server sent
settlements: nullinstead of an empty list; it now always sends[], and the page also copes with a missing list.
v0.8.0 — projects (cost centers) and per-group categories
Projects (cost centers)
- A group can hold projects you fund up front (Group → Settings → Add as project, or Make a project on a stand-in member you used before). More than one per group.
- A project never carries a personal share and never shows in who owes whom. An expense "for" it (the People / Project switch on the expense form) goes to it whole and becomes the payer's claim on it.
- The project pays people back with a payment (Paid back on its card under Balances).
- Buying into a project's debt: a payment from Radoslav to Aleksandar can be marked Buys into PSUP — afterwards the project owes Radoslav that part instead of Aleksandar, and nobody owes anybody personally. It's an explicit choice on the payment; an ordinary personal payment is still the default. Capped at the claim Aleksandar holds.
- Balances, Home ("Projects owe you"), the dashboard API, reports and the PDF keep project debts apart from personal ones.
Categories per group
- Custom categories now belong to one group; the 14 built-in ones stay shared defaults in every group. Anyone in a group can add, rename, reorder or remove its categories (Settings → Categories, grouped by group).
- Upgrade: each existing custom category moves into the group that uses it; if several groups used it, each gets its own copy. Custom categories no expense ever used are dropped.
API
members[].kind(person|cost_center),expenses[].cost_center_id,balances.cost_centers,group.my_claims, dashboardclaims/claims_text, reportcost_center_debts.GET/POST /groups/{id}/categories;POST /categoriesneedsgroup_id; categories carrygroup_id.
See docs/api.md.
v0.7.2
v0.7.1
Toasts: keep their own text colour (app-wide .ok made success toasts …
v0.7.0
Reports leave payments out; General removable when unused; payments h…