53 Commits

Author SHA1 Message Date
a6847f2661 Fixed the column names in CSV export. 2026-02-23 13:28:13 +01:00
3431e281c3 CSV import: Added "AGA"-> "erarbeitet", "ja"-> "bezahlt" and "teils"-> "teils/teils" replacements for ShareType values to support the new spreadsheet entries. 2026-02-23 13:27:53 +01:00
d800ecfed7 The calculation of how many harvest shares are expected in total. 2026-02-21 22:54:59 +01:00
6b383b8f55 Added more model tests and fixed the calculations for nPlacedBiddings, biddingSum and totalSharesWithBiddings if there are conflicting entries (shareType: "erarbeitet" but a bidding is placed). 2026-02-21 22:53:29 +01:00
85afc9b329 Converted non critical qCritical() calls into qInfo() calls. 2026-02-21 19:38:35 +01:00
f3e2dbf309 Added two simple tests for the table model. 2026-02-21 19:37:36 +01:00
2021830239 Setting the server URL for displaying the users bidding link on program start from settings. Doesn't get updated after settings have been changed. 2026-02-21 12:37:26 +01:00
74470ba605 Defaulting the bidding type to "" in new item dialog. 2026-02-21 12:27:15 +01:00
6cd205506f If no authToken is stored in settings but email and password are on startup the log_in route is triggered to receive a new token. This token will be used to access a protected API. 2026-02-20 16:44:58 +01:00
064da850c4 Clicking the sendInvite button triggers a post request to the server to send a bidding invite via mail. 2026-02-19 20:54:24 +01:00
06589e5a09 Cleaning up TableModel::updateBiddings function 2026-02-19 13:20:07 +01:00
d381e1ab8c Merging received bidding into the model. 2026-02-19 13:10:55 +01:00
440333b589 Routing the received biddings to the model. Just debug outputs there yet. 2026-02-19 11:18:46 +01:00
21b8de96d8 Minor refactoring to move JSON processing into JsonParser. 2026-02-19 11:02:10 +01:00
4519a2de3f Added missing #include to core file. 2026-02-19 10:59:39 +01:00
369addac44 Fixed the hard coded server url to login a user per access token. 2026-02-19 10:57:27 +01:00
f34e1521c4 Merge branch 'feature/onlineUserAccounts' into develop 2026-02-19 10:16:16 +01:00
7d31ac8806 When receiving online user credentials insert them into the model. 2026-02-19 09:10:06 +01:00
faf01d6e15 Online account can now be created from the EditItemDialog. The response isn't processed properly yet. 2026-02-18 11:24:40 +01:00
7a8859843e Added onlineID and accessUrl widgets to the edit item dialog layout. No functionality yet. 2026-02-17 11:42:29 +01:00
f1a436ead0 Added ShareType changes to the conditions to emit nExpectedBiddingsChanged. 2026-02-17 11:38:38 +01:00
25bfc196a1 Counting "bezahlt" & "teils/teils" share type explicitly for expected biddings, instead of the absence of values (emptiness, "erarbeitet"). 2026-02-17 10:13:01 +01:00
bfb8e43c34 Disabling the progress status bar if more biddings are placed than expected. (Easy way to indicate a problem in the GUI). 2026-02-17 09:05:45 +01:00
c38bacc387 Merge branch 'feature/modelSummary' into develop 2026-02-17 08:18:57 +01:00
546d6ea3ef Added two skips in calculation of amount of expected biddings (depending on share type & share amount). 2026-02-16 19:00:06 +01:00
06e96916ed Fixed a crash bug when the application is quit. Because of intertwining shared pointer and the Qt ownership of child objects the model and the model summary were tried to be destroyed two times. 2026-02-16 18:50:44 +01:00
1e64dda701 Migrated old visualization of the bidding round statuses with donut charts from the legacy BeetRound project. 2026-02-16 18:48:05 +01:00
f8201ead71 Added a placeholder for the configuration of the monthly financial need. 2026-02-16 11:46:01 +01:00
f200fff99e Added a second bound property (nExpectedBiddings) & cleaned up the code a little. 2026-02-16 09:24:58 +01:00
dac9ac46f2 Added a ModelSummary class to make the overview over the model content accessible via QProperty system & a SummaryWidget to show this information. Only property rowCount as a proof of concept. Other properties will follow. 2026-02-15 16:36:13 +01:00
b28a35280c Merge branch 'feature/biddingRoundControl' into develop 2026-02-15 09:39:46 +01:00
5afdbd6dd9 Cosmetic source code refactoring. 2026-02-14 10:19:53 +01:00
29f913c532 Using the proper GetBiddingsOfHighestRound request on fetchCurrentBiddings again. 2026-02-14 10:18:37 +01:00
bb5e894557 Adding optional QVariant data argument to sendGetRequest to pass it to the server. Using hard coded sendGetRequest(GetBiddingsOfSpecificRound, 2) in fetchCurrentBiddings action to test this. 2026-02-14 10:17:31 +01:00
6e51aee3a5 Fetching current biddings from server menu. No extracting biddings from the response and merging into the model yet. 2026-02-14 10:02:00 +01:00
cfd3031cf9 Bidding round control communicating with the server. 2026-02-13 20:24:48 +01:00
ba4f95eb2d Added two minor refactoring todos. 2026-02-13 17:56:05 +01:00
a4d2815947 Added an "Event" tab with a BiddingRoundControl class in it. No connections of signals and slots yet. 2026-02-13 16:12:03 +01:00
bea89a2a16 Setting the column 0 to a width of 30 on startup. 2026-02-12 09:59:13 +01:00
f148ef9cba Not displaying 0 values for int and double columns in table view, but still using a SpinBox delegate when editing. 2026-02-10 11:52:35 +01:00
bdc8075324 Added support of optional header names when importing CSV file. 2026-02-10 11:04:26 +01:00
e157d4399d NewItemDialog content is now reset after accept() & using a default value of 1 for share amount. 2026-02-08 10:36:08 +01:00
572f0f266e Added ComboBoxDelegate class and using it as delegate for type columns in table view. 2026-02-08 10:34:47 +01:00
40a0815501 Added data(FullNameRole) implementation and minor refactoring. 2026-02-07 19:42:22 +01:00
c6d6b18ab3 Added roles for BeetRound purpose. 2026-02-07 19:41:02 +01:00
2fcd69df5f Renamed core subproject into BeetRoundCore. 2026-02-05 18:58:46 +01:00
455c6ef3bd Renamed widgets subproject into BeetRoundWidgets. 2026-02-05 18:48:13 +01:00
22adf36aa9 Adjusted the about text, the README and the CHANGELOG for the BeetRound project. 2026-02-05 18:45:31 +01:00
7edd6b9aa0 "Fixed" the failing test. 2026-02-05 18:44:25 +01:00
3146eceec2 Renamed UI and umbrella project to fit BeetRound project. 2026-02-05 13:58:42 +01:00