Commit Graph

24 Commits (bbca130d62c92b379f503903b0cd7181b73cf8a9)

Author SHA1 Message Date
Steven 74498a726e chore: update package 5 months ago
Steven cab981c393 chore: fix linter errors 5 months ago
Steven 3370ecd4fc chore: ignore lint for tests 5 months ago
Steven 0a871b8960 chore: fix tests 5 months ago
Steven 43d13a3edc chore: tweak linter 5 months ago
Steven f467f1d9f6 chore: update cron package 5 months ago
Roman 310f147911
feat: allow single letter user id (#3991)
* Allow single letter user id.

They do work - I use one and login using Authelia, but then I am not able to update the profile to update avatar or add comment because "Invalid username: r" errors

* Add test for the util with uid matcher

* Move the test to separate directory

* Use goimports on the test file

* Rename the test for a mroe matching name, add failing test

* Update the regexp so that two letter work

---------

Co-authored-by: Roman Kamyk <roman@kamyk.me>
5 months ago
Steven fc2cd43dc2 chore: tweak util tests 7 months ago
Steven d0655ece53 refactor: update memo tags 10 months ago
Steven e8dfd579c3 chore: update background services 11 months ago
Steven 14d4cfd5a4 chore: tweak store methods name 11 months ago
coderwander 162521885c
chore: fix some typos in comments (#3243)
Signed-off-by: coderwander <770732124@qq.com>
11 months ago
Eng Zer Jun 3b550a8ab8
chore: replace util.Min helper with built-in min (#3224) 11 months ago
Steven bbd206e893 chore: retire legacy api 11 months ago
Steven 7cc8b951a3 refactor: update resource id naming 12 months ago
Steven dfa78cac49 chore: update logger 1 year ago
Steven 3e50bee7da chore: move api directory 1 year ago
Steven de8db63811 chore: rename workspace setting service 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 8382354ef7 feat: add user-defined name to memo 1 year ago
Steven 480c53d7a2 chore: fix id converter 1 year ago
Steven 5b3af827e1 chore: move common packages to internal 1 year ago
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
boojack a5b3fb2a6a
chore: move cron package to internal (#2180) 2 years ago