Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2a20fd260 |
+10
-24
@@ -453,29 +453,23 @@ put in the exchange there is nothing for it to write.
|
|||||||
| `RigState` | `FREQ`, `BAND`, `MODE`/`SUBMODE`, and the rig id a QSO was made on | watch channel already in the frontend context |
|
| `RigState` | `FREQ`, `BAND`, `MODE`/`SUBMODE`, and the rig id a QSO was made on | watch channel already in the frontend context |
|
||||||
| Client config `general.callsign` | `STATION_CALLSIGN`, and the default `OPERATOR` | already surfaced as `owner_callsign` in frontend meta |
|
| Client config `general.callsign` | `STATION_CALLSIGN`, and the default `OPERATOR` | already surfaced as `owner_callsign` in frontend meta |
|
||||||
| The QSO's own rig, and its position | `MY_GRIDSQUARE` | per-rig latitude and longitude already carried in the rig list |
|
| The QSO's own rig, and its position | `MY_GRIDSQUARE` | per-rig latitude and longitude already carried in the rig list |
|
||||||
| Server clock | `QSO_DATE`, `TIME_ON` in UTC | new `GET /api/logbook/now`, which also feeds the browser-clock check |
|
| Server clock | `QSO_DATE`, `TIME_ON` in UTC | new `GET /logbook/now`, which also feeds the browser-clock check |
|
||||||
| Decoder panels and map | a pre-filled entry: callsign, grid, and the report to offer | existing decode history; no new plumbing |
|
| Decoder panels and map | a pre-filled entry: callsign, grid, and the report to offer | existing decode history; no new plumbing |
|
||||||
| `bandForHz` | `BAND` from a frequency | exists in `map-core.ts`; move to a shared module |
|
| `bandForHz` | `BAND` from a frequency | exists in `map-core.ts`; move to a shared module |
|
||||||
|
|
||||||
#### HTTP API
|
#### HTTP API
|
||||||
|
|
||||||
Under `/api/logbook`, as the recorder's endpoints are, because `/logbook` itself is the page:
|
|
||||||
the `/bookmarks` API and the bookmarks page already share a path, and whichever is registered
|
|
||||||
first wins.
|
|
||||||
|
|
||||||
| Method | Path | Purpose |
|
| Method | Path | Purpose |
|
||||||
|--------|------|---------|
|
|--------|------|---------|
|
||||||
| `GET` | `/api/logbook` | Query: filters, paging |
|
| `GET` | `/logbook` | Query: filters, paging |
|
||||||
| `POST` | `/api/logbook` | Add a QSO |
|
| `POST` | `/logbook` | Add a QSO |
|
||||||
| `PUT` | `/api/logbook/{id}` | Edit |
|
| `PUT` | `/logbook/{id}` | Edit |
|
||||||
| `DELETE` | `/api/logbook/{id}` | Delete |
|
| `DELETE` | `/logbook/{id}` | Delete |
|
||||||
| `GET` | `/api/logbook/export.adi` | ADIF export, honouring the current filter |
|
| `GET` | `/logbook/export.adi` | ADIF export, honouring the current filter |
|
||||||
| `GET` | `/api/logbook/export.cbr` | Cabrillo export of a contest selection |
|
| `GET` | `/logbook/export.cbr` | Cabrillo export of a contest selection |
|
||||||
| `POST` | `/api/logbook/import` | Import, answering with counts: added, duplicate, rejected |
|
| `POST` | `/logbook/import` | Import, answering with counts: added, duplicate, rejected |
|
||||||
| `GET` | `/api/logbook/worked/{call}` | Worked-before: bands and modes |
|
| `GET` | `/logbook/worked/{call}` | Worked-before: bands and modes |
|
||||||
| `GET` | `/api/logbook/statistics` | Contacts, stations and confirmations, per band |
|
| `GET` | `/logbook/now` | The server's UTC clock, for stamping entries and checking the browser's |
|
||||||
| `GET` | `/api/logbook/now` | The server's UTC clock, for checking the browser's |
|
|
||||||
| `GET` | `/api/logbook/prefill` | The six fields an entry opens with |
|
|
||||||
|
|
||||||
Writes require the control role, as the rig endpoints do.
|
Writes require the control role, as the rig endpoints do.
|
||||||
|
|
||||||
@@ -511,8 +505,6 @@ task and the rig is the instrument.
|
|||||||
|
|
||||||
### Phases
|
### Phases
|
||||||
|
|
||||||
All five are implemented.
|
|
||||||
|
|
||||||
| Phase | Lands |
|
| Phase | Lands |
|
||||||
|-------|-------|
|
|-------|-------|
|
||||||
| 1 | `trx-logbook`: `Qso`, the ADI reader and writer, round-trip tests against files from other loggers |
|
| 1 | `trx-logbook`: `Qso`, the ADI reader and writer, round-trip tests against files from other loggers |
|
||||||
@@ -521,12 +513,6 @@ All five are implemented.
|
|||||||
| 4 | Ham layout, pre-filled entry from a decode row or the map, worked-before |
|
| 4 | Ham layout, pre-filled entry from a decode row or the map, worked-before |
|
||||||
| 5 | Contest exchange fields and Cabrillo export; QSL and LoTW/eQSL fields; per-band worked/confirmed statistics |
|
| 5 | Contest exchange fields and Cabrillo export; QSL and LoTW/eQSL fields; per-band worked/confirmed statistics |
|
||||||
|
|
||||||
Two decisions phase 5 settled. The Cabrillo header cannot be derived from a log — how many
|
|
||||||
operators, how much power, what the score is claimed to be — so it comes from the operator,
|
|
||||||
with `SINGLE-OP`, `LOW`, `ALL` and `MIXED` behind it. And a confirmation counts from whichever
|
|
||||||
bureau answered: an award wants one card or one electronic match, not one of each, so a log
|
|
||||||
that counted them separately would tell the operator they were short of what they have.
|
|
||||||
|
|
||||||
### Decisions
|
### Decisions
|
||||||
|
|
||||||
**One station log, not one per rig.** Awards and uploads are per station callsign — DXCC, WAS
|
**One station log, not one per rig.** Awards and uploads are per station callsign — DXCC, WAS
|
||||||
|
|||||||
Reference in New Issue
Block a user