DIYgod
5e2986fcd9
feat: v3 migration - 7/n
2024-02-28 21:07:10 +08:00
DIYgod
3eb1545bc5
feat: v3 migration - 6/n
2024-02-28 19:40:21 +08:00
DIYgod
db9e515c7c
feat: v3 migration - 5/n
2024-02-28 19:31:09 +08:00
DIYgod
7a719369be
feat: v3 migration - 4/n
2024-02-28 16:51:42 +08:00
DIYgod
fdf3fcac57
feat: v3 migration - 3/n
2024-02-28 16:33:13 +08:00
Tony
5058906b85
fix(route): throw better errors ( #14461 )
2024-02-15 07:53:01 +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
TonyRL
207d8ea605
chore: fix gitpod config
...
chore: fix telegram maintainer
2023-10-26 16:44:32 +00:00
DIYgod
7b65ba69bb
feat: add docusaurus website ( #13039 )
2023-08-15 03:12:12 +01:00
cayZ
60117a41c5
fix: radar rule for Telegram channels ( #12927 )
2023-08-03 18:51:56 +08:00
DIYgod
69c2f401c6
feat: add badges
2023-03-18 21:15:11 +00:00
DIYgod
1c52cec40a
fix: deepscan errors again
2023-03-18 21:10:46 +00:00
DIYgod
c767e6c7b8
fix: deepscan errors
2023-03-18 21:00:38 +00:00
DIYgod
31c633abf8
feat: telegram channel reply extra data
2023-01-31 18:31:32 +00:00
DIYgod
52678c9eef
feat: generate quote content_html, telegram channel repost extra data
2023-01-30 22:00:07 +00:00
Rongrong
dc52c0bab7
fix(route/telegram/channel): false unsupported ( #11484 )
...
Signed-off-by: Rongrong <i@rong.moe >
Signed-off-by: Rongrong <i@rong.moe >
2022-12-21 20:47:00 +08:00
Rongrong
7a9762b12b
fix(route/telegram/channel): unsupported message ( #11321 )
...
Not all unsupported messages are really unsupported (e.g. messages with
custom emoji)
Signed-off-by: Rongrong <i@rong.moe >
Signed-off-by: Rongrong <i@rong.moe >
2022-11-26 23:25:23 +08:00
Tony
f97cdb291c
fix: lack of config error url ( #9490 )
2022-04-07 22:34:33 +08:00
Rongrong
cd91931876
feat(route): try to avoid being anti-crawled ( #9406 )
...
* feat(route)(weibo): try to avoid being anti-crawled
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* refactor(route)(telegram/channel): migrate to `cache.tryGet`
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* feat(route)(douban): try to avoid being anti-crawled
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* feat(route)(picuki): try to avoid being anti-crawled
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* ref: got.get() to got()
2022-03-29 20:58:46 +08:00
Rongrong
3364b7eb1d
fix(route): migrate invalid enclosure_length usages to itunes_duration ( #9291 )
...
Close #9287
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-03-10 20:54:29 +08:00
Rongrong
2ef844425b
feat(route)(telegram/channel): major rewrite ( #9213 )
...
feed title changed to English
route path changed
exclude 'no posts found' messages (always)
custom route params:
exclude forwarded/reply/service messages (selectable)
exclude unsupported messages (selectable, default)
remove link preview (selectable)
remove metadata (via bot / forwarded from / reply to) (selectable)
add forwarded message author (selectable, default)
add inline buttons (selectable)
remove media tags in title (selectable)
non-emoji media tags (selectable)
search query (selectable, retain backward compatibility)
message types newly supported / enhanced:
reply (previous not in media tags, lacks of via bot)
forwarded (previously not in media tags, lacks of via bot)
service (previous not in media tags, img not extracted)
via bot (previous unrecognized, treated as normal messages)
video (previous use another emoji as media tag)
GIF (previous unrecognized, treated as video)
poll (previous only poll title)
voice (previous use another emoji as media tag, no title/content)
music (previous unrecognized, treated as document)
document (previous no content, broken if multiple exist)
location (previous only media tag)
contact (previous totally unsupported)
sticker (previous only media tag)
animated sticker (previous totally unsupported)
unsupported (previous totally unsupported)
misc:
fix emoji in posts: weird format (Italic and Bold)
fix title: lacks of spaces
fix title: use pubDate even if media tags exist
fix broken documents message if multiple documents exist
fix mistaken exception description
fix media sequence: video always at last, #4777
fix: autofilled title (pubDate) not in UTC
use cache
minor refactor
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-03-02 19:25:03 +08:00
Rongrong
c27da99a92
fix(route)(telegram): redundant backtick in template ( #9162 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-02-21 20:53:55 +08:00
Ethan Shen
0fd9f29832
fix(route): telegram channel videos ( #9087 )
2022-02-13 05:43:08 -08:00
Fatpandac
45aeb8e7a3
Fix(route): remove next() and change to V2 ( #8844 )
2022-01-22 20:03:48 +00:00