Commit Graph
152 Commits
Author SHA1 Message Date
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 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 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 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
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 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 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
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
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 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
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
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
Alexandr Garbuzov 8d620f6085 refactor: simplify cache timings constants (#4390) 2025-09-07 20:56:19 +03:00
github-actions[bot]andAlexandr Garbuzov 0425bc7b05 refactor: update languages JSON (#4395)
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2025-09-01 18:38:51 +03:00
github-actions[bot]andqwerty541 3da15d0a1e refactor: update languages JSON (#4318)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-07-02 19:00:46 +03:00
github-actions[bot]andqwerty541 c3c6ee2d79 refactor: update languages JSON (#4277)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-06-02 18:19:56 +03:00
github-actions[bot]andqwerty541 ff5a2a1ffa refactor: update languages JSON (#4238)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-05-02 20:31:12 +03:00
github-actions[bot]andqwerty541 b0d7c9303f refactor: update languages JSON (#4200)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-03-31 21:46:34 +03:00
github-actions[bot]andqwerty541 6e14c49c3d refactor: update languages JSON (#4162)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-03-05 19:51:08 +02:00
anuraghazra 7d311d5c65 chore: update blacklist 2025-02-05 00:21:21 +05:30
github-actions[bot]andqwerty541 e4f8c521a4 refactor: update languages JSON (#4126)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2025-01-31 21:34:24 +02:00
github-actions[bot]andqwerty541 bb68a8621d refactor: update languages JSON (#4047)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-12-02 22:50:41 +03:00
anuraghazra cdc6ad1eaf feat: cost optimize, increase cache 2024-10-11 23:07:05 +05:30
github-actions[bot]andqwerty541 856ea613e6 refactor: update languages JSON (#3910)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-09-02 21:10:51 +03:00
github-actions[bot]andqwerty541 0496044a76 refactor: update languages JSON (#3832)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-07-04 20:34:38 +03:00
github-actions[bot]andqwerty541 fd12c01494 refactor: update languages JSON (#3711)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-03-31 21:43:02 +03:00
github-actions[bot]andqwerty541 d2dbffeb2d refactor: update languages JSON (#3567)
Co-authored-by: qwerty541 <qwerty541@users.noreply.github.com>
2024-01-07 08:44:52 +01:00
github-actions[bot]andAlexandr 1886fe0379 refactor: update languages JSON (#3450)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-31 07:24:10 +03:00
Pritam SharmaandAlexandr Garbuzov 9c6eb22862 feature: render error card in same theme as requested card (resolves #3259) (#3298)
* Error theme Based on Design

* Update src/common/utils.js

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

* Update src/common/utils.js

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

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2023-10-28 22:31:24 +03:00
Alexandr Garbuzov 0691084c39 ci(preview theme): allow gradient colors (2) (#3427) 2023-10-26 20:00:55 +02:00
Alexandr Garbuzov f8aa2db39d ci(theme preview): allow gradient themes (#3400) 2023-10-23 11:22:18 +02:00