Alexandr Garbuzov and Alexandr
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
Ophelia Goldstein and Alexandr
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
6d6b87c359
build(deps-dev): bump jest from 29.7.0 to 30.2.0 ( #4524 )
...
* build(deps-dev): bump jest from 29.7.0 to 30.2.0
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest ) from 29.7.0 to 30.2.0.
- [Release notes](https://github.com/jestjs/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jestjs/jest/commits/v30.2.0/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-version: 30.2.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* migration
---------
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-10 19:20:14 +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 Goldstein and Alexandr
879463b14e
refactor: organize imports inside tests files ( #4542 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-08 01:58:06 +03:00
Ophelia Goldstein and Alexandr
12caf46c6d
fix: remove duplicate jest globals imports inside tests files ( #4541 )
...
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2025-10-08 01:42:04 +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
Alexandr Garbuzov and Alexandr
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
Kyle Upton and Alexandr
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
6b457d04f1
tests: return cache tests which were removed in 53e4041 ( #4368 )
2025-08-24 16:43:02 +03:00
anuraghazra
53e40413e7
chore: update
2024-10-11 23:10:49 +05:30
Alexandr Garbuzov
89fc14609e
refactor: improve blacklisted username error by adding secondary message ( #3444 )
2023-10-30 11:31:41 +01:00
Alexandr Garbuzov
41a2ba8cbe
tests: add pin endpoint proper cache header test ( #3260 )
2023-09-20 15:29:45 +02:00
Alexandr Garbuzov
b6156a8688
Tests: Add pin endpoint missing params test ( #3151 )
2023-08-27 09:55:31 +02:00
Alexandr Garbuzov
e8b9ccf203
tests: add pin endpoint wrong locale test ( #3143 )
2023-08-25 09:21:12 +02:00
Alexandr Garbuzov
5c688f9e7c
Tests: Add pin endpoint blacklist test ( #3136 )
2023-08-24 08:08:22 +02:00
Alexandr Garbuzov
6c92fe9d2a
Eslint integration ( #2885 )
...
* eslint integration
* ci & pre commit
* dev
* dev
* dev
2023-07-03 08:54:19 +02:00
rickstaa
8886b93a7e
refactor: clean up imports
2022-09-24 14:10:06 +02:00
rickstaa
41d6760abd
fix: fix es6 import file extension
2022-09-24 13:20:52 +02:00
rsk2 and rickstaa
107f7ca52c
Feature/grs 1955 change commonjs imports ( #1995 )
...
* GRS-1955: Using ES6 import/export in src files
* GRS-1955: Using ES6 import/export in test files
* GRS-1955: Using ES6 import/export in themes index.js
* GRS-1955: Readding blank line at end of top-languages-card.js
* feat: fix test es6 import errors
This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.
* test: update test node version
This commit makes sure node 16 is used in the github actions.
* refactor: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com >
2022-09-24 10:20:54 +02:00
Anurag Hazra
62d65ab483
refactor: refactor repo card ( #1325 )
...
* refactor: refactored repo-card
* test: fix tests
* test: fixed tests
* fix: unprovided description error
2021-09-26 21:02:27 +05:30
Bas950 and Anurag Hazra
8aea1e3c35
feat: added repo card hide border option ( #488 )
...
* 🚀 Prettier config
* 🚀 hide_border for Repo Card
* fix: wrong total commits (#490 )
* chore: run prettier on all files
* chore: lol lets add the trailing commas
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com >
2020-09-24 21:38:14 +05:30
Anurag Hazra
67b434dc79
chore(*): reorganized all files and folders ( #283 )
2020-08-02 13:07:26 +05:30
Joydip Roy and anuraghazra
5ed75e11be
feat: added isTemplate badge & refactored console.logs ( #146 )
...
* feat: template option added husky added for same commit disable console in test \
logger utils added env checked for log modified git ignore
* changed are done as per the suggesstion
* changed style and font
* text color dynamic
* fix border and using .bagde class as common
* simplified the badge svg code through a common method
* chore: updated css & fixed tests
Co-authored-by: anuraghazra <hazru.anurag@gmail.com >
2020-07-23 13:05:50 +05:30
omrilotan
9e4d83247e
feat: display username in repo card (optional) ( #78 )
...
* Display username in repo card (optional)
* fix: show_owner boolean flag & used nameWithOwner from gql api
2020-07-16 18:03:33 +05:30
anuraghazra
40e0937100
tests: added integration tests for the api endpoints
2020-07-12 20:08:01 +05:30