mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-01-31 13:25:10 +01:00
* docs(l10n): fix un-updated English translation * feat(container): Add support for requiring a sudo password Add support for sudo password verification for Docker container operations, including: 1. Added ContainerErrType.sudoPasswordRequired error type 2. Add password prompt text in multi-language files 3. Modify the SSH execution logic to correctly handle the input of sudo password 4. Implement password caching and verification mechanism * feat(container): Add sudo password error handling logic Add a new error type `sudoPasswordIncorrect` to handle situations where the sudo password is incorrect Modify the password verification logic in the SSH client, and return a specific error code when a password error is detected Update multilingual files to support password error prompt information * fix(ssh): Remove unnecessary stderr parameter and improve sudo command handling Clean up the no longer needed stderr parameter in the SSH client, which was originally used to handle sudo password prompts Unify the sudo command construction logic, always use the _buildSudoCmd method, and add stderr redirection Clear cached passwords when passwords are incorrect * fix(container): Improved sudo command handling and Podman simulation detection Fix the sudo command processing logic, remove the masking of stderr to capture password errors Override the detection logic simulated by Podman Refactor the command building logic to support sh wrapping of multi-line commands * fix(container): Improve the prompt message for sudo password errors Update the sudo password error prompt messages for all languages to more accurately reflect situations of incorrect password or lack of permission Fix the password error detection logic for both the SSH client and container providers simultaneously * refactor(container): Remove unused sudo and password parameters in exec method Simplify the exec method signature by removing the sudo and password parameters that are no longer needed, as these functions are no longer in use * feat: Add new contributors and optimize container command handling Add two new contributors to the GithubIds list and refactor the container command processing logic: 1. Simplify the command wrapping logic and uniformly use `sh -c` for processing 2. Specific error handling when adding a sudo password incorrectly 3. Remove redundant conditional checks and temporary variables
152 lines
2.5 KiB
Dart
152 lines
2.5 KiB
Dart
abstract final class GithubIds {
|
|
// Thanks
|
|
// If you want to change your Github ID, please open an issue.
|
|
static const contributors = <GhId>{
|
|
'PaperCube',
|
|
'Integral-Tech',
|
|
'its-tom',
|
|
'leganck',
|
|
'azkadev',
|
|
'kalashnikov',
|
|
'calvinweb',
|
|
'No06',
|
|
'QazCetelic',
|
|
'RainSunMe',
|
|
'FrancXPT',
|
|
'Liloupar',
|
|
'dccif',
|
|
'mikropsoft',
|
|
'CakesTwix',
|
|
'dsvf',
|
|
'fei1025',
|
|
'MasedMSD',
|
|
'GitGitro',
|
|
'Shin-suechtig',
|
|
'GT-610'
|
|
};
|
|
|
|
static const participants = <GhId>{
|
|
'jaychoubaby',
|
|
'fecture',
|
|
'Tao173',
|
|
'Jasonzhu1207',
|
|
'QingAnLe',
|
|
'wxdjs',
|
|
'Aeorq',
|
|
'allonmymind',
|
|
'Yuuki-Rin',
|
|
'LittleState',
|
|
'karuboniru',
|
|
'whosphp',
|
|
'Climit',
|
|
'dianso',
|
|
'Jasondeepny',
|
|
'kaliwell',
|
|
'ymxkiss',
|
|
'Ealrang',
|
|
'hange33',
|
|
'yuchen1204',
|
|
'xgzxmytx',
|
|
'wind057',
|
|
'a1564471347',
|
|
'fanzhebufan1',
|
|
'wcbing',
|
|
'balh55y',
|
|
'wc7086',
|
|
'michaelsara',
|
|
'xingleiwu',
|
|
'Cooper098',
|
|
'xushuojie',
|
|
'AniberMokie',
|
|
'LucaLin233',
|
|
'lalasou',
|
|
'ohyoxo',
|
|
'lovechang1986',
|
|
'luckyreny',
|
|
'aliuzzz',
|
|
'58fly',
|
|
'Potterli20',
|
|
'Seifon',
|
|
'bxoooooo',
|
|
'KatharsisKing',
|
|
'mervinniu',
|
|
'L-Super',
|
|
'Tridays',
|
|
'Nebulosa-Cat',
|
|
'dani7959',
|
|
'MoMingRose',
|
|
'sakalakagg',
|
|
'cz32483490',
|
|
'zj1123581321',
|
|
'pctoolsx',
|
|
'pgs666',
|
|
'FHU-yezi',
|
|
'ZRY233',
|
|
'sakuraanzu',
|
|
'licaon-kter',
|
|
'77160860',
|
|
'mijjjj',
|
|
'muyunil',
|
|
'Hua159',
|
|
'jaydong2016',
|
|
'geol',
|
|
'Mooling0602',
|
|
'IllTamer',
|
|
'marlkiller',
|
|
'hlarc',
|
|
'itsandrewpao',
|
|
'StudyingLover',
|
|
'QJAG1024',
|
|
'Wuming-HUST',
|
|
'WolfCanglong',
|
|
'liwenjie119',
|
|
'logce',
|
|
'h-lyf',
|
|
'88484396',
|
|
'honggeigei',
|
|
'likecreep',
|
|
'axlrose',
|
|
'immortal521',
|
|
'PRO-2684',
|
|
'Xiaobao-Yang',
|
|
'Mrhs121',
|
|
'Fudiautobi',
|
|
'papaj-na-wrotkach',
|
|
'kid1412621',
|
|
'smanx',
|
|
'xuanyue1024',
|
|
'RuofengX',
|
|
'rhwong',
|
|
'AstroEngineeer',
|
|
'mochasweet',
|
|
'back-lacking',
|
|
'cainiaojr',
|
|
'MisterMunkerz',
|
|
'CreeperKong',
|
|
'zxf945',
|
|
'cnen2018',
|
|
'xiaomeng9597',
|
|
'mingzhao2019',
|
|
'HHXXYY123',
|
|
'Lancerys',
|
|
'yaziku',
|
|
'yeluosln',
|
|
'FadeFx',
|
|
'Snihc1205',
|
|
'Bjups',
|
|
'4061N',
|
|
'itmagpro',
|
|
'atikattar1104',
|
|
'coldboy404',
|
|
'puskyer',
|
|
'wanababy',
|
|
'toarujs'
|
|
};
|
|
}
|
|
|
|
typedef GhId = String;
|
|
|
|
extension GhIdX on GhId {
|
|
String get url => 'https://github.com/$this';
|
|
}
|