Commit Graph
6110 Commits
Author SHA1 Message Date
tooomm 4f9bd4338d don't depend on build path + cleanup + renaming 2026-07-26 20:14:51 +02:00
tooomm 922ed1bbba file logging, ci env check 2026-07-26 14:11:51 +02:00
tooomm 176914c24b fix shellcheck warning 2026-07-26 13:09:24 +02:00
tooomm 065924a729 initialize variables, cli>env>defaults, modern install/packaging, db migration script guard+logging 2026-07-26 13:09:23 +02:00
tooomm cb2d0c484b more verbose checks 2026-07-26 12:54:16 +02:00
tooomm fe6d11f145 ordering + comments 2026-07-26 12:54:15 +02:00
tooomm d60da410d4 add missing arguments + order 2026-07-26 12:54:15 +02:00
tooomm de6e16e2ff comments + choco flag 2026-07-26 12:54:15 +02:00
tooomm 4cfea8dd57 comments + readability 2026-07-26 12:54:14 +02:00
tooomm 6f5e81d31b cleanup 2026-07-24 23:22:04 +02:00
tooomm 5126696eb0 readability and removed duplication 2026-07-24 23:13:01 +02:00
tooomm 3d2dedd007 readability 2026-07-24 22:56:29 +02:00
tooomm a253d0344a cleanup 2026-07-24 22:50:37 +02:00
tooomm 4cb5eb31e2 cmake commands 2026-07-24 22:50:02 +02:00
tooomm f9997328c6 comments 2026-07-24 22:36:52 +02:00
tooomm 9f4af75f09 ccache stats 2026-07-24 22:05:39 +02:00
ebbit1qandGitHub ae37762ee1 fix crash when pressing Back to results (#7043) 2026-07-16 11:06:18 +02:00
github-actions[bot]andGitHub 6fe46542f7 Update translation files (#7044) 2026-07-16 09:07:33 +02:00
DawnFire42andGitHub 5bb6073422 Fix card position when added to the stack (#7041) 2026-07-12 08:33:26 +02:00
tooommandGitHub 6c960fdf31 Use default values (#7017) 2026-07-06 11:24:11 +02:00
tooommandGitHub f3b41432cb CI: Fix login+push for publishing Servatrice Docker images (#7023) 2026-07-06 07:01:12 +02:00
tooommandGitHub 808d991489 Delete .codacy.yml (#6957) 2026-07-06 07:00:03 +02:00
RickyRisterandGitHub c5b37cdffe [Game] Refactor subtype tally code to be more generic (#7021)
* [Game] Refactor subtype tally code to be more generic

* remove default case

* consolidate empty check

* fix include guard

* backwards compatibility with qt5
2026-07-05 19:11:08 -07:00
RickyRisterandGitHub 430fc117b4 [UserContextMenu] Refactor: Consolidate actions (#7022) 2026-07-05 18:24:52 -07:00
baddbfae14 Update translation source strings (#7028)
Co-authored-by: github-actions <github-actions@github.com>
2026-07-01 16:25:10 +02:00
Skagra42andGitHub 9b0348240d Search by date. (#7027) 2026-06-30 23:46:37 -07:00
DawnFire42andGitHub 18b23b19a7 Split trice_limits.h into dedicated headers (#7025)
* Split trice_limits.h into dedicated headers

* Updated docstrings
2026-06-29 14:37:52 -07:00
DawnFire42andGitHub 4a384f2a75 fix theme manager return type warning (#7026) 2026-06-29 08:03:30 -07:00
DawnFire42andGitHub 05ae6f47a6 Unify counter clamp arithmetic into shared addClamped() helper (#7009)
* Unify counter clamp arithmetic into shared addClamped() helper

- Add addClamped() in new header clamped_arithmetic.h; uses a 64-bit
  intermediate so the addition cannot overflow int.
- Use it in Server_Card::incrementCounter() (clamps [0, MAX_COUNTERS_ON_CARD])
  and Server_Counter::incrementCount() (clamps [INT_MIN, INT_MAX]), removing
  the duplicated overflow-safe logic and its keep-in-sync TODO.
- Inline incrementCount() into server_counter.h; server_counter.cpp now holds
  only the constructor and getInfo().
- Clarify the card-counter bounds comment in trice_limits.h.

* Rename MAX_COUNTERS_ON_CARD to MAX_COUNTER_VALUE

The constant caps the counter's value, not how many counters can be on the card

* Add direct unit tests for addClamped() helper

* Harden offsetCardCounter() against signed-int overflow

Replace the raw oldValue + offset sum with addClamped(), clamping to [0, MAX_COUNTER_VALUE] without overflow.

* Comment update

* Remove class names from addClamped() docstring
2026-06-28 16:10:57 -07:00
RickyRisterandGitHub fcac7493ad [Card] Add facedown property to CardRelation (#6997)
* [Card] Add facedown property to CardRelation

* trailing newline

* fix comments

* update schema
2026-06-28 02:03:07 -07:00
DawnFire42andGitHub 055ba9a16f Add subtype breakdown counter for card selection (#6923)
* Add subtype breakdown counter for card selection

  Display a categorized count of creature subtypes (and other card type
  subtypes) when multiple cards are selected. The breakdown appears above
  the total selection counter in the bottom-right corner.

  Subtypes are grouped by main card type and sorted by frequency, with
  the most common subtypes positioned adjacent to the total count for
  quick reference. The feature can be toggled via a new checkbox in
  Settings > User Interface.

* Alignment fix

* Computation logic moved to helper funtction in separate file

* Rename SubtypeCounter to SubtypeTally

* Fix subtype tally alignment by using grid layout instead of character padding

* Rename count to tally in the subtype breakdown feature

* partial rename

* list position fixed

* Clean up code and documentation

* Rename subtypeCountLabelStyle to subtypeTallyLabelStyle and fix include ordering

* Fix include path for selection_subtype_tally.h after file relocation

* fixed count to tally rename inconsistencies
2026-06-27 15:53:21 -07:00
ad4922537d [UserListDelegate] Supply providerid in cmd, position popup correctly (#7020)
* [UserListDelegate] Transmit providerId in cmd when setting user banner card

* [UserListDelegate] Position popup correctly

* Lint.

---------

Co-authored-by: Lukas Brübach <lukas.bruebach@bdosecurity.de>
2026-06-27-Development-3.1.0-beta.3
2026-06-27 14:44:24 -04:00
dependabot[bot]andGitHub 4cbc00b9c4 Bump actions/cache from 5 to 6 (#7019) 2026-06-27 17:25:30 +02:00
6dc974a05d [UserListDelegate] Consider providerId (#7018)
Co-authored-by: Lukas Brübach <lukas.bruebach@bdosecurity.de>
2026-06-27 11:23:55 -04:00
2914874720 [Room][UserList] Introduce style delegate (#6981)
* [Room] Additionally show a tab for friends and ignored users instead of just all online users.

Took 21 minutes


Took 12 minutes

* [Room][UserList] Introduce style delegate for user list
- Allow users to set a card name and parameters as their background banner
- Allow mods to white/blacklist cards
- Allow toggling back to the old display style

Took 7 minutes

Took 28 seconds

Took 2 minutes

Took 2 minutes

* Right checkstate.

Took 14 minutes


Took 2 minutes

* Utility for test.

Took 9 minutes

Took 8 seconds

Took 2 seconds

* Lint.

Took 10 minutes

* Algorithm for sql schema migration

Took 13 minutes

* Use {prefix}, bound card name, return errors.

Took 27 seconds

* Convert queue to while loop.

Took 19 seconds

* Hover popup.

Took 36 minutes

Took 1 minute

* More granular signals, popup for user info.

Took 25 minutes

Took 8 seconds

Took 16 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-06-26-Development-3.1.0-beta.2
2026-06-26 20:52:24 -04:00
tooommandGitHub c9ebdb451f CI: Avoid failing tx step if secret can not be accessed (#7012) 2026-06-26-Development-3.1.0-beta 2026-06-26 16:39:33 +02:00
Zach HandGitHub 80426d77bc Add Discord account registration monitor (#7013)
A read-only cron script that posts new Servatrice account registrations to a
Discord channel via webhook. Dedups by an auto-increment id high-water-mark
(single-integer state, no duplicates, nothing missed across downtime). Reads DB
credentials and the webhook from a servatrice-style ini via --config.
2026-06-21 01:09:57 -04:00
e99a55ccab CI: Simplified build workflow (#6995)
* simplified build workflow

* cleaned up translation workflows

* fixed typo

* updated format based on code review

Co-authored-by: tooomm <tooomm@users.noreply.github.com>

* restored quotes around `group` string

---------

Co-authored-by: tooomm <tooomm@users.noreply.github.com>
2026-06-20 22:44:37 +02:00
dependabot[bot]andGitHub 2a3c4a2455 Bump actions/checkout from 6 to 7 (#7011) 2026-06-20 19:11:10 +02:00
Phred LaneandGitHub 687e6644bc replaced dynamically injected variables with environment variables (#6996)
This prevents some injection attacks and makes all the scripts valid Bash.
2026-06-19 16:42:15 +02:00
transifex-integration[bot]andGitHub e28f31c93e Translate oracle/oracle_en@source.ts in es (#7006) 2026-06-17 22:16:26 +02:00
DawnFire42andGitHub 0c140d866f [Card] Respect disabled sets when loading v3 card databases (#6882) (#7004) 2026-06-17 14:09:05 +02:00
RickyRisterandGitHub 45d0cedb5c [Game] Setting to restore old chat autofocus behavior (#6992)
* [Game] Setting to restore old chat autofocus behavior

* fixes
2026-06-15 17:04:30 +02:00
309e4730a3 [Lobby][DeckView] Always at minimum create main and side deck zone containers. (#7001)
Took 12 minutes

Took 3 seconds

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-06-15 15:50:04 +02:00
0c4cc3f824 [DeckView][DeckEditor] Implement shortcut for load deck from website (default: Ctrl+Shift+O) (#7002)
Took 12 minutes

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-06-15 15:49:47 +02:00
dfbe944c31 [App][Windows][NSIS] Use QProcess::setNativeArguments on Windows, properly order portable detection (#6989)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-06-15 15:23:18 +02:00
RickyRisterandGitHub 0f3e6fbe26 [CardDatabase] Pass CardInfoPtr by const ref (#6998)
* [CardDatabase] Pass CardInfoPtr by const ref

* trailing newline
2026-06-14 04:46:18 -07:00
RickyRisterandGitHub 5ffe344779 [Game] Fix facedown predefined tokens leaking tablerow (#7000) 2026-06-14 03:21:17 -07:00
kongwuandGitHub f28ede7ae3 [UserContextMenu] Add confirmation dialog before kicking a player (#6987) 2026-06-13 02:42:55 -07:00
7aaacbf347 [Update][NSIS] Use single string shell invocation (#6986)
Took 18 minutes


Took 2 minutes

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-06-11 21:17:28 +02:00