19 Commits
Author SHA1 Message Date
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
Ophelia GoldsteinandAlexandr 90955dca00 fix: remove repository link display on missing param errors (#4560)
* fix: remove repository link display on missing param errors

* fix tests

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-12 23:14:27 +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
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
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
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
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 dd7582db8f refactor: fix cards files names by removing duplicating postfix (#4376) 2025-08-24 17:14:18 +03:00
Alexandr Garbuzov 09cb2a596e refactor: fix fetchers names by removing duplicating postfix (#4375) 2025-08-24 17:07:23 +03:00
anuraghazra cdc6ad1eaf feat: cost optimize, increase cache 2024-10-11 23:07:05 +05:30
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 2ee803fc16 feature: extend default card cache time to 6 hours (#3242)
* feature: extend default card cache time to 8 hours

* reduce to six hours
2023-09-19 11:54:27 +02:00
Rick Staa bc8eaecaf4 feat: rate limit error chaching (#2448)
* feat: rate limit error chaching

Rate limit error caching to alleviate PATs.

* refactor: improve code comments
2023-09-17 15:45:17 +02:00
Alexandr Garbuzov da82999f06 Feature: Gist card: Add hide_border option support (#3080) 2023-08-15 09:25:04 +02:00
Alexandr Garbuzov fe901dd337 Feature: Add gist card (#3064)
* Feature: Add gist card

* dev

* dev

* dev

* dev

* dev

* dev

* e2e

* e2e test timeout
2023-08-14 11:28:01 +02:00