Commit Graph
50 Commits
Author SHA1 Message Date
heimoshuiyu 73da4f8dc5 fix postgres unique constraint 2022-11-04 20:17:46 +08:00
heimoshuiyu 89ff2bf452 fix postgres ILIKE 2022-11-04 20:06:00 +08:00
heimoshuiyu 977b3e02e9 backend support record playback history 2022-11-04 18:39:24 +08:00
heimoshuiyu a6d82c1f47 migrate to postgres 2022-11-04 17:42:46 +08:00
heimoshuiyu b808d4be99 wrap walk sql into transaction improve performance 2022-11-04 15:55:13 +08:00
heimoshuiyu 857a5e9dd9 support /v1/get_files_in_folder return folder path 2022-11-03 01:21:25 +08:00
heimoshuiyu ff85724982 change bcrypt to MinCost 2022-07-20 19:43:38 +08:00
heimoshuiyu ad388cf83b format code with gofmt 2022-07-20 18:16:44 +08:00
heimoshuiyu 881334cccb add password encrypt with bcrytp 2022-07-20 18:16:05 +08:00
heimoshuiyu 359416ea44 Add: support reset foldername 2022-01-03 17:19:15 +08:00
heimoshuiyu d6f9a03786 SQL ORDER and IGNORE tag exists 2021-12-16 22:34:18 +08:00
heimoshuiyu 214ad6c285 Add: support reset filename 2021-12-16 13:22:18 +08:00
heimoshuiyu 7efde3cf6f Add: support change filename
Fix: path method use realname
2021-12-16 13:22:10 +08:00
heimoshuiyu 435e3605f7 Add: support delete file 2021-12-16 12:03:05 +08:00
heimoshuiyu 6fdd0d2a9e Fix: insert or replace file_has_tag when it exists 2021-12-16 01:53:46 +08:00
heimoshuiyu 73828c547c Add: support config single thread 2021-12-15 09:11:03 +08:00
heimoshuiyu 97083114fb Add: singleThreadLock for sqlite performance, and change Db.Tag method 2021-12-15 02:53:41 +08:00
heimoshuiyu 83ab1a91b2 Add: support delete tag and its references 2021-12-14 00:33:31 +08:00
heimoshuiyu 28127f6138 Add: support delete feedback 2021-12-13 23:23:57 +08:00
heimoshuiyu 0c9048072f Add: support feedback 2021-12-13 23:18:46 +08:00
heimoshuiyu 1b0688e523 Add: User can change their password 2021-12-13 16:18:02 +08:00
heimoshuiyu f1e8dcfad4 Add: handle not active user 2021-12-13 14:28:24 +08:00
heimoshuiyu ab67575976 Add: set user acitve 2021-12-13 14:20:36 +08:00
heimoshuiyu adee9bcb65 Simplify: register not return user object 2021-12-13 13:47:02 +08:00
heimoshuiyu d7ca68aad1 Add: support insert active user 2021-12-13 13:43:09 +08:00
heimoshuiyu a826e4bf29 Add: support walk database with tags 2021-12-13 13:24:25 +08:00
heimoshuiyu d4718ac120 Add: support select ramdom files by tag 2021-12-13 07:07:43 +08:00
heimoshuiyu 164dd0f282 Add: show reviews created by user 2021-12-13 06:18:14 +08:00
heimoshuiyu f32c922faf Add: delete review 2021-12-13 05:52:10 +08:00
heimoshuiyu 80462efebc Add: modify review 2021-12-13 05:27:12 +08:00
heimoshuiyu 12739be2f5 Add: get reviews and fix bug 2021-12-13 04:47:00 +08:00
heimoshuiyu 6b8bfedb9b Add: insert review 2021-12-13 04:17:00 +08:00
heimoshuiyu e87b4823d9 Add: update foldername 2021-12-13 03:43:09 +08:00
heimoshuiyu 93a0fe7a31 Add: delete tag on file 2021-12-12 17:39:08 +08:00
heimoshuiyu 2c802ca807 Add: put tag on file 2021-12-12 17:19:14 +08:00
heimoshuiyu dfc0b43bdd Finished: tag 2021-12-12 15:41:33 +08:00
heimoshuiyu 5a68cea2f3 Add: tag created_by_user_id column 2021-12-12 15:16:02 +08:00
heimoshuiyu af444f0bbb Add: update tag info 2021-12-12 13:02:10 +08:00
heimoshuiyu 1bbcecfb2e Add: simple get tags and create tag 2021-12-12 03:23:21 +08:00
heimoshuiyu b96daa07c6 Change: Update Database auth to user method 2021-12-12 01:57:54 +08:00
heimoshuiyu e608a6b1df Add: backend session support and bug fix 2021-12-12 01:14:42 +08:00
heimoshuiyu f3a95973e9 Add: Simple user login/register function 2021-12-11 18:47:25 +08:00
heimoshuiyu c580ca245f Merge branch 'master' into dbms 2021-12-11 00:46:38 +08:00
heimoshuiyu fdd41397bf Update: skip file when exists in database 2021-12-10 20:46:26 +08:00
heimoshuiyu 83f2b76cbc Re-struct pkg/api, pkg/database 2021-12-10 15:17:50 +08:00
heimoshuiyu 05a569e395 Fix: feedbacks's column header 2021-12-09 11:21:23 +08:00
heimoshuiyu 2d7ac69db5 Update: init SQL feedbacks tags tmpfs 2021-12-07 14:15:46 +08:00
heimoshuiyu 47a60ae671 Fix: SQL init user avatar 2021-12-07 10:42:18 +08:00
heimoshuiyu ca8b6cb893 Add SQL create table statement 2021-12-07 10:26:50 +08:00
heimoshuiyu 258bf9869f Re-struct pkg/api, pkg/database 2021-12-07 00:25:18 +08:00