Commit Graph

62 Commits (8a33290722923307f069e71f82abfffa4e27468d)

Author SHA1 Message Date
boojack 41c50e758a
chore: revert resource visibility changes (#1444) 2 years ago
CorrectRoadH 424f10e180
feat: request pagination for resource(#1425)
* feat: add support for resource page on frontend

* [WIP]feat: add backend support for limit and offset search

* feat: add reducer to add resource

* support fetch all resource when first search

* beautify the fetch ui

* restore file

* feat: add all resource before clear resource

* eslint

* i18n

* chore:change the nane

* chore: change the name of param

* eslint

* feat: setIsComplete to true when first loading resource fully

* fix the bug of fetch

* feat change finally to then

* feat: add await and async to clear and search

* feat: return all resource when fetch

* chore: change variable name

* Update web/src/pages/ResourcesDashboard.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* fix missing const value

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Xudong Cai d21abfc60c
feat: add URLSuffix resource option with S3 (#1428)
* feat: add URLSuffix resource option with S3

* feat: add URLSuffix resource option with S3

* fix: eslint
2 years ago
Zeng1998 f3090b115d
feat: support local storage (#1383)
* feat: support local storage

* update

* update

* update

* update
2 years ago
Zeng1998 7529296dd5
chore: remove {filetype} in path template (#1377)
* chore: remove {filetype} in path template

* fix go-static-check

* update
2 years ago
boojack 29f784cc20
feat: update find resource with linked memo amount (#1354)
* feat: update find resource with linked memo amount

* chore: remove unused test
2 years ago
Cologler 8c774316ae
refactor: build storage key (#1326)
* refactor build storage key

* sort imports

* use gofmt to format code
2 years ago
Zeng1998 fd99c5461c
feat(s3): customize filenames via placeholders (#1285)
* feat(s3): customize filenames via placeholders

* fix go-static-checks

* add tips on the frontend

* fix eslint check

* remove yarn.lock

* remove Config.Path

* update tips

* fix

* update
2 years ago
boojack 4335897367
chore: remove metrics plugin (#1276)
* chore: remove metrics plugin

* chore: update
2 years ago
Alex Zhao 9d4bb5b3af
feat: add support for s3 path (#1233)
* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
2 years ago
boojack 9577f6dbe8
feat: add resource visibility to user setting (#1190) 2 years ago
boojack 977e7f55e5
feat: add visibility field to resource (#1185) 2 years ago
boojack 9c5b44d070
feat: update storage schema (#1142) 2 years ago
boojack 096a71c58b
feat: add `avatar_url` field to user table (#1106)
refactor: add `avatar_url` field to user table
2 years ago
boojack 7e8011ba34
chore: support deleting storage (#1095) 2 years ago
Zeng1998 2493bb0fb7
feat: storage service frontend (#1088) 2 years ago
Zeng1998 1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2 years ago
boojack b11d2130a0
chore: validate external link (#1069) 2 years ago
boojack bec1558488
fix: patch resource id (#1055) 2 years ago
Zeng1998 2d14047c73
fix: pdf resource preview (#1008) 2 years ago
boojack 6c3ff6de63
chore: get resource blob optional (#991) 2 years ago
boojack c5368fe8d3
chore: update resource dialog style (#982) 2 years ago
Wujiao233 0aaf153717
fix: video and audio can't play on safari (#980)
* fix: video can't play on safari

* fix: audio can't play on safari
2 years ago
boojack 677750ef51
chore: upgrade version to `0.10.1` (#949) 2 years ago
boojack 8c146aed68
feat: update memo resources style (#933)
* feat: update memo resources style

* chore: update
2 years ago
boojack e2e8130f4c
fix: sort version (#914) 2 years ago
boojack 46c13a4b7f
chore: add skipper for secure (#913) 2 years ago
boojack 491859bbf6
chore: update activity metrics (#908) 2 years ago
boojack e5550828a0
chore: update activity payload (#891) 2 years ago
boojack 3556ae4e65
fix: access control (#870) 2 years ago
boojack 99d9cc9168
fix: set csp header only for resource (#836) 2 years ago
boojack c07b4a57ca
feat: add secure middleware (#832) 2 years ago
boojack b704c20809
chore: return raw text for html (#782) 2 years ago
lujiefsi 726285e634
chore: restrict the html file (#749)
* restrict the html file

* replace spaces with table

* remove space
2 years ago
Zeng1998 1dee8ae49f
fix: url resource filename decode (#738)
* fix: url resource filename decode

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Zeng1998 54271c1598
chore: fix some typos (#587) 2 years ago
boojack 013ded1e04
chore: code clean (#516) 2 years ago
boojack 2d49e96a8a
feat: get image blob in backend (#495)
* feat: get image blob in backend

* chore: update
2 years ago
boojack a2831b37c4
feat: add database filesize in UI (#488) 2 years ago
boojack dc5d705f8c
feat: vacuum records manually (#420) 2 years ago
Zeng1998 e85d368f87
feat: patch resource filename (#360)
* feat: resource filename rename

* update: resource filename rename

* update: resource filename rename

* update: validation about the filename

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 95376f78f6
feat: add metric plugin (#361) 2 years ago
steven 85dc29bfb9 feat: add `linkedMemoAmount` to resource 2 years ago
Steven b1e6956441 chore: add cache for resource 3 years ago
Steven 4743818fe7 chore: update not found handler in deleting 3 years ago
Steven 68b30063a9 chore: update prod schema 3 years ago
boojack d8e10ba399 chore: use `tx` for stores 3 years ago
boojack 84564891be feat: add view resource dialog 3 years ago
boojack 5617118fa8 fix: acl middleware 3 years ago
boojack 536627007d
feat: schema migration handler (#100)
* chore: update about site dialog

* feat: schema migration

* chore: lint with golangci
3 years ago