Commit Graph

609 Commits (master)

Author SHA1 Message Date
HFO4 37e78cb39b Feat: generate upload server url from policy
5 years ago
HFO4 6b6bfb4c6b Modify: FileName header in remote put request should be urlencoded
5 years ago
HFO4 4b6fbc0de2 Feat: remoter handler get content
5 years ago
HFO4 c23d129dbb Modify: use path package in app level
5 years ago
HFO4 d94896041e Fix: cannot edit file in remote server / Modify: separate preview and text-file content controller
5 years ago
HFO4 93dc25aabb Test: remote handler get & request chan operations / Modify: GET request to remote server should return error http status code
5 years ago
HFO4 aeca161186 Feat: cancel archive action / request with context
5 years ago
HFO4 1393659668 Feat: GET interface for remote policy
5 years ago
HFO4 0f93864c8e Modify: add time.Now for expiration inside signing function
5 years ago
HFO4 9c48f4b7ad Feat: remote file thumb preview
5 years ago
HFO4 b6102c3ae5 Fix: policy should be re-dispatch while getting thumbnails
5 years ago
HFO4 a75be3a927 Add: GetIntSetting helper
5 years ago
HFO4 fffcf1aa1b Test: remote handler.delete
5 years ago
HFO4 bf0998f3a5 Fix: unclosed file after get thumbnails
5 years ago
HFO4 ee08821361 Feat: remote delete file / Fix: broken Filesystem recycle in upload request
5 years ago
HFO4 e9f02940ee Test: remote handler.source
5 years ago
HFO4 b19910867e Feat: download / preview files in slave side
5 years ago
HFO4 35c2a5c977 Test: filesystem/Preview
5 years ago
HFO4 8a262a15d5 Modify: Decide whether to redirect when previewing based on storage policy
5 years ago
HFO4 eceee2fc76 Test: remote callback auth
5 years ago
HFO4 4a5782b4e5 Feat: remote upload callback / validation
5 years ago
HFO4 d29b7ef6f8 Feat: auth for remote callback / Modify: use map to store hooks in filesystem
5 years ago
HFO4 ca9f44c06c Test: SlaveAfterUpload hook
5 years ago
HFO4 64342fa88d Feat: send remote uploading callback
5 years ago
HFO4 5b9de0e097 Feat: use sync.pool to obtain new FileSystem instance
5 years ago
HFO4 de4793aacb Modify: auth instance as first param in SignURI/Request
5 years ago
HFO4 b5ee3ee609 Fix: cors middleware should be applied directly to root router
5 years ago
HFO4 2b8921e9fd Fix: untracked files
5 years ago
HFO4 132c7a8fcb Feat: file uploading in slave mode
5 years ago
HFO4 6470340104 Add: upload controller in slave mode
5 years ago
HFO4 4f8558d1e8 Add: uploadPolicy serializer
5 years ago
HFO4 f8c8604cda Feat: auth middleware for complex request
5 years ago
HFO4 90827b2441 Feat: sign http request / read running mode from config file
5 years ago
HFO4 fd7b6e33c8 Test: auth middleware for WebDAV
5 years ago
HFO4 cf90ab5a9a Fix: unable to save office file in root directory of WebDAV
5 years ago
HFO4 bb27d1d587 Test: remove test for internal xml package
5 years ago
HFO4 327765a7be Fix: missing ttl check in memstore.Get
5 years ago
HFO4 e97ed216f2 Feat: finish WebDAV adaptation
5 years ago
HFO4 c1b02380ac Feat: adapt copy method for WebDAV
5 years ago
HFO4 9fdf2fe7ab Feat: adapt major methods of WebDAV for Cloudreve file system
5 years ago
HFO4 1dac66e632 Merge branch 'master' of github.com:HFO4/Backend-V3
5 years ago
HFO4 963100d60f Modify: add fs into webdav
5 years ago
HFO4 a6d16cc7ba Add: internal packages in webdav
5 years ago
HFO4 327a3c1edf Feat: ttl in memory-cache / Add: webdav from standard library
5 years ago
HFO4 9a942f8b48 Modify: decoupling getSignedURL modules
5 years ago
HFO4 6ada69f637 Test: update file content related hooks
5 years ago
HFO4 8bf2966d46 Feat: update file content
5 years ago
HFO4 8557ed8e2e Fix: failed uint test due to cache
5 years ago
HFO4 ca07a94d41 Test: file compress / download
5 years ago
HFO4 03dcd9a9e0 Modify: add general ReaderCloserSeeker interface for handler GET method to return
5 years ago
HFO4 f262caf1f5 Feat: download file and get file downloading session
5 years ago
HFO4 ad02a659a6 Feat: read CORS config from file
5 years ago
HFO4 c102c74d6d Fix: download archived file anonymously
5 years ago
HFO4 00ef240bea Delete: test file for task/pool
5 years ago
HFO4 02c93be3bc Feat: download temporary archive file
5 years ago
HFO4 afc0b647ca Fix: failed unit test / Feat: support TTL in redis cache
5 years ago
HFO4 cf9416ef88 Feat: archive download and sign temp url
5 years ago
HFO4 012281c41f Feat: zip create
5 years ago
HFO4 d58898e364 Feat: task pool for goroutines
5 years ago
HFO4 e8aa0435c5 Feat: archive & download routers for test
5 years ago
HFO4 18968458a4 Modify: close file in main routine
5 years ago
HFO4 d0bb123e03 Test: get source URL of files
5 years ago
HFO4 9f26c0c8ab Test: signRequired middleware
5 years ago
HFO4 297b507ca7 Feat: get file content via anonymous url
5 years ago
HFO4 ea7f034332 Feat: sign auth middleware
5 years ago
HFO4 36d5f51495 Feat: sign file source url
5 years ago
HFO4 1963a495fb Feat: get file source route / Fix: cache initialize at wrong time
5 years ago
HFO4 e871f6e421 Feat: HMAC auth and check
5 years ago
HFO4 5b01202844 Test: redis pool connection
5 years ago
HFO4 6d6255e759 Test: redis cache
5 years ago
HFO4 cb61945125 Feat: redis driver for cache
5 years ago
HFO4 f6da4cc7f0 Test: local handler.thumb
5 years ago
HFO4 c3c0e92964 Test: thumbnail and authn / Modify: read thumbnail config from file
5 years ago
HFO4 f35c585edf Feat experimental WebAuth API
5 years ago
HFO4 0932a10fed Feat: generate thumbnails for image file
5 years ago
HFO4 a445da5286 Fix: failed unit test due to missing mock.ExpectWereMatch()
5 years ago
HFO4 6eff13c80a Test: modified folder methods and filesystem
5 years ago
HFO4 05c802e0fa Test: modified folder methods
5 years ago
HFO4 56b1ae9f31 Modify: use pure tree structure in file system scheme
5 years ago
HFO4 10a2ef4267 Feat: rename file
5 years ago
HFO4 f4c414c0f6 Fix: uint may overflow / Test: get user storage
5 years ago
HFO4 13fb090194 Fix: failed unit tests
5 years ago
HFO4 5df8f688d1 Test: util / filesystem
5 years ago
HFO4 7375cc01f1 Feat: cache in-memory store
5 years ago
HFO4 362a7c389d Test: middleware / file / folder
5 years ago
HFO4 c15b8a047d Feat: copy files and folders
5 years ago
HFO4 c09fc535dc Feat: unit test coverage report
5 years ago
HFO4 5424115e51 Fix: failed test due to database type
5 years ago
HFO4 adf7f3deeb Fix: handler move files in top levels
5 years ago
HFO4 d28e5632d5 Fix: unique index check failed due to soft delete
5 years ago
HFO4 fd02425547 Feat: move files/directories
5 years ago
HFO4 081c92067f Test: delete objects related methods
5 years ago
HFO4 ceb25ce1c3 Modify: add unique index for folder & file
5 years ago
HFO4 b3f13c56bc Modify: remove PositionAbsolute scheme in folder
5 years ago
HFO4 8b3fd8ec66 Modify: test for local handler delete
5 years ago
HFO4 93010e3525 Feat: delete objects
5 years ago
HFO4 0cbbe5bb79 Modify: use uri parameter in Get File
5 years ago
HFO4 b0e9c38732 Feat: redis for session storing
5 years ago
HFO4 7d5016ae40 Test: same folder check
5 years ago
HFO4 0982347f40 Fix: folder with the same name should not be created
5 years ago
HFO4 b3ef833afd Fix: test error / missing AfterFind hook in user model
5 years ago
HFO4 16067c3ac8 Test: download file in filesystem
5 years ago
HFO4 9bb432c220 Feat: download file with speed limit
5 years ago
HFO4 29def02489 Fix: upload was marked canceled when small file uploaded
5 years ago
HFO4 4156a71adf Feat: file download in service level
5 years ago
HFO4 a734493b65 Feat: custom error for general layer codes
5 years ago
HFO4 9a1665526c Test: local policy file uploading
5 years ago
HFO4 e07adb9d97 Test: filesystem/hooks
5 years ago
HFO4 0cb80f69f5 Modify: split hooks into small modules
5 years ago
HFO4 451bdb4ee1 Modify: parameters in headers should be URIEncoded
5 years ago
HFO4 28df5ca833 Modify: return user information in siteConfig while logged in
5 years ago
HFO4 5e1e76719f Test: list folder & filesystem/path & model/folder/list
5 years ago
HFO4 b431f3674c Feat: list objects in specific path
5 years ago
HFO4 a89c3cb11a Feat: create folder / Modify: add index to some column
5 years ago
HFO4 a994a74f4e Fix: 0 length upload should be allowed
5 years ago
HFO4 671d031d00 Fix: able to upload empty file
5 years ago
HFO4 948059ec1c Feat: CORS / Test: site/config route
5 years ago
HFO4 370a1a0c9f Feat: GET Site/Config getting global configuration
5 years ago
HFO4 9d8a462dc4 Remove: mutipart file upload
5 years ago
HFO4 7cb27b2102 Test: filesystem/file, filesystem, filesystem/hook, model/file/Create
5 years ago
HFO4 438ce02420 Modify: re-organize structure of filesystem
5 years ago
HFO4 e09294d388 Feat: insert file record to database
5 years ago
HFO4 e835dafc88 Feat: colorful log output for log prefix
5 years ago
HFO4 f9b37a3359 Fix: test failed due to missing context
5 years ago
HFO4 20ea86eaf6 Fix: test failed due to `Policy.AutoName`
5 years ago
HFO4 88a543ef74 Feat: `{path}` marker in name rule representing the virtual path of the file
5 years ago
HFO4 2e9f256462 Feat: after uploading finished hook
5 years ago
HFO4 aa17aa8e6a Feat: after uploading hooks and checks
5 years ago
HFO4 0dddc12609 Modify: check whether file exist before deleting unfinished uploading
5 years ago
HFO4 5f7ece6d82 Fix: filepath.Dir behaves differently between, result in failed uint test
5 years ago
HFO4 631c23f065 Feat: recycling file storage and user capacity when uploading canceled
5 years ago
HFO4 160f964564 Feat: use goroutine to detect upload-canceling action / Object name validate
5 years ago
HFO4 331931e539 Fix: permission error
5 years ago
HFO4 861ba77b04 Feat: stream uploading
5 years ago
HFO4 5aa61301af Fix: letter case should be ignored while validating file extension
5 years ago
HFO4 3741da692b Test: filesystem/local & filesystem/validator
5 years ago
HFO4 99e7eecab7 Feat: file upload handler
5 years ago
HFO4 841832bb65 Add: context
5 years ago
HFO4 f46b52b6ba Feat: support sqlite
5 years ago
HFO4 e05ba1030c Modify: package name
5 years ago
HFO4 79caf635f9 Feat: basic file validator
5 years ago
HFO4 003274162b Add: filesystem
5 years ago
HFO4 d86a3533ca Add: route for uploading file
5 years ago
HFO4 4309653160 Feat: model/policy
5 years ago
HFO4 41e0dec74c Test: captcha
5 years ago
HFO4 9660d2f9c1 Feat: captcha config
5 years ago
HFO4 7d4e212d4e Feat: captcha
5 years ago
HFO4 c8c85501e4 Test: middleware/auth
5 years ago
HFO4 589c399488 Feat: User/Me
5 years ago
HFO4 6f96018223 Feat: User login
5 years ago
HFO4 943c84320c Feat: Setting model
5 years ago
HFO4 f453b3e918 Fix: rand seeding error / Test: conf/version and util
5 years ago
HFO4 3ed1a5dc43 Add: default settings rows in migration
5 years ago
HFO4 e858cbe2cf Feat: Decide whether to do database migration based on `version.lock`
5 years ago
HFO4 c5493fd1f1 Delete temp test file when exist
5 years ago
HFO4 ec7ab83d7c Test: conf
5 years ago
HFO4 53da4655ad Reading config file
5 years ago
HFO4 aca8bde521 User model/migrations and gorm init
5 years ago
HFO4 2c9e0c1119 Testing for controller/main.go
5 years ago