Commit Graph

112 Commits (dcfb2b7de2055d9e023f31e11f831dbe9a5d4455)

Author SHA1 Message Date
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
Steven 89d940d9b7 feat: implement params field for embedded content node 1 year ago
Steven afe75fd9f2 chore: fix tokens split tests 1 year ago
Steven 8a34013558 feat: implement embedded memo renderer 1 year ago
Steven 7236552b6c feat: implement subscript and superscript parsers 1 year ago
Steven 7de3de5610 chore: fix go test warning 1 year ago
Steven 2856e66609 chore: fix go test 1 year ago
Steven 8ed827cd2d chore: update table node delimiter 1 year ago
Steven aecffe3402 feat: implement table parser 1 year ago
Steven 3f4b361fad feat: implement highlight parser 1 year ago
Steven fdbf2d8af2 chore: fix blockquote renderer 1 year ago
Steven 98762be1e5 feat: implement indent for list nodes 1 year ago
Steven 32d02ba022 chore: fix horizontal rule matcher 1 year ago
Steven 5449342016 fix: auto link converters 1 year ago
Steven ee13927607 chore: fix restore tag node 1 year ago
Steven ce2d37b90c chore: fix find sibling node 1 year ago
Steven 454cd4e24f feat: implement switchable task list node 1 year ago
Steven d7ed59581c chore: fix math block matcher 1 year ago
Steven d12a2b0c38 feat: implement math expression parser 1 year ago
Wen Sun 6b2eec86c2
fix: image upload failed with cloudflare R2 (#2704)
Fix image upload failed with cloudflare R2
1 year ago
Lincoln Nogueira 14b34edca3
chore: fix misuse of package path instead of filepath.path (#2684)
As stated by https://pkg.go.dev/path, "path" is mainly for URLs, "path.filepath" for file systems
1 year ago
Steven 46f7cffc7b feat: implement restore nodes 1 year ago
Steven 2a6f054876 chore: update auto link parser 1 year ago
Steven c8d7f93dca feat: implement auto link parser 1 year ago
Steven 28c0549705 feat: add markdown service 1 year ago
Steven bb42042db4 chore: implement task list parser 1 year ago
Steven e8ca2ea5a0 chore: rename renderer package 1 year ago
Steven e43a445c34 chore: implement escaping character node 1 year ago
Steven 1237643028 chore: update parser tests 1 year ago
Steven aee0e31b0a chore: update parser functions 1 year ago
Steven 47af632c79 chore: update inline parser 1 year ago
Steven 7b0ceee57b chore: update memo metadata description 1 year ago
Steven bdc867d153 fix: heading render 1 year ago
Steven 6421fbc68a chore: implement list html render 1 year ago