Lina 是 JumpServer 的前端 UI 项目
Go to file
fit2bot 14da9fee65
fix: 解决冲突 (#1543)
* chore: 更新Submodule指向

* fix: 修复Build失败的问题

* fix(clone): 修复会话页面产生的clone的问题

* fix: 修复资产授权创建时默认选中了点击的资产和节点问题

修改为指保留最后一次选中的资产或者节点

* fix: 修改命令过滤器添加系统用户协议限制

* fix: 云同步账号详情404

* fix: 修复创建角色成功后跳转详情的问题

* fix: 修复角色详情更新失败的问题

* fix: 删除资产授权刷新缓存接口

* fix: 优化tabmenu默认显示判断

* fix: 修复录像、命令存储权限控制

* perf: 修改订阅,站内信显示禁用 (#1491)

* perf: 修改订阅,站内信显示禁用

* perf: 修改一些 bug

Co-authored-by: ibuler <ibuler@qq.com>

* fix: 修复系统设置终端录像/命令存储创建/更新成功后跳转问题

* fix: 修复会话记录进入详情空白问题

* perf: 修改 tickets 权限

* fix: 修复系统设置终端设置问题

* perf: ticket flow perf

* fix: 修复系统设置终端设置问题

* perf: 优化 perm tree icon

* fix: 修复命令记录列表导出按钮权限

* fix: 修复改密计划-任务列表跳转资产空白页面问题

* fix: 修复终端设置权限依赖关系

* fix: 修复存储测试权限位

* fix: 修复用户列表-授权的应用详情不能点击跳转问题

* fix: 组织管理 详情bug

* fix: 资产树右击菜单

* perf: 优化应用树,统一 dropdown

* perf: 修改 terminal 权限

* fix: 日志审计批量日志过滤资产字段

* fix: 去除change_setting权限位

* fix: 过滤收集用户搜索条件重复问题

* fix: 修复应用改密计划权限控制

* fix: 修复资产管理-平台列表权限位不准确问题

* fix: 修复网管批量删除

* perf: 修复一些bug

* fix: 解决冲突

Co-authored-by: Orange <orangemtony@gmail.com>
Co-authored-by: Jiangjie.Bai <32935519+BaiJiangJie@users.noreply.github.com>
Co-authored-by: 老广 <ibuler@qq.com>
Co-authored-by: Eric_Lee <xplzv@126.com>
Co-authored-by: “怀磊” <2280131253@qq.com>
Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
Co-authored-by: feng626 <1304903146@qq.com>
2022-03-16 21:01:29 +08:00
.github ci(github): 添加通用action 2020-07-21 05:05:59 +00:00
build [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
mock fix: fixed mock server (#541) 2020-01-09 20:53:06 +08:00
public feat: crontab 组件封装 2021-10-12 11:13:30 +08:00
src fix: 更新资产详情授权用户权限 2022-03-16 20:49:10 +08:00
tests/unit [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
utils Fix rbac (#1361) 2022-03-02 20:49:23 +08:00
.dockerignore perf: 优化代码,搜索 (#1080) 2021-09-27 14:29:37 +08:00
.editorconfig add editorconfig 2017-08-01 15:49:04 +08:00
.env.development.example feat: 添加rbac (#1322) 2022-02-18 10:51:15 +08:00
.env.production feat: 修改base api 2020-06-09 16:48:12 +08:00
.env.staging [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
.eslintignore [fix]更新路由权限,更新eslint Ignore 2020-06-22 16:15:56 +08:00
.eslintrc.js [Update] 去掉i18n检查 2020-05-13 17:47:23 +08:00
.gitignore perf: 修改不再存储 .env.devlopement 2021-09-24 13:29:00 +08:00
.gitmodules Removed submodule 2020-09-15 16:26:11 +08:00
.travis.yml chore: set ci node version 2019-04-26 17:58:55 +08:00
alias.config.js [update]增加treeTable表格同步,修改Tree样式 2020-04-13 01:56:35 +08:00
babel.config.js perf: 优化 csv/xlsx 导入 (#725) 2021-04-08 10:09:58 +08:00
Dockerfile perf: 优化构建速度 2021-07-20 19:31:18 +08:00
jest.config.js [release]4.1.0 (#211) 2019-04-19 20:41:52 +08:00
jsconfig.json perf: VS Code support webpack alias file jump 2019-10-22 20:27:25 +08:00
LICENSE feat: 修改LICENSE 2021-12-06 18:03:36 +08:00
nginx.conf perf: 优化编译命令 2021-03-29 19:29:06 +08:00
package.json feat: 封装json editor组件 2021-12-15 15:36:53 +08:00
postcss.config.js refactor[chore]: generate postcss.config.js instead of .postcssrc.js 2019-05-24 16:58:40 +08:00
README.md feat: lina 修改时间区间 2022-01-04 15:08:54 +08:00
vue.config.js fix: 修复 select2 error bug 2021-10-21 17:34:32 +08:00
yarn.lock build(deps): bump url-parse from 1.4.7 to 1.5.7 2022-02-21 10:29:51 +08:00

Lina

Lina 是 JumpServer 的前端 UI 项目, 主要使用 Vue, Element UI 完成, 名字来源于 Dota 英雄 Lina

开发运行

0. 前置条件: 部署运行好 JumpServer API 服务器

1. 安装依赖
$ yarn install

2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'

3. 运行
$ yarn serve

4. 构建
$ yarn build

生产中部署

下载 RELEASE 文件,放到合适的目录,修改 nginx配置文件如下

server {
  listen 80;

  location /ui/ {
    try_files $uri / /ui/index.html;
    alias /opt/lina/;
  }

  location / {
    rewrite ^/(.*)$ /ui/$1 last;
  }
}

致谢

Be consistent with jumpserver