Commit Graph

145 Commits (main)

Author SHA1 Message Date
Johnny 9107a941ca chore: update linter config 4 days ago
Johnny f98c519834 fix: linter 4 days ago
MHZ 964ae16851
feat: support YouTube video thumbnail in link preview (#4427) 6 days ago
MHZ f17774cb3b
feat: prevent attackers from exploiting redirect attack GetLinkMetadata API (#4428)
fix: Prevent attackers from exploiting redirect attack GetLinkMetadata API.
1 week ago
MHZ f8c973c938
fix: prevent previewing internal network web pages. (#4421) 1 week ago
johnnyjoy e0e735d14d feat: support memo filter for mysql and postgres 4 weeks ago
johnnyjoy b9a0c56163 feat: support more factors in filter 4 weeks ago
johnnyjoy 58a867e4da fix: linter warning 4 weeks ago
johnnyjoy 2d731c5cc5 feat: memo filter for sqlite 4 weeks ago
Comix d9a92b2ef8
feat: support path style of s3 url (#4304)
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
1 month ago
Steven 74498a726e chore: update package 5 months ago
Steven 43d13a3edc chore: tweak linter 5 months ago
Steven b376a20fb4 chore: tweak linter warnings 6 months ago
Steven 387bf48fc8 chore: update s3 config 9 months ago
Steven f33571fec6 feat: update webhook request payload 9 months ago
Steven 2e0d5412b4 chore: tweak webhook payload 9 months ago
Steven 6010139291 chore: remove unused 9 months ago
Steven b0aad6f694 chore: tweak resource payload 10 months ago
Steven cf7718f8dc chore: update presign expires 10 months ago
Steven dfc0889a4f chore: tweak package name 10 months ago
Steven 74145157a0 chore: add presign background service 10 months ago
Steven 05f73a2236 chore: tweak linter 10 months ago
Steven 775b79338d chore: update object in s3 10 months ago
Steven 26545c855c refactor: implement s3 storage 10 months ago
Steven 155c5baf2c refactor: add markdown service 10 months ago
Steven 320963098f refactor: update storage setting 10 months ago
Steven d00e4fdf17 chore: retire telegram plugin 11 months ago
Steven b27004daae chore: retire unused plugin 11 months ago
Steven cf4db17080 chore: fix linter 11 months ago
Steven c373131b89 chore: migrate idp service 11 months ago
Paul 3605efc4d1
chore: removed sanitization logic (#3147)
* removed sanitization logic

* to avoid lint err
11 months ago
Steven 7c5261b5d2 chore: tweak resource definition 12 months ago
Steven 6b6edc3791 chore: update tg message handler 12 months ago
Steven dfa78cac49 chore: update logger 1 year ago
Bryan 4aa4417d91
chore: allow all 20x response status code in webhook (#2947) 1 year ago
Elliot Chen bee6f278ba
fix: the same-storage check in the new `pre-sign` feature (#2860)
* fix: error check for the same oss-storage

* fix: conflict error2 variable in code refactor in s3.go

* chore: rename endpointUrl to endpointURL
1 year ago
Steven a16bde23f7 chore: tweak variable name 1 year ago
Aleksandr Baryshnikov fa17dce046
feat: pre-signed URL for S3 storage (#2855)
Adds automatically background refresh of all external links if they are belongs to the current blob (S3) storage. The feature is disabled by default in order to keep backward compatibility.

The background go-routine spawns once during startup and periodically signs and updates external links if that links belongs to current S3 storage.

The original idea was to sign external links on-demand, however, with current architecture it will require duplicated code in plenty of places. If do it, the changes will be quite invasive and in the end pointless: I believe, the architecture will be eventually updated to give more scalable way for pluggable storage. For example - Upload/Download interface without hard dependency on external link. There are stubs already, but I don't feel confident enough to change significant part of the application architecture.
1 year ago
Steven af646ce2de refactor: move gomark 1 year ago
Steven 55ecdae509 chore: fix auto link matcher 1 year ago
Steven 11dd23f59b chore: tweak link checks 1 year ago
Steven 309fab222e chore: implement nested blockquote 1 year ago
Steven 932f636d84 chore: update codeblock renderer 1 year ago
Steven 10d709c167 chore: fix highlight cursor 1 year ago
Steven e1977df14b chore: remove check underscores 1 year ago
Mudkip f654d3c90e
fix: encode filename when using url prefix for resources (#2829)
* fix: encode filename when using url prefix for resources

* fix: only encode the last parts of filename

* fix: encode all parts in filepath
1 year ago
Steven a316e239ce chore: implement referenced content node 1 year ago
Steven d7f02b94e5 chore: fix linter 1 year ago
Steven d165d87288 refactor: markdown parser matchers 1 year ago
Steven a620d140c5 chore: update embedded content renderers 1 year ago