Commit graph

33 commits

Author SHA1 Message Date
ryo-ma
bccf9ee667 Change CACHE_MAX_AGE 2025-05-24 09:33:24 +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
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
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
Kalle Fagerberg
cb9b077fca
Added GITHUB_API env var 2022-08-12 17:08:09 +02:00
ryo-ma
1ea1949d86 Update vercel-deno version to 1.1.1 2022-02-11 02:30:47 +09:00
ryo-ma
fa728bf8b5 Undo cache max age 2021-10-31 14:49:42 +09:00
ryo-ma
6da9763bff
Update utils.ts 2021-10-23 14:42:20 +09:00
Lumm1t
d1afb967cd fix(typo): splitedURL -> splittedURL 2021-02-14 20:01:22 +01:00
kawarimidoll
3c15ab566f Add transparent features 2021-01-11 10:37:12 +09:00
kawarimidoll
ea4ba8aeac Add getBooleanValue 2021-01-11 10:36:40 +09:00
ryo-ma
097ce6aff4 Fix get option params method when value is Nan 2020-09-19 23:13:23 +09:00
ryo-ma
f9e4a2a795 Support margin option 2020-09-19 22:32:04 +09:00
ryo-ma
89d8c54d07 Extract theme to theme.ts 2020-09-06 11:37:24 +09:00
ryo-ma
3d212f681c Apply fine-tune theme color 2020-09-06 08:36:58 +09:00
Spenser Black
1ee36a5402
GruvBox theme and Default theme (#6)
* Add basic GruvBox colors

* Fill background with primary color

* Add secondary color for title

* Define theme interface

* Use theme's gray for text

* Use GruvBox's gray

* Fix placement of theme arg

* Use GruvBox green for text

Closer to "spirit" of GruvBox

* Color trophy icon bg

* Transfer non-secret rank colors to theme

* Color GruvBox defaults

* GruvBox B rank

* GruvBox A rank trophy

* Theme leaf icon

* GruvBox S rank

* Base secret trophy off of theme

* Remove unused imports

* Use better param getter
2020-09-06 08:07:36 +09:00
ryo-ma
2e8118a4cd Add CustomURLParams 2020-09-05 17:18:32 +09:00
ryo-ma
f6a9b83b11 Fix abridgeScore 2020-08-30 19:21:04 +09:00
ryo-ma
32e060a721 Fix bug of unknown trophy 2020-08-30 18:39:52 +09:00
ryo-ma
16c87caa4f Add long time account and acient account Trophy 2020-08-29 13:30:42 +09:00
ryo-ma
b1babb507c Add SECRET RANK 2020-08-28 02:18:29 +09:00
ryo-ma
819c5ba2b8 Change to display score unit 2020-08-28 00:07:50 +09:00
ryo-ma
ba1d95cb4f Add params that are column row and rakns 2020-08-27 00:44:26 +09:00
ryo-ma
0fdc4b7434 Refactor trophy class 2020-08-26 01:46:05 +09:00
ryo-ma
c426484370 Add small trophy icon 2020-08-25 23:25:40 +09:00
ryo-ma
6721eb28d6 Fix abridgeScore logic 2020-08-24 23:54:31 +09:00
ryo-ma
e17cfb9bb4 Add abridgeScore 2020-08-24 23:02:43 +09:00
ryo-ma
bc9fe8f59f Add CONSTANTS and RANK enum 2020-08-24 22:07:55 +09:00
ryo-ma
6a64dbe1f1 Add parseParams to utils 2020-08-24 21:31:03 +09:00
ryo-ma
5a9cbef00b first commit 2020-08-23 01:22:20 +09:00