Commit Graph
442 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr 09627ce715 refactor: move cache headers logic into reusable functions (#4533)
* refactor: move cache headers logic into reusable functions

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-07 00:13:21 +03:00
Alexandr GarbuzovandAlexandr ade7d53653 refactor: move cache seconds calculation logic into reusable function (#4532)
* refactor: move cache seconds calculation logic into reusable function

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-06 23:32:47 +03:00
Alexandr GarbuzovandAlexandr e5f40eb09c fix: prevent items overlap by making swahili translation shorter for stats card commits (#4530)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-06 22:02:00 +03:00
Alexandr GarbuzovandAlexandr f5b1ffa5e3 refactor: move all envs related code into separate file (#4529)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-06 21:32:23 +03:00
Alexandr GarbuzovandAlexandr 24b1df0d28 fix: mark Swahili language as long for stats card (#4528)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-06 21:31:10 +03:00
Bear_03andAlexandr a697215f8e feat: add support for EXCLUDE_REPO env variable (#1299)
* Add support for EXCLUDE_REPO env variable

* review

* docs

* refactor

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-05 23:49:17 +03:00
martin-mfgandAlexandr 39b93b57c8 feat: wakatime card width customization (#4458)
* add card_width to wakatime card

* better handling of card_width in wakatime card

* move default card_width for wakatime card, add to readme

* review

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-05 23:03:25 +03:00
Alexandr GarbuzovandAlexandr 41317e848e fix: mark Tamil as long language for stats card (#4518)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-05 21:22:05 +03:00
arjav007andAlexandr 2641d69331 feat: add Sanskrit translations (#4503)
* feat: add Sanskrit translations

* revert

* revert

* docs

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-04 21:49:18 +03:00
Dhia ShamsandAlexandr 7b7f78127f feat: add Tamil translations (#4504)
* Corrections in malayalam translation

* Added tamil translations

* Added tamil to readme file

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-04 21:32:50 +03:00
9f3223fb35 feat: add Swahili translations (#3911)
* Update translations.js

added the swahili translation

* dev

* docs

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-04 21:19:19 +03:00
Alexandr GarbuzovandAlexandr ba9406e84c chore: add comment with issue link to the retryer rate limit detection logic (#4508)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-04 19:01:58 +03:00
a8dd06537f refactor: update languages JSON (#4487)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-03 18:55:41 +03:00
Ophelia GoldsteinandAlexandr 5031e32781 fix: make Bulgarian total commits translation shorter to prevent items overlapping (#4500)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-02 20:54:44 +03:00
Ophelia GoldsteinandAlexandr a38ff1003e fix: mark Bulgarian language as long for stats card (#4493)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-01 23:52:56 +03:00
Dhia ShamsandAlexandr 8e8a15ba63 fix: update Malayalam translations (#4490)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-01 23:40:26 +03:00
df8f7a6cef fix: update Hindi translations (#4488)
* Fixed the trans in Hindi

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 23:35:45 +03:00
ca3c5d5641 feat: add Bulgarian translations (#3987)
* Update translations.js

Added Bulgarian language translation

* Sorted languages alphabetically in translations.js

* docs

---------

Co-authored-by: mastersho <116218303+mastersho@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-01 23:17:57 +03:00
c689c516f0 feat: add Urdu translations (#3958)
* Update translations.js for Urdu language

I've added the translations for Urdu language for stats cards.

* docs

---------

Co-authored-by: MD SARFARAZ <159709636+LearnWithNewton@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-01 22:56:59 +03:00
e466ada34e feat: add Hebrew translations (#3957)
* Added Hebrew

* docs

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 23:43:58 +03:00
Ophelia GoldsteinandAlexandr d286fa39be fix: mark Filipino langiage as long for stats card (#4486)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-30 23:10:14 +03:00
18c808afcf feat: add Filipino translations (#3800)
* Update translations.js

Added translations. Filipino Languages which is main language that Philippines used.

* Update translations.js

Added translations. Filipino language which is the main language 
of Philippines. Added translations in translations.js

* Update translations.js

* docs

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 23:01:52 +03:00
4c30073ed9 feat: add Catalan translations (#4134)
* Update translations.js

Catalan translation added

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 23:46:10 +03:00
Radoš MilićevandAlexandr c81f3eb92d feat: add Serbian (Latin) translations (#4448)
* Improve existing Serbian

* Distinguish Cyrillic & Latin Serbian

* Use sr for cyrillic Serbian to support backwards compatibility

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-24 23:21:26 +03:00
Mohd AmirandAlexandr 4f17194684 fix: display correct data when user don't have any pull requests (#4452)
* Fix: When user doesn't have any PR, it's Merged PRs Percentage is NAN (fixes #4449)

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-24 22:55:49 +03:00
Ophelia GoldsteinandAlexandr 42130f1f96 fix: mark Portuguese locale as long for stats card (#4451)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-19 22:40:40 +03:00
Ophelia GoldsteinandAlexandr e91880231d chore: move original english translations to the top for convenience during development (#4447)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-19 18:41:22 +03:00
Ophelia GoldsteinandAlexandr c3585cc1d0 chore: sort stats card long locales alphabetically (#4446)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-19 18:39:29 +03:00
3e6ce83a42 feat: add Hindi translations (#3985)
* Update readme.md

Added hindi language in available locales.

* Update translations.js

Added hindi language

* prettier

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-18 22:09:18 +03:00
Kornchanok IednusornandAlexandr f48a59b9bf feat: add Thai translations (#4247)
* Add locale th to translations.js

* add Locale th to readme.md

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-18 21:39:06 +03:00
Ophelia GoldsteinandAlexandr 4f33921e9e fix: remove Chinese from long locales (#4442)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-18 21:12:31 +03:00
Ophelia GoldsteinandAlexandr 6bda67effc chore: make create progress node function jsdoc shorter (#4441)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-18 20:57:18 +03:00
Ophelia GoldsteinandAlexandr a8c56ff4c9 fix: react on both type and message-based rate-limit signals (#4440)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-18 19:52:10 +03:00
Ophelia GoldsteinandAlexandr 10526a0b7e chore: make stats card create text node function jsdoc shorter (#4429)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-17 22:53:48 +03:00
Ophelia GoldsteinandAlexandr 5306118587 chore: fix jsdoc for rank calculation function (#4427)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-17 22:52:18 +03:00
f441d1696c feat: add Persian (Farsi) translations (#4263)
* Add Persian/Farsi (fa) language support

This PR adds support for Persian (Farsi) language with ISO 639-1 code `fa`. Translations have been added for all keys in `statCardLocales`, `repoCardLocales`, `langCardLocales`, and `wakatimeCardLocales`. The translations follow the existing style and are compatible with the project's structure. Please test the display of Persian text in the UI to ensure proper rendering.

* review

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 22:36:12 +03:00
b594b57b56 feat: implement commits year option and display appropriate year label (#2107)
* add custom year

* edit fetcher

* add tests

* add documentation

* Update vercel.json

* Update fetchStats.test.js

* Update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* test: fix tests

* style: format code

* fix: fix commit stats time frame description #1053

This commit makes sure the last year label is shown when
`include_all_commits` or `year` is not provided. See #1053 for more
information.

* resolved merge conflict

* Update stats-fetcher.js

* resolve comments

* Update src/cards/types.d.ts

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update src/fetchers/stats-fetcher.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* graphQL year only to commit

* change argument name to commits_year

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* wrap label into function

* review

* more review

* fix test

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs

---------

Co-authored-by: Touch Sungkawichai <talay@10ninox.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 22:01:37 +03:00
1655c957ce feat: add Serbian translations (#3542)
* Update readme.md

* Update translations.js

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* mark as long lang

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-16 22:38:45 +03:00
Marcus OtterstadandAlexandr d210391e7d feat: add Norwegian translations (#3653)
* Update readme.md

* Update translations.js

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-16 22:14:38 +03:00
078040d26e feat: add bytes stats format option for top-languages card (#3708)
* feat: add `display_bytes` option to top-languages.

* docs: add description about display bytes in top-languages

* feat: add `stats_format` option instead of `display_bytes`

* docs: add description about stats format in top-languages

* refactor: rewrite with function to determine display value

* docs: add `stats_format`to table of parameter

* fix: remove unnecessary decimal part from format of bytes

* tests: add tests of stats_format in top-langs card

* Update tests/renderTopLanguagesCard.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* prettier

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-16 21:41:46 +03:00
aa1caba1d4 feat: add Romanian translations (#3970)
* feat: add Romanian translation

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-15 23:51:10 +03:00
JoniandAlexandr 1b06e7117e feat: add Finnish translations (#4144)
* Update translations.js

Finnish added to 'src/translations.js' as a new translated language.

* docs

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-15 23:25:10 +03:00
Kyle UptonandAlexandr 3987991058 feat: implement whitelist for self-hosted instances (#3939)
* whitelist for username based endpoints

* added gist whitelist

* review

* fix

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-15 23:13:42 +03:00
Yunxiao CrrashhandAlexandr 70add4cfcf fix: update Simplified Chinese translations (#3766)
* chore(translations): Update translation for cn

Signed-off-by: crrashh1542 <kotsuki@crrashh.com>

* update tests

* prettier

---------

Signed-off-by: crrashh1542 <kotsuki@crrashh.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-15 20:12:33 +03:00
George GastaldiandAlexandr affd6f458f fix: improve Portuguese translations (#3889)
A more accurate ptBR translation for `Merged` is `Integrados`

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-10 21:32:04 +03:00
Frieder BluemleandAlexandr c966becb9a chore: standardize the GitHub and npm branding through the codebase (#4014)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-10 19:31:35 +03:00
BlueberryyandAlexandr 3cdfa8826e fix: update Russian translations (#4119)
* Update Russian translation

* fix {apostrophe}

* missed {apostrophe}

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-10 19:25:13 +03:00
孟武.尼德霍格.龍andAlexandr 5320bc8c83 fix: update Traditional Chinese translations (#4089)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-10 18:43:52 +03:00
Małgorzata (Gosia)andAlexandr ea6ef1124d fix: handle apostrophes for names ending in x (#4343)
* fix: handle apostrophes for names ending in x

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-10 18:32:30 +03:00
Yavuz Selim OKTARandAlexandr b907fba9b0 fix: improve Turkish translations (#4279)
https://dictionary.cambridge.org/dictionary/english-turkish/statistics?q=Statistics#:~:text=information%20about%20something-,istatistik,-There%20were%20900

Change "Yıldızları" to the better translation of "İstatistikleri".

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-09-09 23:03:33 +03:00