Commit Graph

804 Commits

Author SHA1 Message Date
Yang Luo 11327c9b16 Support reading users from DB directly. 2021-08-25 00:59:01 +08:00
Yang Luo 4bf2458f73 Hide reply box in non-embedded mode. 2021-08-25 00:48:33 +08:00
Yang Luo b21537ca14 Fix backend bug. 2021-08-25 00:28:08 +08:00
Yang Luo e7300db6f2 Use session user struct, not finished. 2021-08-22 11:04:20 +08:00
Yang Luo 7393c5d2b6 Improve code. 2021-08-22 00:33:54 +08:00
Yang Luo 535e7faa60 Remove GetMemberAvatarMapping(). 2021-08-21 23:31:54 +08:00
Yang Luo 7370fb32a2 Remove GetMembersFromCasdoor(). 2021-08-21 21:25:08 +08:00
Yang Luo a893fb7596 Remove mapping functions between user and member. 2021-08-21 21:07:41 +08:00
Yang Luo f2d73c8465 Add RequireAdminRight(). 2021-08-21 16:32:05 +08:00
Yang Luo 6cb28ab930 Remove AuthBox.js 2021-08-21 16:15:03 +08:00
Yang Luo 16efcca487 Remove Member in APIs. 2021-08-21 16:06:49 +08:00
Yang Luo 4b23e564be Replace Member with User, not finished. 2021-08-21 12:44:19 +08:00
Yang Luo f7f9ed71ba Update sync properties. 2021-08-21 11:35:13 +08:00
Yang Luo 570e04f4c2 Remove useless code. 2021-08-21 11:03:34 +08:00
oranges 6783ac7838
feat: add 404 page (#364)
Signed-off-by: killer <1533063601@qq.com>
2021-08-21 10:18:56 +08:00
Yang Luo 858d1401ce Remove useless code. 2021-08-19 23:39:16 +08:00
Kininaru 9c551cebfc
fix: code mirror editor display bug (#363)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

remove
2021-08-18 23:16:20 +08:00
Kininaru 5899d49832
feat: Hide Nodes and Topics (#358)
* fix: wrap nodeId with encodeURIComponent in links

Signed-off-by: Kininaru <shiftregister233@outlook.com>

* feat: add IsHidden to nodes and topics

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-08-18 22:28:09 +08:00
oranges e075437bea
fix: change frontconf name (#361)
Signed-off-by: killer <1533063601@qq.com>
2021-08-18 22:20:17 +08:00
oranges 7307de7fa8
feat: add some swagger api docs (#360)
Signed-off-by: killer <1533063601@qq.com>
2021-08-18 18:28:08 +08:00
Yang Luo 3fc5e5648e Add ShowEmbedButtons. 2021-08-15 22:28:30 +08:00
Yang Luo 78cf939ce3 Fix edit box md mode. 2021-08-15 22:10:24 +08:00
Yang Luo 4aa1ec33c2 Support accessToken auto signin. 2021-08-15 21:56:38 +08:00
Yang Luo 5057b1eec9 Improve filter. 2021-08-15 20:29:58 +08:00
Kininaru dd3045d603
fix: add nodeId in getTopicByUrlAndTitle (#357)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-08-14 18:49:18 +08:00
dependabot[bot] 7ff0830db6
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /web (#356)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:46:34 +08:00
oranges bdeb8b888d
fix: frontconf management style (#355)
Signed-off-by: killer <1533063601@qq.com>
2021-08-12 21:37:45 +08:00
oranges 007d47d8d8
feat: add frontconf management (#348)
Signed-off-by: killer <1533063601@qq.com>
2021-08-12 21:02:58 +08:00
Kininaru a12ea9037c
feat: login in embed reply (#354)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

style

style
2021-08-12 19:55:38 +08:00
WindSpiritSR 80bbe20e99
fix: remove #; in href for reply page (#353)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-10 21:11:05 +08:00
Kininaru a119464f8c
feat: add router and APIs for embed plugin (#351)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

add missed css

match

->urlPath

urlPathStr -> urlPath
2021-08-10 14:01:14 +08:00
WindSpiritSR 4ad16aac71
fix: replace web auth with casdoor-js-sdk (#339)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-08 20:41:07 +08:00
Yang Luo 5229a7e42c Rename to enableNestedReply. 2021-08-07 20:57:26 +08:00
WindSpiritSR e890b7d6b4
feat: support cascading reply (#344)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-07 20:14:07 +08:00
Yang Luo da94995243 Support casdoor-go-sdk 0.0.2 2021-08-07 17:02:46 +08:00
Yang Luo f08503ecf8 Remove SettingsBox page. 2021-08-07 13:17:51 +08:00
Yang Luo a885c2f429 Rename to: RequireSignedIn() 2021-08-07 12:26:43 +08:00
Yang Luo d0d53fa7ae Remove auth.go 2021-08-07 12:22:05 +08:00
oranges 95832b5543
fix: mobile setting link (#345)
Signed-off-by: killer <1533063601@qq.com>
2021-08-05 12:16:21 +08:00
Kininaru 214d1f4f3f
feat: add user initScore in app.conf (#342)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

-> 2000
2021-08-03 23:27:39 +08:00
Yang Luo 86dc816c5c Support redis session. 2021-08-03 00:52:19 +08:00
oranges 63787e653b
refactor: change jsdelivr to cdn.casbin.org (#340)
Signed-off-by: killer <1533063601@qq.com>
2021-07-30 21:43:22 +08:00
oranges 1e76594e5e
fix: Wrong ranking of wealth (#337)
Signed-off-by: killer <1533063601@qq.com>
2021-07-29 21:37:32 +08:00
oranges 83da703e3d
fix: Modify the membership page refresh problem, the subject author error problem (#336)
Signed-off-by: killer <1533063601@qq.com>
2021-07-28 19:10:35 +08:00
oranges d82d95e03b
refactor: change cdn (#335)
Signed-off-by: killer <1533063601@qq.com>
2021-07-27 16:47:14 +08:00
github-actions[bot] be596d6771
refactor: New Crowdin translations by Github Action (#332)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-07-25 21:33:50 +08:00
Yang Luo 313e096a34 Update antd to 4.16.8 2021-07-25 21:03:42 +08:00
sh1luo c2fa489d70
fix: clear part of console warnings (#331)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 20:16:50 +08:00
Yang Luo 663ef1105d Ad can be null. 2021-07-25 17:52:59 +08:00
Yang Luo c3ffc916b9 Refactor out renderAd(). 2021-07-25 17:49:54 +08:00