Commit graph

166 commits

Author SHA1 Message Date
Copilot
f2b0ae119a
Fix mock data structure for rate limit and NOT_FOUND error handling (#399)
* Initial plan

* Fix mock data structure and error handling for rate limit tests

Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>

* Minor cleanup: reorder handleError parameter fields for clarity

Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>

* Address code review feedback: remove unsafe non-null assertion and improve variable naming

Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>

* Fix test mock setup: remove mock calls for commented-out test and add missing mocks for requestUserInfo

Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>

* Clarify comment about retry attempts in test mock setup

Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
2026-01-12 11:18:32 +09:00
ryo-ma
5dc8d737df Fix comment out 2026-01-11 14:23:39 +09:00
ryo-ma
c1d8c00c1a Fix test 2025-12-09 00:01:40 +09:00
ryo-ma
ccde669950 Suspend to retry 2025-12-08 23:55:41 +09:00
ryo-ma
c27aed83c4 Change repository rank condition 2025-12-03 10:57:54 +09:00
ryo-ma
135c24e31c Add try catch for github api 2025-11-25 16:06:52 +09:00
ryo-ma
f88e07535b Fix promises process 2025-11-25 15:53:25 +09:00
ryo-ma
20908aff97 Improve cache parformance 2025-11-22 23:18:27 +09:00
Christina Ertural
d4b62d8895
Replaced createdAt with date of earliest repo for merged accounts (#377)
* Refactor UserInfo class to calculate duration based on earliest repository creation date

* Remove repository creation date from Repository type and adjust duration calculations to use user activity creation date

* Refactor UserInfo class to calculate duration based on earliest repository creation date

* Add repository name logging in UserInfo class for debugging

* Add logging for earliest repository creation date and duration calculation in UserInfo class

* Add repository name and creation date to user repository query

* Remove debug logging for repository name and earliest creation date in UserInfo class

* deno task format

* Refactor UserInfo class to optimize stargazers and languages aggregation, and streamline earliest repository date calculation

* undo last commit

* Refactor earliest repository date calculation for improved clarity and efficiency

* remove info that was used for debugging

* deno task format

* remove info that was used for debugging
2025-11-10 23:32:00 +09:00
ryo-ma
d442f3e0d0 Fix format 2025-07-02 10:24:42 +09:00
Jay
da14f756f0
feat: aura theme (#286)
* add aura theme

* docs: update docs for new theme
2025-07-02 10:15:18 +09:00
ryo-ma
bccf9ee667 Change CACHE_MAX_AGE 2025-05-24 09:33:24 +09:00
Aayush Shukla
c48eee9e0a
Include a query where the user can exclude trophies based on title (#276)
* First step to developing a feature to exclude speicifc trophies by title

* Added support for exclusion by title

* Ran deno lint, deno format and deno test found in CONTRIBUTING

* Documented the latest addition in the README

* Updated README
2024-07-19 16:56:16 +09:00
ryo-ma
4672f2d285
Update utils.ts 2024-07-13 23:33:11 +09:00
Breno A
5aa2caf7c9
Refactor: code cleanup and xss fix (#270)
* fix: remove unnecessary xssable text

* chore: remove typo

* fix: ignored promise

* fix: imports can be summarized and the repository already has the typing

* fix: cleanup and remove domain

* chore: lint

* tests: `assert` is deprecated, replace to `with`

docs reference: https://lint.deno.land/rules/no-import-assertions

* ci: bump checkout and Deno

* chore: fix readme tags

* refactor: remove unnecessary constructor

* chore: remove import duplicate

* refactor: replace sort with toSorted

https://rules.sonarsource.com/typescript/RSPEC-4043/?search=Array-mutating%20methods%20should%20not%20be%20used%20misleadingly

* chore: format
2024-06-19 13:37:03 +09:00
Gabriel Logan
a50a8b71fd
fix: correct http return and invalid styling (#269)
* fix: correct http return and invalid styling

Page responded with incorrect http return message.

* fix: correct http return and invalid styling

Update error_page.ts
2024-05-22 14:07:05 +09:00
Gabriel Logan
f85b88a3ef
chore: improving homepage styling (#268)
* chore: improving homepage styling

More pleasant stylization and ease of generating your trophies

* fix: (no-inferrable-types) inferrable types are not allowed

Update error_page.ts

* Update error_page.ts
2024-05-16 01:23:19 +09:00
Emile Bangma
10e24dfe45
Add kimbie_dark theme (#138)
* Add kimbie_dark theme

* Update theme.ts
2023-12-05 15:59:02 +00:00
Alex Oliveira
cb822ea356 hotfix: function name 2023-10-04 17:18:12 +01:00
SmashedFrenzy16
501d8159b7
Update trophy_list.ts with correct function name (#233) 2023-10-04 22:58:56 +09:00
SmashedFrenzy16
8c8a5a91d0
Update trophy.ts with spelling correction (#232) 2023-10-04 15:41:08 +09:00
Alexandro Castro
614e0453d0
feat: add redis cache (#231)
* feat: add redis cache

* chore: add TTL

* chore: change port
2023-10-04 00:38:18 +09:00
ryo-ma
dc043fbe78 Change DEFAULT_MAX_COLUMN to 8 2023-10-04 00:06:18 +09:00
Bhav Beri
0cc5b5cbc7
Added Account Duration/Experience Trophy (#203)
* Added Account Duration/Experience Trophy

* Minor Formatting Changes

* deno fmt correction

---------

Co-authored-by: Alexandro Castro <10711649+AlexcastroDev@users.noreply.github.com>
2023-10-03 23:58:45 +09:00
Alexandro Castro
22a9bc4112
chore: retries improvements (#230)
* chore: retries improvements

* chore: improvements on retries

* chore: improvements on retries

* chore: add unit test

* chore: format

* chore: format

* chore: format

* fix: remove console
2023-10-03 23:50:52 +09:00
Alex Oliveira
5246b67912 fix: format 2023-10-03 00:04:16 +01:00
ryo-ma
b4aa73dea1 fix: Temporary fix for retry bug 2023-10-01 11:49:55 +09:00
Alexandro Castro
af753bf270
fix: check of rate limit (#229)
* fix: task run

* fix: check of rate limit
2023-09-30 18:15:58 +09:00
Alexandro Castro
495eba6a75
chore: types improvements (#226)
chore: types improvements

chore: types improvements
2023-09-30 14:49:18 +09:00
Alexandro Castro
5dc3379214
Improvements on workflow and files (#222)
* chore: improvements

* chore: add testing workflow

* fix: types and lint

* chore: change dynamic

* chore: improvements

* chore: no need repository to check status
2023-09-30 01:54:23 +09:00
ryo-ma
a4d50a11db Fixed the number of Github API requests that were being executed twice. 2023-09-28 09:46:55 +09:00
Alexandro Castro
22e46c69e7
feat: implement staticRenderRegeneration (#221)
* feat: implement staticRenderRegeneration

* chore: remove the check in create

* chore: ignore read permission throw

* chore: safe read file

* fix: stream save

* chore: change file folder
2023-09-26 22:59:20 +09:00
Bhav Beri
450f208327
Added Total Reviews Trophy (#200) 2023-05-19 00:03:15 +09:00
SmashedFrenzy16
0184955871
Add OG Account Trophy (#174)
* Update trophy.ts

* Update trophy_list.ts
2023-01-19 20:45:46 +09:00
ryo-ma
8f09859d1b Fix error response property 2022-09-09 01:00:39 +09:00
ryo-ma
8a9ad5931b Support to multiple github token 2022-09-08 23:09:20 +09:00
Kalle Fagerberg
cb9b077fca
Added GITHUB_API env var 2022-08-12 17:08:09 +02:00
('o mo)y-˜
6fa963b76e
exclude by rank (#132)
* exclude by rank

* Add a description of the ranks
2022-04-11 00:42:22 +09:00
solstice23
e8b06776e1
Support adaptive width (column=-1) (#130)
* Support adaptive width

* Update readme

* Fix typo error

* Delete package-lock.json
2022-04-04 18:34:49 +09:00
ryo-ma
b093822e8b Fix typo 2022-02-11 02:54:00 +09:00
ryo-ma
3544e23c13 Support to 404 error 2022-02-11 02:49:45 +09:00
ryo-ma
5f08ba0e98 Fix page format 2022-02-11 02:45:31 +09:00
ryo-ma
1ea1949d86 Update vercel-deno version to 1.1.1 2022-02-11 02:30:47 +09:00
Spenser Black
ac3f80b5cb
Provide descriptive error when username missing
Adds more text to the error to hopefully inform users that they failed
to provide a proper URL, and not that the site is broken.

Error changed to generic 400 since the problem is that the user didn't
make a good request, not that the page itself is missing.
2022-02-10 11:04:05 -05:00
Aryan Tripathi
115908e043
Few Changes on Dark Lover Theme (#123)
* Update theme.ts
2022-02-06 12:31:29 +09:00
Aryan Tripathi
ac1540e5ba
Added Dark Theme Lover Theme: (#121)
* Added Dark Theme Lover Theme:

* Update theme.ts

* Update theme.ts

* Update theme.ts

* Updated the background

* Forgot the text
2022-02-06 02:02:58 +09:00
Nakatai
2034f23f8b
Some Fixes (#107) 2021-12-21 00:28:21 +09:00
Çınar Yılmaz
b142cb11a3
Add Apprentice theme (#103) 2021-12-04 12:41:52 +09:00
Tubalevião
75083dc329
adding the matrix theme (#88) 2021-11-13 18:56:22 +09:00
Fayas Noushad
1213dfd9e2
Update Commits (#98)
Update commits
2021-11-12 17:50:44 +09:00