Commit Graph
30 Commits
Author SHA1 Message Date
Keo e584e46f45 fix(route/steam/news): fix wrong item images & YouTube full screen (#19206) 2025-05-26 21:43:42 +08:00
Keo bb7bb38990 feat(route/steam/news): update BBCode rendering to match the official feed (#19189)
* match official feed style

* add i, u, s tags

* add http url renderer

* update url regex

* update plainUrlRenderer
2025-05-26 01:55:00 +08:00
Keo 59e7ea876d feat(route/steam): add App News (#19176)
* feat(route/steam): add news

* rename file

* fixes

* update regex

* add language to feed

* use youtube-nocookie.com for iframe
2025-05-24 22:26:36 +08:00
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
moppman fdb4325226 fix(route/steam/search): Make hard-coded header image URL dynamic (#18852)
The header image isn't always served via the steamstatic CDN any more, resulting in broken images more often than not. That's why we're now displaying the original smaller image from the search result page.
2025-04-15 00:58:01 +08:00
naremloaandCopilot fa04a119d8 feat(add route): Add steam curator reviews route (#18044)
* feat(add route): Add steam curator reviews route

* fix: modify the maintainer's name to fenxer

* fix: replace API to `/ajaxgetfilteredrecommendations`
fix: something unnecessary

* fix: DeepScan error: value assigned to variable 'setValue' at this point is not used before it is overwritten

* Update lib/routes/steam/curator.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-01-07 01:18:37 +08:00
Tony 04a3e88448 docs: fix admonitions syntax (#18018) 2025-01-01 15:52:40 +08:00
github-actions[bot] 7e5502f161 style: auto format 2024-11-20 03:28:26 +00:00
danderschanddandersch 210f4d90d4 feat(route/steam/search): add thumbnails to steam search items (#17638)
Co-authored-by: dandersch <git@andersch.dev>
2024-11-20 11:26:09 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
NyaaaDoge 6ca6805f71 fix(route/steam): sharefile example route (#15894) 2024-06-14 03:55:10 +08:00
NyaaaDoge a86c5dc1c7 feat(route): add steam sharefile changelog route (#15883)
* feat(routes/steam): add sharefile changlog route

* use parseDate() to parese unix timestamp

* fix parseDate() parse  Unix timestamp option
2024-06-13 19:16:54 +08:00
github-actions[bot] d8dc6fbee0 style: auto format 2024-06-07 19:05:59 +00:00
NyaaaDogeandTony 44e50644d8 feat(route): add steam workshop search route (#15843)
* feat(route): add steam workshop search route

* fix some eslint error

* Add an empty line at the end of each file

* Fix typo and add workshop_checkmark image if entry owns it

* Update lib/routes/steam/workshop-search.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/steam/workshop-search.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/steam/workshop-search.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Remove title and author in entry description

---------
2024-06-08 03:04:21 +08:00
NyaaaDoge df51c93677 feat(route): add steam community hub (#15346)
* feat(route): add steam community hub

* Update lib/routes/steamcommunity/appcommunityfeed.ts

* Update lib/routes/steamcommunity/appcommunityfeed.ts

* Move to route folder Steam

---------
2024-04-24 17:33:56 +08:00
moppman e91927843d fix(route): Restore Steam store route (#14834)
This updates the deprecated Steam store search route. The CSS stuff is
mostly untouched, just some small changes for bundle and discount detection.
`URLSearchParams` is now used instead of external query packages.

Implement PR feedback
2024-03-19 15:42:05 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
MisteryMonster 87980a9e5b chore(route): Remove steam news (#7764) 2021-06-26 17:08:56 -07:00
Laam Pui 2fcf82a89c fix: steam news center (#6481) 2020-12-26 05:51:05 +00:00
DIYgod 7718d3460d feat: remove steamdb 2020-06-18 19:27:51 +08:00
DIYgod 0050f8882f feat: deps cloudscraper -> hooman, close #4538 2020-05-06 23:48:28 +08:00
Richard Yu 27577b48ca fix: steamdb blocked by cloudflare, wrong <td> ordinal and allo… (#4451) 2020-04-16 19:40:03 +08:00
Yu Jin 9a3a99eb90 feat: added steamdb free games (#4372) 2020-04-13 19:25:33 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
DIYgod 77d55262ff chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
Henry Wang d9e2bcd4d9 feat: add Metacritic game releases (#2366) 2019-06-11 11:28:17 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00