├── .htaccess ├── public ├── .gitignore ├── favicon.ico ├── images │ ├── home.png │ ├── logo.png │ ├── captcha.jpg │ └── icon-login.png ├── lib │ ├── layui-v2.5.7 │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 8.gif │ │ │ │ ├── 9.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 70.gif │ │ │ │ └── 71.gif │ │ └── css │ │ │ └── modules │ │ │ └── layer │ │ │ └── default │ │ │ ├── icon.png │ │ │ ├── icon-ext.png │ │ │ ├── loading-0.gif │ │ │ ├── loading-1.gif │ │ │ └── loading-2.gif │ └── font-awesome-4.7.0 │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ ├── screen-reader.less │ │ ├── fixed-width.less │ │ ├── larger.less │ │ ├── list.less │ │ ├── core.less │ │ ├── stacked.less │ │ ├── font-awesome.less │ │ ├── bordered-pulled.less │ │ ├── rotated-flipped.less │ │ ├── path.less │ │ └── animated.less │ │ ├── scss │ │ ├── _fixed-width.scss │ │ ├── _screen-reader.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _core.scss │ │ ├── font-awesome.scss │ │ ├── _stacked.scss │ │ ├── _bordered-pulled.scss │ │ ├── _rotated-flipped.scss │ │ ├── _path.scss │ │ └── _animated.scss │ │ └── HELP-US-OUT.txt ├── .gitattributes ├── js │ └── lay-module │ │ ├── wangEditor │ │ └── fonts │ │ │ └── w-e-icon.woff │ │ └── treetable-lay │ │ └── treetable.css ├── api │ └── upload.json └── 404.html ├── .dockerignore ├── bin ├── .gitignore ├── iyuu.php ├── move.php ├── rss.php └── spiders.php ├── src ├── .gitignore ├── Plugins │ └── .gitignore ├── Spiders │ ├── byr.php │ ├── beitai.php │ ├── hdarea.php │ ├── hdbd.php │ ├── hdfans.php │ ├── hdhome.php │ ├── hdtime.php │ ├── hdzone.php │ ├── hitpt.php │ ├── joyhd.php │ ├── nicept.php │ ├── npupt.php │ ├── opencd.php │ ├── oshen.php │ ├── pthome.php │ ├── ptmsg.php │ ├── ptsbao.php │ ├── pttime.php │ ├── upxin.php │ ├── discfan.php │ ├── dragonhd.php │ ├── eastgame.php │ ├── hd4fans.php │ ├── hdatmos.php │ ├── hddolby.php │ ├── keepfrds.php │ ├── site52pt.php │ ├── soulvoice.php │ ├── torrentccf.php │ ├── tjupt.php │ └── ssd.php ├── Notify │ └── INotify.php ├── Rss │ ├── dmhy.php │ ├── hdai.php │ ├── ssd.php │ ├── hitpt.php │ ├── joyhd.php │ ├── npupt.php │ ├── oshen.php │ ├── ptba.php │ ├── pter.php │ ├── ptmsg.php │ ├── tjupt.php │ ├── upxin.php │ ├── beitai.php │ ├── haidan.php │ ├── hdarea.php │ ├── hdfans.php │ ├── hdtime.php │ ├── hdzone.php │ ├── nicept.php │ ├── opencd.php │ ├── ptsbao.php │ ├── pttime.php │ ├── site52pt.php │ ├── chdbits.php │ ├── discfan.php │ ├── dragonhd.php │ ├── hd4fans.php │ ├── hdatmos.php │ ├── hdchina.php │ ├── ourbits.php │ ├── btschool.php │ ├── eastgame.php │ ├── keepfrds.php │ ├── leaguehd.php │ ├── nanyangpt.php │ ├── soulvoice.php │ ├── torrentccf.php │ ├── hdsky.php │ ├── hdcity.php │ ├── mteam.php │ ├── yingk.php │ ├── pthome.php │ └── hddolby.php └── Reseed │ ├── Events │ ├── SupportSitesSuccessEvent.php │ └── ClientLinkSuccessEvent.php │ └── Listener │ ├── ClientLinkSuccessListener.php │ ├── ClientHashSuccessListener.php │ ├── InfoHashResponseListener.php │ └── SupportSitesSuccessListener.php ├── nssm ├── win32 │ ├── install.cmd │ ├── remove.cmd │ └── nssm.exe └── win64 │ ├── install.cmd │ ├── remove.cmd │ └── nssm.exe ├── runtime ├── logs │ └── .gitignore ├── views │ └── .gitignore └── .gitignore ├── windows.bat ├── vendor ├── nikic │ └── fast-route │ │ ├── .hhconfig │ │ ├── .gitignore │ │ ├── src │ │ ├── BadRouteException.php │ │ ├── bootstrap.php │ │ ├── Dispatcher.php │ │ ├── DataGenerator │ │ │ ├── GroupPosBased.php │ │ │ └── MarkBased.php │ │ ├── DataGenerator.php │ │ └── Dispatcher │ │ │ └── MarkBased.php │ │ ├── .travis.yml │ │ ├── test │ │ ├── HackTypechecker │ │ │ └── fixtures │ │ │ │ ├── no_options.php │ │ │ │ └── empty_options.php │ │ ├── Dispatcher │ │ │ ├── GroupPosBasedTest.php │ │ │ ├── CharCountBasedTest.php │ │ │ ├── GroupCountBasedTest.php │ │ │ └── MarkBasedTest.php │ │ └── bootstrap.php │ │ ├── composer.json │ │ └── phpunit.xml ├── psr │ ├── container │ │ ├── .gitignore │ │ ├── src │ │ │ ├── NotFoundExceptionInterface.php │ │ │ └── ContainerExceptionInterface.php │ │ ├── README.md │ │ └── composer.json │ └── log │ │ ├── Psr │ │ └── Log │ │ │ ├── InvalidArgumentException.php │ │ │ ├── Test │ │ │ └── DummyTest.php │ │ │ ├── LoggerAwareInterface.php │ │ │ ├── LogLevel.php │ │ │ ├── LoggerAwareTrait.php │ │ │ └── NullLogger.php │ │ └── composer.json ├── symfony │ ├── deprecation-contracts │ │ ├── .gitignore │ │ └── CHANGELOG.md │ ├── console │ │ ├── Resources │ │ │ └── bin │ │ │ │ └── hiddeninput.exe │ │ ├── Exception │ │ │ ├── LogicException.php │ │ │ ├── RuntimeException.php │ │ │ ├── ExceptionInterface.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── NamespaceNotFoundException.php │ │ │ ├── MissingInputException.php │ │ │ └── InvalidOptionException.php │ │ ├── Helper │ │ │ ├── TableSeparator.php │ │ │ ├── TableRows.php │ │ │ └── InputAwareHelper.php │ │ ├── Descriptor │ │ │ └── DescriptorInterface.php │ │ ├── Input │ │ │ └── InputAwareInterface.php │ │ ├── Formatter │ │ │ └── WrappableOutputFormatterInterface.php │ │ ├── Command │ │ │ └── SignalableCommandInterface.php │ │ └── Completion │ │ │ ├── Output │ │ │ └── CompletionOutputInterface.php │ │ │ └── Suggestion.php │ ├── service-contracts │ │ └── README.md │ ├── polyfill-ctype │ │ └── README.md │ ├── polyfill-php80 │ │ └── Resources │ │ │ └── stubs │ │ │ ├── ValueError.php │ │ │ ├── UnhandledMatchError.php │ │ │ ├── PhpToken.php │ │ │ ├── Stringable.php │ │ │ └── Attribute.php │ ├── polyfill-php73 │ │ ├── Resources │ │ │ └── stubs │ │ │ │ └── JsonException.php │ │ └── README.md │ ├── string │ │ ├── Exception │ │ │ ├── ExceptionInterface.php │ │ │ ├── RuntimeException.php │ │ │ └── InvalidArgumentException.php │ │ ├── README.md │ │ └── Slugger │ │ │ └── SluggerInterface.php │ ├── polyfill-mbstring │ │ └── README.md │ └── polyfill-intl-normalizer │ │ ├── README.md │ │ ├── Resources │ │ └── stubs │ │ │ └── Normalizer.php │ │ ├── bootstrap80.php │ │ └── bootstrap.php ├── webman │ ├── console │ │ ├── .gitignore │ │ └── README.md │ └── event │ │ ├── README.md │ │ ├── src │ │ └── config │ │ │ └── plugin │ │ │ └── webman │ │ │ └── event │ │ │ ├── app.php │ │ │ ├── command.php │ │ │ └── bootstrap.php │ │ └── composer.json ├── workerman │ ├── webman-framework │ │ ├── .gitignore │ │ ├── README.md │ │ └── src │ │ │ ├── support │ │ │ ├── Request.php │ │ │ ├── Context.php │ │ │ └── Response.php │ │ │ ├── Exception │ │ │ ├── FileException.php │ │ │ └── NotFoundException.php │ │ │ ├── Session │ │ │ ├── RedisClusterSessionHandler.php │ │ │ ├── FileSessionHandler.php │ │ │ └── RedisSessionHandler.php │ │ │ ├── Bootstrap.php │ │ │ ├── FileSessionHandler.php │ │ │ └── View.php │ ├── workerman │ │ ├── .gitignore │ │ ├── .github │ │ │ └── FUNDING.yml │ │ ├── Lib │ │ │ └── Timer.php │ │ └── Events │ │ │ └── React │ │ │ ├── ExtEventLoop.php │ │ │ ├── StreamSelectLoop.php │ │ │ └── ExtLibEventLoop.php │ └── crontab │ │ ├── example │ │ └── test.php │ │ └── README.md ├── ledccn │ └── bittorrentclient │ │ ├── .gitignore │ │ ├── src │ │ ├── ClientException.php │ │ ├── transmission │ │ │ └── config.json │ │ └── qBittorrent │ │ │ └── config.json │ │ ├── readme.md │ │ └── composer.json ├── rhilip │ └── bencode │ │ ├── .gitignore │ │ ├── src │ │ └── ParseException.php │ │ ├── tests │ │ ├── asserts │ │ │ ├── v1-multi.torrent │ │ │ ├── v1-single.torrent │ │ │ ├── v2-multi.torrent │ │ │ ├── v2-single.torrent │ │ │ ├── hybrid-multi.torrent │ │ │ └── hybrid-single.torrent │ │ ├── traits │ │ │ └── TorrentFileV1Trait.php │ │ ├── TorrentHybridMultiTest.php │ │ ├── TorrentHybridSingleTest.php │ │ ├── TorrentV1SingleTest.php │ │ ├── TorrentV2MultiTest.php │ │ └── TorrentV2SingleTest.php │ │ ├── .github │ │ └── dependabot.yml │ │ ├── phpunit.xml │ │ └── composer.json ├── vlucas │ └── phpdotenv │ │ ├── src │ │ ├── Exception │ │ │ ├── ExceptionInterface.php │ │ │ ├── ValidationException.php │ │ │ ├── InvalidFileException.php │ │ │ ├── InvalidPathException.php │ │ │ └── InvalidEncodingException.php │ │ ├── Repository │ │ │ └── Adapter │ │ │ │ ├── ReaderInterface.php │ │ │ │ ├── AdapterInterface.php │ │ │ │ └── WriterInterface.php │ │ ├── Store │ │ │ ├── StoreInterface.php │ │ │ └── StringStore.php │ │ ├── Parser │ │ │ └── ParserInterface.php │ │ └── Loader │ │ │ └── LoaderInterface.php │ │ └── phpstan.src.neon.dist ├── doctrine │ └── inflector │ │ ├── lib │ │ └── Doctrine │ │ │ └── Inflector │ │ │ ├── WordInflector.php │ │ │ ├── NoopWordInflector.php │ │ │ ├── Rules │ │ │ ├── Word.php │ │ │ ├── French │ │ │ │ ├── InflectorFactory.php │ │ │ │ └── Uninflected.php │ │ │ ├── English │ │ │ │ └── InflectorFactory.php │ │ │ ├── Spanish │ │ │ │ ├── InflectorFactory.php │ │ │ │ └── Uninflected.php │ │ │ ├── Turkish │ │ │ │ ├── InflectorFactory.php │ │ │ │ └── Uninflected.php │ │ │ ├── Portuguese │ │ │ │ ├── InflectorFactory.php │ │ │ │ └── Uninflected.php │ │ │ ├── NorwegianBokmal │ │ │ │ ├── InflectorFactory.php │ │ │ │ └── Uninflected.php │ │ │ ├── Substitution.php │ │ │ ├── Transformations.php │ │ │ └── Patterns.php │ │ │ ├── Language.php │ │ │ └── CachedWordInflector.php │ │ └── README.md ├── composer │ └── autoload_namespaces.php ├── curl │ └── curl │ │ └── .php-cs-fixer.dist.php ├── monolog │ └── monolog │ │ └── src │ │ └── Monolog │ │ ├── Handler │ │ ├── MissingExtensionException.php │ │ ├── WebRequestRecognizerTrait.php │ │ └── FingersCrossed │ │ │ └── ActivationStrategyInterface.php │ │ └── Processor │ │ ├── ProcessIdProcessor.php │ │ └── ProcessorInterface.php └── autoload.php ├── config ├── plugin │ └── webman │ │ └── event │ │ ├── app.php │ │ ├── command.php │ │ └── bootstrap.php ├── event.php ├── middleware.php ├── app.php ├── dependence.php ├── container.php ├── bootstrap.php ├── exception.php ├── route.php ├── view.php ├── static.php ├── autoload.php ├── server.php ├── translation.php └── redis.php ├── windows7_start.cmd ├── docker ├── push.sh ├── build.amd64.sh ├── build.arm64.sh ├── build.n1.sh └── example.sh ├── start.php ├── gg.sh ├── .gitignore ├── app ├── domain │ ├── CommandInterface.php │ ├── ConfigParserInterface.php │ ├── Command │ │ ├── rss.php │ │ ├── move.php │ │ ├── reseed.php │ │ └── spiders.php │ └── Command.php ├── common │ ├── exception │ │ └── BusinessException.php │ └── event │ │ ├── EventListenerInterface.php │ │ └── StoppableEventInterface.php ├── view │ └── index │ │ └── view.html ├── model │ └── Test.php └── controller │ └── BaseController.php ├── .env.example ├── docs └── help.md ├── todo.md └── support ├── Request.php └── Response.php /.htaccess: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | * 3 | -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- 1 | !.gitignore 2 | -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | !.gitignore 2 | -------------------------------------------------------------------------------- /nssm/win32/install.cmd: -------------------------------------------------------------------------------- 1 | nssm install IYUUPlus -------------------------------------------------------------------------------- /nssm/win64/install.cmd: -------------------------------------------------------------------------------- 1 | nssm install IYUUPlus -------------------------------------------------------------------------------- /runtime/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /runtime/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /src/Plugins/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /windows.bat: -------------------------------------------------------------------------------- 1 | CHCP 65001 2 | php windows.php 3 | pause -------------------------------------------------------------------------------- /vendor/nikic/fast-route/.hhconfig: -------------------------------------------------------------------------------- 1 | assume_php=false 2 | -------------------------------------------------------------------------------- /runtime/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !logs 3 | !views 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /nssm/win32/remove.cmd: -------------------------------------------------------------------------------- 1 | nssm stop IYUUPlus 2 | nssm remove IYUUPlus -------------------------------------------------------------------------------- /nssm/win64/remove.cmd: -------------------------------------------------------------------------------- 1 | nssm stop IYUUPlus 2 | nssm remove IYUUPlus -------------------------------------------------------------------------------- /vendor/psr/container/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | composer.phar 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /config/plugin/webman/event/app.php: -------------------------------------------------------------------------------- 1 | true, 4 | ]; -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /windows7_start.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/windows7_start.cmd -------------------------------------------------------------------------------- /nssm/win32/nssm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/nssm/win32/nssm.exe -------------------------------------------------------------------------------- /nssm/win64/nssm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/nssm/win64/nssm.exe -------------------------------------------------------------------------------- /vendor/symfony/deprecation-contracts/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /public/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/images/home.png -------------------------------------------------------------------------------- /public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/images/logo.png -------------------------------------------------------------------------------- /public/images/captcha.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/images/captcha.jpg -------------------------------------------------------------------------------- /vendor/webman/console/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | vendor 3 | .idea 4 | .vscode 5 | .phpunit* 6 | composer.lock -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | vendor/ 4 | .idea 5 | .idea/ -------------------------------------------------------------------------------- /public/images/icon-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/images/icon-login.png -------------------------------------------------------------------------------- /src/Spiders/byr.php: -------------------------------------------------------------------------------- 1 | true, 4 | ]; -------------------------------------------------------------------------------- /vendor/workerman/workerman/.gitignore: -------------------------------------------------------------------------------- 1 | logs 2 | .buildpath 3 | .project 4 | .settings 5 | .idea 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /docker/push.sh: -------------------------------------------------------------------------------- 1 | docker image tag iyuuplus:arm64v8 iyuucn/iyuuplus:arm64v8 2 | docker image push iyuucn/iyuuplus:arm64v8 -------------------------------------------------------------------------------- /src/Spiders/discfan.php: -------------------------------------------------------------------------------- 1 | [ 7 | app\middleware\AuthCheck::class, 8 | ] 9 | ]; 10 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/asserts/hybrid-multi.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/vendor/rhilip/bencode/tests/asserts/hybrid-multi.torrent -------------------------------------------------------------------------------- /public/lib/layui-v2.5.7/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/public/lib/layui-v2.5.7/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/asserts/hybrid-single.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledccn/IYUUPlus/HEAD/vendor/rhilip/bencode/tests/asserts/hybrid-single.torrent -------------------------------------------------------------------------------- /vendor/webman/event/src/config/plugin/webman/event/command.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 404 Not Found - webman 4 | 5 | 6 |
7 |

404 Not Found

8 |
9 |
10 |
webman
11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/curl/curl/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/README.md: -------------------------------------------------------------------------------- 1 | # webman-framework 2 | Note: This repository is the core code of the webman framework. If you want to build an application using webman, visit the main [webman](https://github.com/walkor/webman) repository. 3 | 4 | ## LICENSE 5 | MIT 6 | -------------------------------------------------------------------------------- /vendor/webman/event/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webman/event", 3 | "type": "library", 4 | "license": "MIT", 5 | "description": "Webman event plugin", 6 | "require": { 7 | }, 8 | "autoload": { 9 | "psr-4": { 10 | "Webman\\Event\\": "src" 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /app/domain/ConfigParserInterface.php: -------------------------------------------------------------------------------- 1 | '); 11 | /** 12 | * H&R 标志 13 | */ 14 | public static $HR = array('class="hitandrun"', 'alt="H&R"', 'title="H&R"'); 15 | } 16 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/Test/DummyTest.php: -------------------------------------------------------------------------------- 1 | {}); 7 | } 8 | 9 | function no_options_cached(): \FastRoute\Dispatcher { 10 | return \FastRoute\cachedDispatcher($collector ==> {}); 11 | } 12 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ./src 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /bin/iyuu.php: -------------------------------------------------------------------------------- 1 | {}, shape()); 7 | } 8 | 9 | function empty_options_cached(): \FastRoute\Dispatcher { 10 | return \FastRoute\cachedDispatcher($collector ==> {}, shape()); 11 | } 12 | -------------------------------------------------------------------------------- /vendor/symfony/service-contracts/README.md: -------------------------------------------------------------------------------- 1 | Symfony Service Contracts 2 | ========================= 3 | 4 | A set of abstractions extracted out of the Symfony components. 5 | 6 | Can be used to build on semantics that the Symfony components proved useful - and 7 | that already have battle tested implementations. 8 | 9 | See https://github.com/symfony/contracts/blob/master/README.md for more information. 10 | -------------------------------------------------------------------------------- /app/view/index/view.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | webman 9 | 10 | 11 | 12 | hello 13 | 14 | 15 | -------------------------------------------------------------------------------- /public/js/lay-module/treetable-lay/treetable.css: -------------------------------------------------------------------------------- 1 | .treeTable-empty { 2 | width: 20px; 3 | display: inline-block; 4 | } 5 | 6 | .treeTable-icon { 7 | cursor: pointer; 8 | } 9 | 10 | .treeTable-icon .layui-icon-triangle-d:before { 11 | content: "\e623"; 12 | } 13 | 14 | .treeTable-icon.open .layui-icon-triangle-d:before { 15 | content: "\e625"; 16 | background-color: transparent; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/LoggerAwareInterface.php: -------------------------------------------------------------------------------- 1 | 15 | */ 16 | public function read(string $name); 17 | } 18 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-ctype/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Ctype 2 | ======================== 3 | 4 | This component provides `ctype_*` functions to users who run php versions without the ctype extension. 5 | 6 | More information can be found in the 7 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 8 | 9 | License 10 | ======= 11 | 12 | This library is released under the [MIT license](LICENSE). 13 | -------------------------------------------------------------------------------- /app/domain/Command/rss.php: -------------------------------------------------------------------------------- 1 | word = $word; 15 | } 16 | 17 | public function getWord(): string 18 | { 19 | return $this->word; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/test/Dispatcher/GroupPosBasedTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 80000) { 13 | class ValueError extends Error 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/domain/Command/reseed.php: -------------------------------------------------------------------------------- 1 | in(__DIR__) 5 | ; 6 | 7 | $config = new PhpCsFixer\Config(); 8 | return $config->setRules([ 9 | '@PSR12' => true, 10 | 'ordered_imports' => ['sort_algorithm' => 'alpha'], 11 | 'no_unused_imports' => true, 12 | 'visibility_required' => ['elements' => ['property', 'method']] 13 | ]) 14 | ->setFinder($finder) 15 | ; -------------------------------------------------------------------------------- /vendor/nikic/fast-route/test/Dispatcher/GroupCountBasedTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 70300) { 13 | class JsonException extends Exception 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/symfony/string/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | interface ExceptionInterface extends \Throwable 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/workerman/crontab/example/test.php: -------------------------------------------------------------------------------- 1 | onWorkerStart = function () { 10 | // Execute the function in the first second of every minute. 11 | new Crontab('1 * * * * *', function(){ 12 | echo date('Y-m-d H:i:s')."\n"; 13 | }); 14 | }; 15 | 16 | Worker::runAll(); 17 | -------------------------------------------------------------------------------- /app/domain/Command/spiders.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 80000) { 13 | class UnhandledMatchError extends Error 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /src/Notify/INotify.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | public static function create(); 15 | } 16 | -------------------------------------------------------------------------------- /vendor/symfony/string/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | class RuntimeException extends \RuntimeException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /app/common/event/EventListenerInterface.php: -------------------------------------------------------------------------------- 1 | li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 80000 && extension_loaded('tokenizer')) { 13 | class PhpToken extends Symfony\Polyfill\Php80\PhpToken 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/string/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | env('APP_DEBUG', false), 7 | 'default_timezone' => 'Asia/Shanghai', 8 | 'error_reporting' => E_ALL, 9 | 'request_class' => Request::class, 10 | 'public_path' => base_path() . DIRECTORY_SEPARATOR . 'public', 11 | 'runtime_path' => base_path(false) . DIRECTORY_SEPARATOR . 'runtime', 12 | 'controller_suffix' => '', 13 | //关闭控制器复用,每个请求都会触发对应控制器的__construct()构造函数 14 | 'controller_reuse' => false, 15 | ]; 16 | -------------------------------------------------------------------------------- /src/Rss/dmhy.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdai.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/ssd.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hitpt.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/joyhd.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/npupt.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/oshen.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/ptba.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/pter.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/ptmsg.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/tjupt.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/upxin.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/beitai.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/haidan.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdarea.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdfans.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdtime.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdzone.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/nicept.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/opencd.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/ptsbao.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/pttime.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/site52pt.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-normalizer/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Intl: Normalizer 2 | =================================== 3 | 4 | This component provides a fallback implementation for the 5 | [`Normalizer`](https://php.net/Normalizer) class provided 6 | by the [Intl](https://php.net/intl) extension. 7 | 8 | More information can be found in the 9 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 10 | 11 | License 12 | ======= 13 | 14 | This library is released under the [MIT license](LICENSE). 15 | -------------------------------------------------------------------------------- /config/dependence.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | 17 | ]; 18 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/Rss/chdbits.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/discfan.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/dragonhd.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hd4fans.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdatmos.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/hdchina.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/ourbits.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 80000) { 13 | interface Stringable 14 | { 15 | /** 16 | * @return string 17 | */ 18 | public function __toString(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /config/container.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return new Webman\Container; 16 | -------------------------------------------------------------------------------- /src/Rss/btschool.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/eastgame.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/keepfrds.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/leaguehd.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/nanyangpt.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Rss/soulvoice.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /vendor/symfony/console/Exception/LogicException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class LogicException extends \LogicException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/LoggerAwareTrait.php: -------------------------------------------------------------------------------- 1 | logger = $logger; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/console/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class RuntimeException extends \RuntimeException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Inflector 2 | 3 | Doctrine Inflector is a small library that can perform string manipulations 4 | with regard to uppercase/lowercase and singular/plural forms of words. 5 | 6 | [![Build Status](https://github.com/doctrine/inflector/workflows/Continuous%20Integration/badge.svg)](https://github.com/doctrine/inflector/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.0.x) 7 | [![Code Coverage](https://codecov.io/gh/doctrine/inflector/branch/2.0.x/graph/badge.svg)](https://codecov.io/gh/doctrine/inflector/branch/2.0.x) 8 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Language.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * ExceptionInterface. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /config/bootstrap.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | support\bootstrap\Session::class, 17 | ]; 18 | -------------------------------------------------------------------------------- /docker/example.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin 3 | ## 相关命令 4 | # 1. 手动执行辅种 5 | docker exec IYUUPlus php ./bin/iyuu.php 6 | 7 | # 2. 手动删除辅种缓存 8 | docker exec -it IYUUPlus rm -rf ./runtime/torrent/cachehash 9 | 10 | # 3. 手动删除转移缓存 11 | docker exec -it IYUUPlus rm -rf ./runtime/torrent/cachemove 12 | 13 | # 4. 查看当前定时任务 14 | docker exec -it IYUUPlus crontab -l 15 | 16 | # 5. 修改定时任务(推荐修改docker容器的环境变量:参数cron) 17 | docker exec -it IYUUPlus crontab -e 18 | 19 | # 6. 进入容器内交互终端 20 | docker exec -it IYUUPlus sh -------------------------------------------------------------------------------- /app/model/Test.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | '' => app\common\exception\Handler::class, 17 | ]; 18 | -------------------------------------------------------------------------------- /src/Reseed/Events/SupportSitesSuccessEvent.php: -------------------------------------------------------------------------------- 1 | sites = $sites; 21 | } 22 | 23 | /** 24 | * @return array 25 | */ 26 | public function getSites(): array 27 | { 28 | return $this->sites; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/console/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nikic/fast-route", 3 | "description": "Fast request router for PHP", 4 | "keywords": ["routing", "router"], 5 | "license": "BSD-3-Clause", 6 | "authors": [ 7 | { 8 | "name": "Nikita Popov", 9 | "email": "nikic@php.net" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "FastRoute\\": "src/" 15 | }, 16 | "files": ["src/functions.php"] 17 | }, 18 | "require": { 19 | "php": ">=5.4.0" 20 | }, 21 | "require-dev": { 22 | "phpunit/phpunit": "^4.8.35|~5.7" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /config/plugin/webman/event/bootstrap.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | Webman\Event\BootStrap::class, 17 | ]; 18 | -------------------------------------------------------------------------------- /config/route.php: -------------------------------------------------------------------------------- 1 | method()) === 'OPTIONS' ? response('', 204) : json(['code' => 404, 'msg' => '404 not found']); 11 | $response->withHeaders([ 12 | 'Access-Control-Allow-Credentials' => 'true', 13 | 'Access-Control-Allow-Origin' => "*", 14 | 'Access-Control-Allow-Methods' => '*', 15 | 'Access-Control-Allow-Headers' => '*', 16 | ]); 17 | return $response; 18 | }); 19 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/traits/TorrentFileV1Trait.php: -------------------------------------------------------------------------------- 1 | expectException(ParseException::class); 13 | $this->expectExceptionMessage('Invalid pieces length'); 14 | 15 | $this->torrent->setInfoField('pieces', $this->torrent->getRootField('pieces') . 'somestring'); 16 | $this->torrent->parse(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php: -------------------------------------------------------------------------------- 1 | 18 | */ 19 | public function load(RepositoryInterface $repository, array $entries); 20 | } 21 | -------------------------------------------------------------------------------- /src/Reseed/Listener/ClientLinkSuccessListener.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | Webman\Event\BootStrap::class, 17 | ]; 18 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- 1 | ## TODO清单: 2 | 3 | - [x] 辅种结束,写结束日志 4 | - [x] 一键清理辅种缓存 5 | - [x] 一键清理转移缓存 6 | - [x] 任务热刷新 7 | - [x] [站点设置]已添加的,屏蔽选择 8 | - [x] 一键更新到最新版 9 | - [x] 跨平台的配置导入导出(任务热刷新) 10 | - [x] 分批次请求辅种,解决客户端做种多辅种失败的问题(有的客户端内做种60000个) 11 | - [x] 增加开关,未配置的站点不显示日志 12 | - [x] 开启关闭计划任务 13 | - [x] 及时清理log(减少空间占用) 14 | - [x] 支持用户定义辅种代理服务器 15 | - [x] 增加微信通知使能开关:控制下载任务的微信通知 16 | - [x] 辅种任务自动校验 17 | - [x] 辅种任务自动开始做种 18 | - [x] 停止执行中的计划任务 19 | - [x] 前端实时显示任务运行状态(Ajax) 20 | - [ ] 辅种时,支持目录、分类的筛选器/过滤器 21 | - [ ] 替换tracker 22 | - [ ] 检查做种任务与数据对应关系 23 | - [ ] 一键导入PT助手的cookie配置 24 | - [ ] 增量更新漏掉的种子 25 | - [ ] 自动验证站点已删除的种子 26 | - [ ] 自动追剧(订阅/追更/链接/豆瓣) -------------------------------------------------------------------------------- /vendor/symfony/console/Exception/NamespaceNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect namespace typed in the console. 16 | * 17 | * @author Pierre du Plessis 18 | */ 19 | class NamespaceNotFoundException extends CommandNotFoundException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | /** 15 | * Exception can be thrown if an extension for a handler is missing 16 | * 17 | * @author Christian Bergau 18 | */ 19 | class MissingExtensionException extends \Exception 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /src/Rss/hdsky.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents failure to read input from stdin. 16 | * 17 | * @author Gabriel Ostrolucký 18 | */ 19 | class MissingInputException extends RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/string/README.md: -------------------------------------------------------------------------------- 1 | String Component 2 | ================ 3 | 4 | The String component provides an object-oriented API to strings and deals 5 | with bytes, UTF-8 code points and grapheme clusters in a unified way. 6 | 7 | Resources 8 | --------- 9 | 10 | * [Documentation](https://symfony.com/doc/current/components/string.html) 11 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 12 | * [Report issues](https://github.com/symfony/symfony/issues) and 13 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 14 | in the [main Symfony repository](https://github.com/symfony/symfony) 15 | -------------------------------------------------------------------------------- /src/Rss/hdcity.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php: -------------------------------------------------------------------------------- 1 | from = $from; 18 | $this->to = $to; 19 | } 20 | 21 | public function getFrom(): Word 22 | { 23 | return $this->from; 24 | } 25 | 26 | public function getTo(): Word 27 | { 28 | return $this->to; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/psr/container/README.md: -------------------------------------------------------------------------------- 1 | Container interface 2 | ============== 3 | 4 | This repository holds all interfaces related to [PSR-11 (Container Interface)][psr-url]. 5 | 6 | Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container. 7 | 8 | The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. 9 | 10 | [psr-url]: https://www.php-fig.org/psr/psr-11/ 11 | [package-url]: https://packagist.org/packages/psr/container 12 | [implementation-url]: https://packagist.org/providers/psr/container-implementation 13 | 14 | -------------------------------------------------------------------------------- /src/Rss/mteam.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /support/Request.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace support; 16 | 17 | /** 18 | * Class Request 19 | * @package support 20 | */ 21 | class Request extends \Webman\Http\Request 22 | { 23 | 24 | } -------------------------------------------------------------------------------- /vendor/symfony/console/Exception/InvalidOptionException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect option name or value typed in the console. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /src/Rss/yingk.php: -------------------------------------------------------------------------------- 1 | NexusPHP($html); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /support/Response.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace support; 16 | 17 | /** 18 | * Class Response 19 | * @package support 20 | */ 21 | class Response extends \Webman\Http\Response 22 | { 23 | 24 | } -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/TorrentHybridMultiTest.php: -------------------------------------------------------------------------------- 1 | '1e2dbc73590ba3bea3cee6e3053d98da86e6c842', 17 | TorrentFile::PROTOCOL_V2 => '3f6fb45188917a8aed604ba7f399843f7891f68748bef89b7692465656ca6076' 18 | ]; 19 | } 20 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/TorrentHybridSingleTest.php: -------------------------------------------------------------------------------- 1 | 'be2a86eff99608a56c506157dd5c9bc8779aa81d', 17 | TorrentFile::PROTOCOL_V2 => 'fd0e265c50a080759b61e7a66cf9c9a00af0256815e96a4c3564f733127dda46' 18 | ]; 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php73/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Php73 2 | ======================== 3 | 4 | This component provides functions added to PHP 7.3 core: 5 | 6 | - [`array_key_first`](https://php.net/array_key_first) 7 | - [`array_key_last`](https://php.net/array_key_last) 8 | - [`hrtime`](https://php.net/function.hrtime) 9 | - [`is_countable`](https://php.net/is_countable) 10 | - [`JsonException`](https://php.net/JsonException) 11 | 12 | More information can be found in the 13 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 14 | 15 | License 16 | ======= 17 | 18 | This library is released under the [MIT license](LICENSE). 19 | -------------------------------------------------------------------------------- /vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | use support\view\Raw; 16 | use support\view\Twig; 17 | use support\view\Blade; 18 | use support\view\ThinkPHP; 19 | 20 | return [ 21 | 'handler' => Raw::class 22 | ]; 23 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/test/Dispatcher/MarkBasedTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('PHP 5.6 required for MARK support'); 12 | } 13 | } 14 | 15 | protected function getDispatcherClass() 16 | { 17 | return 'FastRoute\\Dispatcher\\MarkBased'; 18 | } 19 | 20 | protected function getDataGeneratorClass() 21 | { 22 | return 'FastRoute\\DataGenerator\\MarkBased'; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/TorrentV1SingleTest.php: -------------------------------------------------------------------------------- 1 | 'd0e710431bed8cb4b1860b9a7a40a20df8de8266', 19 | TorrentFile::PROTOCOL_V2 => null 20 | ]; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php: -------------------------------------------------------------------------------- 1 | wordInflector = $wordInflector; 18 | } 19 | 20 | public function inflect(string $word): string 21 | { 22 | return $this->cache[$word] ?? $this->cache[$word] = $this->wordInflector->inflect($word); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/symfony/console/Helper/TableSeparator.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | /** 15 | * Marks a row as being a separator. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class TableSeparator extends TableCell 20 | { 21 | public function __construct(array $options = []) 22 | { 23 | parent::__construct('', $options); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/WebRequestRecognizerTrait.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | trait WebRequestRecognizerTrait 15 | { 16 | /** 17 | * Checks if PHP's serving a web request 18 | * @return bool 19 | */ 20 | protected function isWebRequest(): bool 21 | { 22 | return 'cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /config/static.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | /** 16 | * 静态文件设置 17 | */ 18 | return [ 19 | 'enable' => true, // 是否支持静态文件 20 | 'middleware' => [ // 静态文件中间件 21 | app\middleware\StaticFile::class, 22 | ], 23 | ]; 24 | -------------------------------------------------------------------------------- /vendor/psr/log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/log", 3 | "description": "Common interface for logging libraries", 4 | "keywords": ["psr", "psr-3", "log"], 5 | "homepage": "https://github.com/php-fig/log", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "PHP-FIG", 10 | "homepage": "https://www.php-fig.org/" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Log\\": "Psr/Log/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.1.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/TorrentV2MultiTest.php: -------------------------------------------------------------------------------- 1 | null, 19 | TorrentFile::PROTOCOL_V2 => '832d96b4f8b422aa75f8d40975b1a408154bc1a2bdffccf7b689386cde125a30' 20 | ]; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/support/Request.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace support; 16 | 17 | /** 18 | * Class Request 19 | * @package support 20 | */ 21 | class Request extends \Webman\Http\Request 22 | { 23 | 24 | } -------------------------------------------------------------------------------- /vendor/rhilip/bencode/tests/TorrentV2SingleTest.php: -------------------------------------------------------------------------------- 1 | null, 19 | TorrentFile::PROTOCOL_V2 => 'a58e747f0ce2c2073c6fd635d4afdd5c6162574d6c9184318f884f553c3ed65b' 20 | ]; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/support/Context.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright walkor 12 | * @link http://www.workerman.net/ 13 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 | */ 15 | 16 | namespace support; 17 | 18 | /** 19 | * Class Context 20 | * @package Webman 21 | */ 22 | class Context extends \Webman\Context 23 | { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/support/Response.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace support; 16 | 17 | /** 18 | * Class Response 19 | * @package support 20 | */ 21 | class Response extends \Webman\Http\Response 22 | { 23 | 24 | } -------------------------------------------------------------------------------- /bin/rss.php: -------------------------------------------------------------------------------- 1 | run(); 28 | -------------------------------------------------------------------------------- /config/autoload.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | 'files' => [ 17 | base_path() . '/app/functions.php', 18 | base_path() . '/support/Request.php', 19 | base_path() . '/support/Response.php', 20 | ] 21 | ]; 22 | -------------------------------------------------------------------------------- /vendor/symfony/console/Descriptor/DescriptorInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Descriptor; 13 | 14 | use Symfony\Component\Console\Output\OutputInterface; 15 | 16 | /** 17 | * Descriptor interface. 18 | * 19 | * @author Jean-François Simon 20 | */ 21 | interface DescriptorInterface 22 | { 23 | public function describe(OutputInterface $output, object $object, array $options = []); 24 | } 25 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Input; 13 | 14 | /** 15 | * InputAwareInterface should be implemented by classes that depends on the 16 | * Console Input. 17 | * 18 | * @author Wouter J 19 | */ 20 | interface InputAwareInterface 21 | { 22 | /** 23 | * Sets the Console Input. 24 | */ 25 | public function setInput(InputInterface $input); 26 | } 27 | -------------------------------------------------------------------------------- /app/domain/Command.php: -------------------------------------------------------------------------------- 1 | parse($param); 24 | } 25 | } 26 | 27 | return '计划任务命令解析类 ' . $className . ' 不存在'; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /config/server.php: -------------------------------------------------------------------------------- 1 | defined('IYUU_LISTEN_IPV6') ? 'http://[::]:8787' : 'http://0.0.0.0:8787', 4 | 'transport' => 'tcp', 5 | 'context' => [], 6 | 'name' => 'IYUUPlus', 7 | 'count' => env('SERVER_PROCESS_COUNT', 2), 8 | 'user' => env('SERVER_PROCESS_USER', ''), 9 | 'group' => env('SERVER_PROCESS_GROUP', ''), 10 | 'event_loop' => '', 11 | 'stop_timeout' => 2, 12 | 'pid_file' => runtime_path() . '/webman.pid', 13 | 'log_file' => runtime_path() . '/workerman.log', 14 | 'status_file' => runtime_path() . '/webman.status', 15 | 'stdout_file' => runtime_path() . '/logs/stdout.log', 16 | 'max_request' => 1000, 17 | 'max_package_size' => 10 * 1024 * 1024 18 | ]; 19 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/src/Dispatcher.php: -------------------------------------------------------------------------------- 1 | 'value', ...]] 19 | * 20 | * @param string $httpMethod 21 | * @param string $uri 22 | * 23 | * @return array 24 | */ 25 | public function dispatch($httpMethod, $uri); 26 | } 27 | -------------------------------------------------------------------------------- /bin/spiders.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | /** 16 | * 多语言配置 17 | */ 18 | return [ 19 | // 默认语言 20 | 'locale' => 'zh_CN', 21 | // 回退语言 22 | 'fallback_locale' => ['zh_CN', 'en'], 23 | // 语言文件存放的文件夹 24 | 'path' => base_path() . '/resource/translations', 25 | ]; 26 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/console/Helper/TableRows.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | /** 15 | * @internal 16 | */ 17 | class TableRows implements \IteratorAggregate 18 | { 19 | private $generator; 20 | 21 | public function __construct(\Closure $generator) 22 | { 23 | $this->generator = $generator; 24 | } 25 | 26 | public function getIterator(): \Traversable 27 | { 28 | return ($this->generator)(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/controller/BaseController.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman\Exception; 16 | 17 | use RuntimeException; 18 | 19 | /** 20 | * Class FileException 21 | * @package Webman\Exception 22 | */ 23 | class FileException extends RuntimeException 24 | { 25 | } -------------------------------------------------------------------------------- /config/redis.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | return [ 16 | 'default' => [ 17 | 'host' => env('REDIS_HOST', '127.0.0.1'), 18 | 'password' => env('REDIS_PASSWORD', null), 19 | 'port' => env('REDIS_PORT', 6379), 20 | 'database' => env('REDIS_DB', 0), 21 | ], 22 | ]; 23 | -------------------------------------------------------------------------------- /vendor/ledccn/bittorrentclient/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ledccn/bittorrentclient", 3 | "description": "实现对下载服务器管理的代码库", 4 | "type": "library", 5 | "keywords": ["transmission", "qBittorrent", "IYUU"], 6 | "homepage": "https://github.com/ledccn/BittorrentClient", 7 | "license": "GPL-3.0-or-later", 8 | "authors": [ 9 | { 10 | "name": "David", 11 | "email": "367013672@qq.com" 12 | } 13 | ], 14 | "require": { 15 | "php": "^7.0|^8.0", 16 | "curl/curl": "^2.3", 17 | "ext-curl": "*", 18 | "ext-json": "*", 19 | "ext-mbstring": "*" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "IYUU\\Client\\": "src" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /vendor/nikic/fast-route/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 14 | 15 | ./test/ 16 | 17 | 18 | 19 | 20 | 21 | ./src/ 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/workerman/crontab/README.md: -------------------------------------------------------------------------------- 1 | # Crontab 2 | A crontab with precision in seconds written in PHP based on [workerman](https://github.com/walkor/workerman). 3 | 4 | # Install 5 | ``` 6 | composer require workerman/crontab 7 | ``` 8 | 9 | # Usage 10 | start.php 11 | ```php 12 | onWorkerStart = function () { 20 | // Execute the function in the first second of every minute. 21 | new Crontab('1 * * * * *', function(){ 22 | echo date('Y-m-d H:i:s')."\n"; 23 | }); 24 | }; 25 | 26 | Worker::runAll(); 27 | ``` 28 | 29 | Run with commands `php start.php start` or php `start.php start -d` 30 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/Session/RedisClusterSessionHandler.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman\Session; 16 | 17 | use Workerman\Protocols\Http\Session\RedisClusterSessionHandler as RedisClusterHandler; 18 | 19 | class RedisClusterSessionHandler extends RedisClusterHandler 20 | { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /vendor/workerman/workerman/Lib/Timer.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Lib; 15 | 16 | /** 17 | * Do not use Workerman\Lib\Timer. 18 | * Please use Workerman\Timer. 19 | * This class is only used for compatibility with workerman 3.* 20 | * @package Workerman\Lib 21 | */ 22 | class Timer extends \Workerman\Timer {} -------------------------------------------------------------------------------- /vendor/rhilip/bencode/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rhilip/bencode", 3 | "description": "A pure and simple PHP library for encoding and decoding Bencode data", 4 | "keywords": ["bittorrent", "torrent", "bencode"], 5 | "type": "library", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Rhilip", 10 | "email": "rhilipruan@gmail.com" 11 | } 12 | ], 13 | "require": { 14 | "php": "^7.3|^8.0" 15 | }, 16 | "require-dev": { 17 | "phpunit/phpunit": "^9.0" 18 | }, 19 | "autoload": { 20 | "psr-4": { 21 | "Rhilip\\Bencode\\": "src" 22 | } 23 | }, 24 | "suggest": { 25 | "php-64bit": "Running 64 bit is recommended to prevent integer overflow" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Adds value of getmypid into records 16 | * 17 | * @author Andreas Hörnicke 18 | */ 19 | class ProcessIdProcessor implements ProcessorInterface 20 | { 21 | /** 22 | * {@inheritDoc} 23 | */ 24 | public function __invoke(array $record): array 25 | { 26 | $record['extra']['process_id'] = getmypid(); 27 | 28 | return $record; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/psr/container/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/container", 3 | "type": "library", 4 | "description": "Common Container Interface (PHP FIG PSR-11)", 5 | "keywords": ["psr", "psr-11", "container", "container-interop", "container-interface"], 6 | "homepage": "https://github.com/php-fig/container", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "PHP-FIG", 11 | "homepage": "https://www.php-fig.org/" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=7.4.0" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "Psr\\Container\\": "src/" 20 | } 21 | }, 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "2.0.x-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/vlucas/phpdotenv/src/Store/StringStore.php: -------------------------------------------------------------------------------- 1 | content = $content; 26 | } 27 | 28 | /** 29 | * Read the content of the environment file(s). 30 | * 31 | * @return string 32 | */ 33 | public function read() 34 | { 35 | return $this->content; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/src/DataGenerator/GroupPosBased.php: -------------------------------------------------------------------------------- 1 | $route) { 18 | $regexes[] = $regex; 19 | $routeMap[$offset] = [$route->handler, $route->variables]; 20 | 21 | $offset += count($route->variables); 22 | } 23 | 24 | $regex = '~^(?:' . implode('|', $regexes) . ')$~'; 25 | return ['regex' => $regex, 'routeMap' => $routeMap]; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/Session/FileSessionHandler.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman\Session; 16 | 17 | use Workerman\Protocols\Http\Session\FileSessionHandler as FileHandler; 18 | 19 | /** 20 | * Class FileSessionHandler 21 | * @package Webman 22 | */ 23 | class FileSessionHandler extends FileHandler 24 | { 25 | 26 | } 27 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php: -------------------------------------------------------------------------------- 1 | $route) { 18 | $regexes[] = $regex . '(*MARK:' . $markName . ')'; 19 | $routeMap[$markName] = [$route->handler, $route->variables]; 20 | 21 | ++$markName; 22 | } 23 | 24 | $regex = '~^(?|' . implode('|', $regexes) . ')$~'; 25 | return ['regex' => $regex, 'routeMap' => $routeMap]; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/Bootstrap.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman; 16 | 17 | use Workerman\Worker; 18 | 19 | interface Bootstrap 20 | { 21 | /** 22 | * onWorkerStart 23 | * 24 | * @param Worker|null $worker 25 | * @return mixed 26 | */ 27 | public static function start(?Worker $worker); 28 | } 29 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/Session/RedisSessionHandler.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman\Session; 16 | 17 | use Workerman\Protocols\Http\Session\RedisSessionHandler as RedisHandler; 18 | 19 | /** 20 | * Class FileSessionHandler 21 | * @package Webman 22 | */ 23 | class RedisSessionHandler extends RedisHandler 24 | { 25 | 26 | } 27 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman\Exception; 16 | 17 | use Psr\Container\NotFoundExceptionInterface; 18 | 19 | /** 20 | * Class NotFoundException 21 | * @package Webman\Exception 22 | */ 23 | class NotFoundException extends \Exception implements NotFoundExceptionInterface 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/FileSessionHandler.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Webman; 15 | 16 | /** 17 | * This deprecated class will certainly be removed in the future. 18 | * Please use Webman\Session\FileSessionHandler 19 | * @deprecated 20 | * @package Webman 21 | */ 22 | class FileSessionHandler extends Session\FileSessionHandler 23 | { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php: -------------------------------------------------------------------------------- 1 | transformations = $transformations; 17 | } 18 | 19 | public function inflect(string $word): string 20 | { 21 | foreach ($this->transformations as $transformation) { 22 | if ($transformation->getPattern()->matches($word)) { 23 | return $transformation->inflect($word); 24 | } 25 | } 26 | 27 | return $word; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-normalizer/bootstrap80.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (!function_exists('normalizer_is_normalized')) { 15 | function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } 16 | } 17 | if (!function_exists('normalizer_normalize')) { 18 | function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/workerman/workerman/Events/React/ExtEventLoop.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | 16 | /** 17 | * Class ExtEventLoop 18 | * @package Workerman\Events\React 19 | */ 20 | class ExtEventLoop extends Base 21 | { 22 | 23 | public function __construct() 24 | { 25 | $this->_eventLoop = new \React\EventLoop\ExtEventLoop(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Spiders/ssd.php: -------------------------------------------------------------------------------- 1 | ') + strlen('
'); 18 | $h2_len = strpos($html, ' 0) { 20 | //存在副标题 21 | $title = substr($html, $h2_offset, $h2_len); 22 | //二次过滤 23 | $title = Selector::remove($title, "//a"); 24 | $title = strip_tags($title); 25 | } else { 26 | $title = ''; 27 | } 28 | 29 | return $title; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Formatter; 13 | 14 | /** 15 | * Formatter interface for console output that supports word wrapping. 16 | * 17 | * @author Roland Franssen 18 | */ 19 | interface WrappableOutputFormatterInterface extends OutputFormatterInterface 20 | { 21 | /** 22 | * Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping). 23 | */ 24 | public function formatAndWrap(?string $message, int $width); 25 | } 26 | -------------------------------------------------------------------------------- /vendor/workerman/workerman/Events/React/StreamSelectLoop.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | 16 | /** 17 | * Class StreamSelectLoop 18 | * @package Workerman\Events\React 19 | */ 20 | class StreamSelectLoop extends Base 21 | { 22 | public function __construct() 23 | { 24 | $this->_eventLoop = new \React\EventLoop\StreamSelectLoop(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * An optional interface to allow labelling Monolog processors. 16 | * 17 | * @author Nicolas Grekas 18 | * 19 | * @phpstan-import-type Record from \Monolog\Logger 20 | */ 21 | interface ProcessorInterface 22 | { 23 | /** 24 | * @return array The processed record 25 | * 26 | * @phpstan-param Record $record 27 | * @phpstan-return Record 28 | */ 29 | public function __invoke(array $record); 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/console/Command/SignalableCommandInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Command; 13 | 14 | /** 15 | * Interface for command reacting to signal. 16 | * 17 | * @author Grégoire Pineau 18 | */ 19 | interface SignalableCommandInterface 20 | { 21 | /** 22 | * Returns the list of signals to subscribe. 23 | */ 24 | public function getSubscribedSignals(): array; 25 | 26 | /** 27 | * The method will be called when the application is signaled. 28 | */ 29 | public function handleSignal(int $signal): void; 30 | } 31 | -------------------------------------------------------------------------------- /vendor/workerman/webman-framework/src/View.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | 15 | namespace Webman; 16 | 17 | interface View 18 | { 19 | /** 20 | * Render. 21 | * @param string $template 22 | * @param array $vars 23 | * @param string|null $app 24 | * @return string 25 | */ 26 | public static function render(string $template, array $vars, string $app = null): string; 27 | } 28 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/NullLogger.php: -------------------------------------------------------------------------------- 1 | logger) { }` 11 | * blocks. 12 | */ 13 | class NullLogger extends AbstractLogger 14 | { 15 | /** 16 | * Logs with an arbitrary level. 17 | * 18 | * @param mixed $level 19 | * @param string $message 20 | * @param array $context 21 | * 22 | * @return void 23 | * 24 | * @throws \Psr\Log\InvalidArgumentException 25 | */ 26 | public function log($level, $message, array $context = array()) 27 | { 28 | // noop 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-normalizer/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (\PHP_VERSION_ID >= 80000) { 15 | return require __DIR__.'/bootstrap80.php'; 16 | } 17 | 18 | if (!function_exists('normalizer_is_normalized')) { 19 | function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); } 20 | } 21 | if (!function_exists('normalizer_normalize')) { 22 | function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/console/Completion/Output/CompletionOutputInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * Transforms the {@see CompletionSuggestions} object into output readable by the shell completion. 19 | * 20 | * @author Wouter de Jong 21 | */ 22 | interface CompletionOutputInterface 23 | { 24 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void; 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/string/Slugger/SluggerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Slugger; 13 | 14 | use Symfony\Component\String\AbstractUnicodeString; 15 | 16 | /** 17 | * Creates a URL-friendly slug from a given string. 18 | * 19 | * @author Titouan Galopin 20 | */ 21 | interface SluggerInterface 22 | { 23 | /** 24 | * Creates a slug for the given string and locale, using appropriate transliteration when needed. 25 | */ 26 | public function slug(string $string, string $separator = '-', string $locale = null): AbstractUnicodeString; 27 | } 28 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion; 13 | 14 | /** 15 | * Represents a single suggested value. 16 | * 17 | * @author Wouter de Jong 18 | */ 19 | class Suggestion 20 | { 21 | private $value; 22 | 23 | public function __construct(string $value) 24 | { 25 | $this->value = $value; 26 | } 27 | 28 | public function getValue(): string 29 | { 30 | return $this->value; 31 | } 32 | 33 | public function __toString(): string 34 | { 35 | return $this->getValue(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | use Workerman\Events\EventInterface; 16 | 17 | /** 18 | * Class ExtLibEventLoop 19 | * @package Workerman\Events\React 20 | */ 21 | class ExtLibEventLoop extends Base 22 | { 23 | public function __construct() 24 | { 25 | $this->_eventLoop = new \React\EventLoop\ExtLibeventLoop(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /public/lib/font-awesome-4.7.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php: -------------------------------------------------------------------------------- 1 | patterns = $patterns; 22 | 23 | $patterns = array_map(static function (Pattern $pattern): string { 24 | return $pattern->getPattern(); 25 | }, $this->patterns); 26 | 27 | $this->regex = '/^(?:' . implode('|', $patterns) . ')$/i'; 28 | } 29 | 30 | public function matches(string $word): bool 31 | { 32 | return preg_match($this->regex, $word, $regs) === 1; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Rss/pthome.php: -------------------------------------------------------------------------------- 1 | passkey = isset($config['downHash']) && $config['downHash'] ? $config['downHash'] : ''; 24 | if (empty($this->passkey)) { 25 | die($this->site . ' 没有配置密钥,初始化错误。' . PHP_EOL); 26 | } 27 | } 28 | 29 | /** 30 | * 抽象方法,在类中实现 31 | * 解码html为种子数组 32 | * @param string $html 33 | * @return array 34 | */ 35 | public function decode($html = '') 36 | { 37 | echo "正在解码RSS资源..." . PHP_EOL; 38 | return $this->NexusPHP($html); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/common/event/StoppableEventInterface.php: -------------------------------------------------------------------------------- 1 | passkey = isset($config['downHash']) && $config['downHash'] ? $config['downHash'] : ''; 24 | if (empty($this->passkey)) { 25 | die($this->site . ' 没有配置密钥,初始化错误。' . PHP_EOL); 26 | } 27 | } 28 | 29 | /** 30 | * 抽象方法,在类中实现 31 | * 解码html为种子数组 32 | * @param string $html 33 | * @return array 34 | */ 35 | public function decode($html = '') 36 | { 37 | echo "正在解码RSS资源..." . PHP_EOL; 38 | return $this->NexusPHP($html); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler\FingersCrossed; 13 | 14 | /** 15 | * Interface for activation strategies for the FingersCrossedHandler. 16 | * 17 | * @author Johannes M. Schmitt 18 | * 19 | * @phpstan-import-type Record from \Monolog\Logger 20 | */ 21 | interface ActivationStrategyInterface 22 | { 23 | /** 24 | * Returns whether the given record activates the handler. 25 | * 26 | * @phpstan-param Record $record 27 | */ 28 | public function isHandlerActivated(array $record): bool; 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/console/Helper/InputAwareHelper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | use Symfony\Component\Console\Input\InputAwareInterface; 15 | use Symfony\Component\Console\Input\InputInterface; 16 | 17 | /** 18 | * An implementation of InputAwareInterface for Helpers. 19 | * 20 | * @author Wouter J 21 | */ 22 | abstract class InputAwareHelper extends Helper implements InputAwareInterface 23 | { 24 | protected $input; 25 | 26 | /** 27 | * {@inheritdoc} 28 | */ 29 | public function setInput(InputInterface $input) 30 | { 31 | $this->input = $input; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Reseed/Events/ClientLinkSuccessEvent.php: -------------------------------------------------------------------------------- 1 | clients = $clients; 29 | $this->links = $links; 30 | } 31 | 32 | /** 33 | * @return array 34 | */ 35 | public function getClients(): array 36 | { 37 | return $this->clients; 38 | } 39 | 40 | /** 41 | * @return array 42 | */ 43 | public function getLinks(): array 44 | { 45 | return $this->links; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendor/nikic/fast-route/src/Dispatcher/MarkBased.php: -------------------------------------------------------------------------------- 1 | staticRouteMap, $this->variableRouteData) = $data; 10 | } 11 | 12 | protected function dispatchVariableRoute($routeData, $uri) 13 | { 14 | foreach ($routeData as $data) { 15 | if (!preg_match($data['regex'], $uri, $matches)) { 16 | continue; 17 | } 18 | 19 | list($handler, $varNames) = $data['routeMap'][$matches['MARK']]; 20 | 21 | $vars = []; 22 | $i = 0; 23 | foreach ($varNames as $varName) { 24 | $vars[$varName] = $matches[++$i]; 25 | } 26 | return [self::FOUND, $handler, $vars]; 27 | } 28 | 29 | return [self::NOT_FOUND]; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | #[Attribute(Attribute::TARGET_CLASS)] 13 | final class Attribute 14 | { 15 | public const TARGET_CLASS = 1; 16 | public const TARGET_FUNCTION = 2; 17 | public const TARGET_METHOD = 4; 18 | public const TARGET_PROPERTY = 8; 19 | public const TARGET_CLASS_CONSTANT = 16; 20 | public const TARGET_PARAMETER = 32; 21 | public const TARGET_ALL = 63; 22 | public const IS_REPEATABLE = 64; 23 | 24 | /** @var int */ 25 | public $flags; 26 | 27 | public function __construct(int $flags = self::TARGET_ALL) 28 | { 29 | $this->flags = $flags; 30 | } 31 | } 32 | --------------------------------------------------------------------------------