Commit Graph

482 Commits (dd69dc8ab729833dba99e3d235e636358821cfe8)

Author SHA1 Message Date
Apex Liu 001cf53e8f temp. 2017-12-20 02:01:13 +08:00
Apex Liu 206c9fdead 审计授权页面,未完成。 2017-12-19 17:36:15 +08:00
Apex Liu d92e053c63 修正:远程账号保存的非默认端口号,再次编辑时显示为默认端口号了。 2017-12-19 12:36:03 +08:00
Apex Liu 940bc682e9 add audit policy, not completed yet. 2017-12-19 02:29:35 +08:00
Apex Liu 0171e54acb ...试验了url-protocol,但是无法从url-protocol处获取返回数据,暂时无解。 2017-12-18 18:44:14 +08:00
Apex Liu ff45dd438d 增加几处错误判断。 2017-12-18 13:34:14 +08:00
Apex Lu aedea7d3c7 fix: if path for sqlite database file not exists, web server not work. 2017-12-18 04:19:37 +08:00
Apex Liu c68bbc6f3f 完成:RDP远程连接按钮+选项功能,同时调整了调用助手的参数(rdp_width, rdp_height, rdp_console)。 2017-12-18 03:27:00 +08:00
Apex Liu 0d5cf16331 Merge branch 'feature/v3' of github.com:eomsoft/teleport into feature/v3 2017-12-15 21:53:15 +08:00
Apex Liu 5b6b9ebb0e temp 2017-12-15 21:52:59 +08:00
Apex Liu 7aed827ee8 1. 修正:使用sqlite数据库时,新安装的系统启动时显示大量exception日志;
2. 增加:创建审计操作记录表。
2017-12-15 18:03:09 +08:00
Apex Liu 0915e67710 upgrade echarts to v3.8.5. 2017-12-14 18:11:57 +08:00
Apex Liu 73be5d89f8 将freerdp启动命令行的 /gdi:sw 固定到助手内部,不允许用户自行设置。如果使用 /gdi:hw 会导致显示不正常。 2017-12-14 03:57:10 +08:00
Apex Liu 8bc95e5c17 调整dashboard,用户数、主机数、账号数和连接数也都从websocket方式进行获取并订阅通知,以得到实时反馈。 2017-12-14 02:30:26 +08:00
Apex Lu 8d4ecdf487 Upgrade version to 3.0.0.2, build and test on Linux. 2017-12-13 23:22:42 +08:00
Apex Liu eb916b0c49 登录界面细微调整 2017-12-13 19:45:28 +08:00
Apex Liu 1a025d3434 解决使用MySQL数据库时,如果TP服务先于MySQL服务启动,会导致显示“首次安装”界面。修改方法是启动时如果无法连接到MySQL服务,就每隔5秒重试连接。只有连接成功之后才判断是否需要创建表结构,从而决定是否显示“首次安装界面”。 2017-12-13 19:28:07 +08:00
Apex Liu 7336219cc5 dashboard的网络浏览和磁盘IO展示完成了。 2017-12-13 01:59:00 +08:00
Apex Liu 5b8f882f61 dashboard的CPU负载和内存用量展示可用了。 2017-12-12 18:38:30 +08:00
Apex Liu 145e3a0d5c add cron. 2017-12-12 11:27:43 +08:00
Apex Liu ca7d6ad517 加入psutil获取系统负载信息,加入websocket支持,在dashboard页面显示系统负载。 2017-12-12 05:23:32 +08:00
Apex Liu e8644b689d 简单实现了一个定时任务执行功能,准备将session的超时删除纳入定时任务中,另外定时清除日志存储和每5分钟采集系统负载信息也可以用此方式实现了。 2017-12-11 20:07:57 +08:00
Apex Liu d6bcdeb42d rdp播放功能部分可用(支持播放FreeRDP的录像,但是不能播放MSCST的录像)。 2017-12-11 01:02:19 +08:00
Apex Liu a3e0fea4d4 temp. 2017-12-08 16:08:11 +08:00
Apex Liu 9eaff8cc98 temp. 2017-12-07 04:29:25 +08:00
Apex Liu 86e95f7a16 修正了登录界面,防止被xss攻击。 2017-12-01 17:15:17 +08:00
Apex Liu 201f68b1b1 登录界面会根据系统默认设置显示合适的认证方式了。 2017-11-30 02:02:21 +08:00
Apex Liu 711cb139e7 增强对SSHv1的支持,例如不允许打开SFTP、不允许建立多个通道等等。与客户端直连远程主机依然有一些差异,因为客户端连接TP时总是使用的SSHv2协议,所以无法准确判断远程主机的协议版本从而导致一些行为上的差异。 2017-11-30 01:25:31 +08:00
Apex Liu c5af4d0ad2 部分支持SSHv1(SFTP还不行)... 2017-11-29 04:53:24 +08:00
Apex Liu c8ee43b924 temp. 2017-11-28 19:17:16 +08:00
Apex Liu 6bf1988ef7 temp. 2017-11-28 03:26:21 +08:00
Apex Liu 4ca0d58f1d temp. 2017-11-27 23:22:59 +08:00
Apex Liu c0bfcd2226 1. 修正批量导入模板在excel中打开是乱码的问题(必须使用utf8-BOM);2. dashboard页面可以显示基本信息数量了。 2017-11-27 18:54:10 +08:00
Apex Liu 9034daf0f3 助手使用原生RDP客户端,并解决使用原生RDP客户端两次连接的问题。但是目前无法连接,会认证失败。下一步需要重构数据包解析的模块。 2017-11-27 03:12:41 +08:00
Apex Liu 507ef71766 RDP功能恢复到v2的状态了,准备尝试支持系统原生RDP客户端。 2017-11-27 02:28:47 +08:00
Apex Lu 4d5007e413 fix ini parser not work when new line flag '\r\n' and '\n' in the same file. 2017-11-26 04:44:06 +08:00
Apex Liu 2fac0b76a5 修正了一堆MySQL的SQL语句的问题。准备发布技术预览版。 2017-11-26 03:20:14 +08:00
Apex Lu e94dcd30af temp. 2017-11-25 17:04:49 +08:00
Apex Lu f84eeb9a61 Fixed on Linux, but some SQL must update to fit MySQL(can not use field named desc, must use `desc`, because desc is a keywork of MySQL). 2017-11-25 16:18:56 +08:00
Apex Liu f56277fc30 准备在Linux平台上进行打包测试。 2017-11-24 23:28:38 +08:00
ApexLiu 461c8d2dad temp. 2017-11-24 19:53:49 +08:00
Apex Liu 40619185a7 开始调整自动构建脚本 2017-11-24 02:46:01 +08:00
Apex Liu 13b9a1ef17 改进sftp操作的历史记录和展示。 2017-11-24 01:35:40 +08:00
Apex Liu 49708edd3c 大幅改进ssh命令日志记录功能,并改进命令日志记录格式,为以后命令日志与录像回放同步显示做好准备。 2017-11-23 03:57:36 +08:00
Apex Liu a8629eaf60 改进SSH命令记录处理,尚未完成。 2017-11-22 02:42:17 +08:00
Apex Liu 1aa89aea9a temp. 2017-11-21 20:00:09 +08:00
Apex Liu 3dd61ebfae 开始修正SSH会话中记录命令行的功能(主要是各种Esc组合键的判断)。 2017-11-21 02:25:24 +08:00
Apex Liu 06366e6052 反复测试,SSH协议稳定了(需要使用改过的libssh,session.c),目前在Win平台测试,未发现崩溃、无法连接、连接时卡住、结束时还显示“使用中”等问题。 2017-11-21 00:39:26 +08:00
Apex Liu 48dfcd964d 貌似解决了SSH连接、断开连接但始终显示“使用中”的问题,还需要更大规模测试。 2017-11-20 18:46:05 +08:00
Apex Liu 17b843500e 问题:SecureCRT,只是是标签页“复制标签”出多个标签页,最后直接关闭窗口,就会出现一些通道不会被关闭的问题。ssh_event_dopoll()也不会报错说网络断开~~~ 2017-11-20 06:04:20 +08:00
Apex Liu 907cb1b9e1 改进:
1. SSH按通道进行记录录像,避免一个会话多个通道时录像数据混杂导致播放混乱;
  2. 无论是SSH-Shell还是SSH-SFTP,均能够根据实际建立连接并进行操作正确记录其类型,方便界面展示;
  3. 核心模块能够处理连接信息的引用计数,因此SFTP上编辑、保存文件可以正常工作了;
  4. 能够正确处理绝大部分断开连接后状态还在“使用中”的问题,但SecureCRT通过“连接SFTP标签页”后,有时仍然存在此问题。
2017-11-20 04:19:04 +08:00
Apex Liu 83b9ba01bc 准备改进核心服务关于session管理部分,以及ssh转发模块关于录像记录部分。 2017-11-19 22:51:48 +08:00
Apex Liu 6cd8d29470 用户登录相关功能实现完毕:密码登录、身份验证器动态密码登录,支持为单独用户指定登录认证方式,也可以使用系统默认设置。 2017-11-19 13:37:57 +08:00
Apex Liu 980a684d85 绑定身份认证器功能完成,使用身份认证器动态密码登录功能完成。 2017-11-19 00:09:25 +08:00
Apex Liu e73b7c5f6b 完成弱密码的服务端检测。 2017-11-18 01:20:27 +08:00
Apex Liu 58b2192753 改进SSH录像播放功能,完美支持字体放大/缩小,支持进度条拖放。 :) 2017-11-18 00:26:04 +08:00
Apex Liu c27da966e9 temp. 2017-11-17 02:05:59 +08:00
Apex Liu 05297ec5e5 用户自行找回密码流程走通,测试通过。客户端弱密码检测功能实现了,服务端的弱密码检测功能还需要实现。 2017-11-16 19:54:08 +08:00
Apex Liu 04cc466ea2 temp. 2017-11-15 17:58:18 +08:00
ApexLiu 29200ae84c 调整无侧边栏导航页面布局 2017-11-15 02:18:07 +08:00
Apex Liu 9a74a0bd28 temp. 2017-11-14 18:37:57 +08:00
ApexLiu f333a51e07 找回密码、重置密码等界面布局。 2017-11-14 01:29:06 +08:00
Apex Liu 367fafdd67 temp. 2017-11-13 19:01:34 +08:00
ApexLiu 7e1f6705e7 temp. 2017-11-13 08:23:19 +08:00
Apex Liu d634995bba temp. 2017-11-11 20:40:07 +08:00
ApexLiu 6e62cafe36 temp 2017-11-11 01:10:51 +08:00
Apex Liu 1db8db69c6 temp. 2017-11-08 18:54:22 +08:00
Apex Liu 39ced04d25 temp. 2017-11-06 13:01:19 +08:00
ApexLiu 99529630c6 temp. 2017-11-06 01:50:26 +08:00
Apex Liu f0e1c2afc8 系统设置-存储设置功能完成,存储空间清理功能完成。 2017-11-05 15:08:26 +08:00
ApexLiu e686a583de load/save security and SMTP settings of system configuration page. 2017-11-05 00:20:43 +08:00
Apex Liu 37f8fc8b6f temp. 2017-11-04 18:21:48 +08:00
ApexLiu f5392091f9 temp. 2017-11-04 01:56:15 +08:00
Apex Liu 333c244379 调整:核心服务崩溃时处于连接状态的会话,修复其终止时间,在会话历史列表中能够显示大约的运行时长。 2017-11-03 18:54:50 +08:00
ApexLiu 71bd6817c2 todo: 系统设置中的各项,应该分类后按json格式存放,方便管理及将来扩展。 2017-11-03 01:02:27 +08:00
Apex Liu 0247d5603d 角色管理功能完成。 2017-11-02 19:28:05 +08:00
Apex Liu 0f25a5e372 调整主机账号界面中账号管理对话框,允许批量禁用/解禁/删除账号。 2017-11-02 17:12:09 +08:00
ApexLiu e06d90d248 . 2017-11-02 01:32:18 +08:00
Apex Liu 6fb4055ead 实现了主机组、账号组的禁用/解禁对运维授权策略的影响。实现了用户组中删除用户对运维策略的影响。 2017-11-01 18:31:28 +08:00
ApexLiu 4207f8780d . 2017-11-01 01:02:12 +08:00
ApexLiu 40e0d1cc11 lock/unlock ops-policy works now. 2017-11-01 00:16:11 +08:00
Apex Liu 70a5e7e452 fix json file format. 2017-10-31 22:25:53 +08:00
Apex Liu e075dcc690 实现了主机、账号的禁用、解禁及删除对授权关系的影响。 2017-10-31 18:52:49 +08:00
Apex Liu 51b143c828 web端做了很大改动,尚未完成。 2017-10-31 14:52:03 +08:00
ApexLiu 2d0ce5da20 temp. 2017-10-31 01:09:09 +08:00
Apex Liu 65f2d1ceae temp. 2017-10-30 18:14:48 +08:00
ApexLiu a49590705d temp. 2017-10-30 09:42:02 +08:00
ApexLiu 3d2754799f temp 2017-10-29 18:22:15 +08:00
ApexLiu 8019bf8be3 . 2017-10-26 11:08:24 +08:00
ApexLiu 3a62227af6 . 2017-10-26 09:54:28 +08:00
ApexLiu 5155d4ff5d temp. 2017-10-19 18:59:08 +08:00
Apex Liu 7e7c63253a temp. 2017-10-12 20:35:57 +08:00
ApexLiu 3e2f06a740 可以在MacOS上编译tp_core和libtpssh了 :) 2017-09-13 21:33:49 +08:00
Apex Liu b43fbc4382 配合WEB界面调整一些会话参数。 2017-09-07 02:47:08 +08:00
Apex Liu 3528c857ac . 2017-08-29 18:03:01 +08:00
Apex Liu 1b92d81d89 . 2017-08-27 03:06:51 +08:00
Apex Liu f286f7d718 整理代码 2017-08-23 03:35:40 +08:00
Apex Liu be59d1a612 整理代码。 2017-08-22 17:31:35 +08:00
Apex Liu eef2ce4460 整理代码,调整参数名称,避免混淆。 2017-08-21 17:32:17 +08:00
Apex Liu 191d007678 . 2017-08-21 05:22:35 +08:00
Apex Liu 73d51a2563 prepare for v3. 2017-08-21 01:54:37 +08:00
Apex Liu ab7f6e555e typo. 2017-08-09 11:16:55 +08:00
Apex Liu a40af30a15 修正:某些ssh录像无法回放(无法使用json编码,使用base64打包解决);
修正:ssh录像回放调速功能不正常;
改进:ssh录像回放增加“跳过无操作时间”选项。
2017-07-18 01:12:35 +08:00
Apex Liu 17ff40746e . 2017-06-29 19:27:57 +08:00
Apex Liu 33aeaacdd1 2017-06-26 17:25:11 +08:00
Apex Liu 2b115fa2b5 fix: 默认WEB端口为80时,重放RDP录像会失败。 2017-06-26 01:27:38 +08:00
Apex Liu f3e1b1e207 修正:普通用户无法打开个人中心页面。 2017-06-07 15:04:30 +08:00
Apex Liu 9b353f89c8 try to fix putty can not connect to centos 6.8, but not fixed. 2017-06-06 20:47:40 +00:00
Apex Liu 70d53e7bdc 升级版本到v2.2.10.1,准备发布。 2017-06-07 00:47:32 +08:00
Apex Liu 275cdc25bd 修正:MySQL的8小时无访问就自动断开的问题。 2017-06-07 00:45:45 +08:00
Apex Liu 833ac9deb6 修正:数据库升级时,sqlite未能正确判断。 2017-06-06 20:57:20 +08:00
ApexLiu 53889c4592 develop on MacOS. 2017-06-06 02:22:52 +08:00
Apex Liu 15e5c47125 升级到版本v2.2.9.4,准备发布。 2017-06-05 17:50:57 +08:00
Apex Liu e66e002161 修正:某些主机ssh服务不支持查询所支持的认证方式,导致无法进行ssh连接。 2017-06-05 17:06:43 +08:00
Apex Liu 0aba3ce42d 修正:手误,多了一个逗号,导致SQL语法错误,无法创建account表。 2017-06-05 12:23:16 +08:00
Apex Liu 7208f39aa0 修正:MySQL长时间未通讯会丢失连接;改进:导入导出数据库时增加对数据库版本的检查;改进:页面上总是显示teleport服务器的时间(配合检查身份认证器的时间是否同步); 2017-06-04 18:07:50 +08:00
Apex Liu 1a3f7f3378 升级服务端版本号到 2.2.9.3,准备发布新版本。 2017-06-04 03:41:56 +08:00
Apex Liu 6ef17c79b1 支持google身份验证器做双因子登录了。 2017-06-04 03:26:42 +08:00
Apex Liu 7881d0f1ee . 2017-06-01 18:40:34 +08:00
Apex Liu 1920375478 数据库导入使用事务的方式,提升效率。 2017-06-01 12:39:38 +08:00
Apex Liu 11567dd6f4 . 2017-06-01 03:04:14 +08:00
Apex Liu 22900ebf9f 支持全量的数据库导入导出(仅数据,不含表结构)。 2017-05-31 19:00:31 +08:00
Apex Liu 10090648ff temp: hard code for ssh fix not work on linux. 2017-05-30 14:33:16 +00:00
Apex Liu 0314268926 解决某些情况下ssh远程连接卡住的问题(已经在Win上测试通过)。 2017-05-30 05:04:27 +08:00
Apex Liu f861da6d66 支持ssh“交互式登录”,以支持FreeBSD10等系统(默认设置为仅允许交互式登录或私钥登录方式)。 2017-05-29 04:29:42 +08:00
Apex Liu 98172db2f8 解决普通用户无法使用私钥进行远程SSH连接的问题(手误)。 2017-05-28 14:56:35 +08:00
Apex Liu 4ae6d4c5b5 1. 无法连接到远程主机时,连接超时设置为10秒; 2. 解决RDP连接出错时,仍然汇报连接成功的问题。 2017-05-28 13:08:37 +08:00
Apex Liu ef23397be8 支持记录SFTP操作日志了,能记录文件打开、删除,目录创建、删除,改名以及创建符号链接等操作。 2017-05-27 23:51:20 +08:00
Apex Liu 428dc323f3 1. 修正mysql中varchar用作索引字段时,长度必须小于等于255;
2. temp: 配置页面加入导入导出按钮。
2017-05-26 02:18:01 +08:00
Apex Liu c5859cdce6 fix: when replay folder not exists, shown incorrect error message on log page. 2017-05-25 02:14:59 +08:00
Apex Liu 41240fd8a7 1. fix: mysql query not commit; 2. fix: if replay folder not created, the log page can not show. 2017-05-24 18:12:12 +00:00
Apex Liu 9ab930bd55 1. 设定服务端版本为2.2.8.1,准备发布;2. 为docker发布调整默认数据目录路径(安装目录下的data目录),包括配置文件、日志文件、录像文件、数据库文件等; 2017-05-24 17:28:28 +08:00
Apex Liu 7e80ab6ed3 1. 调整安装页面,根据用户配置文件显示要操作的数据库;2. 支持重新加载配置文件;3. 调整几个文件名; 2017-05-23 19:30:59 +08:00
Apex Liu 233702811e mysql支持功能完成,还需要对安装页面进行调整。 2017-05-22 02:40:45 +08:00
Apex Liu 47f86aee8e temp: 解决显示录像文件所在磁盘剩余空间不正确的问题;升级config类,使之在保存时能保存注释。 2017-05-19 18:17:02 +08:00
Apex Liu 1894dbc5b4 temp: config类 2017-05-18 18:33:24 +08:00
Apex Liu 4c3e98d38d temp: 暂时不允许升级到MySQL,如需使用MySQL,只能在新安装的时候选择使用。 2017-05-17 02:15:07 +08:00
Apex Liu f7b5768155 temp. 2017-05-14 17:24:59 +08:00
Apex Liu 28ca556551 temp: config class. 2017-05-14 17:24:32 +08:00
Apex Liu cb9ecebbce temp: 配置信息界面显示数据库类型。 2017-05-13 23:52:21 +08:00
Apex Liu b485eb7857 temp: add dashboard. 2017-05-12 19:35:15 +08:00
Apex Liu 750df290c8 temp:改进配置管理界面。 2017-05-11 02:45:20 +08:00
Apex Liu a98df86d19 temp. 2017-05-05 19:10:12 +08:00
apexliu 67c321dfa6 temp. 2017-05-04 08:14:17 +00:00
Apex Liu 13250ec081 1. try to fix crash on Linux by use libssh multi-thread initialization function.
2. update libssh to v0.7.5.
3. update build script to match libssh threads library.
2017-04-30 17:46:11 +00:00
Apex Liu 79451a95ff temp. 2017-04-29 21:34:19 +08:00
Apex Liu 1b9cf00c4d 操作出错时,页面显示更详细的错误信息,方便定位问题。 2017-04-29 21:32:53 +08:00
apexliu 3c3703d9a9 所有的json调用均返回错误值和错误信息,方便定位问题。 2017-04-23 18:02:38 +08:00
Apex Liu 94aebc3277 修正:修改密码会失败的问题。 2017-04-19 18:44:07 +08:00
Apex Liu 32e0991164 修正:配置了端口号后不能正常工作。 2017-04-18 18:56:45 +08:00
apexliu 45edd4e21f 优化升级向导页面,避免出现不知道下一步操作的困扰; 2017-04-18 01:52:07 +08:00
apexliu 1be2d393c9 1. 修正部分数据库操作,避免新安装的版本会出现无法无法连接数据库的问题;
2. 优化安装向导页面,避免出现不知道下一步操作的困扰;
3. 日志页面,只有成功操作的连接才出现回放按钮,避免困扰;
2017-04-18 01:34:21 +08:00
Apex Liu eb39a062e5 升级版本号到2.2.6.1,准备发布修订版。 2017-04-17 17:49:44 +08:00
Apex Liu e2e0097a4a #10 问题仍然存在,暂时屏蔽可能导致此问题的代码,再进行测试。 2017-04-17 17:40:17 +08:00
Apex Liu 1db6a66ba1 修正一处手误。 2017-04-17 12:16:48 +08:00
Apex Liu f9ae8029f2 修正新安装系统(没有数据库时)无法以admin身份登录的问题。 2017-04-17 10:21:08 +08:00
Apex Liu 9bce1dbe1d fix rdp replay data file re-location. 2017-04-16 14:39:17 +00:00
apexliu 4c47d82c68 升级版本号到2.2.5.1,准备发布新版本。 2017-04-16 11:24:31 +08:00
apexliu 59f14d3e73 修正被锁定的用户仍然可以登录;修正录像文件中记录的起始时间不正确;增加ssh回放界面显示会话详细信息; 2017-04-16 06:15:07 +08:00
apexliu 43a42f863e . 2017-04-15 02:32:57 +08:00
Apex Liu d71217d50f 统一录像文件格式。 2017-04-14 18:40:20 +08:00
Apex Liu 763fdb11c8 add some ui design test page. 2017-04-14 17:07:15 +08:00
apexliu 4ec857e206 . 2017-04-13 02:57:00 +08:00
Apex Liu 8e8a06628d change class name, otherwise crash when rdp and ssh work together. 2017-04-12 18:08:33 +00:00
apexliu 5b30dc8f47 build rdp on linux. 2017-04-12 11:02:03 +00:00
apexliu fe34aafa49 rdp works with freerdp on Windows. 2017-04-10 00:36:38 +08:00
Apex Liu 4ee850c83e temp. 2017-04-07 15:05:29 +08:00
apexliu d1270e38ab temp. 2017-04-07 03:27:15 +08:00
Apex Liu 669fc79eae temp. 2017-04-06 18:46:58 +08:00
apexliu 2f315c558b Merge remote-tracking branch 'remotes/origin/dev'
# Conflicts:
#	build/builder/build-external.py
#	build/builder/build-server.py
#	server/.idea/server.iml
2017-04-05 03:44:11 +08:00
apexliu f80e12c244 准备发布版本v2.1.2.1。 2017-03-30 04:39:03 +08:00
apexliu 61c1b69cd9 修正web播放录像时的录像文件路径,避免core服务设置了非默认重放文件路径后web出现找不到文件的问题。 2017-03-29 02:56:05 +08:00
apexliu 349d679742 fixme: win全新安装并初始化数据库后,必须重启web服务,否则数据库访问总是会失败。 2017-03-28 01:55:29 +08:00
apexliu c473b1973b Merge branch 'dev' of github.com:eomsoft/teleport into dev
# Conflicts:
#	server/tp_core/core/main.cpp
#	server/tp_core/core/ts_env.cpp
#	server/tp_core/core/ts_env.h
#	server/www/teleport/app/eom_app/app/db.py
2017-03-28 01:16:30 +08:00
Apex Liu b3a617614e works on linux now. 2017-03-27 17:10:26 +00:00
apexliu 9af9964330 Merge branch 'dev' of github.com:eomsoft/teleport into dev 2017-03-27 21:29:20 +08:00
apexliu 91b0d0bfb2 temp. 2017-03-27 11:54:28 +00:00
apexliu a592da9626 修复调整路径带来的小bug。 2017-03-27 05:11:47 +08:00
apexliu d3c581a857 fixme: Windows版本的web服务有问题,一旦从服务管理器中停止,就会自动被删除。 2017-03-27 03:20:51 +08:00
Apex Liu 38c7f2ad97 fixme: core on linux, can not found core.ini after install. 2017-03-26 19:12:15 +00:00
apexliu bff60a1f74 当前数据库版本升级到5,但是升级脚本还需要调整:原来各个表的前缀是ts_,应该保持不变,从v5开始,配置表的名称改为tp_前缀,下一个版本v6则进一步将所有表的前缀改为tp_并且调整字段名称(去除不必要的字段名称前缀)。 2017-03-23 01:51:36 +08:00
Apex Liu ba44d6c951 temp. 2017-03-22 14:16:41 +08:00
apexliu 1d665769ee temp. 2017-03-22 02:13:57 +08:00
apexliu 2cada368e6 逐步调整const常量在各个模块中的统一。 2017-03-21 01:19:08 +08:00
apexliu 738a5cf01e temp 2017-03-20 08:47:00 +08:00
ApexLiu e80d27c1a3 升级向导简单测试通过。下一步调整数据表中的字段名(表中的字段名无需加表名称前缀),且将所有操作数据库的地方改为使用新的封装类的方式,为将来支持mysql做准备。 2017-03-19 11:44:09 +08:00
ApexLiu 112cf02146 安装和升级向导功能完成,开始测试。 2017-03-19 10:34:39 +08:00
apexliu 9b59d6ec99 temp. 2017-03-18 01:34:36 +08:00
Apex Liu 8a04467e2a WEB方式安装向导功能完成,可以从零架设TELEPORT服务了。下一步是升级向导。 2017-03-17 19:15:48 +08:00
apexliu 054deb839e working... 2017-03-17 02:34:45 +08:00
Apex Liu f142793394 temp. 2017-03-16 18:45:31 +08:00
Apex Liu 32bea1a67d fix bug #10. 2017-03-15 17:57:21 +00:00
Apex Liu 4af43622d7 temp. 2017-03-15 18:20:26 +08:00
apexliu c7cd8ba1b8 use libssh-0.7.4 but not the last master branch(still with some bugs). 2017-03-15 18:17:02 +08:00
apexliu 0e75018a2b temp. 2017-03-15 01:24:01 +08:00
Apex Liu 63b0ad026a temp. 2017-03-14 18:36:21 +08:00
apexliu 09176d78f9 调整了无数据库、有数据库等情况下普通用户登录与管理员登录时进入维护界面的流程,下一步可以开始开发安装和升级的实际操作界面了。 2017-03-13 23:39:16 +08:00
apexliu ac88e72630 try to add database interface. 2017-03-13 04:49:18 +08:00
apexliu 9b50a624e0 整理代码,准备加入安装/升级界面。 2017-03-13 03:01:23 +08:00
apexliu 4b594ed274 now we can make final installer package of teleport server for windows with zip format. 2017-03-12 13:02:38 +08:00
apexliu f88a21a2b0 add script to install teleport server on Windows. 2017-03-11 17:23:22 +08:00
Apex Liu 83e9b9439e temp. 2017-03-08 19:12:37 +08:00
Apex Liu 86af784330 Merge branch 'dev' of github.com:eomsoft/teleport into dev
# Conflicts:
#	server/www/teleport/app/eom_app/module/record.py
2017-03-08 14:27:44 +08:00
Apex Liu 455e1b534d update libssh to 0.7.4. 2017-03-08 14:24:58 +08:00
apexliu 2d171e0942 temp. 2017-03-08 03:28:38 +08:00
apexliu 6fd3edcb61 规范化部分代码。调整SSH命令查看页面,更加友好。导出主机列表不再需要在服务器上使用临时文件中转,而是直接输出给用户。 2017-03-08 03:25:35 +08:00
Apex Liu 79e7f641ca temp. 2017-03-07 18:30:41 +08:00
apexliu 36efcb1989 temp. 2017-03-07 05:59:48 +08:00
apexliu bc4a8f730b temp. 2017-03-07 01:54:45 +08:00
ApexLiu 33a0c33663 fix some bugs when automatic build on Linux. 2017-03-07 01:46:05 +08:00
Apex Liu 72583eb676 add core-json-rpc `get_config` 2017-03-06 15:47:45 +08:00
apexliu bfedef4a4e temp. 2017-03-06 09:13:25 +08:00
apexliu f3013f771d temp. 2017-03-04 04:47:28 +08:00
apexliu 6700c818cb 修正Windows平台日志磁盘空间显示可能不正确的问题。 2017-03-04 04:40:40 +08:00
Apex Liu e6d3696f0d 核心服务不再直接访问数据库了(同时也不再依赖sqlite的代码了),全部通过与web服务的json-rpc接口进行数据交换,由web服务访问数据库。 2017-03-04 04:13:49 +08:00
Apex Liu 9ad28a298c temp. 2017-03-03 18:56:51 +08:00
Apex Liu 852aba747a temp. 2017-03-03 02:30:28 +08:00
Apex Liu 6d43737a78 使用tornado的异步请求方式解决了core和web相互调用时tornado无法响应的问题,目前普通用户SSH登录功能可用了,但是还有大量代码需要调整为异步方式。 2017-03-03 01:40:16 +08:00
Apex Liu 411eab32f0 Now core server not access database directly anymore.
TODO: tornado must use asynchronous handler otherwise core and web will lock each other.
2017-03-02 06:12:37 +08:00
Apex Liu b72ef8f8f9 修正助手的下载链接。 2017-02-08 00:25:32 +08:00
Apex Liu 9d23ba299b 调整配置管理页面,目前暂时使用直接编辑配置文件的方式进行设置。 2017-02-08 00:04:16 +08:00
Apex Liu 772fcf4537 解决助手程序只有安装后第一次运行时可以保存配置的问题(安装到Program Files目录下,普通用户没有写权限),现在将配置文件移动到%APPDATA%/Roaming/eomsoft/teleport/assist/cfg目录下了,日志文件在%APPDATA%/Roaming/eomsoft/teleport/assist/log目录下。 2017-02-07 02:07:42 +08:00
Apex Liu faa5887e25 fixed: on linux, daemon not start with system boot. 2017-01-27 00:20:03 +08:00
Apex Liu 43651ea004 tmp 2017-01-19 21:10:32 +08:00
Apex Liu b6e3448792 tmp. 2017-01-16 21:28:13 +08:00
Apex Liu 3ec1bea6ea 为适配跨平台调整代码。此版本可以在Windows和Linux平台编译通过,但尚未进行测试。 2017-01-11 23:50:29 +08:00
Apex Liu 4cc96b0025 libtpssh.so now build on Linux. 2017-01-11 23:24:21 +08:00
Apex Liu c5f1b9091a tp_core now build on Linux. 2017-01-11 20:04:11 +08:00
Apex Liu bb2cdacc0c tp_web now build on Linux. 2017-01-11 00:02:33 +08:00
Apex Liu 13d7f1542c add key file for ssh-proxy server. 2017-01-08 23:54:43 +08:00
Apex Liu 8ac48cccf5 add teleport core service with SSH protocol supported, works on Windows now. 2017-01-08 23:53:37 +08:00
Apex Liu 37b409f325 add python run-time and management web site, now works on Windows only. 2016-12-14 23:34:44 +08:00