Commit Graph
1863 Commits
Author SHA1 Message Date
Ophelia GoldsteinandAlexandr cd40532db7 chore: make stats card create text node function jsdoc shorter (#4429)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:33:08 +02:00
Ophelia GoldsteinandAlexandr 4d74e42f9c chore: fix jsdoc for rank calculation function (#4427)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:47:13 +02:00
f978f29764 feat: add Persian (Farsi) translations (#4263)
* Add Persian/Farsi (fa) language support

This PR adds support for Persian (Farsi) language with ISO 639-1 code `fa`. Translations have been added for all keys in `statCardLocales`, `repoCardLocales`, `langCardLocales`, and `wakatimeCardLocales`. The translations follow the existing style and are compatible with the project's structure. Please test the display of Persian text in the UI to ensure proper rendering.

* review

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 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 11:47:05 +02:00
08517568d9 feat: implement commits year option and display appropriate year label (#2107)
* add custom year

* edit fetcher

* add tests

* add documentation

* Update vercel.json

* Update fetchStats.test.js

* Update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* test: fix tests

* style: format code

* fix: fix commit stats time frame description #1053

This commit makes sure the last year label is shown when
`include_all_commits` or `year` is not provided. See #1053 for more
information.

* resolved merge conflict

* Update stats-fetcher.js

* resolve comments

* Update src/cards/types.d.ts

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

* Update src/fetchers/stats-fetcher.js

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

* graphQL year only to commit

* change argument name to commits_year

* Update readme.md

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

* Update readme.md

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

* Update readme.md

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

* wrap label into function

* review

* more review

* fix test

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs

---------

Co-authored-by: Touch Sungkawichai <talay@10ninox.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:46:42 +02:00
c7dfbecc77 docs: add information about fine-grained personal access tokens (PATs) scopes (#4426)
* 🔧 Add .env example

* 📝 Update README for add the PAT settings

* 📝 Add fine-grained PAT documentation

* remove .env.example

* docs review

* toc

* more review

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Colin-de-Seroux <77831261+Colin-de-Seroux@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:30 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
fa354d47e4 build(deps-dev): bump eslint-plugin-jsdoc from 55.3.0 to 57.0.8 (#4424)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 55.3.0 to 57.0.8.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v55.3.0...v57.0.8)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 57.0.8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:26 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4b1c905f69 build(deps): bump axios from 1.11.0 to 1.12.2 (#4423)
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.11.0...v1.12.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:21 +02:00
a26a313a82 feat: add Serbian translations (#3542)
* Update readme.md

* Update translations.js

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* mark as long lang

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:16 +02:00
Marcus OtterstadandAlexandr 1fb7081f55 feat: add Norwegian translations (#3653)
* Update readme.md

* Update translations.js

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:11 +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 03965da7b8 prettier 2025-10-22 16:11:59 +02:00
martin-mfg 4ac70d3fa7 update imageSrc with userId, shorter debounce times 2025-10-22 15:56:12 +02:00
martin-mfg 03e5096e78 mock-http.js: small cleanup 2025-10-21 11:24:08 +02:00
martin-mfg 013142d777 remove commented out code 2025-10-21 10:40:04 +02:00
martin-mfg 655a6c0d88 remove unused import 2025-10-21 10:24:32 +02:00
martin-mfg a73ca07552 clean up test axios calls 2025-10-16 20:18:17 +02:00
martin-mfg 28745f9f4c try fix initial card selection 2025-10-16 20:15:16 +02:00
martin-mfg 393c7b7b4c try anonymous backend requests, cleanup 2025-10-16 19:37:37 +02:00
martin-mfg bb533859c1 fix CORS problem caused by axios-cache-interceptor 2025-10-16 11:39:08 +02:00
martin-mfg 8f7a7948f6 better waiting for PAT 2025-10-16 11:28:49 +02:00
martin-mfg 3b25caed85 set placeholder PAT in frontend 2025-10-16 10:25:19 +02:00
martin-mfg 368ce67a92 SVG.js: wait for PAT 2025-10-16 10:12:56 +02:00
martin-mfg d152b2c4c1 remove trailing slashes from URLs in frontend code 2025-10-16 09:49:17 +02:00
martin-mfg d60186d635 SVG: try use local 'server' 2025-10-16 09:37:53 +02:00
martin-mfg fb4a334f08 SVG: use axios.get instead of fetch 2025-10-15 20:24:54 +02:00
martin-mfg da1d21cda9 interpretHeader=false 2025-10-13 19:33:03 +02:00
martin-mfg b913fa3d9b test axios caching 2025-10-13 19:23:59 +02:00
martin-mfg 96b7fe836e instead try overriding axios methods 2025-10-13 19:15:52 +02:00
martin-mfg 807ee63075 again again try fix circular axios import 2025-10-13 19:04:59 +02:00
martin-mfg 74c352ab16 again try fix circular axios import 2025-10-13 16:19:26 +02:00
martin-mfg bc47e0dd5e try fix circular axios import 2025-10-13 16:05:38 +02:00
martin-mfg cadafaf3e1 add axios cache 2025-10-13 16:00:30 +02:00
martin-mfg 52b3996f02 remove placeholder PAT 2025-10-13 15:32:39 +02:00
martin-mfg 226d26a2d0 Merge branch 'frontend-requests' of https://github.com/martin-mfg/github-readme-stats into frontend-requests 2025-10-13 13:29:28 +02:00
martin-mfg adbbce395a set PAT_1 from backend response, small cleanup 2025-10-13 13:28:37 +02:00
martin-mfg 229e4f511a Merge branch 'frontend-requests' of https://github.com/martin-mfg/github-readme-stats into frontend-requests 2025-10-11 15:58:04 +00:00
martin-mfg 13a56f098d rename private-access.func 2025-10-11 15:57:40 +00:00
martin-mfg a246be883e fix userAccess error handling, test non-existing user 2025-10-11 17:53:01 +02:00
martin-mfg bddd4c7b95 also fetch token when fetching private access 2025-10-11 17:32:20 +02:00
martin-mfg 44478c6f7b Merge branch 'frontend-requests' of https://github.com/martin-mfg/github-readme-stats into frontend-requests 2025-10-11 14:36:27 +02:00
martin-mfg 0bdb376798 try fix wakatime-override 2025-10-11 14:35:57 +02:00
martin-mfg 541083c92e add wakatime-proxy.func link 2025-10-11 12:21:04 +00:00
martin-mfg 2cc71de120 prettier 2025-10-11 12:04:30 +00:00
martin-mfg 8734fac30a add wkatime proxy 2025-10-11 13:56:02 +02:00
martin-mfg 7361750310 remove test frontend calls except wakatime 2025-10-11 09:47:14 +02:00
martin-mfg 431772d76a simpler local request paths, remove logging 2025-10-09 12:12:26 +02:00
martin-mfg 1f5af8d842 add await in router 2025-10-09 12:03:45 +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 c593cd89f9 move hard-coded env vars to constants.js 2025-10-09 09:07:04 +02:00