Skip to content

Commit

Permalink
chore: init
Browse files Browse the repository at this point in the history
ci: init

chore: remove useless file

refactor: separate web and server

chore: add options for index.html

chore: add bash command to run server and webpack concurrently

chore: remove gitkeep & update nino-cli

docs: add md to know what it will show default

chore: return index.html when server is on

chore: add wait to show error

chore: ignore .vscode

feat: load static files

chore: add bash to global & move shell to /scripts

chore: upgrade deps

pref: add mini-xmind to demo

docs: update usage

chore: update start command for bash

fix: add class for canvas to resolve Block can't be dropped on canvas

feat: interaction with server (#2)

* feat: add fetch

* chore: allow console.error and console.warn

* pref: press ctrl + s to interaction with server

* ci: add test

* chore: add favicon.ico

* chore: update favicon.ico

chore: build before commit & change response to received info

chore: improve url of repository

chore: remove useless path

feat: show mapping to brower (#4)

* chore: init folder mapping and layout

* feat: 主页显示缩略图

* chore: prettier 忽略 json 文件

* pref: 增加右键菜单

chore: 修改 dist 目录结构 & 修改相关配置 (#5)

* chore: 修改 dist 目录结构 & 修改相关配置

* chore: 移除指向 dist/lib/main 的引用

refactor: 插件处理静态文件 & 尝试按需加载 (#6)

* refactor: 引入 koa-static 加载静态文件 & 初始化详情页

* fix: 无法读取 chunk

* style: 修改代码格式

feat: 动态生成路由 (#7)

* feat: 引入 react-router & server 启动时生成路由

* fix: 修复按需加载时根目录路径错误的问题

* chore: 移除多余静态资源处理

feat: 查看及修改 mapping (#8)

* feat: 加载 mapping & 保存 mapping

* feat: 新增保存时写入文件

* pref: mapping 修改

feat: 删除 mapping (#9)

* server: 增加删除方法

* web: 增加删除事件

* chore: 移除路由遗留方法

* pref: 删除后更新状态

* chore: 移除菜单中的修改,在详情中已实现

* pref: 删除时修改主页状态 & 重新生成 mapping.json

feat: 增加新增方法

fix: 新增按钮重复渲染

pref: 更新新增方式,现在是右键空白

pref: 数据为空时,显示增加按钮

hack: 新建 mapping 跳转时路由无法加载,用已存在路由传参

chore: remove useless lines

refactor: 分离 server router

chore: update deps

ci: add codecov

ci: add config for codecov

ci: change test to codecov

ci: retrigger

ci: retrigger

codecov: add token

codecov: add token to bash

codecov: add token

ci: update codecov.yml

chore: rename yml

chore: update deps

chore: remove useless line

prettier: ignore /coverage

chore: update deps

babel: add options

revert: remove codecov because of the compatibility of nino-cli

fix: layout 会被缓存导致新建 mapping 时会重复保存的问题

chore: update deps

docs: 知识架构

docs: 更新知识架构

fix: 重复保存时,自动清除上次数据导致存成空

docs: 更新 js 知识树

chore: 更新 mini-xmind 以支持画布拖拽 & 移除更新提示

chore: 保存后自动刷新,因为撤销还没做,用这个省点事

chore: add border for Canvas

chore: migrate to new import method of mini-xmind

docs: 更新部分对象内容

docs: 更新 Number 部分

remove: 创建、修改时间,减少提交时代码差异量

mapping: 保存时重新渲染数据而不是刷新页面

revert: 因为保存后线刷不出,所以先撤了

docs: 更新对象

chore: 提交时不再检查 lint

chore: Canvas classname 重命名

fix: can't type in input that is wrappered by Draggable

chore: prevent default action

fix: 只有在保存时才阻止默认事件,不然还是输不了字

docs: react 什么时候重画

check: 提交时不再 build

docs: 页面加载优化 (#12)

* docs: 更新 html 首屏优化

* docs: 更新 http 缓存部分

* docs: 补全性能优化

* chore: build

chore: update deps

chore: update deps

feat: 首页布局

pref: 优化菜单和面包屑

chore(deps-dev): update nino-cli requirement from ^0.3.0 to ^0.4.4 (#13)

Updates the requirements on [nino-cli](https://github.com/zy410419243/nino-cli) to permit the latest version.
- [Release notes](https://github.com/zy410419243/nino-cli/releases)
- [Commits](https://github.com/zy410419243/nino-cli/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

docs: update Why-I-Need-Test-Units.md

chore(deps-dev): update nino-cli requirement from ^0.4.4 to ^0.5.0 (#14)

Updates the requirements on [nino-cli](https://github.com/zy410419243/nino-cli) to permit the latest version.
- [Release notes](https://github.com/zy410419243/nino-cli/releases)
- [Commits](https://github.com/zy410419243/nino-cli/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

docs: 优化 => ServiceWorker

chore: update prettier command

docs(readme): add Greenkeeper badge (#15)

ci: add codecov

chore: init TypeScript config

docs: update badge for codecov

refactor: replace file names

pref: change compile method

chore: update lint file types

chore: remove js file in /server

chore: update deps for dev

test: update cases

chore: build

chore: remove useless command

refactor: separate to viewer and data controller

fix: generate mapping only when dist exists

chore: update import paths for MainPage

test: update cases

chore: build

test: update cases

chore: remove constructor

test: update cases for router

test: update case for router

test: update fetchUtil

chore: rename to *.ts

chore: export {} for tslint problem

chore: ignore js file in server

test: update case for server

test: update export method

docs: 更新对象

chore(package): update eslint to version 5.15.1 (#21)

* chore(package): update eslint to version 5.15.1

* chore: upgrade for antd

chore(package): update nino-cli to version 0.6.4 (#23)

chore(package): update @types/react to version 16.8.7 (#25)

chore: update deps

ci: update command for codecov

fix: remove uncloseable test

chore(package): update supertest to version 4.0.0 (#26)

chore(deps-dev): update react-router-dom requirement (#28)

Updates the requirements on [react-router-dom](https://github.com/ReactTraining/react-router) to permit the latest version.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGES.md)
- [Commits](remix-run/react-router@v4.3.1...v5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

docs: about me

docs: update about me

docs: update about me

docs: update about me

docs: update about me

chore: remove about me

chore: upgrade deps

docs: update resignation letter

chore(package): update nino-cli to version 0.8.0 (#33)

chore: upgrade deps

chore: remove dist

chore: rename repo to memo

ci: update token of codecov

docs: update badges

chore: remove eslint

refactor: update build methods

refactor: update related path

chore: remove useless config

chore: remove useless deps

chore: upgarde nino-cli

fix: can't save layout when ctrl + s

chore: format layouts

chore: add indent when writting in layout file

chore: format layout files

fix: lint problem

ci: check lint

chore: initital gh-pages

chore: upgrade mini-xmind

refactor: get mapping data synchronously

chore: remove mapping.json

test: remove useless case

chore: only collect codecov report from src

pref: publish dot files, such as .circleci

chore: copy config file of circleci to dist

ci: ignore gh-pages when building

ci: adjust indent

ci: adjust indent

pref: dynamic import modules

chore(package): update antd to version 3.18.1 (#36)

chore: check lint for server

docs: 申论要点摘记

chore: lock version

refactor(MainPage): abstract methods

chore: move files to assets

docs: update Resignation-Letter

chore: lock version

refactor(server): generate all static files by server

chore: mark as todo

chore: remove useless export

chore: update command of server

fix: problem redeclare variable, check https://stackoverflow.com/questions/40900791/cannot-redeclare-block-scoped-variable-in-unrelated-files

pref(save): check router file before updating

chore: remove useless build config

fix(server): can not update target mapping

pref(server): update delete method

fix(server): losing createTime when updating mapping

feat(server): add type and subType

feat(server): add category

chore: update favicon

feat(server): support markdown file operation

chore: correct fetch url of mapping

chore: add editorconfig

feat: generate sider of menu

refactor: update logic of rendering sider

test: add missing props

feat(sider): support to show all data

test: fix unexpcted required type definition

pref: display with List

test: remove cases temporarily

pref: show related item when swiching Menu.Item

feat: support EditForm for setup a document

perf: add notification for success

refactor: remove urlHelper

chore: remove uesless config file

pref: update padding of List.Item

chore: simplify router

chore: upgrade deps

chore: lock version of antd, for missing type definition of rc-*

feat: support markdown editor

fix: sider.json generates duplicate item of mapping

feat: Cascader showSearch

refactor: replace Cascader with Select

pref: parse html tag in markdown

feat: save markdown

chore: update hash for MarkdownEditor

chore: upgrade antd to fix missing type definition problems

feat: support to load exist markdown file

pref: jump to detail page

refactor: move fetch to controller

feat: lazy load markdown detail and editor

refactor(Mapping): move fetch to controller

fix: unexpected push into mapping.json rather than update target item

fix: wrong writing format of mapping

refactor: separate to controller

fix: wrong path of display page

feat: set value up of List.Item up when editting

chore(deps-dev): bump @types/react from 16.8.18 to 16.8.19

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.18 to 16.8.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

pref: update related file when editting in EditForm

fix: jump to wrong path after updating

fix: can not update target prop when updating

fix: can not delete all related file

break: remove minus icon, for it is hard to delete target files

feat: add type item in Select

docs: remove useless file

chore: upgrade nino-cli

fix: command of generate

docs: 《民主的细节》摘抄

chore(deps-dev): bump tslint from 5.16.0 to 5.17.0

Bumps [tslint](https://github.com/palantir/tslint) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](palantir/tslint@5.16.0...5.17.0)

docs: 《民主的细节》摘抄

pref: set padding to show markdown completely

docs: 《民主的细节》摘抄

pref(MarkdownDetail): set padding to show markdown completely

chore: remove useless sign

chore(markdown): font-size 14 -> 16

fix: mapping can not get correct layout

fix: mapping undefined LineGroup and TagGroup

docs: 《民主的细节》阅读思路整理

docs: 《民主的细节》摘抄

docs: 音程表

docs: 《民主的细节》摘抄

docs: fix typo

chore(deps): bump antd from 3.19.1 to 3.19.2 (#44)

Bumps [antd](https://github.com/ant-design/ant-design) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@3.19.1...3.19.2)

docs: 安装 rust

docs: 《民主的细节》摘抄

docs: fix warning by ustclug/mirrorrequest#67

docs: 《民主的细节》摘抄

chore(deps-dev): bump react-router-dom from 5.0.0 to 5.0.1 (#46)

Bumps [react-router-dom](https://github.com/ReactTraining/react-router) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Commits](remix-run/react-router@v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump date-fns from 2.0.0-alpha.27 to 2.0.0-alpha.29 (#45)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.27 to 2.0.0-alpha.29.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.27...v2.0.0-alpha.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore: install typescript

chore(deps-dev): bump date-fns from 2.0.0-alpha.29 to 2.0.0-alpha.31 (#47)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.29 to 2.0.0-alpha.31.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.29...v2.0.0-alpha.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump lint-staged from 8.1.7 to 8.2.0 (#48)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.7 to 8.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v8.1.7...v8.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: 《民主的细节》摘抄

chore: ignore report of controller

test(MainPage): update cases (#49)

* test(MainPage): update cases

* test(MainPage): update cases

chore: remove json declare

fix: missing type definition after wrapping of hoc

test(EditForm): update cases (#50)

* test(EditForm): update cases

* test(EditForm): update cases

chore: ignore report of server

chore: ignore report of controller

test(MappingDetail): update cases

test(MarkdownDetail): update cases

test(MarkdownEditor): update cases

test(MarkdownEditor): update cases

chore(deps): bump antd from 3.19.2 to 3.19.3 (#51)

Bumps [antd](https://github.com/ant-design/ant-design) from 3.19.2 to 3.19.3.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@3.19.2...3.19.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: exhentai

feat(server): fetch exHentai data

feat(server): get detail info for every block

pref(server): return file path of exhentai info

chore(deps-dev): bump date-fns from 2.0.0-alpha.31 to 2.0.0-alpha.32 (#52)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.31 to 2.0.0-alpha.32.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.31...v2.0.0-alpha.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore: upgrade sider name

feat(server): use toml for configuration

chore: update config

chore: update subType

docs: update description

chore: ignore exhentai data files

chore: remove useless file

chore(toml): add maxPageIndex

chore: ignore exhentai data files

feat(server): output log info

docs: ex 爬虫思路

ci: deploy after test check passed (#53)

* ci: deploy after test check passed

* ci: deploy after test check passed

* ci: deploy after test check passed

* ci: deploy after test check passed

chore: use node api of gh-pages

chore: output after published

ci: deploy after test check passed

chore: catch error when publishing

chore: catch error when publishing

fix: typo

Configure Renovate (#54)

* chore(deps): add renovate.json

* chore(renovate): preserve existing semver ranges

chore(deps-dev): bump date-fns from 2.0.0-alpha.32 to 2.0.0-alpha.33 (#55)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.32 to 2.0.0-alpha.33.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.32...v2.0.0-alpha.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps): bump typescript from 3.5.1 to 3.5.2 (#56)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump @types/react-router-dom from 4.3.3 to 4.3.4 (#58)

Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump lint-staged from 8.2.0 to 8.2.1 (#59)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v8.2.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump @types/react from 16.8.19 to 16.8.20 (#57)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.19 to 16.8.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps): update node.js to v10.16.0 (#60)

docs: 词语填空同音词

chore: add manual deploy command

chore(deps-dev): bump date-fns from 2.0.0-alpha.33 to 2.0.0-alpha.34 (#61)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.33 to 2.0.0-alpha.34.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.33...v2.0.0-alpha.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: 言语填空解题思路

feat: set ExHentaiList up

feat(server): get lastest set of exhentai list

test: correct Button node

test: update cases for ExHentaiList

ci: add ssh key for deploy

docs: deploy with gh-pages and circleci

fix: wrong route of /markdown/edit

pref(server): re-generate sider after init

docs: 填空错题集

pref(markdown): parse HTML

test: update snapshots

docs: 填空错题集

docs: 填空错题集

chore: upgrade deps

pref: hide scrollbar for MappingDetail

chore: upgrade deps

chore: remove collapsible of Sider

pref: lazyload for List

feat: show create/modify time

pref: update css of Content

test: update snapshots

chore: sort by modifyTime

feat: add empty status for online page

feat(exHentai): fetch detail images

test: update snapshots

test: update cases

feat(exhentai): download detail images

server(exhentai): add thumbnailClass to configuration

fix: correct path of log file

fix: typo

feat(exhentai): replace invalid win32 path characters with space in name

server(exhentai): lift speed of saving images up

Greenkeeper/antd 3.19.6 (#63)

* chore(package): update antd to version 3.19.6

* chore(package): update lockfile package-lock.json

docs: 填空错题集

docs: 填空错题集

pref(MarkdownDetail): add css

pref(MarkdownDetail): adjust margin

chore(deps-dev): bump date-fns from 2.0.0-alpha.34 to 2.0.0-alpha.35 (#64)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.34 to 2.0.0-alpha.35.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.34...v2.0.0-alpha.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump @types/react from 16.8.20 to 16.8.21 (#65)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.20 to 16.8.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: 片段阅读错题集 (#66)

* docs: 片段阅读错题集

* pref(markdown): add hover event to tag span

* test: update snapshots

* docs: 片段阅读错题集

docs: 词语填空解题思路

chore(deps): bump antd from 3.19.6 to 3.19.7 (#71)

Bumps [antd](https://github.com/ant-design/ant-design) from 3.19.6 to 3.19.7.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@3.19.6...3.19.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump tslint from 5.17.0 to 5.18.0 (#70)

Bumps [tslint](https://github.com/palantir/tslint) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](palantir/tslint@5.17.0...5.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps): bump puppeteer-core from 1.17.0 to 1.18.0 (#69)

Bumps [puppeteer-core](https://github.com/GoogleChrome/puppeteer) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/GoogleChrome/puppeteer/releases)
- [Commits](puppeteer/puppeteer@v1.17.0...v1.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump @types/react from 16.8.21 to 16.8.22 (#68)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.21 to 16.8.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump date-fns from 2.0.0-alpha.35 to 2.0.0-alpha.36 (#67)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.35 to 2.0.0-alpha.36.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.35...v2.0.0-alpha.36)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

pref(MarkdownDetail): add min-height => 100vh (#72)

pref(server): initital default object when creating a new mapping

docs: 主旨题解题思路

docs: 片段阅读错题集

docs: 片段阅读考点

docs: 片段阅读错题集

pref(server): compare lastest date of comic, break when current comic has been fetched

ci: update token of codecov

docs: update badge

chore(deps): bump antd from 3.19.7 to 3.19.8 (#74)

Bumps [antd](https://github.com/ant-design/ant-design) from 3.19.7 to 3.19.8.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@3.19.7...3.19.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore: upgrade deps

chore(deps-dev): bump date-fns from 2.0.0-alpha.36 to 2.0.0-alpha.37 (#76)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.36 to 2.0.0-alpha.37.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.36...v2.0.0-alpha.37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Update @types/fs-extra to the latest version 🚀 (#78)

* chore(package): update @types/fs-extra to version 8.0.0

* chore(package): update lockfile package-lock.json

chore(deps): bump puppeteer-core from 1.18.0 to 1.18.1 (#80)

Bumps [puppeteer-core](https://github.com/GoogleChrome/puppeteer) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/GoogleChrome/puppeteer/releases)
- [Commits](puppeteer/puppeteer@v1.18.0...v1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump date-fns from 2.0.0-alpha.37 to 2.0.0-beta.1 (#81)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.37 to 2.0.0-beta.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-alpha.37...v2.0.0-beta.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: manjaro install

docs: manjaro install

docs: 更新包源地址

chore: unity default behavior of space

docs: update port of ssr

chore: unity indent

docs: update proxy port of git

docs: manjaro 安装

docs: manjaro install

Bump date-fns from 2.0.0-beta.1 to 2.0.0-beta.2 (#82)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-beta.1 to 2.0.0-beta.2.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.0.0-beta.1...v2.0.0-beta.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Update 5652a52ab188e25bddf687b32d4ce326.md

Update 5652a52ab188e25bddf687b32d4ce326.md

Update 5652a52ab188e25bddf687b32d4ce326.md

docs: github ssh proxy

chore: release 1.0.0

chore: bump 1.0.0

chore: upgrade deps

refactor: configrations of views and server (#87)

* refactor: separate logger and resource loader from controller

* pref: use npm-run-all instead of running bash

* fix: correct resource path

* refactor: update import/export method

* chore: update user.name

* chore: compile with sourceMap

* fix: build error causing by sourcemap files

* ci: run dist anyway

feat: sort scripts in package.json (#88)

fix: parse error when updating markdown (#89)

docs: 单词积累

dcos: deploy with gh-pages and circleci

ci: update fingerprints of deploy

chore: correct email for gh-pages

 feat: add decorator for router (#96)

* feat: add decorator for router

* chore: exclude server

* fix: missing type definition of routes

* refactor: controller with decorator

* test: fix error of not supporting to compile decorator

* pref: use router of controllers

* refactor: move sync functions outside class

* chore: remove useless dep

chore: upgrade deps (#97)

try: inject services to controller

refactor(ExhentaiController): getLastestExHentaiSet & getThumbnaiInfo

refactor(ExhentaiController): download

refactor(DocumentController): combine Markdown and Mapping controller

refactor(MainPageController): add service

refactor(DocumentController): add, update, delete

chore(deps-dev): bump lint-staged from 9.0.0 to 9.0.1 (#99)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump lint-staged from 9.0.0 to 9.0.1 (#99)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

refactor: separate side effect operations to service from controller (#98)

* try: inject services to controller

* refactor(ExhentaiController): getLastestExHentaiSet & getThumbnaiInfo

* refactor(ExhentaiController): download

* refactor(DocumentController): combine Markdown and Mapping controller

* refactor(MainPageController): add service

* refactor(DocumentController): add, update, delete

 feat: support to format markdown content by prettier (#100)

* feat: support to format markdown content by prettier

* pref: update views

chore(deps-dev): bump lint-staged from 9.0.1 to 9.0.2 (#101)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v9.0.1...v9.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump @types/react from 16.8.22 to 16.8.23 (#102)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.22 to 16.8.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: settings sync 同步

pref: update style of scrollbar (#103)

docs: 申论练习 - 到底怎样才不算是搬砖、API Caller、Crud Boy?

pref(MarkdownDetail): update style of content (#104)

docs: manjaro install

chore(deps): bump antd from 3.20.0 to 3.20.1 (#105)

Bumps [antd](https://github.com/ant-design/ant-design) from 3.20.0 to 3.20.1.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@3.20.0...3.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

chore(deps-dev): bump lint-staged from 9.0.2 to 9.1.0 (#106)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.0.2 to 9.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v9.0.2...v9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: update README.md (#107)

chore: update joinWithRootPath

chore(deps): bump typescript from 3.5.2 to 3.5.3 (#108)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v3.5.2...v3.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

docs: manjaro install

chore: upgrade nino-cli to 1.0.2 (#110)

* chore: upgrade nino-cli to 1.0.2

* fix: codecov command

* fix: wrong path of assets

* chore: commit exhentai mapping file

chore(deps): bump lodash from 4.17.11 to 4.17.14 (#111)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>

fix: copy missing circieci config file to dist (#112)

pref: remove useless config file for build

docs: manjaro install

fix(server): wrong root path (#116)

chore: ignore package-lock.json

chore: upgrade lint-staged

chore: update exhentai mapping files

docs: update exhentai list

perf: add linux chrome path & reduce unexpected tabs

feat: download target images by input url (#117)

* feat: download target images by input url

* test: update snapshots

fix: nino can't detect changes in src (#118)

* fix: nino can't detect changes in src

* fix: build problem caused by missing tsc output

docs: manjaro install

docs: fix format

ci: update deploy key

chore: deploy by gh-pages cli

revert: deploy with node api of gh-pages

docs: update exhentai image detail list

feat(exhentai): check url of detail images when failed (#119)

docs: update exhentai image detail list

chore: ignore detailImageUrls.json

docs: update exhentai list info

chore: upgrade nino-cli to 1.0.3 (#120)

fix(exhentai): can't get the first page info of list (#122)

fix: netlify build borken

 chore(package): update antd to version 3.20.5 (#125)

* chore(package): update antd to version 3.20.5

* test: update snapshots

chore(package): update @types/prettier to version 1.18.0 (#126)

chore: release 1.0.1

docs: update introductions for CHANGELOG

docs: update exhentai list info

fix: get 404 after creating a mapping/markdown (#127)

docs: update exhentai list info

feat: toho way loading (#131)

* feat: toho way loading

* feat: add neta list

* test: update cases

* chore: revert from debug

* fix: wrong using of jsx

* fix: codebeat issue

perf: split chunks when building (#132)

* perf: splitChunks when building

* chore: install webpack-bundle-analyzer

docs: linux after install

docs: linux after install

docs: update exhentai list

docs: 资料分析常用算法 (#128)

* docs: 资料分析常用算法

* chore: 出处

* chore: update sider

* chore: update

* chore: update

* docs: 分配法

* chore: update

* chore: update

* chore: 隔年增长率公式

* chore: 比值增长率

* chore: update

* chore: 比重差

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* feat: 混合问题

* feat: 年均增长率

docs: 资料分析题型总结

fix: screen adaptation (#133)

ci(dist): not check test status before running build (#134)

* ci(dist): not check test status before running build

* chore: update

feat(MainPage): add prefix for list.item (#135)

* feat: add prefix of list.item

* chore: update title of list.item

docs: update exhentai list

docs: update exhentai list

RIP: Good Night, Ex Panda

docs: update exhentai list

fix: invalid path on windows

fix: invalid path

fix: invalid path

fix: invalid path on windows

docs: update e-hentai list

test: lock version of css-animation to fix crash (#136)

docs: fix typo (#138)

* docs: fix typo

* chore: update modifyTime

chore: remove dep of css-animation (#142)

docs: update e-hentai list

docs: configurate after install

docs: fix typo

docs: 更新十字相减适用条件

chore: update icon, rua~

feat: live reload with socket.io (#143)

* feat: live reload with socket.io

* fix: can not quit when running build

fix: lint problem (#144)

chore(deps): update node.js to v10.16.1 (#145)

perf: package socket.io only in development mode (#146)

ci: update version of docker image to latest (#147)

Oh: my dear panda

docs: update exhentai list info

perf: remove name in list (#150)

* perf: remove name in list

* chore: remove unexpected list file

feat: merge exhentai list to MainPage (#151)

* perf: remove name in list

* chore: generate sider with exhentai

* chore: remove uesless file

* chore: remove Breadcrumb & adjust style

* test: update snapshots

* feat: add ex-hentai to sider

* chore: remove old ex-hentai views

* chore: adjust style of list and ex-hentai-list

* perf: update footer

* test: update cases

* test: update cases

feat(server): add test interface to get environment (#152)

* perf: remove name in list

* feat(server): add test interface to get environment

* chore: remove debug file

 fix(exhentai): lazyload not working (#153)

* perf: remove name in list

* fix(exhentai): lazyload not working

* chore: remove debug file

refactor: move redirection to controller (#154)

fix: invalid exhentai path on windows

chore(exhentai): remove space

perf: check status for whether to bind socket.io (#155)

perf: disable input and button of Header when not local (#157)

docs: 数量分析常用思路 (#158)

fix(exhentai): correct regular expression for path of windows

docs: update exhentai list info

perf: hide header when online (#159)

* perf: hide header when online

* feat: import Header dynamically

* test: correct case name

* test: update cases

* test: update cases

perf: fix shaking when loading Header (#160)

fix: memory leak with import() temporarily (#161)

* fix: memory leak with import() temporarily

* test: fix

docs: 更新数量分析题型 (#162)

* docs: 更新数量分析题型

* docs: 平均分堆

* docs: 区分排序问题特殊情况

* docs: update mapping

* docs: 更新不相邻问题解法

* docs: 更新相同元素分配问题

chore(package): update rimraf to version 2.7.0 (#164)

chore(package): update rimraf to version 3.0.0 (#165)

docs: 更新极限问题

docs: update exhentai list

docs: 更新比例问题

refactor: Form and Icon (#167)

* perf: update Icon for tree-shaking

* feat: refactor Form with hooks

* fix: test

* fix: lose of state when close Modal

* test: update snapshots

* test: update case

perf: optimizate regular expression (#168)

* perf: optimizate regular expression

* chore: test on linux

* chore: remove debug file

docs: update setttings sync

feat: assign target datestamp for exhentai list (#169)

* feat: load exhentai list to Select

* feat(server): set interface up for list files

* feat: pass value from Header

* feat: load target images in list

* fix: images can't be loaded when in first page

* test: update snapshots

chore: collect report from server and controller (#170)

perf: pull out port in different os (#171)

* perf: pull out port in different os

* chore: set port for request

docs: update exhentai list

perf: update sider.json after add (#172)

* perf: update sider.json after add

* chore: remove useless file

* chore: generate sider before app init

test: set supertest up for server (#173)

* test: update case for server

* ci: compile for server

chore: add command clean

fix(typo): lastest => latest

docs: 更新工程问题

test: update cases for utils.common (#174)

* test: update cases for utils.common

* fix: update time

* fix: mock date

docs: mock fetch

docs: update mapping

revert: mock fetch

feat: change the added behavior mode (#175)

* feat: add edit button

* feat: init edit mode

* test: update snapshots

fix: can't update sider after add (#176)

* fix: can't update sider after add

* refactor: updateSider

* test: update case

fix: warning from ant-design-icons (#177)

chore: remove uesless line

docs: update exhentai list

fix(exhentai): missing name of log when fetching list info

 feat(exhentai): update list info in dist (#178)

* feat(exhentai): update list info in dist

* chore: rename getWriteFilesPaths to getWriteMappingPaths

perf: upgrade nino-cli to 1.1.0 (#179)

perf: upgrade mini-xmind to 1.3.1 for tree-shaking of Icon (#181)

* perf: upgrade mini-xmind to 1.3.1 for tree-shaking of Icon

* fix: lint

chore: ignore report from nino.koei.js

refactor(MappingDetailDataController): with hooks (#182)

docs: 更新行程问题

refactor(EditForm): with hooks (#183)

feat(exhentai): re-initiate request list after failed (#184)

docs: update exhentai list

feat(exhentai): re-initiate request for preparing download after failed (#185)

feat(exhentai): re-initiate request for download after fail (#186)

perf(exhentai): tweak request time for restart a connection (#187)

release: 1.1.0

docs: update exhentai list

chore: tweak display for export

refactor: ExhentaiListDataController to pure function (#188)

docs: tweak introductions

perf: load Editform when local (#189)

feat: make Sider collapsible (#190)

fix: Editform not working when clicking List.Item (#191)

docs: update exhentai list

refactor: MainPageDataController with hooks (#192)

refactor(loading): with hooks (#193)

* refactor(loading): with hooks

* fix: snapshtos

* fix: wrong MainPage path

refactor(MappingDetail): with hooks

chore: update options for latest nino-cli

test: updatesnapshots

fix(exhentai): detail url

chore(package): update nino-cli to version 1.1.4 (#196)

chore(package): update react-markdown to version 4.2.0 (#197)

chore: add launch.json

docs: update exhentai info

refactor: document with hooks (#198)

* refactor: document with hooks

* fix: test

refactor: pull out state from MainPage (#199)

* refactor: pull out state from MainPage

* test: update snapshots

test: update cases for ExhentaiService

feat: update node.yml for github workflow

ci: fix dependencies before test

chore: remove github workflow for slower than circle

fix: no comment from codecov (#200)

fix: unexpected async function called after test

test(server): close server after test

feat: migrate to github actions (#201)

* chore: update script

* fix: tweak indent

* fix: tweak indent

* fix: tweak indent

* fix: console.log after test

* fix: console.log after test

* fix: upload report to codecov

* fix: upload report to codecov

* fix: upload report to codecov

* fix: upload report to codecov

* fix: upload report to codecov

* fix: upload report to codecov

* fix: upload report to codecov

* feat: build and deploy to gh-pages

* chore: debug on migrate branch

* chore: update token

* chore: pull out steps

* fix: add missing prop

* chore: pull out steps

* chore: deploy on master only

* chore: tweak name of steps

* chore: pull out lint

* chore: upload report only in node 12.x

* chore: remove strategy

* fix: checkout

* fix: mock cache and workplace, related to actions/toolkit#47 (comment)

* chore: remove install

* chore: squash jobs

* fix: indent

* fix: indent

* fix: indent
  • Loading branch information
orzyyyy committed Sep 6, 2019
1 parent 3268d33 commit d2d4613
Show file tree
Hide file tree
Showing 177 changed files with 22,275 additions and 1 deletion.
101 changes: 101 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,101 @@
version: 2

references:
container_config: &container_config
docker:
- image: circleci/node:latest
working_directory: ~/memo

attach_workspace: &attach_workspace
attach_workspace:
at: ~/memo

jobs:
setup:
<<: *container_config
steps:
- checkout
- run: node -v
- run: npm -v
- run: npm install
- run:
command: |
set +eo
npm ls
true
- persist_to_workspace:
root: ~/memo
paths:
- node_modules
compile:
<<: *container_config
steps:
- checkout
- *attach_workspace
- run: npm run compile:server
- persist_to_workspace:
root: ~/memo
paths:
- bin
lint:
<<: *container_config
steps:
- checkout
- *attach_workspace
- run: npm run lint
test:
<<: *container_config
steps:
- checkout
- *attach_workspace
- run: npm run codecov
- run: bash <(curl -s https://codecov.io/bash) -t b0824134-3eef-4895-8b64-95d258ac57aa
dist:
<<: *container_config
steps:
- checkout
- *attach_workspace
- run: npm run build
- persist_to_workspace:
root: ~/memo
paths:
- dist
deploy:
<<: *container_config
steps:
- checkout
- *attach_workspace
- add_ssh_keys:
fingerprints:
- 'ff:02:5b:2b:aa:25:27:80:71:82:c0:b0:14:1b:a9:3b'
- run:
name: deploy
when: on_success
command: npm run deploy

workflows:
version: 2
build:
jobs:
- setup:
filters:
branches:
ignore: gh-pages
- compile:
requires:
- setup
- test:
requires:
- compile
- lint:
requires:
- setup
- dist:
requires:
- setup
- deploy:
requires:
- dist
filters:
branches:
only: master
11 changes: 11 additions & 0 deletions .editorconfig
@@ -0,0 +1,11 @@
# 🎨 editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text eol=lf
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
@@ -0,0 +1,25 @@
name: deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@master

- name: install
run: npm install

- name: build
run: npm run build

- name: deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,17 @@
name: lint

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@master

- name: install
run: npm install

- name: lint
run: npm run lint
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,25 @@
name: check

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@master

- name: install
run: npm install

- name: compile
run: npm run compile:server

- name: test with reporting coverage
run: npm run codecov

- name: upload coverage to codecov
uses: codecov/codecov-action@v1.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
11 changes: 11 additions & 0 deletions .gitignore
@@ -0,0 +1,11 @@
/node_modules/
*.rar
*.map
/coverage/
/dist/
*.jsx
/exhentai/**/*.jpg
/exhentai/**/*.png
/exhentai/**/detailImageUrls.json
/bin
package-lock.json
14 changes: 14 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,14 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/bin/index.js"
}
]
}
70 changes: 70 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,70 @@
#### 发布周期

- 主版本号:当整体框架发生颠覆性变化时。如 `1.0.0` 发布时几乎重写了所有代码
- 次版本号:当新特性自觉极具标志性时。如 `1.0.0` 中的`根据 url 保存 exhentai 图片到本地` 的接口,极大简化了获得快乐的步骤
- 修订号:天气或心情晴朗时

---

## 1.1.0

`2019-08-24`

- 修复创建 `document` 后报的 404 [#127](https://github.com/orzyyyy/memo/pull/127)
- 增加东方风 `Loading`[#131](https://github.com/orzyyyy/memo/pull/131)
- 优化打包方式。现在的首页几乎已经按需加载了 [#132](https://github.com/orzyyyy/memo/pull/132)
- 页面自适应 [#133](https://github.com/orzyyyy/memo/pull/133)
- 首页列表增加类型前缀 [#135](https://github.com/orzyyyy/memo/pull/135)
- 修复不同系统对路径处理方式的差异引起的报错
- 增加基于 `socket.io` 的 live reload [#143](https://github.com/orzyyyy/memo/pull/143)
- `nino-cli` 升级到 1.1.1,将 `tslint` 替换为 `eslint`
- 移除 `exhentai` list 中的名称
- 增加接口 `test`,用于区分线上线下环境 [#152](https://github.com/orzyyyy/memo/pull/152) [#155](https://github.com/orzyyyy/memo/pull/155) [#157](https://github.com/orzyyyy/memo/pull/157) [#159](https://github.com/orzyyyy/memo/pull/159) [#160](https://github.com/orzyyyy/memo/pull/160)
- 修复 Icon 无法 `tree-shaking` 的问题 [#167](https://github.com/orzyyyy/memo/pull/167)
- 更新 `antd` 版本到 `4.0.0-alpha.2`,使用新的 api 重构了 `EditForm`
- 增加依赖 `@ant-design/icons` 以实现 `tree-shaking`
- 增加 `exhentai` 回溯历史 list 信息的页面,仅在本地可用 [#169](https://github.com/orzyyyy/memo/pull/169)
- 增加 `exhentai` 不同系统下的代理端口 [#171](https://github.com/orzyyyy/memo/pull/171)
- 新增 `document` 后更新 `sider.json` [#172](https://github.com/orzyyyy/memo/pull/172)
- 改善 `EditForm` 增加标签时的操作行为。现在不再以 hack 的方式扭曲使用 `Select` 了,而是通过额外的按钮来切换到编辑模式 [#175](https://github.com/orzyyyy/memo/pull/175)
- 修复 `exhentai` 在爬完 list 后,直接访问页面会提示新抓取 list 404 的问题 [#178](https://github.com/orzyyyy/memo/pull/178)
- 新增 `exhentai` 对异常的处理 [#149](https://github.com/orzyyyy/memo/issues/149)
- 获取 list 失败或超时时,休眠一段时间后重新发起请求,直到请求完整 [#184](https://github.com/orzyyyy/memo/pull/184)
- 获取 download 地址失败或超时时,休眠一段时间后重新发起请求,直到请求完整 [#185](https://github.com/orzyyyy/memo/pull/185)
- download 某张图片失败或超时时,先删除当前图片,然后重新发起请求,直到请求完整 [#186](https://github.com/orzyyyy/memo/pull/186)

---

## 1.0.1

`2019-07-20`

- 抽象 `log` 和资源读取方法 [#87](https://github.com/orzyyyy/memo/pull/87)
- 修复新建 `markdown` 时初始值错误的问题 [#89](https://github.com/orzyyyy/memo/pull/89/files)
- 提交到主分支且检查通过时,自动发布 `dist` 到 gh-pages [449c2ad](https://github.com/orzyyyy/memo/commit/449c2ad1d5b96d470b5715c716968a52a92ef155)
- 使用装饰器修饰 controller 中的 router [f8c1204](https://github.com/orzyyyy/memo/commit/f8c1204ce0bf004f12055aba232ff61f0597ec28)
- 重构 server [9e72b57](https://github.com/orzyyyy/memo/commit/9e72b57ceaf1996d69d9067f9006fd4fa8f89292), [b27ad63](https://github.com/orzyyyy/memo/commit/b27ad63b7e9bfd65aa5d06292478d3002d6d43b3), [69f5617](https://github.com/orzyyyy/memo/commit/69f5617f99087994b9207f2360af5e846fd0b5b3), [a2725a4](https://github.com/orzyyyy/memo/commit/a2725a4ceeeda5be9b0adfad005d38d4ca24c121), [8136804](https://github.com/orzyyyy/memo/commit/81368046f43c598a705e1bd1811b1fc72d12d790), [#98](https://github.com/orzyyyy/memo/pull/98)
- 编辑 `markdown` 保存时,server 执行 `prettier` [#100](https://github.com/orzyyyy/memo/pull/100)
- 更新全局滚动条样式 [#103](https://github.com/orzyyyy/memo/pull/103)
- 更新 `MarkdownDetail` 文本容器最小高度,以修复加载数据时过于明显的抖动 [#104](https://github.com/orzyyyy/memo/pull/104)
- 分离不同系统下,`puppeteer` 初始化时 chrome 的启动路径 [a7df0bd](https://github.com/orzyyyy/memo/commit/a7df0bdcd00dd79442ab5a85e0ba9fb8e14760da)
- `MainPage` 顶部增加文本框,以根据 url 直接下载 exhentai 中的所有图片 [#117](https://github.com/orzyyyy/memo/pull/117)
- 增加检查 exhentai 下载遗漏图片的接口 [#119](https://github.com/orzyyyy/memo/pull/119)
- 更新 `nino-cli` 到 1.0.3 [#120](https://github.com/orzyyyy/memo/pull/120)
- 提交 exhentai 漫画名称列表及相关 url [a649b11](https://github.com/orzyyyy/memo/commit/a649b112c7f6275b5aab26707def28eec20e7d2b)

---

## 1.0.0

`2019-06-29`

- 本地在线编辑 markdown、mapping
- markdown 依赖于 `react-markdown`,mapping 依赖于 `mini-xmind`
- 本地服务抓取 exhentai 缩略图
- `puppeteer` 模拟操作
- 自动设置 cookie
- 大图显示。图片懒加载依赖于 `react-lazyload`
- 本地服务下载指定 exhentai 所有图片到本地

---
28 changes: 28 additions & 0 deletions README-zh_CN.md
@@ -0,0 +1,28 @@
# memo

![CircleCI](https://img.shields.io/circleci/project/github/orzyyyy/memo/master.svg)
[![codecov](https://codecov.io/gh/orzyyyy/memo/branch/master/graph/badge.svg)](https://codecov.io/gh/orzyyyy/memo)

[English](./README.md) | 简体中文

A memo for myself.

https://orzyyyy.github.io/memo

## ✨ Features

- 文档本地在线编辑
- 极致精简的 exhentai 下载服务
- 开箱即用
- 全链路开发

## ⌨️ Development

```bash
$ git clone https://github.com/orzyyyy/memo.git
$ cd memo
$ npm install
$ npm start
```

打开浏览器访问 http://localhost:9099
29 changes: 28 additions & 1 deletion README.md
@@ -1 +1,28 @@
# zy410419243.github.io
# memo

![CircleCI](https://img.shields.io/circleci/project/github/orzyyyy/memo/master.svg)
[![codecov](https://codecov.io/gh/orzyyyy/memo/branch/master/graph/badge.svg)](https://codecov.io/gh/orzyyyy/memo)

English | [简体中文](./README-zh_CN.md)

A memo for myself.

https://orzyyyy.github.io/memo

## ✨ Features

- Local online editing for document
- Convenient download from exhentai
- Out of the box
- Contain the whole package of development and tool resources

## ⌨️ Development

```bash
$ git clone https://github.com/orzyyyy/memo.git
$ cd memo
$ npm install
$ npm start
```

Open your browser and visit http://localhost:9099
4 changes: 4 additions & 0 deletions codecov.yml
@@ -0,0 +1,4 @@
ignore:
- 'src/router.*'
- 'src/index.*'
- 'nino.koei.js'
@@ -0,0 +1 @@
["https://exhentai.org/s/eefbbb534a/1431552-1","https://exhentai.org/s/bd56b41954/1431552-2","https://exhentai.org/s/88806911a5/1431552-3","https://exhentai.org/s/c98a0c81fd/1431552-4","https://exhentai.org/s/8f47cedf17/1431552-5","https://exhentai.org/s/31d2020474/1431552-6","https://exhentai.org/s/284cc5bbd9/1431552-7","https://exhentai.org/s/8ec9c3a031/1431552-8","https://exhentai.org/s/bddefe2058/1431552-9","https://exhentai.org/s/9c31a47fd6/1431552-10","https://exhentai.org/s/713beb6b08/1431552-11","https://exhentai.org/s/7ff82b20d1/1431552-12","https://exhentai.org/s/5d3c8a2e1b/1431552-13","https://exhentai.org/s/6114f88798/1431552-14","https://exhentai.org/s/05868ead6f/1431552-15","https://exhentai.org/s/176f50facb/1431552-16","https://exhentai.org/s/ad59342be2/1431552-17","https://exhentai.org/s/1081657450/1431552-18","https://exhentai.org/s/6134799ae1/1431552-19","https://exhentai.org/s/7ddbbafed7/1431552-20","https://exhentai.org/s/3e07dc4359/1431552-21","https://exhentai.org/s/5b8f17cb23/1431552-22","https://exhentai.org/s/59cd499a3b/1431552-23","https://exhentai.org/s/7a7f88c2ec/1431552-24","https://exhentai.org/s/c2d6776e62/1431552-25","https://exhentai.org/s/c090f433d8/1431552-26","https://exhentai.org/s/eb5e8338a4/1431552-27","https://exhentai.org/s/6e8365118f/1431552-28"]
@@ -0,0 +1 @@
["https://exhentai.org/s/5b47c48abf/1430261-1","https://exhentai.org/s/f701187f43/1430261-2","https://exhentai.org/s/fc7a4f7fff/1430261-3","https://exhentai.org/s/fd8db3b22d/1430261-4","https://exhentai.org/s/d4bf4fcb7d/1430261-5","https://exhentai.org/s/ac33fc07a5/1430261-6","https://exhentai.org/s/41c0c2a7ca/1430261-7","https://exhentai.org/s/b42283d30f/1430261-8","https://exhentai.org/s/b0210077f2/1430261-9","https://exhentai.org/s/8bccb7aa05/1430261-10","https://exhentai.org/s/569f42ad31/1430261-11","https://exhentai.org/s/89ff2b6477/1430261-12","https://exhentai.org/s/324eb50d7b/1430261-13","https://exhentai.org/s/63ac3f787c/1430261-14","https://exhentai.org/s/388e02d582/1430261-15","https://exhentai.org/s/d4132d1a25/1430261-16"]
@@ -0,0 +1 @@
["https://exhentai.org/s/944669ddb3/1438192-1","https://exhentai.org/s/9f8897895c/1438192-2","https://exhentai.org/s/155323778c/1438192-3","https://exhentai.org/s/0ad3a92b09/1438192-4","https://exhentai.org/s/14101c40ae/1438192-5","https://exhentai.org/s/69ddac1c0a/1438192-6","https://exhentai.org/s/3e98ccec0e/1438192-7","https://exhentai.org/s/a9e2e12391/1438192-8","https://exhentai.org/s/526fedfc31/1438192-9","https://exhentai.org/s/db8657aa38/1438192-10","https://exhentai.org/s/35868471b2/1438192-11","https://exhentai.org/s/63817c508f/1438192-12","https://exhentai.org/s/e8f8ebdd1c/1438192-13","https://exhentai.org/s/cbb6d7c06d/1438192-14","https://exhentai.org/s/ce0ee87867/1438192-15","https://exhentai.org/s/97a7836f33/1438192-16","https://exhentai.org/s/911483b107/1438192-17","https://exhentai.org/s/86297865d0/1438192-18","https://exhentai.org/s/9d91c7ed6c/1438192-19","https://exhentai.org/s/309777a3ee/1438192-20","https://exhentai.org/s/1e7934df73/1438192-21","https://exhentai.org/s/0d544946eb/1438192-22","https://exhentai.org/s/c27c3201f7/1438192-23","https://exhentai.org/s/b743cec70b/1438192-24","https://exhentai.org/s/3e07e00628/1438192-25","https://exhentai.org/s/f9d80cc425/1438192-26","https://exhentai.org/s/9d1afcfa9f/1438192-27"]
@@ -0,0 +1 @@
["https://exhentai.org/s/f9ed9ab86e/1435777-1","https://exhentai.org/s/e2d3a313ce/1435777-2","https://exhentai.org/s/adb9194f48/1435777-3","https://exhentai.org/s/6957bd633b/1435777-4","https://exhentai.org/s/cb42b696ac/1435777-5","https://exhentai.org/s/e0d3063b78/1435777-6","https://exhentai.org/s/1feb086baf/1435777-7","https://exhentai.org/s/0da9fbccfd/1435777-8","https://exhentai.org/s/63eb8ae81e/1435777-9","https://exhentai.org/s/e2ecad2c18/1435777-10","https://exhentai.org/s/98409d2a7b/1435777-11","https://exhentai.org/s/bbec781b54/1435777-12","https://exhentai.org/s/4a14ea33fc/1435777-13","https://exhentai.org/s/51b1b76bf8/1435777-14","https://exhentai.org/s/5fd8f71560/1435777-15","https://exhentai.org/s/0a47ab4ffc/1435777-16","https://exhentai.org/s/af92645f92/1435777-17","https://exhentai.org/s/01ba22f9d6/1435777-18"]
@@ -0,0 +1 @@
["https://exhentai.org/s/e7e1f2dbdc/1437918-1","https://exhentai.org/s/49489fb0fe/1437918-2","https://exhentai.org/s/e193bbbf1f/1437918-3","https://exhentai.org/s/9dd9390e01/1437918-4","https://exhentai.org/s/f3a3433e70/1437918-5","https://exhentai.org/s/272540146f/1437918-6","https://exhentai.org/s/69df72da42/1437918-7","https://exhentai.org/s/bacbb1235b/1437918-8","https://exhentai.org/s/e44d3c13cf/1437918-9","https://exhentai.org/s/c7ea0cac40/1437918-10","https://exhentai.org/s/0d3758fe02/1437918-11","https://exhentai.org/s/07eb9a15d0/1437918-12","https://exhentai.org/s/ad602e81e6/1437918-13","https://exhentai.org/s/f970c20c85/1437918-14","https://exhentai.org/s/e7fb75ba7d/1437918-15","https://exhentai.org/s/94448fc27d/1437918-16","https://exhentai.org/s/57a0dadede/1437918-17"]
@@ -0,0 +1 @@
["https://exhentai.org/s/45866dd95f/1435172-1","https://exhentai.org/s/d68c1090b0/1435172-2","https://exhentai.org/s/ff2e538956/1435172-3","https://exhentai.org/s/112982275f/1435172-4","https://exhentai.org/s/0a9bae3abc/1435172-5","https://exhentai.org/s/e7cbae387c/1435172-6","https://exhentai.org/s/26a4654743/1435172-7","https://exhentai.org/s/7e188582ee/1435172-8","https://exhentai.org/s/719cc1bf5e/1435172-9","https://exhentai.org/s/2587752b75/1435172-10","https://exhentai.org/s/727ca6e3db/1435172-11","https://exhentai.org/s/c9d1210c3b/1435172-12","https://exhentai.org/s/c4adc76f7d/1435172-13","https://exhentai.org/s/536335c6b2/1435172-14","https://exhentai.org/s/2fedb0ae7b/1435172-15","https://exhentai.org/s/3846d1c153/1435172-16","https://exhentai.org/s/1280b47148/1435172-17","https://exhentai.org/s/5cba0057b8/1435172-18","https://exhentai.org/s/8c8b7d81df/1435172-19","https://exhentai.org/s/ec046e0f70/1435172-20","https://exhentai.org/s/1bc563528a/1435172-21","https://exhentai.org/s/d2ae5a96d3/1435172-22","https://exhentai.org/s/d11616c830/1435172-23","https://exhentai.org/s/eb3da6b4ea/1435172-24","https://exhentai.org/s/57a0dadede/1435172-25"]
@@ -0,0 +1 @@
["https://exhentai.org/s/40cc4dff51/1437879-1","https://exhentai.org/s/6653a87f66/1437879-2","https://exhentai.org/s/79195cdbc8/1437879-3","https://exhentai.org/s/4016d844e4/1437879-4","https://exhentai.org/s/00441f7bb4/1437879-5","https://exhentai.org/s/fe4a6c073d/1437879-6","https://exhentai.org/s/46d0a51a13/1437879-7","https://exhentai.org/s/c0d0be5b70/1437879-8","https://exhentai.org/s/84996c804b/1437879-9","https://exhentai.org/s/7a365e5ba2/1437879-10","https://exhentai.org/s/f53833fccb/1437879-11","https://exhentai.org/s/96ebfc3ec9/1437879-12","https://exhentai.org/s/e48ff5b1ca/1437879-13","https://exhentai.org/s/0ed0e52746/1437879-14","https://exhentai.org/s/e3a478acd5/1437879-15","https://exhentai.org/s/043018035c/1437879-16","https://exhentai.org/s/46a414abd2/1437879-17","https://exhentai.org/s/c2e313f856/1437879-18","https://exhentai.org/s/7f92a738a4/1437879-19","https://exhentai.org/s/1a12177d9a/1437879-20","https://exhentai.org/s/1967faed34/1437879-21","https://exhentai.org/s/0ca9d80969/1437879-22","https://exhentai.org/s/e42b94f397/1437879-23","https://exhentai.org/s/7838a10497/1437879-24","https://exhentai.org/s/55a47aa950/1437879-25","https://exhentai.org/s/bfc8dd50ca/1437879-26","https://exhentai.org/s/100e16aa91/1437879-27","https://exhentai.org/s/f5f0d5cc34/1437879-28","https://exhentai.org/s/e786441fef/1437879-29","https://exhentai.org/s/e6f21f841a/1437879-30","https://exhentai.org/s/5cf0c58aa8/1437879-31","https://exhentai.org/s/df1608a039/1437879-32","https://exhentai.org/s/4218e99b25/1437879-33","https://exhentai.org/s/db2abe52e1/1437879-34","https://exhentai.org/s/2ba857e62a/1437879-35","https://exhentai.org/s/e58eafbf8a/1437879-36","https://exhentai.org/s/3aa868c20c/1437879-37","https://exhentai.org/s/9c5d4b8abb/1437879-38","https://exhentai.org/s/dd027b1df9/1437879-39","https://exhentai.org/s/60f833de02/1437879-40","https://exhentai.org/s/96f49e5da8/1437879-41","https://exhentai.org/s/96e3712b48/1437879-42","https://exhentai.org/s/72e3bd243b/1437879-43","https://exhentai.org/s/f57cbfc681/1437879-44","https://exhentai.org/s/12120cdec9/1437879-45","https://exhentai.org/s/a72bf539f4/1437879-46","https://exhentai.org/s/7fd8052148/1437879-47","https://exhentai.org/s/4ed2521f68/1437879-48","https://exhentai.org/s/8deda3327b/1437879-49","https://exhentai.org/s/6e41814346/1437879-50","https://exhentai.org/s/bfbbef3c7f/1437879-51","https://exhentai.org/s/ba5743408f/1437879-52","https://exhentai.org/s/8e87b09783/1437879-53","https://exhentai.org/s/428ff23120/1437879-54","https://exhentai.org/s/321f73bb7c/1437879-55","https://exhentai.org/s/c602650dbe/1437879-56","https://exhentai.org/s/21d184cf18/1437879-57","https://exhentai.org/s/ed633b182f/1437879-58","https://exhentai.org/s/eaa388bb60/1437879-59","https://exhentai.org/s/fc99363ddf/1437879-60","https://exhentai.org/s/4877b214cd/1437879-61","https://exhentai.org/s/70d14eb740/1437879-62","https://exhentai.org/s/f10768d5c1/1437879-63","https://exhentai.org/s/779e8fc9b5/1437879-64","https://exhentai.org/s/bb8054b892/1437879-65","https://exhentai.org/s/34d0fdf1e2/1437879-66"]

0 comments on commit d2d4613

Please sign in to comment.