Fixes
- Fixed trying to perform a modification to a non-existing payout causing an internal server error rather than displaying a record not found page.
- Fixed spelling error on code type's edit page.
The clan member list has be improved in a number of ways:
* A user's primary group is the group with the highest weight value out of all of the groups they are a member of, either implicitly via their clan role, or explicitly assigned to them.
It should be noted that, in general, this change makes the names of the clan's groups visible to all clan members. I personally only see this as a benefit, as it gives more "value" to any custom groups users are assigned to. That said, I'm open to feedback.
Additionally, people outside of your clan will only see the World of Tanks' roles when viewing your clans member list on clan tools.
Previously, payouts were locked by completing them. The idea behind this was that a payout would be completed, then the gold for that payout would be paid out. This approach would help ensure that the payout records were accurate. However, this approach has some drawbacks.
To solve these, a new more temporary and smart locking mechanism has been added. This new lock allows a single person to lock a payout from being modified (or deleted) by anyone but themselves.
As such, the new recommended workflow for payouts is to create a new payout locked to the creator (the default), perform any necessary modifications, review the payout, perform the actual distribution of gold, then complete the payout.
For environments where several people might need to edit a payout before it's ready to be paid out, new payouts can be created without a lock, and the lock can be toggled on and off.
Additionally, the use of locks is optional. Though, as always, several aspects of Clan Tools require completing payouts when they have been paid out to function.
Some time ago Wargaming broke gold pay from your clan showing up ingame. To help alleviate this issue I've added recently completed payouts involving the user to their short-term "Attendance Record" displayed on the main page.
It's important to note this information is using the payout data from completed payouts on Clan Tools; Wargaming hasn't added the clan's treasury log to the API, so pulling the actual data isn't an option at the moment.
In a step towards improving the usefulness of user's profiles on Clan Tools, their historic activity is now displayed along side the short-term attendance record.
Users can now opt to defer their pay, this will cause any gold they would otherwise be paid out to be instead added to their gold balance with their clan. Then, at some point in the future, the user can "withdraw" this gold by unchecking the defer pay option in their settings and waiting for the next payout.