Skip to content

Commit

Permalink
1.20 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kalcaddle committed May 26, 2021
1 parent 5f47ad8 commit 2ea8f09
Show file tree
Hide file tree
Showing 34 changed files with 107 additions and 20 deletions.
4 changes: 2 additions & 2 deletions app/api/KodSSO.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static function checkToken($appName,$host,$token){
private static function phpBin(){
if(defined('PHP_BINARY') && @file_exists(PHP_BINARY)){
$php = str_replace('-fpm','',PHP_BINARY);
if(file_exists($php)) return $php;
if(@file_exists($php)) return $php;
}
if(!defined('PHP_BINDIR')) return false; // PHP_BINDIR,PHP_BINARY
$includePath = get_include_path();// php_ini_loaded_file();//php.ini path;
Expand All @@ -91,7 +91,7 @@ private static function phpBin(){
dirname(dirname(dirname($includePath))).'/bin/',
);
foreach ($checkPath as $path) {
if(file_exists($path.$binFile)) return $path.$binFile;
if(@file_exists($path.$binFile)) return $path.$binFile;
}
return 'php';
}
Expand Down
2 changes: 1 addition & 1 deletion app/autoload.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions app/controller/admin/log.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function typeListMerge($list){


/**
* 日志列表
* 后台管理-日志列表
* @return void
*/
public function get(){
Expand Down Expand Up @@ -163,7 +163,7 @@ public function loginLog(){
}

/**
* 用户文档日志
* 个人中心-用户文档日志
* @return void
*/
public function userLog(){
Expand Down Expand Up @@ -198,7 +198,7 @@ public function userLog(){
show_json($res);
}
/**
* 用户登录日志
* 个人中心-用户登录日志
* @return void
*/
public function userLogLogin(){
Expand Down
2 changes: 1 addition & 1 deletion app/controller/user/setting.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function decodePwd($password) {
*/
public function setHeadImage() {
$link = Input::get('link', 'require');
if(strpos($link, APP_HOST) != 0) {
if(strpos($link, APP_HOST) !== 0) {
show_json(LNG('common.illegalRequest'), false);
}
$userID = USER_ID;
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/ar/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "بدء اللون",
"user.theme.colorEnd" => "لون النهاية",
"user.theme.colorRadius" => "زاوية التدرج",
"user.theme.themeImage" => "صورة الخلفية",
"user.theme.themeImageDesc" => "الدعم: رابط الصورة ، لون التدرج css ، اتبع الخلفية",
"user.theme.imageWall" => "اتبع الخلفية",
"user.wall.random" => "خلفية عشوائية",
"user.wall.paperDesktop" => "خلفيات سطح المكتب",
"user.wall.paperDeskMgt" => "إدارة خلفية سطح المكتب",
"user.wall.paperLoginMgt" => "إدارة خلفية تسجيل الدخول",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/bn/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "রঙ শুরু করুন",
"user.theme.colorEnd" => "শেষ রঙ",
"user.theme.colorRadius" => "গ্রেডিয়েন্ট কোণ",
"user.theme.themeImage" => "পটভূমি চিত্র",
"user.theme.themeImageDesc" => "সমর্থন: ছবি ইউআরএল, সিএসএস গ্রেডিয়েন্ট রঙ, ওয়ালপেপার অনুসরণ করুন",
"user.theme.imageWall" => "ওয়ালপেপার অনুসরণ করুন",
"user.wall.random" => "এলোমেলো ওয়ালপেপার",
"user.wall.paperDesktop" => "ডেস্কটপ ওয়ালপেপার",
"user.wall.paperDeskMgt" => "ডেস্কটপ ওয়ালপেপার পরিচালনা",
"user.wall.paperLoginMgt" => "ওয়ালপেপার পরিচালনা লগইন করুন",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/de/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Starten Sie die Farbe",
"user.theme.colorEnd" => "Endfarbe",
"user.theme.colorRadius" => "Steigungswinkel",
"user.theme.themeImage" => "Hintergrundbild",
"user.theme.themeImageDesc" => "Unterstützung: Bild-URL, CSS-Verlaufsfarbe, Hintergrundbild folgen",
"user.theme.imageWall" => "Folgen Sie dem Hintergrundbild",
"user.wall.random" => "Zufälliges Hintergrundbild",
"user.wall.paperDesktop" => "Desktop-Hintergründe",
"user.wall.paperDeskMgt" => "Desktop-Hintergrundverwaltung",
"user.wall.paperLoginMgt" => "Login Wallpaper Management",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/en/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Start color",
"user.theme.colorEnd" => "End color",
"user.theme.colorRadius" => "Gradient angle",
"user.theme.themeImage" => "Background picture",
"user.theme.themeImageDesc" => "Support: picture url, css gradient color, follow wallpaper",
"user.theme.imageWall" => "Follow wallpaper",
"user.wall.random" => "Random wallpaper",
"user.wall.paperDesktop" => "Desktop Wallpapers",
"user.wall.paperDeskMgt" => "Desktop wallpaper management",
"user.wall.paperLoginMgt" => "Login wallpaper management",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/es/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Color de inicio",
"user.theme.colorEnd" => "Color final",
"user.theme.colorRadius" => "Ángulo de gradiente",
"user.theme.themeImage" => "Imagen de fondo",
"user.theme.themeImageDesc" => "Soporte: URL de imagen, color degradado css, seguir fondo de pantalla",
"user.theme.imageWall" => "Seguir el fondo de pantalla",
"user.wall.random" => "Fondo de pantalla aleatorio",
"user.wall.paperDesktop" => "Fondos de escritorio",
"user.wall.paperDeskMgt" => "Gestión de fondos de escritorio",
"user.wall.paperLoginMgt" => "Gestión de fondos de pantalla de inicio de sesión",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/fr/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Couleur de départ",
"user.theme.colorEnd" => "Couleur finale",
"user.theme.colorRadius" => "Angle de dégradé",
"user.theme.themeImage" => "Image d'arrière-plan",
"user.theme.themeImageDesc" => "Support: URL de l'image, couleur dégradée css, suivre le fond d'écran",
"user.theme.imageWall" => "Suivre le papier peint",
"user.wall.random" => "Fond d'écran aléatoire",
"user.wall.paperDesktop" => "Fonds d'écran",
"user.wall.paperDeskMgt" => "Gestion du papier peint de bureau",
"user.wall.paperLoginMgt" => "Gestion des papiers peints de connexion",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/hi/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "रंग शुरू करो",
"user.theme.colorEnd" => "अंतिम रंग",
"user.theme.colorRadius" => "ढाल का कोण",
"user.theme.themeImage" => "पृष्ठभूमि चित्र",
"user.theme.themeImageDesc" => "समर्थन: चित्र यूआरएल, सीएसएस ढाल रंग, वॉलपेपर का पालन करें",
"user.theme.imageWall" => "वॉलपेपर का पालन करें",
"user.wall.random" => "यादृच्छिक वॉलपेपर",
"user.wall.paperDesktop" => "डेस्कटॉप वॉलपेपर",
"user.wall.paperDeskMgt" => "डेस्कटॉप वॉलपेपर प्रबंधन",
"user.wall.paperLoginMgt" => "वॉलपेपर प्रबंधन लॉगिन करें",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/id/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Mulai warna",
"user.theme.colorEnd" => "Warna akhir",
"user.theme.colorRadius" => "Sudut gradien",
"user.theme.themeImage" => "Gambar latar belakang",
"user.theme.themeImageDesc" => "Dukungan: url gambar, warna gradien css, ikuti wallpaper",
"user.theme.imageWall" => "Ikuti wallpaper",
"user.wall.random" => "Wallpaper acak",
"user.wall.paperDesktop" => "Wallpaper Desktop",
"user.wall.paperDeskMgt" => "Manajemen wallpaper desktop",
"user.wall.paperLoginMgt" => "Manajemen Wallpaper Login",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/it/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Inizia il colore",
"user.theme.colorEnd" => "Colore finale",
"user.theme.colorRadius" => "Angolo di gradiente",
"user.theme.themeImage" => "Immagine di sfondo",
"user.theme.themeImageDesc" => "Supporto: url dell'immagine, colore sfumato CSS, segui lo sfondo",
"user.theme.imageWall" => "Segui lo sfondo",
"user.wall.random" => "Sfondo casuale",
"user.wall.paperDesktop" => "Sfondi desktop",
"user.wall.paperDeskMgt" => "Gestione dello sfondo del desktop",
"user.wall.paperLoginMgt" => "Gestione sfondi per l'accesso",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/ja/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "開始色",
"user.theme.colorEnd" => "終了色",
"user.theme.colorRadius" => "勾配角",
"user.theme.themeImage" => "背景画像",
"user.theme.themeImageDesc" => "サポート:画像のURL、CSSのグラデーションカラー、壁紙に従う",
"user.theme.imageWall" => "壁紙に従ってください",
"user.wall.random" => "ランダムな壁紙",
"user.wall.paperDesktop" => "デスクトップの壁紙",
"user.wall.paperDeskMgt" => "デスクトップの壁紙管理",
"user.wall.paperLoginMgt" => "ログイン壁紙管理",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/ko/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "시작 색상",
"user.theme.colorEnd" => "엔드 컬러",
"user.theme.colorRadius" => "그라데이션 각도",
"user.theme.themeImage" => "배경 그림",
"user.theme.themeImageDesc" => "지원 : 사진 URL, CSS 그라디언트 색상, 배경 화면 따르기",
"user.theme.imageWall" => "바탕 화면 팔로우",
"user.wall.random" => "랜덤 바탕 화면",
"user.wall.paperDesktop" => "데스크탑 월페이퍼",
"user.wall.paperDeskMgt" => "바탕 화면 관리",
"user.wall.paperLoginMgt" => "로그인 배경 화면 관리",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/pl/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Rozpocznij kolor",
"user.theme.colorEnd" => "Kolor końcowy",
"user.theme.colorRadius" => "Kąt gradientu",
"user.theme.themeImage" => "Obraz tła",
"user.theme.themeImageDesc" => "Wsparcie: adres URL obrazu, kolor gradientu css, podążaj za tapetą",
"user.theme.imageWall" => "Postępuj zgodnie z tapetą",
"user.wall.random" => "Losowa tapeta",
"user.wall.paperDesktop" => "Tapety na pulpit",
"user.wall.paperDeskMgt" => "Zarządzanie tapetami na pulpicie",
"user.wall.paperLoginMgt" => "Zarządzanie tapetą logowania",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/pt/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Iniciar cor",
"user.theme.colorEnd" => "Cor final",
"user.theme.colorRadius" => "Ângulo de inclinação",
"user.theme.themeImage" => "Imagem de fundo",
"user.theme.themeImageDesc" => "Suporte: url da imagem, cor gradiente css, seguir papel de parede",
"user.theme.imageWall" => "Seguir papel de parede",
"user.wall.random" => "Papel de parede aleatório",
"user.wall.paperDesktop" => "Papéis de parede",
"user.wall.paperDeskMgt" => "Gerenciamento de papel de parede da área de trabalho",
"user.wall.paperLoginMgt" => "Gerenciamento de papel de parede de login",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/ru/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Начальный цвет",
"user.theme.colorEnd" => "Конечный цвет",
"user.theme.colorRadius" => "Угол градиента",
"user.theme.themeImage" => "Фоновое изображение",
"user.theme.themeImageDesc" => "Поддержка: URL-адрес изображения, цвет градиента css, следовать обоям",
"user.theme.imageWall" => "Следить за обоями",
"user.wall.random" => "Случайные обои",
"user.wall.paperDesktop" => "Обои для рабочего стола",
"user.wall.paperDeskMgt" => "Управление обоями рабочего стола",
"user.wall.paperLoginMgt" => "Управление обоями входа",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/ta/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "வண்ணத்தைத் தொடங்குங்கள்",
"user.theme.colorEnd" => "முடிவு நிறம்",
"user.theme.colorRadius" => "சாய்வு கோணம்",
"user.theme.themeImage" => "பின்னணி படம்",
"user.theme.themeImageDesc" => "ஆதரவு: படம் url, CSS சாய்வு வண்ணம், வால்பேப்பரைப் பின்தொடரவும்",
"user.theme.imageWall" => "வால்பேப்பரைப் பின்தொடரவும்",
"user.wall.random" => "சீரற்ற வால்பேப்பர்",
"user.wall.paperDesktop" => "டெஸ்க்டாப் வால்பேப்பர்கள்",
"user.wall.paperDeskMgt" => "டெஸ்க்டாப் வால்பேப்பர் மேலாண்மை",
"user.wall.paperLoginMgt" => "வால்பேப்பர் நிர்வாகத்தை உள்நுழைக",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/th/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "เริ่มสี",
"user.theme.colorEnd" => "สีสุดท้าย",
"user.theme.colorRadius" => "มุมไล่ระดับสี",
"user.theme.themeImage" => "ภาพพื้นหลัง",
"user.theme.themeImageDesc" => "การสนับสนุน: URL รูปภาพ, สีไล่ระดับสี css, ติดตามวอลล์เปเปอร์",
"user.theme.imageWall" => "ติดตามวอลล์เปเปอร์",
"user.wall.random" => "วอลล์เปเปอร์แบบสุ่ม",
"user.wall.paperDesktop" => "วอลเปเปอร์เดสก์ท็อป",
"user.wall.paperDeskMgt" => "การจัดการวอลเปเปอร์บนเดสก์ท็อป",
"user.wall.paperLoginMgt" => "การจัดการวอลเปเปอร์เข้าสู่ระบบ",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/tr/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Renk başlatmak",
"user.theme.colorEnd" => "Son renk",
"user.theme.colorRadius" => "Gradyan açısı",
"user.theme.themeImage" => "Arkaplan resmi",
"user.theme.themeImageDesc" => "Destek: resim url'si, css gradyan rengi, duvar kağıdını takip edin",
"user.theme.imageWall" => "Duvar kağıdını takip et",
"user.wall.random" => "Rastgele duvar kağıdı",
"user.wall.paperDesktop" => "Masaüstü Duvar Kağıtları",
"user.wall.paperDeskMgt" => "Masaüstü duvar kağıdı yönetimi",
"user.wall.paperLoginMgt" => "Giriş Duvar Kağıdı Yönetimi",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/uk/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Початковий колір",
"user.theme.colorEnd" => "Кінцевий колір",
"user.theme.colorRadius" => "Градієнтний кут",
"user.theme.themeImage" => "Фонове зображення",
"user.theme.themeImageDesc" => "Підтримка: URL-адреса зображення, колір градієнта css, дотримуйтесь шпалер",
"user.theme.imageWall" => "Слідуйте за шпалерами",
"user.wall.random" => "Випадкові шпалери",
"user.wall.paperDesktop" => "Шпалери для робочого столу",
"user.wall.paperDeskMgt" => "Управління шпалерами робочого столу",
"user.wall.paperLoginMgt" => "Управління шпалерами для входу",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/vi/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "Bắt đầu màu",
"user.theme.colorEnd" => "Màu kết thúc",
"user.theme.colorRadius" => "Góc dốc",
"user.theme.themeImage" => "Hình nền",
"user.theme.themeImageDesc" => "Hỗ trợ: url hình ảnh, màu gradient css, theo hình nền",
"user.theme.imageWall" => "Theo hình nền",
"user.wall.random" => "Hình nền ngẫu nhiên",
"user.wall.paperDesktop" => "Hình nền máy tính để bàn",
"user.wall.paperDeskMgt" => "Quản lý hình nền máy tính để bàn",
"user.wall.paperLoginMgt" => "Quản lý hình nền đăng nhập",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/zh-CN/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "开始颜色",
"user.theme.colorEnd" => "结束颜色",
"user.theme.colorRadius" => "渐变角度",
"user.theme.themeImage" => "背景图片",
"user.theme.themeImageDesc" => "支持: 图片url,css渐变色,跟随壁纸",
"user.theme.imageWall" => "跟随壁纸",
"user.wall.random" => "随机壁纸",
"user.wall.paperDesktop" => "桌面壁纸",
"user.wall.paperDeskMgt" => "桌面壁纸管理",
"user.wall.paperLoginMgt" => "登录壁纸管理",
Expand Down
4 changes: 4 additions & 0 deletions config/i18n/zh-TW/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@
"user.theme.colorStart" => "開始顏色",
"user.theme.colorEnd" => "結束顏色",
"user.theme.colorRadius" => "漸變角度",
"user.theme.themeImage" => "背景圖片",
"user.theme.themeImageDesc" => "支持: 圖片url,css漸變色,跟隨壁紙",
"user.theme.imageWall" => "跟隨壁紙",
"user.wall.random" => "隨機壁紙",
"user.wall.paperDesktop" => "桌面壁紙",
"user.wall.paperDeskMgt" => "桌面壁紙管理",
"user.wall.paperLoginMgt" => "登錄壁紙管理",
Expand Down
1 change: 1 addition & 0 deletions config/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
'animateOpen' => "1", // dialog动画
'soundOpen' => "0", // 操作音效
'theme' => "auto", // 'light','dark-mode','auto'
'themeImage' => "", // url/wallpage/css
'wall' => "8", // wall picture

"fileRepeat" => "replace", // rename,replace,skip
Expand Down
2 changes: 1 addition & 1 deletion config/version.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
define('KOD_VERSION','1.20');
define('KOD_VERSION_BUILD','0526');
define('KOD_VERSION_BUILD','052601');
// define('KOD_VERSION_BUILD',time());
4 changes: 2 additions & 2 deletions static/app/dist/api.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/app/dist/lib.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/app/dist/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/app/dist/vendor.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion static/app/vender/markdown/markdown-it.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/style/dist/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/style/lib/main.css

Large diffs are not rendered by default.

0 comments on commit 2ea8f09

Please sign in to comment.