Commit Graph
86 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr a6b8bc2052 fix: resolve vscode type errors inside retryer module (#4614)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:32:01 +02:00
Alexandr GarbuzovandAlexandr 44a4ee6333 fix: mark Japanese as long locale for stats card (#4607)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:55 +02:00
Alexandr GarbuzovandAlexandr 70b4f10471 chore: enable tscheck inside icons module (#4606)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:52 +02:00
Alexandr GarbuzovandAlexandr 7cdc5f0dc0 fix: resolve vscode type errors inside I18n class (#4605)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:48 +02:00
Alexandr GarbuzovandAlexandr 0f067f9df7 chore: enable tscheck inside envs module (#4603)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:45 +02:00
Alexandr GarbuzovandAlexandr c1d68b5850 chore: enable tscheck inside HTTP module (#4601)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:39 +02:00
Alexandr GarbuzovandAlexandr 6e89d50ff6 fix: mark Hungarian locale as long for stats card (#4600)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:35 +02:00
Alexandr GarbuzovandAlexandr b44de10025 fix: resolve vscode type errors inside color module (#4598)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:29 +02:00
Alexandr GarbuzovandAlexandr 992f9ec2da fix: resolve vscode type errors inside access module (#4596)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:22 +02:00
Alexandr GarbuzovandAlexandr c7a4d17e8b refactor: move create progress node function into render module (#4594)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:31:11 +02:00
Alexandr GarbuzovandAlexandr dd3c8472fb fix: resolve vscode type errors inside card class (#4592)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:29:35 +02:00
Alexandr GarbuzovandAlexandr 8c754e3aec refactor: move encode HTML function into separate module (#4591)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:29:24 +02:00
Alexandr GarbuzovandAlexandr 4ce634a0d9 fix: mark Greek as long locale for stats card (#4589)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:27:16 +02:00
Alexandr GarbuzovandAlexandr 8c8393183d refactor: move svg rendering related code into separate module (#4588)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:27:00 +02:00
Alexandr GarbuzovandAlexandr cac484b37c fix: mark Finnish locale as long for stats card (#4583)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:40:26 +02:00
Alexandr GarbuzovandAlexandr 14b0513c60 refactor: move operations into separate module (#4582)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:40:17 +02:00
c6c26c533f 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-25 19:28:11 +02:00
Alexandr GarbuzovandAlexandr 81046114ff fix: resolve several vscode type errors inside fetchers code (#4579)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:26:10 +02:00
Alexandr GarbuzovandAlexandr 051c523c6e 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-25 19:08:08 +02:00
Alexandr GarbuzovandAlexandr fa49f83382 refactor: move long locales const to the top and infer types (#4577)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:02:57 +02:00
Alexandr GarbuzovandAlexandr 843a9a16b3 fix: mark Czech as long locale for stats card (#4576)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:02:55 +02:00
09c06abfac 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-25 19:02:52 +02:00
Alexandr GarbuzovandAlexandr 3cf087b160 refactor: move wrap text multiline function into fmt module (#4572)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:02:38 +02:00
Ophelia GoldsteinandAlexandr e29ac4b338 refactor: move formatting related code into separate file (#4568)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:58:57 +02:00
martin-mfgandAlexandr f5916427f1 refactor: reduce magic numbers inside wakatime card generation code (#4534)
* refactor magic numbers

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:56:15 +02:00
2e07ac2bd6 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-25 18:47:16 +02:00
Ophelia GoldsteinandAlexandr b516ce64f4 fix: improve Ukrainian translations (#4563)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:35:36 +02:00
Ophelia GoldsteinandAlexandr 8c4b7d9117 fix: mark Azerbaijani locale as long for stats card (#4562)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:35:30 +02:00
Ophelia GoldsteinandAlexandr 58570c42f7 fix: resolve vscode type errors in cache utils (#4559)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:34:39 +02:00
Ophelia GoldsteinandAlexandr 72c4e96bfe fix: resolve vscode errors inside cards svg generation code (#4558)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:34:28 +02:00
Ophelia GoldsteinandAlexandr 14660f5171 refactor: move all color related code into separate file (#4557)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:31:43 +02:00
Ophelia GoldsteinandAlexandr 26c3cf421f fix: resolve vscode errors inside colors related code (#4556)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:27:53 +02:00
Ophelia GoldsteinandAlexandr 1ac197ceae fix: resolve vscode type errors in API endpoints files (#4555)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:27:41 +02:00
Ophelia GoldsteinandAlexandr 6db97d40a1 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-25 17:33:30 +02:00
708e76c484 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-25 17:19:06 +02:00
Ophelia GoldsteinandAlexandr 9fef28e471 feat: disable caching when NODE_ENV is development (#4543)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 16:59:59 +02:00
71aaf018dc 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-25 16:52:12 +02:00
739fd1739a 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-25 16:52:00 +02:00
Ophelia GoldsteinandAlexandr b119e6a61c refactor: improve cache control headers formatting (#4536)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 16:48:10 +02:00
b687bf30bb 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-25 16:46:06 +02:00
Alexandr GarbuzovandAlexandr 3bcd26a6a9 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-25 16:39:05 +02:00
Alexandr GarbuzovandAlexandr 06ac549cfe 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-25 13:29:37 +02:00
Alexandr GarbuzovandAlexandr 9fa3542eb1 fix: prevent items overlap by making swahili translation shorter for stats card commits (#4530)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 13:12:54 +02:00
Alexandr GarbuzovandAlexandr 41f6ef299f refactor: move all envs related code into separate file (#4529)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 13:12:41 +02:00
Alexandr GarbuzovandAlexandr 52abd14b00 fix: mark Swahili language as long for stats card (#4528)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 13:08:42 +02:00
Bear_03andAlexandr 403693dd17 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-25 13:08:26 +02:00
martin-mfgandAlexandr 9f840c03e3 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-25 13:07:09 +02:00
Alexandr GarbuzovandAlexandr c087fa0408 fix: mark Tamil as long language for stats card (#4518)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 13:00:27 +02:00
arjav007andAlexandr 98bcb43f0b feat: add Sanskrit translations (#4503)
* feat: add Sanskrit translations

* revert

* revert

* docs

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:59:58 +02:00
Dhia ShamsandAlexandr 88deef6f72 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-25 12:59:48 +02:00