Commit Graph
31 Commits
Author SHA1 Message Date
Tony d585a87daf fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod b370ba9d85 fix: jike 2024-03-15 00:52:21 +08:00
Rongrong c65e031a54 fix(route/*): previously forgotten migrations (#14778)
Signed-off-by: Rongrong <i@rong.moe>
2024-03-14 00:49:02 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Rongrong 63ccc9499b fix(route/jike): image URL; outdated usage (#9693)
* fix(route/jike): image URL; outdated usage

Signed-off-by: Rongrong <i@rong.moe>

* refactor: migrate to v2

* fix: unescaped .

* feat(route/jike): new radar rule

Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:28:04 +08:00
Rongrong 9dc79aaca6 fix(route)(jike/user): improper linebreak (#9168)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-22 03:30:17 +08:00
Daniel Li (李丹阳)andSukka d77a039f05 style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Henry Wang 963838dea3 feat: 优化即刻咨询台 (#5006) 2020-06-22 11:38:54 +08:00
prnake fd9d074e24 feat: add 即刻 (#4967) 2020-06-11 11:39:45 +08:00
DIYgod 228313fc3e feat: remove jike, rip 2019-08-15 19:34:19 +08:00
DIYgod ea508b8bc2 fix: post type 2019-06-04 18:28:06 +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 a0333fbd7e feat: use contentExpire 2019-05-09 01:23:29 +08:00
Xiang Li a84e67a9fc fix: 修复了个人/圈子动态不返回第三张以后的图片的问题 (#2082)
修复了个人/圈子动态不返回第三张以后的图片的问题
尝试使用更新的版本号时,返回的结果不单纯按照时间排序,而经过推荐分发
2019-05-09 00:30:51 +08:00
Henry Wang e72f82e983 chore: 部分代码优化 (#1674) 2019-03-04 19:26:09 +08:00
Henry Wang 70e13884da Fix #1499 (#1502)
close #1499
2019-01-31 11:12:22 +08:00
周长安 5bdbd2d762 ✨ 即刻:对两个新闻主题做特殊处理 (#1489)
修改即刻 Feed,对两个新闻主题 [一觉醒来世界发生了什么](https://web.okjike.com/topic/553870e8e4b0cafb0a1bef68/official) 和 [今天网上都在热议什么](https://web.okjike.com/topic/55963702e4b0d84d2c30ce6f/official) 进行特殊处理:
- 标题改为 `${主题名称} ${日期}` 如 `一觉醒来世界发生了什么 01月30日`
- 为每个新闻添加源文链接

Reader 中效果如下:
![image](https://user-images.githubusercontent.com/21376471/51955323-76419700-247e-11e9-901c-58a3fe2e4ec4.png)

![image](https://user-images.githubusercontent.com/21376471/51955331-7a6db480-247e-11e9-9083-8148f1f41d3d.png)
2019-01-30 11:16:28 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00