martin-mfg
270f42f718
fix circular import
2025-11-04 09:49:14 +01:00
martin-mfg
867f73e704
Merge remote-tracking branch 'origin/master' into merge-upstream
2025-11-02 13:39:08 +01:00
martin-mfg
bcfa97ce72
adjust import, move code back to original place
2025-11-02 12:09:41 +01:00
martin-mfg
f7c5b620db
fix moved code, adapt imports, revert trivial manual change
2025-11-02 11:58:32 +01:00
Alexandr Garbuzov and Alexandr
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 Garbuzov and Alexandr
70b4f10471
chore: enable tscheck inside icons module ( #4606 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 20:31:52 +02:00
Alexandr Garbuzov and Alexandr
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 Garbuzov and Alexandr
0f067f9df7
chore: enable tscheck inside envs module ( #4603 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 20:31:45 +02:00
Alexandr Garbuzov and Alexandr
c1d68b5850
chore: enable tscheck inside HTTP module ( #4601 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 20:31:39 +02:00
Alexandr Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Goldstein and Alexandr
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
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Goldstein and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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 Garbuzov and Alexandr
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
Bear_03 and Alexandr
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
Alexandr Garbuzov and Alexandr
dec9ed0cd6
chore: add comment with issue link to the retryer rate limit detection logic ( #4508 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 12:57:24 +02:00
39777b3c53
refactor: update languages JSON ( #4487 )
...
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com >
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 12:56:58 +02:00
Ophelia Goldstein and Alexandr
3d0f78598b
chore: make create progress node function jsdoc shorter ( #4441 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 12:37:41 +02:00
Ophelia Goldstein and Alexandr
ab2b0f4c97
fix: react on both type and message-based rate-limit signals ( #4440 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-25 12:37:28 +02:00
7ee200b060
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-10-25 11:31:06 +02:00
martin-mfg
bddd4c7b95
also fetch token when fetching private access
2025-10-11 17:32:20 +02:00
martin-mfg
431772d76a
simpler local request paths, remove logging
2025-10-09 12:12:26 +02:00
martin-mfg
c690d8ec49
more logging
2025-10-09 11:23:16 +02:00
martin-mfg
c592929984
add logging
2025-10-09 11:15:26 +02:00
martin-mfg
d149e0e1f5
initiate monorepo, add original github-trends
2025-09-18 11:30:25 +02:00