Commit graph

338 commits

Author SHA1 Message Date
HFO4
e09294d388 Feat: insert file record to database 2019-11-20 15:24:26 +08:00
HFO4
e835dafc88 Feat: colorful log output for log prefix 2019-11-20 12:39:27 +08:00
HFO4
f9b37a3359 Fix: test failed due to missing context 2019-11-19 18:10:18 +08:00
HFO4
20ea86eaf6 Fix: test failed due to Policy.AutoName 2019-11-19 17:20:59 +08:00
HFO4
88a543ef74 Feat: {path} marker in name rule representing the virtual path of the file 2019-11-19 16:42:36 +08:00
HFO4
2e9f256462 Feat: after uploading finished hook 2019-11-18 19:32:06 +08:00
HFO4
aa17aa8e6a Feat: after uploading hooks and checks 2019-11-18 19:09:56 +08:00
HFO4
0dddc12609 Modify: check whether file exist before deleting unfinished uploading 2019-11-18 18:29:37 +08:00
HFO4
5f7ece6d82 Fix: filepath.Dir behaves differently between, result in failed uint test 2019-11-18 14:08:27 +08:00
HFO4
631c23f065 Feat: recycling file storage and user capacity when uploading canceled 2019-11-18 14:06:15 +08:00
HFO4
160f964564 Feat: use goroutine to detect upload-canceling action / Object name validate 2019-11-18 13:26:32 +08:00
HFO4
331931e539 Fix: permission error 2019-11-17 20:30:25 +08:00
HFO4
861ba77b04 Feat: stream uploading 2019-11-17 19:12:10 +08:00
HFO4
5aa61301af Fix: letter case should be ignored while validating file extension 2019-11-17 14:35:28 +08:00
HFO4
3741da692b Test: filesystem/local & filesystem/validator 2019-11-17 14:33:00 +08:00
HFO4
99e7eecab7 Feat: file upload handler 2019-11-17 13:50:14 +08:00
HFO4
841832bb65 Add: context 2019-11-16 20:31:34 +08:00
HFO4
f46b52b6ba Feat: support sqlite 2019-11-16 16:49:03 +08:00
HFO4
e05ba1030c Modify: package name 2019-11-16 16:11:37 +08:00
HFO4
79caf635f9 Feat: basic file validator 2019-11-16 16:05:10 +08:00
HFO4
003274162b Add: filesystem 2019-11-16 13:37:42 +08:00
HFO4
d86a3533ca Add: route for uploading file 2019-11-15 18:12:34 +08:00
HFO4
4309653160 Feat: model/policy 2019-11-14 14:18:10 +08:00
HFO4
41e0dec74c Test: captcha 2019-11-13 18:34:29 +08:00
HFO4
9660d2f9c1 Feat: captcha config 2019-11-13 17:22:45 +08:00
HFO4
7d4e212d4e Feat: captcha 2019-11-13 17:03:55 +08:00
HFO4
c8c85501e4 Test: middleware/auth 2019-11-12 16:18:58 +08:00
HFO4
589c399488 Feat: User/Me 2019-11-12 15:34:54 +08:00
HFO4
6f96018223 Feat: User login 2019-11-11 19:13:17 +08:00
HFO4
943c84320c Feat: Setting model 2019-11-10 17:07:35 +08:00
HFO4
f453b3e918 Fix: rand seeding error / Test: conf/version and util 2019-11-09 19:47:26 +08:00
HFO4
3ed1a5dc43 Add: default settings rows in migration 2019-11-09 19:27:47 +08:00
HFO4
e858cbe2cf Feat: Decide whether to do database migration based on version.lock 2019-11-09 19:04:48 +08:00
HFO4
c5493fd1f1 Delete temp test file when exist 2019-11-09 18:09:32 +08:00
HFO4
ec7ab83d7c Test: conf 2019-11-09 18:06:29 +08:00
HFO4
53da4655ad Reading config file 2019-11-08 18:29:12 +08:00
HFO4
aca8bde521 User model/migrations and gorm init 2019-11-07 15:56:05 +08:00
HFO4
2c9e0c1119 Testing for controller/main.go 2019-11-06 22:35:31 +08:00