Commit graph

5498 commits

Author SHA1 Message Date
Lukas Brübach
45eaf3f072 PlayerGraphicsItem is responsible for retranslateUi, not Player.
Took 14 seconds
2025-09-11 00:40:53 +02:00
Lukas Brübach
de1986c1fb Reimplement logging category for game_event_handler.cpp, remove linebreaks.
Took 36 seconds
2025-09-11 00:40:53 +02:00
Lukas Brübach
a03a4a7ca0 Move comment.
Took 20 seconds
2025-09-11 00:40:53 +02:00
Lukas Brübach
a2d4594d4f Bounds check data sent by QAction()
Took 54 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
9b14d9577b ENSURE they are.
Took 8 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
65a492aeb9 Ensure all players are considered local in local game.
Took 10 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
d4a5bb3a79 Signal view removal, addition.
Took 5 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
aaf3c1e3b2 zoneId is a dynamic gameplay property and thus belongs in player.cpp
Took 11 minutes

Took 19 seconds
2025-09-11 00:40:53 +02:00
Lukas Brübach
270bdefd87 Fine, the game can remember the tab.
Took 10 minutes

Took 21 seconds

Took 9 seconds
2025-09-11 00:40:53 +02:00
Lukas Brübach
cba5ab2847 The stack should ensure card visibility.
Took 21 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
865f0b7eae Fix include.
Took 32 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
f937ec8e2a Lint again.
Took 2 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
27580f1d4a Lint.
Took 3 minutes
2025-09-11 00:40:53 +02:00
Lukas Brübach
b478026f6c Do to-do's
Took 3 hours 32 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
f7919d3d88 Emit openDeckEditor signal in player_actions again.
Took 3 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
2de650f4ba Connect player->openDeckEditor signal directly in the player constructor
Took 6 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
c344b40a71 Player holds the deck, emits deckChanged(), other elements player->getDeck() to respond to changes.
Took 37 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
57aa1abc69 Clean up some unused imports.
Took 6 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
9beb8e8245 Reorganize method/variable definitions, remove unused ones.
Took 1 hour 8 minutes


Took 24 seconds
2025-09-11 00:40:52 +02:00
Lukas Brübach
f75389a52b Include.
Took 1 minute
2025-09-11 00:40:52 +02:00
Lukas Brübach
7e62235411 Fix typo.
Took 7 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
c3181a1c0a Stuff.
Took 6 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
0f27415c68 Fix an include.
Took 3 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
052e5ff3c3 Hook up tap logic again.
Took 13 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
8aef60b995 Tiny lint.
Took 3 minutes
2025-09-11 00:40:52 +02:00
Lukas Brübach
70c3649d6a Player refactor.
Took 1 hour 43 minutes

Took 1 minute


Took 23 seconds
2025-09-11 00:40:52 +02:00
BruebachL
b8e545bfa4
Move game state and event handling out of tab_game and into separate classes (#6090)
* Move game state and event handling out of tab_game and into separate classes.

Took 6 hours 38 minutes

Took 23 seconds

* Meta Info

Took 14 hours 36 minutes

* Properly respond to game started again.

Took 49 minutes

* Hook up the message log widgets to game events again.

Took 33 minutes

Took 7 seconds

* Lint.

Took 4 minutes

* Hook up playerListWidget.

Took 1 hour 2 minutes

Took 10 seconds

* Hook up playerListWidget properly.

Took 1 hour 17 minutes

* Fix regressions.

Took 17 minutes

Took 9 seconds

* Log the local player joining too.

Took 2 minutes

* Connect some player signals unrelated to this refactor again.

Took 5 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-09-10 18:40:29 -04:00
ebbit1q
5c16f0d027
update the address of the fsf in the license (#6113)
the fsf closed its office in august this year, it's now remote only and
the address has been replaced with its url, the license text can be
found here: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2025-09-10 18:18:34 -04:00
ebbit1q
1b4441baac
add libqt6sql6-mysql to debian package recommends (#6110) 2025-09-08 09:59:18 -04:00
ebbit1q
0147a1d41f
disallow users on your ignore list to get your current games (#6109) 2025-09-07 11:58:52 -04:00
BruebachL
0f11fbe599
Use pinned printing when adding to deck. (#6108) 2025-09-07 00:26:39 -04:00
BruebachL
9c18e99fe2
Correctly reset banner card if none was set but card appears in new deck. (#6107) 2025-09-07 00:26:07 -04:00
BruebachL
6e0a7de9cc
Move quick filters from right to left to be closer to the color filters. (#6106) 2025-09-06 18:11:43 -04:00
BruebachL
b141a65838
Refactor page loading so it's uniform, display every printing from every filtered set instead of just one. (#6105) 2025-09-06 18:11:36 -04:00
BruebachL
7f842bb1e8
Sort VDE groups internally (#6102) 2025-09-06 09:06:59 -04:00
RickyRister
bd65aae81e
Fix Logs tab close button not working (#6104) 2025-09-06 11:04:50 +02:00
BruebachL
b8dedb568c
Use modelReset from new grouping in deck_list_model in VDE (#6100) 2025-09-05 11:12:30 -04:00
dependabot[bot]
ec94c29ed9
Bump actions/attest-build-provenance from 2 to 3 (#6095)
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 22:54:35 -04:00
github-actions[bot]
c77943d01c
Update translation files (#6094)
Co-authored-by: github-actions <github-actions@github.com>
2025-09-04 22:54:27 -04:00
BruebachL
fc5fb956df
Properly allow resizing the printing selector (#6097)
* Properly allow resizing the printing selector.
* Don't restrict central widget sizing in regular deck editor, don't size hidden widget in visual deck editor.
* Reset layout in VDE properly and introduce new default layout.
* Gives hover signal correct parameters (fix for exact card refactor issue)
2025-09-04 22:54:07 -04:00
BruebachL
2eba126ed7
Modularize and Doxygen decklist.cpp (#6099) 2025-09-04 22:52:46 -04:00
dependabot[bot]
da52d677c7
Bump actions/checkout from 4 to 5 (#6084) 2025-08-31 09:06:26 +02:00
RickyRister
ab4373d025
Implement replay sharing (#6066)
* new protos

* implement commands on server

* add buttons

* icons

* run formatter

* Message on get replay code failure

* Add new commands to switch statement

* Better failure messages

* Fix permission check query

* Change hash method

* Prevent adding duplicate replays

* Clean up TabReplay ui

* Copy over replay name

* base64 encode the hash

* Shorten hash

* Better failure messages

* change icon back to search icon

* check hash before checking if user already has access

* update share icon

* Update label text
2025-08-24 22:40:44 -04:00
Paul Carroll
5e88a0f0cc
Fix multi-word type matching in card filters (#6060)
* Fix multi-word type matching in card filters

Add phrase matching to StringValue before word-based fallback.
Enables searches like t:"time lord" for multi-word creature types.

* Use existing typedef

* Don't inline lambda

* update filter func

* Update card type FilterString unit tests

* refactor string matcher

* update card db test

* fix sets count in test

* Add regex cache in string matcher

* Update cockatrice/src/game/filters/filter_string.cpp

* Revert "Add regex cache in string matcher"

---------

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
2025-08-24 12:37:25 -04:00
BruebachL
ba794c2b60
Add a guard in case the printing info is empty for a related card. (#6087)
Took 4 hours 19 minutes

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-08-23 23:34:41 -04:00
SlightlyCircuitous
268559d8de
Add Debian 13 'Trixie' build (#6068)
* Create Dockerfile

* Add Debian 13 to release template

* Add Debian 13 to desktop-build

* Add ca-certificates package to build

attempting to fix SSL issues
2025-08-23 23:34:07 -04:00
transifex-integration[bot]
473d147333
Translate cockatrice/cockatrice_en@source.ts in it (#6083)
100% translated source file: 'cockatrice/cockatrice_en@source.ts'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-08-22 23:26:59 -04:00
RickyRister
d5d9f9bedc
Refactor: Remove unused fields in InnerDecklistNode (#6086) 2025-08-22 23:26:16 -04:00
RickyRister
f31d30bf84
[PictureLoader] Remove manual multithreading (#6078) 2025-08-16 20:38:49 -04:00
transifex-integration[bot]
03b216a6b4
Translate cockatrice/cockatrice_en@source.ts in it (#6081)
100% translated source file: 'cockatrice/cockatrice_en@source.ts'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-08-16 20:36:12 -04:00