insalan / insalan.fr Goto Github PK
View Code? Open in Web Editor NEWInsaLan website.
Home Page: https://www.insalan.fr
License: MIT License
InsaLan website.
Home Page: https://www.insalan.fr
License: MIT License
Kind of unimportant, but
As the team name is used in the password hashing as follows :
$container = $this->getConfigurationPool()->getContainer();
$factory = $container->get('security.encoder_factory');
$encoder = $factory->getEncoder(new User());
$e->setPassword($encoder->encodePassword($e->getPlainPassword(), sha1('pleaseHashPasswords'.$e->getName())));
it is currently impossible to change the team name without changing the associated password !
The team master can cancel the team creation if :
validated
(inherited from 1)This can be done with a button displayed on the team registering page.
File reglement.PDF:
Should add some ajax to avoid reloading the entire page each time you validate one player.
Paypal is causing us too much trouble.
During tournament registration, replace Pseudo section with "Login with Steam/Battle.net" buttons (when applicable).
See :
https://steamcommunity.com/dev
https://dev.battle.net/docs/read/log_in_with_bnet
When a tournament is closed
closed
or not displayed at all for those who participates in the tournamentTested on the lastest Debian 9 (9.5) and Ubuntu 16 LTS (16.04).
Before proceding for contributing, the following packages must be installed :
Package | Comment |
---|---|
git | |
php | php7.0 |
composer | |
mariadb-server | if use with local database |
zip | not necessary (only for unzip during install) |
PHP extension | Comment |
---|---|
php-curl | |
php-intl | for date translation |
php-mbstring | for doctrine:create:schema:create |
php-mysql | |
php-xml |
Should it be added to CONTRIBUTING.md or README.md ?
Almost identical as the cash (or check) method for players.
This need a backend for the partner so slots can be marked as paid and thus reserved.
There is no value to test the archive part of the website.
Add section with media (photos,videos,streams), links to tournaments and sponsors of previous editions.
Should be tested against composer requirements.
As a user
I want to be able to ask for a refund
So that I don't have to find a contact address, send a mail, and pray for a quick answer (or send a Facebook message, or smoke signals or something).
As a treasurer
I want to be able to see the list of user-asked refunds and confirm them
So that I don't have to do it manually through mails and the database interface.
As a treasurer
I want to be able to manually register a payment
So that I don't have to do it manually through the database interface (especially useful for "Amicaliste" fares).
We should use a CSS framework.
Candidates are :
Customisable ?
Needs some brainstorming
If a captain removes players from a team that has already been validated, the team can end up in a state ineligible for validation (i.e. less than the required number of players, or less than the required number of paid players), but currently it is not invalidated.
Improve clarity when reading old tournament report
When there is no tournament in an <article>
, it should be hidden.
As a team captain
I want to change the team name
So that the admins don't have to do it for me.
As a team captain
I want to appoint a manager
So that the manager doesn't have to pay full price.
This bug has been encountered during the live event.
The user was not able to see his matches.
I just investigated the problem. You can find the user inside the insalan.fr database.
I will use its internal id instead of his username to preserve his privacy.
So, the User ID is: 3416
This user has 2 identical players name:
Now, we will get a look at the tournament administration page, which show the Player ids in its source code. You can access the hearthstone page at this URL:
https://www.insalan.fr/tournament/27/admin
If you inspect the row in the table corresponding to the username, you will see:
<span class="arrived_status_3531">
<button class="arrived" data-url="/tournament/27/admin/player/3531/toogleArrived/0" data-id="3531" onclick="changeArrivedStatus(this)">OUI</button>
<button class="not_arrived" data-url="/tournament/27/admin/player/3531/toogleArrived/1" data-id="3531" onclick="changeArrivedStatus(this)" style="display:none">NON</button>
</span>
So we clearly see that the correct Player is displayed (with the id 3531) in the tournament admin page.
Now, we will get a look to generated matches in Sonata Admin for both Player IDs.
So, we will have 4 URLs to test:
We expect that the 1st or 2nd link returns the player's matches (corresponding to the ID of the Hearthstone Player).
Instead, the only one that returns something is the third one, so when we filter with the ID of the Overwatch Player.
So, the correct Player is linked to the tournament, but not the Group Phase.
The following values must be changed from 'null' to 'xxxx' to keep consistency (raise fatal error during install) :
The following values should be changed from 'insalan.fr' to 'insalan' to keep consistency with mariadb naming best pratices :
Implement in Controllers a mean to log every action.
This should speed up debugging in production.
The tournament entity got a shortName
parameter. This parameter is used:
/tournament/{tournamentId}/public
22dd507 use the tournament short name to determine what background to use by capitalizing it and picking the correct file, but I'll change it to use the type instead.
As the shortName
is basically tournamentType
+tournamentYear
should we replace it by a virtual attribute ?
Create an installer and handle settings (change template, website name...)
LOT of reworks to do here :
The Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderAdapter
class is deprecated since version 2.4 and will be removed in version 3.0.
Use the Symfony\Component\Security \Csrf\CsrfTokenManager class instead.
Currently, we use Sonata. We should implement our own solution.
Everything is in the title
Old forum need to be accessible for everyone !
When running php app/console doctrine:schema:create
during install, the process never exit.
(Just need to tweak the "We still need some information..." form)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.