diff --git a/01.前端开发/.babelrc b/01.web/.babelrc similarity index 100% rename from 01.前端开发/.babelrc rename to 01.web/.babelrc diff --git a/01.前端开发/.gitignore b/01.web/.gitignore similarity index 100% rename from 01.前端开发/.gitignore rename to 01.web/.gitignore diff --git a/01.前端开发/LICENSE b/01.web/LICENSE similarity index 100% rename from 01.前端开发/LICENSE rename to 01.web/LICENSE diff --git a/01.前端开发/README.md b/01.web/README.md similarity index 100% rename from 01.前端开发/README.md rename to 01.web/README.md diff --git a/01.前端开发/jsconfig.json b/01.web/jsconfig.json similarity index 100% rename from 01.前端开发/jsconfig.json rename to 01.web/jsconfig.json diff --git a/01.前端开发/package-lock.json b/01.web/package-lock.json similarity index 100% rename from 01.前端开发/package-lock.json rename to 01.web/package-lock.json diff --git a/01.前端开发/package.json b/01.web/package.json similarity index 100% rename from 01.前端开发/package.json rename to 01.web/package.json diff --git a/01.前端开发/src/app.vue b/01.web/src/app.vue similarity index 100% rename from 01.前端开发/src/app.vue rename to 01.web/src/app.vue diff --git a/01.前端开发/src/components/login-form/index.js b/01.web/src/components/login-form/index.js similarity index 100% rename from 01.前端开发/src/components/login-form/index.js rename to 01.web/src/components/login-form/index.js diff --git a/01.前端开发/src/components/login-form/login-form.vue b/01.web/src/components/login-form/login-form.vue similarity index 100% rename from 01.前端开发/src/components/login-form/login-form.vue rename to 01.web/src/components/login-form/login-form.vue diff --git a/01.前端开发/src/config/config.js b/01.web/src/config/config.js similarity index 100% rename from 01.前端开发/src/config/config.js rename to 01.web/src/config/config.js diff --git a/01.前端开发/src/libs/util.js b/01.web/src/libs/util.js similarity index 100% rename from 01.前端开发/src/libs/util.js rename to 01.web/src/libs/util.js diff --git a/01.前端开发/src/main.js b/01.web/src/main.js similarity index 100% rename from 01.前端开发/src/main.js rename to 01.web/src/main.js diff --git a/01.前端开发/src/router.js b/01.web/src/router.js similarity index 100% rename from 01.前端开发/src/router.js rename to 01.web/src/router.js diff --git a/01.前端开发/src/static/images/login.png b/01.web/src/static/images/login.png similarity index 100% rename from 01.前端开发/src/static/images/login.png rename to 01.web/src/static/images/login.png diff --git a/01.前端开发/src/static/images/logo.png b/01.web/src/static/images/logo.png similarity index 100% rename from 01.前端开发/src/static/images/logo.png rename to 01.web/src/static/images/logo.png diff --git a/01.前端开发/src/static/images/validate0.jpg b/01.web/src/static/images/validate0.jpg similarity index 100% rename from 01.前端开发/src/static/images/validate0.jpg rename to 01.web/src/static/images/validate0.jpg diff --git a/01.前端开发/src/styles/common.css b/01.web/src/styles/common.css similarity index 100% rename from 01.前端开发/src/styles/common.css rename to 01.web/src/styles/common.css diff --git a/01.前端开发/src/template/index.ejs b/01.web/src/template/index.ejs similarity index 100% rename from 01.前端开发/src/template/index.ejs rename to 01.web/src/template/index.ejs diff --git a/01.前端开发/src/vendors.js b/01.web/src/vendors.js similarity index 100% rename from 01.前端开发/src/vendors.js rename to 01.web/src/vendors.js diff --git a/01.前端开发/src/views/analysis/analysis.vue b/01.web/src/views/analysis/analysis.vue similarity index 100% rename from 01.前端开发/src/views/analysis/analysis.vue rename to 01.web/src/views/analysis/analysis.vue diff --git a/01.前端开发/src/views/layout/layout.less b/01.web/src/views/layout/layout.less similarity index 100% rename from 01.前端开发/src/views/layout/layout.less rename to 01.web/src/views/layout/layout.less diff --git a/01.前端开发/src/views/layout/layout.vue b/01.web/src/views/layout/layout.vue similarity index 100% rename from 01.前端开发/src/views/layout/layout.vue rename to 01.web/src/views/layout/layout.vue diff --git a/01.前端开发/src/views/login/login.less b/01.web/src/views/login/login.less similarity index 100% rename from 01.前端开发/src/views/login/login.less rename to 01.web/src/views/login/login.less diff --git a/01.前端开发/src/views/login/login.vue b/01.web/src/views/login/login.vue similarity index 100% rename from 01.前端开发/src/views/login/login.vue rename to 01.web/src/views/login/login.vue diff --git a/01.前端开发/src/views/repository/repository.vue b/01.web/src/views/repository/repository.vue similarity index 100% rename from 01.前端开发/src/views/repository/repository.vue rename to 01.web/src/views/repository/repository.vue diff --git a/01.前端开发/src/views/setting/setting.vue b/01.web/src/views/setting/setting.vue similarity index 100% rename from 01.前端开发/src/views/setting/setting.vue rename to 01.web/src/views/setting/setting.vue diff --git a/01.前端开发/src/views/user/user.vue b/01.web/src/views/user/user.vue similarity index 100% rename from 01.前端开发/src/views/user/user.vue rename to 01.web/src/views/user/user.vue diff --git a/01.前端开发/src/vuex/store.js b/01.web/src/vuex/store.js similarity index 100% rename from 01.前端开发/src/vuex/store.js rename to 01.web/src/vuex/store.js diff --git a/01.前端开发/webpack.base.config.js b/01.web/webpack.base.config.js similarity index 100% rename from 01.前端开发/webpack.base.config.js rename to 01.web/webpack.base.config.js diff --git a/01.前端开发/webpack.dev.config.js b/01.web/webpack.dev.config.js similarity index 100% rename from 01.前端开发/webpack.dev.config.js rename to 01.web/webpack.dev.config.js diff --git a/01.前端开发/webpack.prod.config.js b/01.web/webpack.prod.config.js similarity index 100% rename from 01.前端开发/webpack.prod.config.js rename to 01.web/webpack.prod.config.js diff --git a/02.后端开发/api.php b/02.php/api.php similarity index 100% rename from 02.后端开发/api.php rename to 02.php/api.php diff --git a/02.后端开发/app/controller/client.class.php b/02.php/app/controller/client.class.php similarity index 100% rename from 02.后端开发/app/controller/client.class.php rename to 02.php/app/controller/client.class.php diff --git a/02.后端开发/app/controller/config.class.php b/02.php/app/controller/config.class.php similarity index 100% rename from 02.后端开发/app/controller/config.class.php rename to 02.php/app/controller/config.class.php diff --git a/02.后端开发/app/controller/crontab.class.php b/02.php/app/controller/crontab.class.php similarity index 100% rename from 02.后端开发/app/controller/crontab.class.php rename to 02.php/app/controller/crontab.class.php diff --git a/02.后端开发/app/controller/firewall.class.php b/02.php/app/controller/firewall.class.php similarity index 100% rename from 02.后端开发/app/controller/firewall.class.php rename to 02.php/app/controller/firewall.class.php diff --git a/02.后端开发/app/controller/mail.class.php b/02.php/app/controller/mail.class.php similarity index 100% rename from 02.后端开发/app/controller/mail.class.php rename to 02.php/app/controller/mail.class.php diff --git a/02.后端开发/app/controller/svnserve.class.php b/02.php/app/controller/svnserve.class.php similarity index 100% rename from 02.后端开发/app/controller/svnserve.class.php rename to 02.php/app/controller/svnserve.class.php diff --git a/02.后端开发/app/controller/system.class.php b/02.php/app/controller/system.class.php similarity index 100% rename from 02.后端开发/app/controller/system.class.php rename to 02.php/app/controller/system.class.php diff --git a/02.后端开发/app/controller/user.class.php b/02.php/app/controller/user.class.php similarity index 100% rename from 02.后端开发/app/controller/user.class.php rename to 02.php/app/controller/user.class.php diff --git a/02.后端开发/app/core/controller.class.php b/02.php/app/core/controller.class.php similarity index 100% rename from 02.后端开发/app/core/controller.class.php rename to 02.php/app/core/controller.class.php diff --git a/02.后端开发/app/function/file.function.php b/02.php/app/function/file.function.php similarity index 100% rename from 02.后端开发/app/function/file.function.php rename to 02.php/app/function/file.function.php diff --git a/02.后端开发/app/function/web.function.php b/02.php/app/function/web.function.php similarity index 100% rename from 02.后端开发/app/function/web.function.php rename to 02.php/app/function/web.function.php diff --git a/02.后端开发/app/model/connModel.class.php b/02.php/app/model/connModel.class.php similarity index 100% rename from 02.后端开发/app/model/connModel.class.php rename to 02.php/app/model/connModel.class.php diff --git a/02.后端开发/config/config.php b/02.php/config/config.php similarity index 100% rename from 02.后端开发/config/config.php rename to 02.php/config/config.php diff --git a/02.后端开发/extension/Medoo/Medoo.php b/02.php/extension/Medoo/Medoo.php similarity index 100% rename from 02.后端开发/extension/Medoo/Medoo.php rename to 02.php/extension/Medoo/Medoo.php diff --git a/02.后端开发/extension/PHPMailer/language/phpmailer.lang-zh_cn.php b/02.php/extension/PHPMailer/language/phpmailer.lang-zh_cn.php similarity index 100% rename from 02.后端开发/extension/PHPMailer/language/phpmailer.lang-zh_cn.php rename to 02.php/extension/PHPMailer/language/phpmailer.lang-zh_cn.php diff --git a/02.后端开发/extension/PHPMailer/src/Exception.php b/02.php/extension/PHPMailer/src/Exception.php similarity index 100% rename from 02.后端开发/extension/PHPMailer/src/Exception.php rename to 02.php/extension/PHPMailer/src/Exception.php diff --git a/02.后端开发/extension/PHPMailer/src/PHPMailer.php b/02.php/extension/PHPMailer/src/PHPMailer.php similarity index 100% rename from 02.后端开发/extension/PHPMailer/src/PHPMailer.php rename to 02.php/extension/PHPMailer/src/PHPMailer.php diff --git a/02.后端开发/extension/PHPMailer/src/SMTP.php b/02.php/extension/PHPMailer/src/SMTP.php similarity index 100% rename from 02.后端开发/extension/PHPMailer/src/SMTP.php rename to 02.php/extension/PHPMailer/src/SMTP.php diff --git a/02.后端开发/server/svnadmind.php b/02.php/server/svnadmind.php similarity index 100% rename from 02.后端开发/server/svnadmind.php rename to 02.php/server/svnadmind.php diff --git a/03.sqlite/svnadmin.db b/03.sqlite/svnadmin.db new file mode 100644 index 0000000..cfbde5a Binary files /dev/null and b/03.sqlite/svnadmin.db differ diff --git a/03.数据库/svnadmin.sql b/03.数据库/svnadmin.sql deleted file mode 100644 index 7f70538..0000000 --- a/03.数据库/svnadmin.sql +++ /dev/null @@ -1,252 +0,0 @@ --- MySQL dump 10.19 Distrib 10.3.28-MariaDB, for Linux (x86_64) --- --- Host: localhost Database: svnadmin --- ------------------------------------------------------ --- Server version 10.3.28-MariaDB - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `config` --- - -DROP TABLE IF EXISTS `config`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `config` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `config_name` varchar(100) NOT NULL, - `config_value` varchar(500) DEFAULT NULL, - `config_ps` varchar(100) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='记录系统中可能被经常修改的配置项'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `config` --- - -LOCK TABLES `config` WRITE; -/*!40000 ALTER TABLE `config` DISABLE KEYS */; -INSERT INTO `config` VALUES (1,'BACKUP_PATH','/var/backup','备份文件存储路径'),(2,'PROTOCOL','http','协议类型'),(3,'SERVER_DOMAIN','localhost','服务器域名'),(4,'SERVER_IP','127.0.0.1','服务器IP地址'),(5,'SVN_PORT','3690','SVN服务的端口'),(6,'SVN_REPOSITORY_PATH','/www/svn','项目仓库的父路径'),(7,'SVN_WEB_PATH','/repository','SVN目录浏览的根名称'),(8,'ALL_MAIL_STATUS','0','系统是否启用邮件服务'),(9,'mod_dav_svn_status','0','系统是否支持开启目录浏览'); -/*!40000 ALTER TABLE `config` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `crontab` --- - -DROP TABLE IF EXISTS `crontab`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `crontab` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `backup_type` varchar(45) NOT NULL DEFAULT '备份类型 dump 或 hotcopy', - `cycle_type` varchar(45) NOT NULL DEFAULT '执行周期 weekly daily hourly', - `week` varchar(45) NOT NULL DEFAULT '周几执行 1 2 3 4 5 6 7', - `hour` varchar(45) NOT NULL DEFAULT '哪个小时执行 0-24', - `minute` varchar(45) NOT NULL DEFAULT '哪分钟执行 0-60', - `repository_name` varchar(45) NOT NULL DEFAULT '操作仓库名称', - `crontab_count` varchar(45) NOT NULL DEFAULT '备份保存数量', - `sign` varchar(45) NOT NULL DEFAULT '计划任务标识', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `crontab` --- - -LOCK TABLES `crontab` WRITE; -/*!40000 ALTER TABLE `crontab` DISABLE KEYS */; -/*!40000 ALTER TABLE `crontab` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `log` --- - -DROP TABLE IF EXISTS `log`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `log` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `userid` int(11) NOT NULL, - `content` varchar(45) NOT NULL, - `ip` varchar(45) NOT NULL, - `browser` varchar(45) DEFAULT NULL, - `os` varchar(45) DEFAULT NULL, - `time` varchar(45) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统日志表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `log` --- - -LOCK TABLES `log` WRITE; -/*!40000 ALTER TABLE `log` DISABLE KEYS */; -/*!40000 ALTER TABLE `log` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `mail` --- - -DROP TABLE IF EXISTS `mail`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `mail` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `protocol_type` varchar(45) NOT NULL COMMENT '邮件服务类型', - `mail_host` varchar(1000) NOT NULL COMMENT '邮件服务器主机地址', - `mail_port` int(11) NOT NULL COMMENT '邮件服务器端口', - `mail_ssl_port` int(11) DEFAULT NULL COMMENT '邮件服务器SSL端口', - `mail_user` varchar(1000) NOT NULL COMMENT '邮件服务器用户名', - `mail_password` varchar(1000) NOT NULL COMMENT '邮件服务器密码', - `send_mail` varchar(1000) NOT NULL COMMENT '邮件发送人', - `single_mail_status` int(1) NOT NULL COMMENT '该条邮件服务器记录是否启用', - `add_time` varchar(1000) NOT NULL COMMENT '记录添加时间', - `ps` varchar(1000) DEFAULT NULL COMMENT '其它说明', - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='邮件服务器记录表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `mail` --- - -LOCK TABLES `mail` WRITE; -/*!40000 ALTER TABLE `mail` DISABLE KEYS */; -INSERT INTO `mail` VALUES (1,'SMTP','smtp.qq.com',587,0,'1801168257','fybbookmsiuvdaeg','1801168257@qq.com',1,'2021-09-16-00-28-06',''); -/*!40000 ALTER TABLE `mail` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `repository` --- - -DROP TABLE IF EXISTS `repository`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `repository` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `repository_name` varchar(1000) NOT NULL, - `repository_url` varchar(1000) DEFAULT NULL, - `repository_checkout_url` varchar(1000) DEFAULT NULL, - `repository_web_url` varchar(1000) DEFAULT NULL, - `repository_size` double DEFAULT NULL, - `repository_edittime` varchar(20) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='仓库表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `repository` --- - -LOCK TABLES `repository` WRITE; -/*!40000 ALTER TABLE `repository` DISABLE KEYS */; -/*!40000 ALTER TABLE `repository` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `role` --- - -DROP TABLE IF EXISTS `role`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `role` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `rolename` varchar(100) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='用户角色表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `role` --- - -LOCK TABLES `role` WRITE; -/*!40000 ALTER TABLE `role` DISABLE KEYS */; -INSERT INTO `role` VALUES (1,'超级管理员'),(2,'系统管理员'),(3,'普通用户'); -/*!40000 ALTER TABLE `role` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `user` --- - -DROP TABLE IF EXISTS `user`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `user` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `roleid` int(11) NOT NULL, - `username` varchar(45) DEFAULT NULL, - `password` varchar(45) DEFAULT NULL, - `last_login_ip` varchar(45) DEFAULT NULL, - `last_login_time` varchar(45) DEFAULT NULL, - `email` varchar(45) DEFAULT NULL, - `phone` varchar(45) DEFAULT NULL, - `realname` varchar(45) DEFAULT NULL, - `add_time` varchar(45) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COMMENT='用户表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `user` --- - -LOCK TABLES `user` WRITE; -/*!40000 ALTER TABLE `user` DISABLE KEYS */; -INSERT INTO `user` VALUES (1,1,'administrator','administrator',NULL,NULL,'1801168257@qq.com','','超级管理员','0000-00-00-00-00-00'); -/*!40000 ALTER TABLE `user` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `user_repository` --- - -DROP TABLE IF EXISTS `user_repository`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `user_repository` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `userid` int(11) NOT NULL, - `repositoryid` int(11) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户-角色表 保存了每个普通用户被授权使用的仓库列表'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `user_repository` --- - -LOCK TABLES `user_repository` WRITE; -/*!40000 ALTER TABLE `user_repository` DISABLE KEYS */; -/*!40000 ALTER TABLE `user_repository` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2021-09-16 0:40:32