Commit Graph
100 Commits
Author SHA1 Message Date
xjasonlyu 88a5af6f14 disable DB_AUTO_MIGRATE by default 2022-05-23 20:36:26 +08:00
xjasonlyu b43fa6152f remove unused code 2022-05-23 20:33:18 +08:00
xjasonlyu 3b2a9395df remove v from version 2022-05-23 20:31:33 +08:00
xjasonlyu 72d7fcc601 remove useless struct 2022-05-23 20:23:23 +08:00
xjasonlyu 8c3f4d705a minor comment 2022-05-23 20:23:14 +08:00
xjasonlyu 662e01d9f8 refactor main 2022-05-23 20:21:17 +08:00
xjasonlyu f68ef45e39 database module 2022-05-23 14:05:41 +08:00
xjasonlyu 21f76ebbc1 engine provider init 2022-05-23 12:46:12 +08:00
xjasonlyu a09dcbba15 divide models 2022-05-22 22:51:04 +08:00
xjasonlyu f6e0efe0d5 fanza: sort=ranking 2022-05-22 22:39:16 +08:00
xjasonlyu 9c0bab4691 do not upper 2022-05-22 22:37:33 +08:00
xjasonlyu 17496c1944 fanza > prestige = sod > mgs 2022-05-22 21:39:17 +08:00
xjasonlyu 105fca532f disable prepared statement 2022-05-22 21:15:13 +08:00
xjasonlyu 022f9bd489 support postgres:// schema 2022-05-22 21:11:25 +08:00
Jason Lyu ca55d714c9 License: GPL-3.0 2022-05-22 16:59:27 +08:00
xjasonlyu e6b5b62120 go mod update 2022-05-22 16:47:39 +08:00
xjasonlyu b0fc8c6f23 adjust image sending 2022-05-22 16:41:15 +08:00
xjasonlyu b09a31afb2 statusMessage 2022-05-22 12:10:16 +08:00
xjasonlyu 0fe6845c30 support abortWithError 2022-05-22 11:13:01 +08:00
xjasonlyu a0af636958 default to right 2022-05-22 10:57:59 +08:00
xjasonlyu 58be5addba add release.yml 2022-05-22 10:56:30 +08:00
xjasonlyu 5deebb54d1 use struct message 2022-05-22 00:57:38 +08:00
xjasonlyu 6df7a039da disable codeQL on push 2022-05-21 23:45:01 +08:00
xjasonlyu 6400bb337f support version 2022-05-21 23:39:14 +08:00
xjasonlyu ea644fa573 adjust maxsize 2022-05-21 23:13:25 +08:00
xjasonlyu dfe4f30fe9 to constant 2022-05-21 23:08:29 +08:00
xjasonlyu 4da377f633 add docker.yml 2022-05-21 22:35:53 +08:00
xjasonlyu eac93c83c7 update build chain 2022-05-21 22:27:08 +08:00
xjasonlyu 935c4df6d7 fix lint by using := style 2022-05-21 22:11:35 +08:00
xjasonlyu 916b2f63dc fix lint 2022-05-21 22:09:51 +08:00
xjasonlyu a4a812764b fix import order 2022-05-21 22:04:34 +08:00
xjasonlyu efa7e74894 fix lint 2022-05-21 21:43:55 +08:00
xjasonlyu b64ed9bdb1 add makefile 2022-05-21 21:26:10 +08:00
xjasonlyu 73f6a358a9 As ENTRYPOINT 2022-05-21 21:16:05 +08:00
xjasonlyu 38d1c81154 const table name 2022-05-21 21:15:55 +08:00
xjasonlyu 2c0e8d72ea use pure-go sqlite driver 2022-05-21 18:41:04 +08:00
xjasonlyu f84890003a disable CGO 2022-05-21 18:25:26 +08:00
xjasonlyu 705ab9b8f8 go mod update 2022-05-21 18:03:22 +08:00
xjasonlyu 2f06ef0188 main server 2022-05-21 17:49:55 +08:00
xjasonlyu 9138e7fddc Add workflows 2022-05-21 16:05:47 +08:00
xjasonlyu 4c54cfdfa1 update AutoMigrate 2022-05-21 15:48:31 +08:00
xjasonlyu 0feebeddab customize db log 2022-05-21 15:42:28 +08:00
xjasonlyu 1264cf3d1e rename to define 2022-05-21 15:31:17 +08:00
xjasonlyu a7be628a7d update dockerfile 2022-05-21 15:21:57 +08:00
xjasonlyu 26a5c8acbc Add Dockerfile 2022-05-21 15:16:19 +08:00
xjasonlyu 26fb5df8fe move ratio consts to internal 2022-05-21 15:12:39 +08:00
xjasonlyu 8fe2d2334b fix route 2022-05-21 12:31:27 +08:00
xjasonlyu adf60ac526 refactor auth 2022-05-21 12:29:25 +08:00
xjasonlyu ae866968c9 add auto option 2022-05-21 12:12:40 +08:00
xjasonlyu 2b8b8e374f reorder 2022-05-21 12:11:47 +08:00
xjasonlyu dc21b0c5e9 add oe param 2022-05-21 01:41:26 +08:00
xjasonlyu f2ab8c8242 default jpeg quality: 95 2022-05-21 00:36:29 +08:00
xjasonlyu f34db87ca7 done image 2022-05-21 00:22:26 +08:00
xjasonlyu 94884b3f51 to model/ratio 2022-05-21 00:04:30 +08:00
xjasonlyu dd890c3781 support primary pos 2022-05-20 23:28:11 +08:00
xjasonlyu 2624ef2aea support translate 2022-05-20 22:51:47 +08:00
xjasonlyu 64215de196 type assert 2022-05-20 22:49:46 +08:00
xjasonlyu a83ee22cde add auth 2022-05-20 22:16:04 +08:00
xjasonlyu ef5df52168 minor update 2022-05-20 21:45:36 +08:00
xjasonlyu 5b1a12d5c2 adjust lazy logic 2022-05-20 21:42:17 +08:00
xjasonlyu 8b863f6fd9 use Update 2022-05-20 21:27:31 +08:00
xjasonlyu c034c12d83 Add search 2022-05-20 21:27:25 +08:00
xjasonlyu 90c8d01c4b Add info 2022-05-20 21:09:30 +08:00
xjasonlyu 1b74911445 add IS check method 2022-05-20 18:58:46 +08:00
xjasonlyu 7853736fdc improve num 2022-05-20 18:49:57 +08:00
xjasonlyu 5c9b995f7b update go mod 2022-05-20 18:44:13 +08:00
xjasonlyu e987628c71 add route and server 2022-05-20 18:42:47 +08:00
xjasonlyu a9c6afe376 Add table name 2022-05-20 15:33:45 +08:00
xjasonlyu 531733865e minor rename 2022-05-20 15:29:27 +08:00
xjasonlyu 3fc21af959 improve translate 2022-05-20 15:10:17 +08:00
xjasonlyu 417a2c517e support with query 2022-05-20 15:00:38 +08:00
xjasonlyu 53926aaeb4 Add translate module 2022-05-20 15:00:07 +08:00
xjasonlyu 36c4c4e099 case insensitive provider name 2022-05-20 12:43:55 +08:00
xjasonlyu 32c8542e03 add PreviewVideoHLSURL 2022-05-20 01:33:41 +08:00
xjasonlyu ae757d1e00 restrict heydouga id format 2022-05-19 23:48:57 +08:00
xjasonlyu aec8372a5f disable auto face cut for actor images 2022-05-19 23:34:04 +08:00
xjasonlyu 6f2bd85db0 fix id match 2022-05-19 23:12:18 +08:00
xjasonlyu aa08cbd415 Add engine image part 2022-05-19 22:40:50 +08:00
xjasonlyu 6e9db7a840 add an extra comment 2022-05-19 22:02:54 +08:00
xjasonlyu 9d555bcd04 use func call to get provider 2022-05-19 19:19:23 +08:00
xjasonlyu b3f3f94c2d Add hls sample video url 2022-05-19 17:43:42 +08:00
xjasonlyu e5c86c33bc use PreviewVideoHLSURL for m3u8 samples 2022-05-19 17:24:47 +08:00
xjasonlyu 0ec7262206 import heydouga 2022-05-19 17:12:59 +08:00
xjasonlyu 3675b44524 Add heydouga 2022-05-19 17:10:40 +08:00
xjasonlyu d0a7711076 use strict id match 2022-05-19 17:01:19 +08:00
xjasonlyu 824359e65c import xxx-av 2022-05-19 15:59:03 +08:00
xjasonlyu 6eca3f1003 adjust test cases 2022-05-19 14:39:44 +08:00
xjasonlyu 644c629562 Add XXX-AV 2022-05-19 14:38:00 +08:00
xjasonlyu c5a6a29516 retryable fetch 2022-05-19 12:25:19 +08:00
xjasonlyu 38d0a93583 import AVE 2022-05-19 01:56:19 +08:00
xjasonlyu 9361c143c0 add test cases 2022-05-19 01:54:59 +08:00
xjasonlyu 3c29d809f4 use ParseTexts 2022-05-18 23:54:48 +08:00
xjasonlyu ccda299126 just big thumb 2022-05-18 23:48:26 +08:00
xjasonlyu 26947f1f1e refactor fields 2022-05-18 23:34:57 +08:00
xjasonlyu 6f939892bf refactor fields 2022-05-18 23:32:08 +08:00
xjasonlyu f33214cf4d big thumb & cover 2022-05-18 23:27:55 +08:00
xjasonlyu ca0b25e1bb use big thumb 2022-05-18 22:59:34 +08:00
xjasonlyu 6421cfe8bb minor rename 2022-05-18 22:19:23 +08:00
xjasonlyu 88f7e5d3f6 add PreviewVideoURL 2022-05-18 18:46:47 +08:00
xjasonlyu a5922918a5 Add AVEntertainments 2022-05-18 17:14:46 +08:00