106 Commits

Author SHA1 Message Date
1f677bbe6d add 'd M y' date format 2026-01-18 11:34:46 -07:00
int2001
948bf6c81c Fixes handling of no-cat QRG in contest 2025-12-26 09:18:29 +00:00
Florian (DF2ET)
6c3a17a74a Merge pull request #2438 from goodspeed34/ime-trigger-fix
Ignore keyup/input event when composing with IME, and trigger them when finished
2025-10-31 07:32:56 +01:00
William Goodspeed
625ffe20ba Ignore keyup/input event when composing with IME, and trigger them when finished
The current keyup/input didn't handle composing events, which leads to:
  1. Repeating input when composing in IME with other language (qso.js);
  2. Incorrect sync between the callsign field and the search field (contesting.js).

The commit solves it by not doing anything when the user compsoing in IME and
firing the event later when the user finished typing.

This isn't a big deal on PC but may be troublesome for mobile users, where they
often have a default IME on everytime typing in a <input>.

Signed-off-by: William Goodspeed <goodspeed@anche.no>
2025-10-24 17:46:42 +08:00
William Goodspeed
c3e76e67a8 Introduce resubmission avoidance for contest logging
The contest logging page doesn't have resubmission avoidance so users could click
the save button multiple times and get duplicated QSOs. What's more, this happends
more commonly in contest because of the high pace.

The fix was borrowed from the implimentation in `assets/js/sections/qso.js'.

Ref: e4d17a2a07/assets/js/sections/qso.js (L158)

However, this looks great but could be annoying for slow servers. It could also
be implemented by blanking the qso info earlier so that the user wouldn't be
able to click again. But this may trick users to think the QSO was already uploaded
when it really isn't.

Signed-off-by: William Goodspeed <goodspeed@anche.no>
2025-10-23 21:56:08 +08:00
Andreas Kristiansen
b83b117f52 Fixed time in post 2025-08-29 15:32:30 +02:00
Andreas Kristiansen
eef204ced3 Date is set in correct format in post now 2025-08-29 15:21:32 +02:00
Andreas Kristiansen
d0cd9044d1 Fixed post contesting 2025-08-29 10:02:16 +02:00
Andreas Kristiansen
bf49a0250e [Contesting] Add support for user defined date format 2025-08-28 08:02:23 +02:00
Andreas Kristiansen
fb0bae2817 [Contesting] Display a dialog to confirm new session 2025-07-03 17:03:32 +02:00
Andreas Kristiansen
14956d828b Fix error with formdata that doesn't exist 2025-02-24 09:54:47 +01:00
Andreas Kristiansen
79cd7acff5 [Contesting] moved the setsession code to document ready 2025-02-16 09:00:11 +01:00
HB9HIL
9ad37627d7 numblock for mobile 2024-11-27 16:01:00 +00:00
Fabian Berg
24dbe2ddab Merge pull request #1196 from HB9HIL/qrg_input
Enhanced QRG Input
2024-11-17 17:49:43 +01:00
HB9HIL
410e45249a little bug 2024-11-12 23:51:25 +01:00
HB9HIL
b56449577c port everything for contesting aswell. qrgunits are now handled in qrg_handler.js 2024-11-12 21:36:20 +01:00
Andreas Kristiansen
14b4ef4b61 Removed id because we don't need the css here 2024-10-21 16:41:32 +02:00
Andreas Kristiansen
0bac586ee8 [Contesting] Click on call in log table to get detail view 2024-10-21 16:36:03 +02:00
HB9HIL
98a10d5752 catch the split error 2024-09-08 20:08:09 +02:00
HB9HIL
a8056e930a disabled contestname select during logging 2024-09-07 20:47:04 +02:00
HB9HIL
fd4b6b52b0 fix a bug where the qrg gets cleared 2024-08-27 17:41:52 +02:00
HB9HIL
a135dc0ae4 another debug command 2024-08-27 16:26:48 +02:00
HB9HIL
c0fbfef117 catch a bug where frequency is empty (e.g. fast band changes). In this case the qrg gets fetched from band/mode combination (band_to_frequency) 2024-08-27 15:04:47 +02:00
HB9HIL
af7fa5ed9d removed forgotten debug command 2024-08-27 15:01:50 +02:00
HB9HIL
13e94228ed also store and restore radio data 2024-08-27 14:54:29 +02:00
HB9HIL
920606922b restore session based on contest settings 2024-08-27 14:38:54 +02:00
HB9HIL
32ec33b6c4 space press does now work with the defined exchange sequence 2024-08-26 17:06:01 +02:00
HB9HIL
03946e87c0 add new options button and the ability to choose the sequence of the exchanges 2024-08-26 16:03:28 +02:00
HB9HIL
d13c59548c added support for exchangetype "serial + grid + exchange" (for example Moon Contest) 2024-08-26 11:05:56 +02:00
int2001
c9f6965b6e Enable Logging on CR at Callsign-Field when running a no-xchg-contest 2024-05-31 16:10:47 +00:00
int2001
16748bffa0 Retrieve callbook onBlur of call ONLY. otherwise it's called twice, when pressing space 2024-04-29 05:27:48 +00:00
HB9HIL
f42ffa555a hide the "worked before" batch after the qso got saved anyway 2024-04-29 00:53:34 +02:00
HB9HIL
fe62d499f6 we don't need to show '000' in the datatable 2024-04-29 00:32:29 +02:00
HB9HIL
607f345e47 don't overwrite qrg if radio is selected 2024-04-29 00:30:22 +02:00
HB9HIL
6d6e151f43 push data as bulk instead line by line 2024-04-29 00:25:45 +02:00
int2001
95ab8cf510 Reduce amount of JS-Calls 2024-04-28 14:39:22 +00:00
phl0
cc1700d059 Get rid of type variable and set band = SAT if needed 2024-04-16 11:40:34 +02:00
Florian (DF2ET)
6aee3ab96b Merge pull request #241 from DJ3CE/contest-copy-to-any
Contest copy to any
2024-04-07 13:01:39 +02:00
DJ3CE
6970e4395c Post-contest-logging focus and qso-list fix
Move focus to start-time in post-contest-logging and
accept h:m-time on server-side.
2024-03-27 11:46:59 +01:00
Cedric Sehrt
b8f517de81 Implement contesting copy-exchange-to(-nearly)-anything
- in contest-session, the (numeric-)id of the selected 'copy' is saved,
   compatible with the previous DOK-copy.
 - UI changes
 - Logbook_model enhancements
 - Translation additions
2024-03-27 10:08:20 +01:00
int2001
6bbb72ac06 Added Highlighting and removed bug 2024-03-25 20:18:30 +00:00
int2001
f991f22663 Cache scp-results 2024-03-25 08:40:26 +00:00
int2001
6d4a094bdd Clear Bearing on empty call and submit 2024-03-08 16:46:12 +00:00
int2001
0cb9923196 Do Bearing lookup also for Mouse/Tab-Users 2024-03-08 12:23:34 +00:00
int2001
4aca8697fa Relocated setRst to common.js (was missing at contest) and added Bering-lookup 2024-03-08 12:01:27 +00:00
int2001
0f1bdb2f2d Refactor to getJSON 2024-03-08 09:23:14 +00:00
int2001
52fefb5561 JS-Part of adding bearing to contest 2024-03-08 08:46:10 +00:00
HB9HIL
8c94e739f5 js to prevent chars in serial 2024-02-12 01:14:22 +01:00
Andreas Kristiansen
10896723de Merge pull request #1 from int2001/contqsocnt
Prevent Racecondition when logging with CTRL-Enter
2024-02-04 11:36:55 +01:00
int2001
b4562e203d Prevent Racecondition 2024-02-04 10:34:32 +00:00