Zach H
2048aac387
STDout debugging ( #2499 )
2017-03-17 20:45:13 -04:00
Zach H
a8a4557738
auto_connect toggle fix ( #2485 )
2017-03-16 16:59:48 -04:00
Zach H
a7dbc2e1f6
Fix token window resize ( #2480 )
2017-03-15 15:53:57 -04:00
Zach H
4cfcca33db
Server Connect Remade ( #2452 )
...
* Save multiple server configurations
* Each server has its own password/port storage
Close #2452
2017-03-14 17:51:51 -04:00
Zach H
37b43f9916
make settings size vary based on sizeHint() ( #2472 )
2017-03-14 17:48:02 -04:00
ctrlaltca
6e723b2a99
translations ( #2469 )
2017-03-14 00:04:26 +01:00
ctrlaltca
2817f54c96
Fix issues with new updater; fix #2465 ( #2468 )
...
* fix #2465
2017-03-13 23:21:15 +01:00
ctrlaltca
f9a025081a
fix #2445 ( #2458 )
2017-03-12 18:23:58 +01:00
ctrlaltca
877a5ca3b1
fix_2449 ( #2459 )
2017-03-12 18:21:49 +01:00
tooomm
72825c43ec
rephrase missing feature setting ( #2462 )
2017-03-12 13:20:15 -04:00
Zach H
bd850fa3ff
create related token if you press the 'Token:' button ( #2455 )
...
* create related token if you press the 'Token:' button
* function set
2017-03-12 11:51:59 +01:00
Zach H
b2f2e9db8a
make sure xml file is uploaded ( #2440 )
2017-03-07 12:48:07 -05:00
Zach H
638c5e25fa
temp fix to downloading folders ( #2442 )
2017-03-04 22:36:35 -05:00
Zach H
c850ae98d8
add player numbers to in game ( #2435 )
2017-03-04 11:03:39 -05:00
Zach H
18b8a0ef5c
fix folder names ( #2432 )
2017-03-04 00:49:09 -05:00
Zach H
6619612c30
fix buddy checkbox bug ( #2434 )
2017-03-04 00:48:16 -05:00
Zach H
b8334d0cd5
fix incorrect pawn icons ( #2436 )
...
* fix incorrect pawn icons
2017-03-02 22:26:10 -05:00
Zach H
cf08d1d267
Revert "Condensed Card Counter Context Menu" ( #2433 )
2017-03-02 17:47:15 -05:00
Zach H
2bad56f6b6
removal of p server ( #2438 )
2017-03-02 16:41:08 -05:00
ctrlaltca
160c4cea6b
Translations ( #2430 )
2017-03-01 10:18:56 +01:00
ctrlaltca
7373819c32
Add release channels for autoupdater ( #2362 )
...
Fetch releases from github and find corresponding installers on bintray
2017-03-01 09:43:09 +01:00
Mark McDonald
b9cd942308
Add keybaord shortcut for creating related cards ( #2426 )
...
* Extract createCard from actCreateRelatedCard
* Merge related cards and reverse related cards before handling
* Add "Create all related cards" action to a card
* Stop displaying all related tokens if only one token is available
* Add shortcut for Creating all tokens related to selected card
* Extract method for adding related card actions
* Prefer foreach to index based iteration
* Guard against null cards, card menus, or cardInfos
* Remove QRegExp dependency from commonly depended header
2017-02-27 08:50:10 +01:00
Name Temporarily Hidden
c0e7d0c7c7
Removed font-size cap for on-card text (fixes bug: #2368 ) ( #2427 )
2017-02-26 23:20:54 -05:00
woogerboy21
d0088f6a18
Server audit table ( #2423 )
...
* Creating of server side audit table for auditing actions such as password resets, account registrations and log queries.
* Add migration script
Add migration script for database
* Update database script
Update database script to reflect new audit table
* Creating of server side audit table for auditing actions such as password resets, account registrations and log queries.
* Add migration script
Add migration script for database
* Update database script
Update database script to reflect new audit table
* Corrected results column possible value(s).
* Fixed migration script.
* Added boolean audit logic
Added enable/disable audit options
Added audit functionality for forgot password
* Added registration auditing
Added registration auditing
* Updated ActivateAccount Function
Created clientid variable and used it in preporation for future
potential protocol expansion.
* Extended activation protocol
Added clientid to activation command protocol
* Typo correction
Fix typo's
* Missed type fix
Found the infamous E!
* Updated database function syntax
Updated if/else syntax in db add audit function
* Untabify content
Untab files changed in PR
2017-02-25 13:48:31 -05:00
tritoch
3c2063df40
Update Custom PIcture URL to match wiki ( #2422 )
...
Wiki page was moved, link in settings points to old page.
2017-02-24 01:13:26 -05:00
Zach H
47cafde521
fix lowercase ( #2419 )
...
* fix lowercase
* fix changes
* fix .desktop
* servatrice .desktop
2017-02-23 08:53:18 +01:00
Mitchell Rosen
9ba3f21730
Fix indentation (and Debug build) ( #2418 )
...
* Fix indentation (and Debug build)
* More indentation fixes
2017-02-20 08:48:12 +01:00
Zach H
172fc79327
fix crash if no trayicon found ( #2415 )
2017-02-19 14:52:44 +01:00
tritoch
90c62c8ab8
Add cockatric.es server ( #2414 )
2017-02-16 15:06:30 -05:00
woogerboy21
0cfa6863d5
Simpler forgot password functionality ( #2393 )
...
* Simpler forgot password functionality (Server/Client)
2017-02-15 17:41:40 -05:00
woogerboy21
b64eab204c
Added custom notify user event ( #2398 )
...
* Added custom notify user event.
* Untabbify
2017-02-08 18:00:53 -05:00
woogerboy21
0fdb9b7c83
Added registration email blacklist ( #2352 )
...
* Added registration email blacklist
Added the ability to define email blacklist for user registration. Now
server operators can prevent users from registering accounts that
contain providers they do not wish users to use.
* Update ini option for clarity
Updated servatrice ini option name for clarity.
* Updated description for clarity
Added implicit explination
2017-02-08 15:25:27 -05:00
tritoch
bdb8e931b4
Registered + VIP + Buddy Gummy Update ( #2336 )
...
* Reg + Buddy + VIP
* Registered VIP Gold de-Star
Removed the star from VIP. Changed gummy to all-gold.
2017-01-14 13:17:03 -05:00
poixen
cdeb1a7f9a
Merge branch 'master' into priv_level
2017-01-08 09:40:21 +01:00
woogerboy21
a85b0dcbba
Add email registration restriction ( #2350 )
...
* Add ability to limit number of account registrations with same email address
This commit adds server side functionality that will allow operators to
limit the number of accounts that can be registered to the server with
the same email address.
* Updated ini wording
Updated configuration file wording for better description.
2017-01-07 11:26:23 -05:00
poixen
93c7b1b846
Added priv level to user details
...
added priv level to user details
Fix #1881
This change allows the server operator to enable or disable the internal
SMTP client that sends activation emails. With this new configuration
option server operators can choose to require email activation yet use
an external method of account verification and/or account token
notification.
2017-01-07 08:16:21 +01:00
woogerboy21
3e39432ccc
Add configuration to enable/disable internal smtp client ( #2337 )
...
Fix #1881
This change allows the server operator to enable or disable the internal
SMTP client that sends activation emails. With this new configuration
option server operators can choose to require email activation yet use
an external method of account verification and/or account token
notification.
2017-01-06 17:02:52 -05:00
woogerboy21
dbf7d7f748
Fix replay chatview with new gummys ( #2340 )
...
Fix #2334
This update fixes the violation that happens when watching replays to
determin the proper user privlevel in order to generate the correct
gummy.
2017-01-06 15:28:30 -05:00
poixen
2d216807c7
Condensed counter menu
2017-01-06 19:07:31 +01:00
Zach H
3d0600b516
Tokens in sub menu ( #2320 )
2016-12-17 13:05:29 -05:00
woogerboy21
960ecaaeda
New privuser gummys ( #2305 )
...
* New user gummys based on account privilege level
This change add's new user gummy icons for vip/donator priv levels that
are now available.
YaY for Zach!
2016-12-08 22:52:25 -05:00
Zach H
e0636db60d
Recursively search CUSTOM folder for images (i.e. subdirectories) ( #2251 )
2016-12-08 11:00:44 +01:00
woogerboy21
d039c9b6bd
Add missing feature rememberance to client ( #2275 )
...
Fix #2249
Add the ability for the client to remember the missing features that it
received from the server it last connected to and not display the
"missing/optional feature" message at every login.
2016-11-29 15:50:00 -05:00
woogerboy21
6962777ded
Rework idle timeout, now server side ( #2259 )
...
* Server side idle timeout
Initial commit for server side idle timeout counter. This adds a new
int value that is updated when room/game/mod/admin commands occur and is
checked during the regular ping timout function that if the users new
"idle" value exceeds the idleclienttimeout value defined in the servers
configuration file the user is logged out. The user will receive a
warning at the 90% time frame mark about being idle.
* Use round instead of ceil
Travis fix for older xcode issue's.
* Fixed requested items
Mis-spelleed function, added header, added warning message sent check
value. Also corrected the protobuf declaration file for
event_notifyuser
* Moved bool to protected
* Re-Ordered Declarations
* Removed most stylistic items
Resolved most noted things.
* Remove client side idle timeout
Removed client side idle timeout functionality
2016-11-08 22:18:12 -05:00
woogerboy21
1cebe030f6
Fix one to many zero's ( #2260 )
...
Looks like I typo'd the default value for the number of seconds in 1
hour for the default client side idle time out. This fixes it.
2016-11-02 01:26:00 -04:00
Jeff
a2f4fa916e
Adds !corrected_name! and !corrected_name_lower! to customURL ( #2255 )
2016-11-01 00:13:39 -04:00
Zach H
3498b16e01
update wordings ( #2246 )
2016-10-30 03:54:43 -04:00
ctrlaltca
a1840ea9d3
translations galore ( #2245 )
2016-10-29 11:31:35 +02:00
woogerboy21
63a4f147f4
Add client UI setting for idleclientdisconnect ( #2244 )
...
* Add client UI setting for idleclientdisconnect
Added disabled option in client UI for client disconnect.
* Updated settings text
Updated settings text for clarity.
* Updated descripton text (again)
Per request for clarity
2016-10-29 04:24:18 -04:00
ctrlaltca
b808d3824b
don't use corrected name when downloading card ( #2164 )
2016-10-22 19:07:58 -04:00
ctrlaltca
c3ef53d6fd
Removed unused class ( #2222 )
2016-10-18 14:34:11 +02:00
ctrlaltca
40468a79ea
Merge branch 'master' into CleanupMaxUserCheck
2016-10-17 12:27:20 +02:00
Kevin Boxhoorn
0b7f4c134c
Disallow usernames that contain certain words and RegExp ( #2200 )
...
* Add `disallowedwords` setting and perform check
Check if any of the words in `disallowedwords` are contained in the username. If
so, return false like other checks.
NOTE: Needs testing for advanced bugs.
* Remove "administrator" from `disallowedwords`
"administrator" contains "admin" anyway, so it is not needed.
* Add error message if username contains a disallowed word
* Add `disallowedregexp` setting and perform check
Check if each expression in `disallowedregexp` exactly matches the username. If
so, return false.
TODO: Add specific error to dialog in `window_main.cpp`.
* Add error message for username matching RegExp
* Fix indentation
* Compile `disallowedregexp` into a QList upon initialization
Reduces system load with each registration request.
* Clean up `isUsernameValid` function
* Fix indentation
* Add backwards compatibility to client
Client can accept either 7 or 9 rules to maintain compatibility with older
versions of server.
* Add examples and warnings to `servatrice.ini`
2016-10-17 12:24:42 +02:00
woogerboy21
10b677acdf
Cleanup max user check at login
...
This change accomplishes two goals. The first is it moves the checking
for if the servers set user limit is reached out of the socket interface
and into the protocol handler portion of the code (were it should live).
It also eleminates the need for a DB query at login to check the user
count. The user account is actually already maintained by the server
and a function already existed to get the user count total.
2016-10-16 12:48:39 -04:00
Kevin Boxhoorn
1cbf67ab57
Merge branch 'master' of https://github.com/Cockatrice/Cockatrice into login-error-fix
2016-10-10 20:52:58 +11:00
woogerboy21
7af2f3f057
Idle Client Timeout Functionality
...
Added the functionality client side to log users out of servers if they
are idle for more than 1 hour without joining either a game or room.
Sending a message (room/game/private) or performing a game action.
2016-10-09 13:55:07 -04:00
Kevin Boxhoorn
000f6ea2c0
Merge branch 'master' into login-error-fix
2016-10-06 20:39:46 +11:00
Kevin Boxhoorn
2376a7dbc0
Make isLocalGame
const
2016-10-05 09:43:22 +11:00
Kevin Boxhoorn
c1aebc1af5
Fix member variable initialization order
2016-10-03 13:16:16 +11:00
Kevin Boxhoorn
3680f40981
Disable "Load remote deck..." button in local game
2016-10-03 12:36:18 +11:00
Kevin Boxhoorn
2a7fc827f4
Add getIsLocalGame
to TabGame
2016-10-03 12:33:40 +11:00
Kevin Boxhoorn
6825486776
Prevent login error handler being incorrectly called ( #2176 )
...
In some situations, when the server disconnects the client during a login,
multiple dialogs will be shown. This is undesirable behavior, and hence
`loginError` should only be called when the client is actually connected
(`response.response_code() != Response::RespNotConnected`).
2016-09-29 12:21:06 +10:00
tooomm
a7a0ea23ca
removed tr() for URLs ( #2190 )
2016-09-25 19:28:34 -04:00
Zach H
6c7ba06930
add pow/toughness filters ( #2169 )
2016-09-20 18:17:53 -04:00
ctrlaltca
c4bb16e74b
Merge pull request #2175 from Cockatrice/add_new_pub_server
...
add mtg.tetrarch.co server
2016-09-20 22:28:54 +02:00
Fabio Bas
0e8206a36f
Updates translations
2016-09-20 22:23:36 +02:00
tooomm
8b1aaea79d
add mtg.tetrarch.co server
...
added `mtg.tetrarch.co` server hosted by @skwerlman to the in-client default list
2016-09-20 21:18:58 +02:00
ctrlaltca
7f28a7e844
Fix #601 ; Fix #725 ( #2126 )
...
Analyze deck on tappedout
Fix small bug in deckstats interface
2016-09-02 01:34:56 -04:00
ctrlaltca
680277ad6a
fix #2129 ( #2132 )
...
Remove selection move at all
2016-08-31 14:13:30 -04:00
Fabio Bas
ae456a5bc3
Renamed !setnumber! to !collectornumber!
2016-08-20 10:27:23 +02:00
Fabio Bas
c321227fa7
Fix clipboard behavior in deck editor and game
2016-08-09 11:13:36 +02:00
poixen
0df4b34fe4
radio buttons for game types
2016-07-27 21:21:28 +02:00
ctrlaltca
2cbfc5a8e6
Merge pull request #2096 from ctrlaltca/fix_2091
...
Fix infinite loop on local game close
2016-07-24 12:29:03 +02:00
poixen
f2cd276e5f
more screen space
2016-07-21 20:06:45 +02:00
woogerboy21
c04298fb43
Merge pull request #2087 from woogerboy21/client_id_nametoip_fix
...
Client id nametoip fix
2016-07-21 10:20:16 -04:00
woogerboy21
63bf0029aa
Updated client id generation to use host ip rather than name
2016-07-21 09:20:28 -04:00
poixen
8d989ca7fb
updated connect dlg
2016-07-21 11:45:11 +02:00
Fabio Bas
d61d9c98a0
Avoid locking on local server shutdown
2016-07-20 16:53:57 +02:00
poixen
69e8db441c
updated login
2016-07-15 15:41:51 +02:00
ctrlaltca
0939cd8b21
Merge pull request #2082 from ctrlaltca/fix_2081
...
Remove newlines from Deck name in TabDeckEditor
2016-07-15 11:14:13 +02:00
Fabio Bas
b0efcf9f89
Remove newlines from Deck name in TabDeckEditor
2016-07-15 10:57:42 +02:00
Zach H
edd50a7571
show buddyOnly on filter clear
2016-07-14 16:56:17 -04:00
poixen
a729b1c966
updated game created coloumn text
2016-07-12 09:31:27 +02:00
ctrlaltca
6a152ffbac
Merge pull request #1991 from ctrlaltca/websockets
...
Implementation of websockets in servatrice and test js client
2016-07-05 14:45:31 +02:00
ctrlaltca
07bc215b3e
Merge pull request #2021 from ZeldaZach/color_list
...
Colors to deck editor
2016-07-05 14:45:09 +02:00
poixen
3717c7440a
Fixed mention bug
2016-07-04 20:23:32 +02:00
poixen
089edc53d0
filter buddies only
2016-07-03 21:48:21 +02:00
Gavin Bisesi
e038534a51
Merge pull request #2045 from Cockatrice/timestamps
...
added additional timestamps in game
2016-07-02 19:49:34 -04:00
poixen
2a11466779
auto admin
2016-07-02 22:34:45 +02:00
poixen
60f457827f
added more in game timestamps
2016-07-02 21:45:38 +02:00
tooomm
c095daa282
log ui window title change
...
While translating I realized that `View Debug Log` for the menu is perfectly fine, the dialog window should just say `Debug Log` though...
2016-06-30 17:15:37 +02:00
Fabio Bas
670f55bc28
Translations update
2016-06-30 15:26:52 +02:00
ctrlaltca
9807bcb48f
Merge pull request #2025 from ctrlaltca/logui
...
Log UI
2016-06-29 13:56:46 +02:00
Fabio Bas
8db10be892
Log UI
2016-06-27 22:18:39 +02:00
Fabio Bas
5b21dc8cde
Implementation of websockets in servatrice and test js client
2016-06-26 19:38:53 +02:00
ctrlaltca
c19f225806
Merge pull request #2015 from Cockatrice/tooomm-tr_tags
...
fix hardcoded strings
2016-06-26 18:52:37 +02:00
ctrlaltca
7282aa7eea
Merge pull request #2014 from Cockatrice/tooomm-patch-1
...
properly differentiate between singular and plural
2016-06-26 18:52:17 +02:00
Zach H
79fc24769a
Colors to list
2016-06-21 00:48:03 -04:00
tooomm
85c6bcdfa7
fix travis debug error
...
introduced in https://github.com/Cockatrice/Cockatrice/pull/2011
2016-06-17 17:34:07 +02:00
tooomm
57f9b2c200
add tr() tags
2016-06-17 17:03:42 +02:00
tooomm
1782096805
add tr() tags
2016-06-17 16:56:08 +02:00
tooomm
bfbbedd604
pluralisation
2016-06-17 16:12:41 +02:00
Fabio Bas
1bc56e1c86
Fix some translation issues
...
Fix #2010
2016-06-15 22:17:31 +02:00
Gavin Bisesi
f7d1802390
Check for x86/x86_64 update version on windows.
...
Fix #1977
2016-06-08 18:13:01 -04:00
Gavin Bisesi
0baccd3c00
Merge pull request #2000 from ZeldaZach/fix_1946
...
Add set names to dialog
2016-06-04 16:36:10 -04:00
tooomm
4e198bdf70
Merge pull request #2001 from tooomm/tooomm-patch-1
...
typo fix
2016-06-03 21:25:29 +02:00
tooomm
32f8eb308a
typo fix
...
`Toogle untap` --> `Toggle untap`
2016-06-03 20:22:03 +02:00
Zach
47de7beac1
Merge pull request #1999 from ZeldaZach/fix_1476
...
Prevent no games from showing
2016-06-01 02:25:41 -04:00
Zach H
1ff98cfcb4
Add set names to dialog
2016-05-31 20:29:00 -04:00
Zach H
c25eae9d23
Prevent no games from showing
2016-05-31 19:16:05 -04:00
Zach H
829c96673b
Add rarity filter to deck editor
2016-05-31 03:33:56 -04:00
ctrlaltca
cf3e172d25
Merge pull request #1981 from MarkyMarkMcDonald/feature/create-token-dialog-uses-name-as-search
...
Create token dialog uses name as search
2016-05-17 21:49:49 +02:00
Mark McDonald
8dd8b434b2
Make "create token" dialog's card name a filter
...
* There is a circular update loop I had to cut off where the name field
updates the filter and then the currentRowChanged signal is firing without a row.
* I chose to make a private method to show intent instead of relying on
other QLineEdit methods (textEdited) that don't fire signals.
* Some other shenanigans may be at hand that are causing this
workaround, but my familiarity with Qt is pretty low.
2016-05-11 21:42:52 -04:00
Mark McDonald
7bc14b594d
Include card name criteria when filtering token database model.
2016-05-11 21:42:52 -04:00
Mark McDonald
d12c86d89c
Separate search's card name matching out from token filter check
...
* Trying to eventually reuse card name filtering in "create token"
dialog
2016-05-11 21:42:52 -04:00
Fabio Bas
bb5292aa8d
Drop Qt4, libgcrypt, qtmobility dependencies
2016-05-11 12:45:58 +02:00
Zach
e3fb308ea1
Merge pull request #1974 from ZeldaZach/fix_updater
...
fix updater from bintray api issue
2016-05-08 15:08:50 -04:00
Zach H
0163d7af99
fix if/else
2016-05-08 03:35:18 -04:00
Zach H
449982553a
remove qt4 check, not needed
2016-05-07 21:51:37 -04:00
Zach H
d46cdd8044
fix updater from bintray api issue
2016-05-07 21:28:45 -04:00
Fabio Bas
01e467fa98
Updated translations
2016-05-06 13:17:20 +02:00
tooomm
a42ef63ec4
removed bracket leftovers
2016-05-04 23:41:09 +02:00
tooomm
a93bef1de5
fix #1833
...
remove numbers from the dice roll translatable strings
2016-05-04 23:21:52 +02:00
Fabio Bas
af3b4ded22
Update translations
2016-04-25 18:45:24 +02:00
Lee Matos
c01d526161
make client gender neutral
2016-04-21 03:44:39 -04:00
Fabio Bas
a340d25077
Fix #1942
2016-04-14 14:36:46 +02:00
Fabio Bas
14d731da98
fix calculation of card info popup size
2016-04-11 17:07:07 +02:00
ctrlaltca
4f30b5cd31
Merge pull request #1921 from ctrlaltca/number
...
Implemented !setnumber!
2016-04-11 15:16:25 +02:00
ctrlaltca
73da10e485
Merge pull request #1919 from ctrlaltca/fix_1918
...
Fix english language in options
2016-04-11 15:16:02 +02:00
Fabio Bas
8c17e2d12a
Implemented !setnumber!
...
fix #1741
2016-04-08 22:22:22 +02:00
Fabio Bas
c7061523e6
fix #1915
2016-04-08 19:48:29 +02:00
Fabio Bas
2e7298d064
Fix english language in options
2016-04-08 19:34:28 +02:00
Fabio Bas
e9736d298e
Translations update
2016-04-05 19:35:24 +02:00
ctrlaltca
4691f3e2c5
Merge pull request #1906 from ctrlaltca/fix_1903
...
Token dialog: disable progressive loading
2016-04-05 08:30:32 +02:00
ctrlaltca
2b138cce93
Merge pull request #1900 from ctrlaltca/dbview
...
Save deck editor's database view columns state
2016-04-05 08:29:46 +02:00
Fabio Bas
2a3701b036
fix #1903
2016-04-03 18:33:10 +02:00
Fabio Bas
ce56e5f1a4
CardDb: be permissive when loading xmls
2016-04-03 11:15:16 +02:00
Fabio Bas
58f85e7ebd
Save deck editor's database view columns state
2016-04-02 09:38:34 +02:00
ctrlaltca
f217551f5f
Merge pull request #1877 from Psithief/patch-2
...
Prevent PTColumn from being the last column shown.
2016-03-30 22:55:49 +02:00
ctrlaltca
55f3e9314b
Merge pull request #1859 from ctrlaltca/carddb
...
Rework some parts of the card database
2016-03-30 22:55:36 +02:00
woogerboy21
44123b9b0b
Untabify
...
Yay! Figured out how to do this in VS2015!
2016-03-30 15:30:58 -04:00
woogerboy21
506ad91b03
Privatized Function
...
Moved the updated hashing function out of the settingscache and into the
remoteclient and privatized the function for proper use.
2016-03-29 22:00:42 -04:00
woogerboy21
ee849f6379
Updated ClientID Functionality
...
ClientID is now generated on startup and stored in settings cache. Then
upon connect there is a new SrvClientID generated from the ClientID +
servername being connected to
2016-03-29 17:05:25 -04:00
Fabio Bas
e94f59d7c2
Crash fix
2016-03-22 17:07:45 +01:00
Lee Matos
9f3b50086d
Remove "Ghost" Toolbar
...
I'm working on a theme and realized we have a toolbar that used to be used for price, which we no longer display. I removed the code (and the unused price code action) as we weren't using either.
2016-03-21 21:27:38 -04:00
Fabio Bas
a55b3784eb
cmake: Enable c++11 for all targets
2016-03-21 11:42:38 +01:00
Fabio Bas
18993b397b
First test for card database: loading and clear
2016-03-21 11:08:14 +01:00
Psithief
ba3a9f83bc
Prevent PTColumn from being the last column shown.
...
P/T column is really narrow. It should go before Card Type, so Card Type can expand into the remaining space.
Improves #1671 , assuming I got this correct.
Untested!
2016-03-19 19:55:57 +08:00
Fabio Bas
df393638ed
Small Fix
2016-03-18 21:18:48 +01:00
Zach H
27969b6752
prevent null crash
2016-03-18 14:25:29 -04:00
Fabio Bas
1e3fb6c6e1
Rework "paths" settings loading and card database loading
...
* main.cpp: removed path checking and db loading
* card database: merge card loading methods into a single one
* settings cache: take care of returning safe paths for decks,
replays, etc..
* main window: if db loading fails (eg. first run), propose to run
oracle
NSIS: propose to run cockatrice instead of oracle
Rework card database loading
* Move carddatabase-related method out of deckeditor tab
* Load cards in another thread and render them progressively
* Optimize database reload after enabled sets change
Fix deck editor column width
* removed the noCard hack.
* getCard() no more creates cards instead of just returning existing
ones
* Fix the “edit tokens” dialog.
* PictureLoader: avoid trying to download twice the same card
* PictureLoader: correct return of card background
* AbstractCardItem: avoid recalculating card color at every paint
Use a different file to save custom tokens
Misc required improvements
* Use nullptr;
* Refactor CardInfoWidget to use CardInfoPicture and CardInfoText
instead of duplicating code;
* Added CardInfo::getColorChar()
* Fixed some potential crashes
* removed dead code related to CardInfoWidget
* Don't require a restart after adding a new custom sets file
* Bump CMake requirements to 3.1
2016-03-15 22:27:55 +01:00
ctrlaltca
b2c1ae264b
Merge pull request #1832 from tooomm/restructure
...
move sounds+themes folder inside cockatrice
2016-02-24 21:38:09 +01:00
tooomm
754e666eaa
updated to new folder locations
...
- `sounds` and `themes` moved into `cockatrice/`
moved subdirectory reference
`/cmakelists` to `/cockatrice/cmakelists`
2016-02-24 15:41:04 +01:00
Gavin Bisesi
bc79d9e2f8
Merge pull request #1796 from zebington/feat/custom-set-import
...
Add "Import custom set" function
2016-02-24 09:12:31 -05:00
Zach
5b22187a3d
Merge pull request #1794 from zebington/master
...
Fixes for create game dialogue.
2016-02-16 17:07:28 -05:00
Fabio Bas
a8c723326d
Game tab: use short title for undocked wdgets
...
fix #1777
2016-02-12 14:49:37 +01:00
Fabio Bas
ae8296a50e
Game tab: reset docks sizes on "reset layout"
2016-02-11 18:29:50 +01:00
Ira Aspen
aa658f95f6
Gave error dlg a description of the error for the user.
2016-02-09 03:10:57 +00:00
Ira Aspen
d078cf52c9
Removed unnecessary confirmClose() call.
2016-02-09 02:57:23 +00:00
Ira Aspen
96fbad1f0c
Moved get next set index code to own function
2016-02-09 02:55:52 +00:00
Ira Aspen
829f84fe50
Moved from using hex QT version checks to QT_VERSION_CHECK().
2016-02-09 01:56:24 +00:00
Ira Aspen
0ef2b48902
Refactored DlgAddSet class/functions to DlgAddSetResult
2016-02-09 01:52:09 +00:00
Ira Aspen
5a975831d4
Renamed "dlg_add_set.*" to "dlg_add_set_result.*" and updated references.
2016-02-09 01:40:21 +00:00
Fabio Bas
058b913455
Game: save and restore dock sizes
2016-02-07 21:58:51 +01:00
Ira Aspen
9d3c4f20a1
Changed strings referencing a set to say sets/cards.
2016-02-07 01:41:35 +00:00
tooomm
802ccd7f14
shortcut tabs adjustments
...
- typo fix
- improved description of some shortcuts
2016-02-06 19:29:57 +01:00
Ira Aspen
b5363f47ab
Updated message.
2016-02-06 12:42:45 +00:00
Ira Aspen
927226633d
Moved menu item decleration to work on all OSs.
2016-02-06 02:37:34 +00:00
Ira Aspen
de388a74bd
Moved exec statement.
2016-02-06 02:32:04 +00:00
Ira Aspen
54a759497f
Added confirmation dialogue when set added.
2016-02-06 02:29:09 +00:00
Ira Aspen
c914395236
Finished add set functionality.
2016-02-06 01:33:43 +00:00
Ira Aspen
2960cba12b
Added a file picker to the add set menu item.
2016-02-05 21:09:24 +00:00
Ira Aspen
646c4b4197
Added functionless menu button for adding a set.
2016-02-05 20:32:40 +00:00
Ira Aspen
9846fb1d8e
Made reseting the create game dialogue box only select 'Only regeistered users' if player is a registered user.
2016-02-05 19:32:27 +00:00
Ira Aspen
154da4452d
Made create game box prevent only buddies can join being selected for unregistered users.
2016-02-05 19:29:19 +00:00
Fabio Bas
50dde5dde1
Some updated translations from transfix
2016-02-02 22:04:49 +01:00
Fabio Bas
7c128f69b0
Updated translations
2016-01-29 00:30:54 +01:00
Gavin Bisesi
7de8e8a6a7
Merge pull request #1747 from tooomm/about_url
...
[WAIT] added webpage to about window
2016-01-28 18:02:37 -05:00
ctrlaltca
5dd20181fd
Merge pull request #1753 from ctrlaltca/pr_1544
...
Re-Dockified the game & replay review areas
2016-01-28 22:44:32 +01:00
ctrlaltca
14e94f1f8b
Merge pull request #1767 from Fizztastic/fix_1764
...
Sounds on buddy login & logout.
2016-01-28 22:33:10 +01:00
Fabio Bas
ee42d547bf
Disable downlod button when download starts
2016-01-28 22:27:14 +01:00
ctrlaltca
5577d618bd
Merge pull request #1727 from TMiguelT/target
...
Client update implementation
2016-01-28 22:25:54 +01:00
ctrlaltca
7ec3968c02
Merge pull request #1770 from ctrlaltca/fix_pixmaps
...
Fix pixmap usage in pictureloader
2016-01-23 18:23:55 +01:00
Fabio Bas
133693d9ce
Fix pixmap usage in pictureloader
...
fix #1765
2016-01-23 11:00:10 +01:00
Jeff
9767b1f69d
Fix #1764
...
Add Sounds on buddy login & logout.
Add Files: buddy_join.wav; buddy_leave.wav
2016-01-22 15:03:01 -05:00
Michael Milton
66fda086c3
Client update implementation
2016-01-20 22:26:17 +01:00
woogerboy21
f57e0454bb
Dockified the game & replay review areas
2016-01-16 00:54:14 +01:00
Zach
36c3536e0c
Merge pull request #1721 from ctrlaltca/speedup
...
Misc speedups in card database
2016-01-15 18:43:01 -05:00
Fabio Bas
3605cc55b7
fix replay progress bar
2016-01-13 00:17:02 +01:00
tooomm
953b183dab
added url to about
...
added gh pages url
2016-01-09 22:53:54 +01:00
Zach H
e0a25e74ac
fix merge issues
2015-12-30 11:54:30 -05:00
Zach H
f568a4e865
todo
2015-12-30 11:51:53 -05:00
Zach H
703ff7905c
token coordinates
2015-12-29 23:43:03 -05:00
Zach H
da0e3292d3
Token PT shown in create related dialog
2015-12-29 18:28:41 -05:00
Lee Matos
8a6d63265f
Enable HiDpiPixmaps for Qt5
2015-12-28 22:03:38 -05:00
Fabio Bas
fddcbb8296
Lazy loading of card database view => faster startup times
2015-12-28 15:26:10 +01:00
ctrlaltca
c917a6c272
Merge pull request #1722 from ctrlaltca/rev-related
...
Implement reverse-related tag for cards
2015-12-27 18:44:05 +01:00
Zach H
137d7328b5
coin flip
...
remove male/female as it's same
male/female fixes
translate
2015-12-27 12:34:11 -05:00
Fabio Bas
4b1c59424e
Implement reverse-related tag for cards
2015-12-26 19:57:20 +01:00
Fabio Bas
e721280bc0
Implemented proposed changes
2015-12-26 16:40:17 +01:00
Fabio Bas
4d7795ca3a
Split pictuloader out of carddatabase
2015-12-26 16:40:17 +01:00
Fabio Bas
696ae7e85f
Add gear icon to settings menu entry
2015-12-19 11:48:54 +01:00
Fabio Bas
5093ea4170
Small typos + reextracted strings
2015-12-15 16:31:58 +01:00
Fabio Bas
2712dd4248
Extracted new translation strings
2015-12-15 15:59:20 +01:00
Fabio Bas
ed4149fa7b
Add .txt to the common deck file types
...
fix #1683
2015-12-13 12:00:39 +01:00
ctrlaltca
0c137e8a10
Merge pull request #1662 from BrandonGriffin/SetFocusOnDescriptionWhenLoadingGameDialog
...
Added set focus to description anytime a create dialog is opened
2015-12-12 18:17:12 +01:00
ctrlaltca
de6235f69c
Merge pull request #1698 from ctrlaltca/fix_1694
...
Improved login error message
2015-12-12 09:15:01 +01:00
ctrlaltca
a07b72a031
Merge pull request #1699 from ctrlaltca/fix_1687
...
Fix column widths in rooms list
2015-12-12 09:14:51 +01:00
Fabio Bas
deec7cdc14
Avoid crash on dereferencing null pointer
2015-12-11 19:32:08 +01:00
Fabio Bas
803589264d
Fix column widths in rooms list
2015-12-11 18:51:40 +01:00
Fabio Bas
beecc0f970
Improved login error message
2015-12-11 18:42:29 +01:00
tooomm
bc44f8ce2a
link renaming
...
-`Linking FAQ` --> `How to set a custom picture url`
-updated define accordingly
2015-11-17 16:04:29 +01:00
Brandon Griffin
813a0c2070
Added set focus to description anytime a create dialong is opened
2015-10-27 08:58:29 -04:00
Brandon Griffin
64c15d1fdc
Changed the default setting to play cards to the stack
2015-10-23 20:11:13 -04:00
ctrlaltca
613f712974
Merge pull request #1646 from ctrlaltca/debian_package
...
CPack: Debian package
2015-10-17 09:33:06 +02:00
ctrlaltca
75eb779826
Merge pull request #1637 from ctrlaltca/cmdjoin_handler
...
Handle more Command_JoinRoom return values
2015-10-16 11:48:40 +02:00
Fabio Bas
23e84273ed
If the user request to join a room and we are already in, just focus the correct tab
...
Also, handle all the Command_JoinRoom return values
2015-10-15 19:17:02 +02:00
Fabio Bas
bab4a51ebb
CPack: Debian package
2015-10-13 22:16:00 +02:00
Fabio Bas
7fe60279de
Fix PR #1600
2015-10-09 14:59:42 +02:00
Gavin Bisesi
3ebe42c400
Add dummy googletest
...
Uses the built in cmake -Dtest=ON
It should download googletest on the fly if needed.
Adds a new make target, `make test`
Ref #167
2015-10-09 14:58:46 +02:00
ctrlaltca
43262b294d
Merge pull request #1620 from ctrlaltca/fix_rpath
...
Fix qt libraries bundling on osx
2015-10-02 17:54:10 +02:00
ctrlaltca
b0e9e0fb3a
Merge pull request #1603 from ctrlaltca/fix_audio
...
Fix volume control
2015-10-02 14:46:30 +02:00
Fabio Bas
74c58cc2b0
fix qt libraries bundling on osx
...
fix #1547
2015-10-01 23:35:54 +02:00
Psithief
ca9bfc9ff2
Revert focus policy change in tab_game
...
Fixes #1529 .
Completely untested, because I don't think this could possibly interfere with anything. It's a straight revert.
2015-10-01 12:00:30 +08:00
Fabio Bas
a9f2cd73de
Fix volume control
...
fix #1528
2015-09-28 12:24:22 +02:00
Zach
d5adec53a2
Revert "Reimplemented PictureLoader as a singleton"
2015-09-23 03:17:33 -04:00
Zach
064c89ba5c
Merge pull request #1556 from ctrlaltca/carddatabase_changes
...
Reimplemented PictureLoader as a singleton
2015-09-23 01:21:37 -04:00
woogerboy21
62ffcde6bd
Added logs tab to allow moderators the ability to review log history/details
2015-09-23 00:50:01 -04:00
Zach
e68b8b314a
Merge pull request #1522 from woogerboy21/offical_warnings
...
Added official warning messages moderators can use to inform users
2015-09-22 23:29:12 -04:00
woogerboy21
6ad2a59367
Added official warning messages moderators can use to inform users
2015-09-22 22:27:46 -04:00
Fabio Bas
e0383af6dd
workaround "Signals are protected in qt4"
2015-09-22 23:57:39 +02:00
Fabio Bas
ac16602f08
Fix crash on null pointer dereference
2015-09-22 23:46:41 +02:00
Fabio Bas
f6c7f3355f
Reimplemented PictureLoader as a singleton
...
* Removed remaining picture handling from card database and cardinfo
* removed the “noCard object” hack
2015-09-22 23:09:53 +02:00
Zach
3f70513096
Merge pull request #1555 from ctrlaltca/cards_crash
...
Fix crash on loading invalid cards.xml
2015-09-22 16:19:12 -04:00
Zach
8125358052
Merge pull request #1523 from marcofernandezheras/Restore-Shortcuts
...
Restore shortcuts
2015-09-22 16:00:49 -04:00
Fabio Bas
7a4bf9a313
Fix crash on loading invalid cards.xml
...
Additionally, move the custom database load after the LoadStatus check,
so that they don't bring up the “fix your card database path” settings
dialog
2015-09-22 21:56:02 +02:00
Zach
aacbe93d04
Merge pull request #1540 from ctrlaltca/remove_unused_sounds
...
Removed unused sound names
2015-09-22 15:51:05 -04:00
woogerboy21
cd7b25f712
Fix #1542
...
This should fix #1542 (please test)
2015-09-22 01:19:31 -04:00
Fabio Bas
2df50f5766
Removed unused sound names
2015-09-20 12:08:55 +02:00
marco
599ef0ae62
Confirmation to clear/restore shortcuts
2015-09-20 00:21:07 +02:00
Zach
1409b97490
Merge pull request #1530 from ZeldaZach/fix_1527
...
Minors Fixes for #1527
2015-09-18 10:18:12 -04:00
Zach H
ccc8ac4826
minor fixes
2015-09-18 09:56:32 -04:00
Fabio Bas
2a20b6028e
Changed problematic shortcuts
2015-09-18 08:38:54 +02:00
woogerboy21
b0693299c7
Added server private message functionality to allow server based PM notifications.
...
Ban based notification to other online moderators is the first form implemented by this PR.
2015-09-17 22:40:29 -04:00
marco
0ce38ea88e
Reset & Clear all shortcuts
...
This closes #1517
2015-09-16 13:35:26 +02:00
marco
8eacd85d68
Link to wiki: how to set shortcuts
2015-09-16 12:30:32 +02:00
ctrlaltca
c7c84bca8f
Merge pull request #1521 from tooomm/patch-2
...
remove debug code; fix #1520
2015-09-16 08:42:48 +02:00
tooomm
1bec6dc37a
shortcut tabs adjustments
...
- `|` over `/` to make `P/T` better readable
- Game play --> Gameplay
- Player - Playing Area
2015-09-15 18:56:53 +02:00
tooomm
814553dae6
remove debug code
...
fixes #1520
2015-09-15 18:53:06 +02:00
Zach
385455e77c
Merge pull request #1510 from woogerboy21/room_message_history
...
Added chat history to a room that is displayed on join
2015-09-15 12:10:37 -04:00