2df3698e8c
* Add thousands comma separator for card counts graph * Fix Answer Buttons graph's tooltip Changes to the "times pressed" heading * Shows the percent of that button out of all the presses * Comma separates total on thousands * Update CONTRIBUTERS * Wider spacing for graph tables * Switch to locale-based stats numbers * Update CONTRIBUTORS Wrong email? * Fix counts graph on narrow devices Graph and table now align in a column when the device's screen is narrow. Columns widths are bounded to not get too wide * Rename toLocaleXXX functions * toLocaleNumber -> localizedNumber * toLocaleString -> localizedDate Also cleans up sketchy "card counts" table formatting * Localize more numbers Uses locale-based rounding for more numbers now * Localize graph axis ticks * Fix future-due graph tooltip * avoid div by zero (dae) Ignoring NaN in localizedNumber() could potentially mask a mistake in the future - better to explicitly handle the invalid case at the source instead.
123 lines
5.3 KiB
Plaintext
123 lines
5.3 KiB
Plaintext
If you have made changes to Anki's AGPL code, you are welcome to distribute
|
|
the changed code under the AGPL license.
|
|
|
|
If you would like to contribute your code back to the official release, we ask
|
|
that you license your contributions under the BSD 3 clause license. Portions
|
|
of the code are also used in AnkiWeb and AnkiMobile, and accepting
|
|
contributions under an AGPL license would mean we could no longer use the code
|
|
we have written in those projects.
|
|
|
|
In your first pull request, please add your name below. By adding your name to
|
|
this file, you assert that any code you contribute to the Anki project is
|
|
licensed under the BSD 3 clause license. If any pull request you make contains
|
|
code that you don't own the copyright to, you agree to make that clear when
|
|
submitting the request.
|
|
|
|
When submitting a pull request, GitHub Actions will check that the Git email you
|
|
are submitting from matches the one you used to edit this file. A common issue
|
|
is adding yourself to this file using the username on your computer, but then
|
|
using GitHub to rebase or edit a pull request online. This will result in your
|
|
Git email becoming something like user@noreply.github.com. To prevent the
|
|
automatic check from failing, you can edit this file again using GitHub's online
|
|
editor, making a trivial edit like adding a space after your name, and then pull
|
|
requests will work regardless of whether you create them using your computer or
|
|
GitHub's online interface.
|
|
|
|
For users who previously confirmed the license of their contributions on the
|
|
support site, it would be great if you could add your name below as well.
|
|
|
|
********************
|
|
|
|
AMBOSS MD Inc. <https://www.amboss.com/>
|
|
Aristotelis P. <https://glutanimate.com/contact>
|
|
Erez Volk <erez.volk@gmail.com>
|
|
zjosua <zjosua@hotmail.com>
|
|
Arthur Milchior <arthur@milchior.fr>
|
|
Yngve Hoiseth <yngve@hoiseth.net>
|
|
Ijgnd
|
|
Yoonchae Lee <bluegreenmagick@gmail.com>
|
|
Evandro Coan <github.com/evandrocoan>
|
|
Alan Du <alanhdu@gmail.com>
|
|
Yuchen Lei <lyc@xuming.studio>
|
|
Henry Tang <hktang@ualberta.ca>
|
|
Simone Gaiarin <simgunz@gmail.com>
|
|
Rai (Michal Pokorny) <agentydragon@gmail.com>
|
|
Zeno Gantner <zeno.gantner@gmail.com>
|
|
Henrik Giesel <hengiesel@gmail.com>
|
|
Michał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
|
|
Sander Santema <github.com/sandersantema/>
|
|
Thomas Brownback <https://github.com/brownbat/>
|
|
Andrew Gaul <andrew@gaul.org>
|
|
kenden
|
|
Nickolay Yudin <kelciour@gmail.com>
|
|
neitrinoweb <github.com/neitrinoweb/>
|
|
Andreas Reis <github.com/nwwt>
|
|
Matt Krump <github.com/mkrump>
|
|
Alexander Presnyakov <flagist0@gmail.com>
|
|
abdo <github.com/abdnh>
|
|
aplaice <plaice.adam+github@gmail.com>
|
|
phwoo <github.com/phwoo>
|
|
Soren Bjornstad <anki@sorenbjornstad.com>
|
|
Aleksa Sarai <cyphar@cyphar.com>
|
|
Jakub Kaczmarzyk <jakub.kaczmarzyk@gmail.com>
|
|
Akshara Balachandra <akshara.bala.18@gmail.com>
|
|
lukkea <github.com/lukkea/>
|
|
David Allison <davidallisongithub@gmail.com>
|
|
Tsung-Han Yu <johan456789@gmail.com>
|
|
Piotr Kubowicz <piotr.kubowicz@gmail.com>
|
|
RumovZ <gp5glkw78@relay.firefox.com>
|
|
Cecini <github.com/cecini>
|
|
Krish Shah <github.com/k12ish>
|
|
ianki <iankigit@gmail.com>
|
|
rye761 <ryebread761@gmail.com>
|
|
Guillem Palau Salvà <guillempalausalva@gmail.com>
|
|
Meredith Derecho <meredithderecho@gmail.com>
|
|
Daniel Wallgren <github.com/wallgrenen>
|
|
Kerrick Staley <kerrick@kerrickstaley.com>
|
|
Maksim Abramchuk <maximabramchuck@gmail.com>
|
|
Benjamin Kulnik <benjamin.kulnik@student.tuwien.ac.at>
|
|
Shaun Ren <shaun.ren@linux.com>
|
|
Ryan Greenblatt <greenblattryan@gmail.com>
|
|
Matthias Metelka <github.com/kleinerpirat>
|
|
qubist-pixel-ux <github.com/qubist-pixel-ux>
|
|
cherryblossom <github.com/cherryblossom000>
|
|
Hikaru Yoshiga <github.com/hikaru-y/>
|
|
Thore Tyborski <github.com/ThoreBor>
|
|
Alexander Giorev <alex.giorev@gmail.com>
|
|
Ren Tatsumoto <tatsu@autistici.org>
|
|
lolilolicon <lolilolicon@gmail.com>
|
|
Gesa Stupperich <gesa.stupperich@gmail.com>
|
|
git9527 <github.com/git9527>
|
|
Vova Selin <vselin12@gmail.com>
|
|
|
|
********************
|
|
|
|
The text of the 3 clause BSD license follows:
|
|
|
|
Contributions copyright the above contributors, 2010-Present.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
this list of conditions and the following disclaimer in the documentation
|
|
and/or other materials provided with the distribution.
|
|
|
|
3. Neither the name of the copyright holder nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software without
|
|
specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|