Commit Graph
467 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr e158f0d27f refactor: move operations into separate module (#4582)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-15 23:29:53 +03:00
6d1a5e51bc refactor: move logger into separate module (#4581)
* refactor: move logger into separate module

* Update api/status/pat-info.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-15 23:03:48 +03:00
Alexandr GarbuzovandAlexandr bf021b0670 fix: resolve several vscode type errors inside fetchers code (#4579)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-15 21:51:32 +03:00
Alexandr GarbuzovandAlexandr 2df35521d7 refactor: move HTTP related code into separate module (#4578)
* refactor: move HTTP related code into separate module

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-15 20:09:34 +03:00
Alexandr GarbuzovandAlexandr da318a6751 refactor: move long locales const to the top and infer types (#4577)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-14 23:55:20 +03:00
Alexandr GarbuzovandAlexandr 4e44891844 fix: mark Czech as long locale for stats card (#4576)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-14 23:33:56 +03:00
306d0a34ce fix: update Burmese translations (#4570)
* Fixed Myanmar (my : Burma ) language

* 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-14 21:40:15 +03:00
Alexandr GarbuzovandAlexandr ab53e3052d refactor: move wrap text multiline function into fmt module (#4572)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-14 21:11:23 +03:00
Ophelia GoldsteinandAlexandr 5df2e634e9 refactor: move formatting related code into separate file (#4568)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-13 23:50:06 +03:00
martin-mfgandAlexandr c4a59b5afa refactor: reduce magic numbers inside wakatime card generation code (#4534)
* refactor magic numbers

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-13 23:36:38 +03:00
4143c6dec3 feat: implement number precision parameter for stats card (#4514)
* Update short number format 

Update short number format by adding 2 decimal places instead of 1 for numbers between 1,000 and 9,999

* review

* Update src/common/utils.js

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

* dev

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 20:21:28 +03:00
Ophelia GoldsteinandAlexandr 7caaa21e73 fix: improve Ukrainian translations (#4563)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-12 23:39:34 +03:00
Ophelia GoldsteinandAlexandr adbed1ee2f fix: mark Azerbaijani locale as long for stats card (#4562)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-12 23:22:51 +03:00
Ophelia GoldsteinandAlexandr 92d6dfa226 fix: resolve vscode type errors in cache utils (#4559)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-11 22:52:45 +03:00
Ophelia GoldsteinandAlexandr 33f0c9153e fix: resolve vscode errors inside cards svg generation code (#4558)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-11 22:40:33 +03:00
Ophelia GoldsteinandAlexandr 701068b8bc refactor: move all color related code into separate file (#4557)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-11 22:07:03 +03:00
Ophelia GoldsteinandAlexandr 6a542c870d fix: resolve vscode errors inside colors related code (#4556)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-11 21:30:08 +03:00
Ophelia GoldsteinandAlexandr 0849165c6e fix: resolve vscode type errors in API endpoints files (#4555)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-11 20:57:00 +03:00
Ophelia GoldsteinandAlexandr b164ecebda refactor: move errors related code into separate file (#4554)
* refactor: move errors related code into separate file

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-09 22:31:46 +03:00
0afa6c4e78 refactor: reorganize cache TTL constants (#4550)
* refactor: reorganize cache TTL constants

* Update tests/wakatime.test.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-09 03:41:02 +03:00
Ophelia GoldsteinandAlexandr 956d6deded feat: disable caching when NODE_ENV is development (#4543)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-08 02:12:28 +03:00
e8e5cf86fb feat: disable cache with proper headers when CACHE_SECONDS env is zero (#4539)
* feat: disable cache with proper headers when CACHE_SECONDS env is zero

* Update src/common/cache.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-08 01:19:54 +03:00
e9d0e8fd17 refactor: named arguments for render error function (#4537)
* refactor: named arguments for render error function

* Update tests/api.test.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-07 23:21:18 +03:00
Ophelia GoldsteinandAlexandr f7920901b6 refactor: improve cache control headers formatting (#4536)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-07 22:44:33 +03:00
195e2fc72d refactor: move access guards logic into reusable functions (#4535)
* refactor: move access guards logic into reusable functions

* Update src/common/access.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-07 21:13:13 +03:00
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