Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
68c7123
Add a new db event that handles adding a new competitor
lukaskett Oct 28, 2025
e1f99e3
Improved ui - persisted url, decription with links
lukaskett Oct 28, 2025
c550f1f
-Both update and insert have it's own method using dedicated db event.
lukaskett Oct 28, 2025
99cb801
Handle changes and store them prototype that needs testing
lukaskett Oct 28, 2025
5dcc04c
- init auto change processing - works but needs adjustments and addit…
lukaskett Oct 30, 2025
c56fe2f
Automatic update of status, changed card and note
lukaskett Oct 31, 2025
ad91eea
- made sendCompetitorChange more general
lukaskett Oct 31, 2025
9099895
Process a new runners
lukaskett Nov 2, 2025
865691e
Finished adding a new competitor from OFeed
lukaskett Nov 2, 2025
d5fd153
Inserting a new competitor from change record is working and db event…
lukaskett Nov 4, 2025
7e0af65
Little adjustments
lukaskett Nov 10, 2025
c213fb8
Send compressed data
lukaskett Nov 20, 2025
51a138d
Use dynamic service name
lukaskett Nov 20, 2025
2309e3b
UI update
lukaskett Nov 21, 2025
6191cc9
Added option to execute xml upload without xml validation. Default is…
lukaskett Nov 21, 2025
55f86cc
Move sendFile method
lukaskett Nov 21, 2025
24c9ac9
Switch to GraphQL request. Reduces extra API calls for externalId whi…
lukaskett Nov 27, 2025
c3098f3
Updated translations
lukaskett Dec 1, 2025
33b2b51
ui and translations update
lukaskett Dec 2, 2025
cd32c4d
typo
lukaskett Dec 4, 2025
d137130
little adjustments and graphql changelog testing
lukaskett Dec 4, 2025
92d5828
Remove unused getCompetitorDetail and switched fro warning to info
lukaskett Dec 4, 2025
753c083
Invoke delete db event
lukaskett Dec 5, 2025
12fc22d
Finish delete competitor
lukaskett Dec 5, 2025
3ff171a
Add method that returns runs.id for competitor id and stage id
lukaskett Dec 5, 2025
4508119
Unify invoke delete competitor db event - returns runs.id in all cases
lukaskett Dec 5, 2025
aa1f1b2
switch to runs.id for "competitor" deleting
lukaskett Dec 5, 2025
71cf750
change to info message
lukaskett Dec 6, 2025
4378467
Added button to turn on/off changes processing e.g. in case when oche…
lukaskett Dec 9, 2025
a613233
Merge branch 'qe3' into ofeed-improvement
lukaskett Dec 10, 2025
9cbb759
fix delete selected rows (error 2025-12-10T23:32:37[runsplugin.cpp:44…
lukaskett Dec 10, 2025
bcc2212
Merge branch 'qe3' into ofeed-improvement
lukaskett Dec 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions quickevent/app/quickevent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ add_executable(quickevent
plugins/Event/src/services/oresultsclientwidget.ui
plugins/Event/src/services/ofeed/ofeedclient.cpp
plugins/Event/src/services/ofeed/ofeedclientwidget.cpp
plugins/Event/src/services/ofeed/ofeedclientwidget.ui
plugins/Event/src/services/service.cpp
plugins/Event/src/services/serviceswidget.cpp
plugins/Event/src/services/servicewidget.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,18 @@ bool CompetitorDocument::saveData()
else {
competitor_id = dataId().toInt();
}
if(m_isEmitDbEventsOnSave) {
getPlugin<EventPlugin>()->emitDbEvent(Event::EventPlugin::DBEVENT_COMPETITOR_EDITED, competitor_id);

// Emit db event
if (m_isEmitDbEventsOnSave)
{
if (old_mode == DataDocument::ModeInsert)
{
getPlugin<EventPlugin>()->emitDbEvent(Event::EventPlugin::DBEVENT_COMPETITOR_ADDED, competitor_id);
}
else if (old_mode == DataDocument::ModeEdit)
{
getPlugin<EventPlugin>()->emitDbEvent(Event::EventPlugin::DBEVENT_COMPETITOR_EDITED, competitor_id);
}
}
}
return ret;
Expand Down
2 changes: 2 additions & 0 deletions quickevent/app/quickevent/plugins/Event/src/eventplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class EventPlugin : public qf::gui::framework::Plugin
static constexpr auto DBEVENT_COMPETITOR_COUNTS_CHANGED = "competitorCountsChanged";
static constexpr auto DBEVENT_CARD_READ = "cardRead";
static constexpr auto DBEVENT_COMPETITOR_EDITED = "competitorEdited";
static constexpr auto DBEVENT_COMPETITOR_ADDED = "competitorAdded";
static constexpr auto DBEVENT_COMPETITOR_DELETED = "competitorDeleted";
static constexpr auto DBEVENT_RUN_CHANGED = "runChanged";
static constexpr auto DBEVENT_CARD_PROCESSED_AND_ASSIGNED = "cardProcessedAndAssigned";
static constexpr auto DBEVENT_PUNCH_RECEIVED = "punchReceived";
Expand Down
Loading
Loading