Commit Graph
485 Commits
Author SHA1 Message Date
0b051792fc feature(top langs card): add ability to change progress bar background color in normal layout (#16)
* #3307 enhancement : prog_bg_color query added to change the background of progress bar

* #3066 bug Fixed : readme.md file as stated

* #3066 bug Fixed : readme.md file as stated"

* #3066 bug Fixed : readme.md file as stated

* fix types.d.ts

* add test

---------

Co-authored-by: krishnoit <krishnoit100@gmail.com>
Co-authored-by: krishna seth <75961965+a-s-t-e-y-a@users.noreply.github.com>
2026-01-21 11:40:24 +01:00
martin-mfgandmikyll b654eaac2c Fix default theme fallback when an invalid theme is passed (#15)
* fix(color): invalid theme fallback to default

Fixes: #4641

* test(color): add test case for invalid theme fallback to default

* style(color): add back the tab space

* test(color): fix color default theme

* fix(color): use 'in' instead of '.hasOwnProperty'

* fix new test

* format code

---------

Co-authored-by: mikyll <righi.michy@gmail.com>
2026-01-19 18:59:32 +01:00
f744de1f0c refactor: update languages JSON (#4630)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2025-10-31 18:41:11 +02:00
Alexandr GarbuzovandAlexandr 6d90255d05 fix: resolve vscode type errors inside retryer module (#4614)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-22 21:53:48 +03:00
Alexandr GarbuzovandAlexandr 08d7b25d23 fix: mark Japanese as long locale for stats card (#4607)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-19 23:52:42 +03:00
Alexandr GarbuzovandAlexandr 79162359c1 chore: enable tscheck inside icons module (#4606)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-19 23:52:12 +03:00
Alexandr GarbuzovandAlexandr 5de1aa8706 fix: resolve vscode type errors inside I18n class (#4605)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-19 23:51:42 +03:00
Alexandr GarbuzovandAlexandr 0b21b2b542 chore: enable tscheck inside envs module (#4603)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-19 21:48:18 +03:00
Alexandr GarbuzovandAlexandr 570619752f chore: enable tscheck inside HTTP module (#4601)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-19 21:34:30 +03:00
Alexandr GarbuzovandAlexandr 74a5648349 fix: mark Hungarian locale as long for stats card (#4600)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-18 21:31:33 +03:00
Alexandr GarbuzovandAlexandr 5871c68cff fix: resolve vscode type errors inside color module (#4598)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-18 21:21:41 +03:00
Alexandr GarbuzovandAlexandr c9eb6752c5 fix: resolve vscode type errors inside access module (#4596)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-18 21:07:48 +03:00
Alexandr GarbuzovandAlexandr a11169e2f1 refactor: move create progress node function into render module (#4594)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-17 22:57:15 +03:00
Alexandr GarbuzovandAlexandr a72d88fd54 fix: resolve vscode type errors inside card class (#4592)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-17 21:45:43 +03:00
Alexandr GarbuzovandAlexandr b240a06e7b refactor: move encode HTML function into separate module (#4591)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-17 21:26:37 +03:00
Alexandr GarbuzovandAlexandr 62c43e9f3a fix: mark Greek as long locale for stats card (#4589)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-16 23:52:58 +03:00
Alexandr GarbuzovandAlexandr c43fd65bdd refactor: move svg rendering related code into separate module (#4588)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-16 23:44:17 +03:00
Alexandr GarbuzovandAlexandr dff0cfec58 fix: mark Finnish locale as long for stats card (#4583)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-15 23:36:50 +03:00
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