Commit Graph

111 Commits

Author SHA1 Message Date
Zixuan Liu c42450d6fd
feat: add enforce context (#88)
Signed-off-by: nodece <nodeces@gmail.com>
2023-05-03 09:52:27 +08:00
Zixuan Liu e13f7f9dd7
feat: upgrade casbin to latest v5.26.1 (#87) 2023-04-18 09:45:57 +08:00
Yang Luo dce76d8d2e Fix URLs in README 2022-11-25 19:37:35 +08:00
imp2002 09566f5e4f
fix: fix the deployment directory (#79)
fix: https://github.com/casbin/casbin-editor/issues/78
2022-11-25 16:50:01 +08:00
isNullOrEmpty() dbb9659d49
build: upgrade casbin (#74)
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2022-04-15 21:05:27 +08:00
dependabot[bot] 63df2a317c
build(deps): bump url-parse from 1.5.7 to 1.5.10 (#71)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 19:44:21 +08:00
dependabot[bot] fc1a544cac
build(deps): bump url-parse from 1.5.3 to 1.5.7 (#70)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-19 15:11:15 +08:00
dependabot[bot] 70eac03e0c
build(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#69)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 09:10:38 +08:00
dependabot[bot] f04a8f6750
build(deps): bump follow-redirects from 1.14.1 to 1.14.7 (#68)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 17:03:53 +08:00
dependabot[bot] cea29e091d
build(deps): bump tmpl from 1.0.4 to 1.0.5 (#65)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 12:40:26 +08:00
Zixuan Liu db9f15c89e
Merge pull request #64 from nodece/fix_ci
ci: use yarn instead of npm
2021-09-11 11:46:46 +08:00
Zixuan Liu ee82bb54cc ci: use yarn instead of npm
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
2021-09-11 11:45:10 +08:00
Zixuan Liu faf8f448a4
Merge pull request #63 from nodece/master
fix: use casbin.js@next instead of casbin
2021-09-11 11:21:06 +08:00
Zixuan Liu 56211377d0 fix: use casbin.js@next instead of casbin
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
2021-09-10 23:04:50 +08:00
Yang Luo 8eb61bc45a
Merge pull request #62 from casbin/dependabot/npm_and_yarn/url-parse-1.5.3
build(deps): bump url-parse from 1.5.1 to 1.5.3
2021-08-14 17:04:36 +08:00
dependabot[bot] 28846c7d0a
build(deps): bump url-parse from 1.5.1 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 08:51:21 +00:00
Yang Luo 3610ff3880
Merge pull request #61 from Zxilly/bump
build: update casbin
2021-08-14 16:50:44 +08:00
Zxilly 346266b1b8 build: update casbin
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-08-14 14:03:53 +08:00
Zxilly ad3ff81763
build: update version of casbin (#59)
* build: update version of casbin

Closes https://github.com/casbin/casbin-editor/issues/57

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>

* build: update yarn.lock

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-30 09:14:56 +08:00
Zixuan Liu 2d1fb64646
Merge pull request #58 from Zxilly/master
fix: fix unexpect parse
2021-07-29 23:51:39 +08:00
Zxilly 51e317ed86 fix: fix unexpect parse
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-29 12:37:02 +08:00
Yang Luo 53dda7d5ad
Merge pull request #56 from Zxilly/share
feat: add support for share content
2021-07-27 13:33:50 +08:00
Zxilly 6f7d7015de fix: prevent duplicate load and share
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-27 00:00:18 +08:00
Zxilly eb79669d46 fix: fix parser error
parser won't remove the space in the last word of policy.
This bug was
introduced in
baa7239c56

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-26 22:52:12 +08:00
Zxilly eb43221d84 refactor: control context on the higher level
In the past, each component in the editor control their states on their
own. And share function can not change their internal states.
As for
now, All the states will be managed at one place. And share button can
load content normally.

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-26 22:37:37 +08:00
Zxilly aa0f6322e4 feat: add support for copy button
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-26 01:06:10 +08:00
Zxilly 882dfe135a fix: prevent potential duplicate path hash
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-25 23:43:07 +08:00
Zxilly e0f69b529c fix: fix build
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-25 23:33:29 +08:00
Zxilly 9e19acc764 style: make lint tools happy
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-25 23:33:27 +08:00
Zxilly 0f4dc7ad66 feat: add support for share content
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-25 23:33:26 +08:00
Yang Luo f952bbcf55
Merge pull request #54 from ErikQQY/master
feat: Add netlify PR preview
2021-07-25 23:27:08 +08:00
ErikQQY 60b27ef015 feat: Add netlify PR preview
Signed-off-by: ErikQQY <2283984853@qq.com>
2021-07-25 23:14:47 +08:00
Yang Luo a23847ee97
Merge pull request #48 from Zxilly/master
perf: enhance parser and regenerate yarn.lock
2021-07-24 10:09:03 +08:00
Zxilly 5e7541eff1 perf: enhance parser and regenerate yarn.lock
With the patch, parser will handle space correctly even when it works
with object.

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-24 10:04:47 +08:00
Yang Luo 14155dbcda
Merge pull request #50 from casbin/dependabot/npm_and_yarn/color-string-1.6.0
Bump color-string from 1.5.3 to 1.6.0
2021-07-24 09:52:49 +08:00
Yang Luo e9ec4ba9db
Merge pull request #51 from casbin/dependabot/npm_and_yarn/ws-5.2.3
Bump ws from 5.2.2 to 5.2.3
2021-07-24 09:52:25 +08:00
dependabot[bot] 45d5271677
Bump ws from 5.2.2 to 5.2.3
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 01:48:14 +00:00
dependabot[bot] 2fa1453b57
Bump color-string from 1.5.3 to 1.6.0
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.6.0)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 01:48:09 +00:00
Yang Luo 8a286593f1
Merge pull request #49 from Zxilly/newFunction
feat: add keyGet and keyGet2
2021-07-24 09:47:35 +08:00
Zxilly 1a92a35aa8 feat: add keyGet and keyGet2
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-24 09:04:42 +08:00
Yang Luo 7ba213665a
Merge pull request #46 from Zxilly/master
fix: resolve unexpected parse
2021-07-22 18:37:47 +08:00
Zxilly baa7239c56 fix: resolve unexpected parse
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-22 10:40:14 +08:00
Yang Luo 878dea141e
Merge pull request #43 from Zxilly/master
fix: resolve config refresh
2021-07-03 19:41:23 +08:00
Zxilly 3763537804 fix: resolve config refresh
Closes https://github.com/casbin/casbin-editor/issues/42

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-07-02 17:10:51 +08:00
Yang Luo 0468e27fdb
Merge pull request #40 from casbin/dependabot/npm_and_yarn/merge-deep-3.0.3
Bump merge-deep from 3.0.2 to 3.0.3
2021-06-08 20:39:09 +08:00
dependabot[bot] 6b77e9a565
Bump merge-deep from 3.0.2 to 3.0.3
Bumps [merge-deep](https://github.com/jonschlinkert/merge-deep) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jonschlinkert/merge-deep/releases)
- [Commits](https://github.com/jonschlinkert/merge-deep/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: merge-deep
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 12:37:53 +00:00
Yang Luo (罗杨) 15e24f22cd
Merge pull request #39 from casbin/dependabot/npm_and_yarn/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4
2021-05-29 10:17:39 +08:00
dependabot[bot] 16e1d9bd20
Bump dns-packet from 1.3.1 to 1.3.4
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 01:43:27 +00:00
hsluoyz 128ceef30d
Merge pull request #38 from casbin/dependabot/npm_and_yarn/codemirror-5.58.2
Bump codemirror from 5.48.4 to 5.58.2
2021-05-12 09:29:59 +08:00
hsluoyz f83cc65fe9
Merge pull request #37 from casbin/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-12 09:28:57 +08:00