Commit Graph

420 Commits

Author SHA1 Message Date
Nekotoxin 97a4c714ac
fix: add different titles for some pages (#432)
* feature: add different titles for some pages

* fix: add different titles for some pages

* fix: add different titles for some pages

* fix: add different titles for some pages
2022-03-03 20:53:41 +08:00
github-actions[bot] fe8edac2b7
refactor: New Crowdin translations by Github Action (#430)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-02 19:25:46 +08:00
Nekotoxin 43fb568617
feat: Add the consumption list (/top/player) page (#429)
* refactor: Add the consumption list (/top/player) page

* refactor: Add the consumption list (/top/player) page
2022-03-02 19:13:58 +08:00
Nekotoxin 6c5bcabb7e
fix: CSS broken (#426) 2022-03-01 10:13:06 +08:00
Nekotoxin b4c59b63a2
refactor: format all *.js,*.css files (#427)
* refactor: format all *.js,*.css files

* refactor: format all *.js,*.css files
2022-02-28 21:50:00 +08:00
Nekotoxin c25a64a4d4
fix: cannot change pagination for "Recent Topics" page to the react-router link (#417)
Fix:#385

Closes https://github.com/casbin/casnode/issues/385
2022-02-25 19:03:27 +08:00
Nekotoxin c105897416
fix: the coins won't be updated timely after posting (#418)
Fix:#416

Closes https://github.com/casbin/casnode/issues/416
2022-02-25 18:47:19 +08:00
Yang Luo 8fab54edad Add SilentSignin. 2022-01-23 13:04:14 +08:00
Yang Luo 4659b41ceb Change antd primary-color. 2022-01-16 01:06:51 +08:00
Yang Luo 990c8e5f62 Improve sign in spin. 2022-01-16 00:39:53 +08:00
dependabot[bot] 64c1b72539
build(deps): bump follow-redirects from 1.13.3 to 1.14.7 in /web (#406)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...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:01:12 +08:00
dependabot[bot] 44f509decc
build(deps): bump shelljs from 0.8.4 to 0.8.5 in /web (#407)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  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 16:59:52 +08:00
Gucheng Wang 10d563c69b Improve missing i18n translation. 2022-01-13 21:12:13 +08:00
Gucheng Wang c36134eb06 Fix bug in member page avatar. 2022-01-13 20:31:35 +08:00
viewweiwu 6d4c55f5c9 feat: prload v2ex-zhihu-theme (#403)
* feat: add v2ex-zhihu-theme

* feat: preload styles

* feat: merge theme
2022-01-09 17:00:32 +08:00
viewweiwu f3312a8700
feat: add v2ex-zhihu-theme (#402) 2022-01-06 17:02:37 +08:00
Gucheng Wang 3279fd1bc4 Fix "Post a Question" null node bug. 2022-01-04 01:21:40 +08:00
Gucheng Wang 1f9f095334 Redirect file library link to Casdoor. 2022-01-03 23:09:30 +08:00
Gucheng Wang eb436e4eb1 Fix bug in NodeNavigationBox page. 2022-01-01 18:32:25 +08:00
github-actions[bot] 35a88414a8
refactor: New Crowdin translations by Github Action (#396)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-12-31 22:50:18 +08:00
Gucheng Wang 4395366f9f Set ShowGithubCorner to false by defaul. 2021-12-31 20:58:25 +08:00
github-actions[bot] 3a077713d2
refactor: New Crowdin translations by Github Action (#394)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-12-28 21:46:58 +08:00
Gucheng Wang 4747f60ce3 Improve translation. 2021-12-28 21:43:45 +08:00
Gucheng Wang 9c6df4fd1f Support kk i18n. 2021-12-28 21:10:17 +08:00
Gucheng Wang f5fee1e5d9 Support zh-TW i18n. 2021-12-28 13:43:34 +08:00
Gucheng Wang e06643a267 Add missing translations. 2021-12-28 11:37:57 +08:00
Gucheng Wang f3b23da931 Improve translation. 2021-12-28 10:24:07 +08:00
Gucheng Wang eb6f9bdbda Improve username parsing in renderIdp(). 2021-12-11 13:36:03 +08:00
Gucheng Wang a251c9fcdc Improve profile IdP icons. 2021-12-11 13:25:13 +08:00
Gucheng Wang 3baae57b0c Fix JS warning. 2021-12-11 11:34:35 +08:00
Gucheng Wang c6f1d1f2a5 Remove loading indicator. 2021-12-06 10:31:47 +08:00
Gucheng Wang dba87aaf70 Fix the highligh CSS style of top node list bar. 2021-12-04 20:23:07 +08:00
Gucheng Wang 7ffc0c78cf Show pagination in node topic list. 2021-12-04 11:33:55 +08:00
Gucheng Wang 2043bb60df Improve embed button text. 2021-12-04 09:13:55 +08:00
github-actions[bot] 374c58a185
refactor: New Crowdin translations by Github Action (#384)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-12-04 00:50:40 +08:00
Gucheng Wang c31b659a86 Add redirectPath to AuthConfig. 2021-12-04 00:45:10 +08:00
Gucheng Wang 7c23bf8bae Fix button text. 2021-12-04 00:29:48 +08:00
Gucheng Wang bc88eaf871 Handle avatar error. 2021-12-02 09:00:58 +08:00
Gucheng Wang 7b4ff0b44a Fix UI for anonymous user. 2021-12-02 00:29:25 +08:00
Gucheng Wang 116483078a Add translation code. 2021-12-01 23:44:45 +08:00
Gucheng Wang 61d4ddf733 Fix frontend bugs. 2021-12-01 21:01:50 +08:00
Gucheng Wang 33d747856e Make plugin button work. 2021-11-25 20:35:56 +08:00
Gucheng Wang 210cf0361f Fix mobile theme mode. 2021-11-21 23:33:36 +08:00
Gucheng Wang 31e83af963 Use localStorage for themeMode. 2021-11-21 23:28:47 +08:00
Gucheng Wang b1397d84b2 Fix homePageTopTime doesn't work bug. 2021-11-21 23:06:28 +08:00
dependabot[bot] 51f5fd7aba
build(deps): bump ws from 5.2.2 to 5.2.3 in /web (#378)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 22:21:12 +08:00
dependabot[bot] 7a823653d4
build(deps): bump semver-regex from 3.1.2 to 3.1.3 in /web (#377)
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 22:21:05 +08:00
dependabot[bot] e801dbe9e0
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /web (#374)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 21:55:16 +08:00
ERIK bd67e461a0
fix: Fix Crowdin failing (#375)
Signed-off-by: ErikQQY <2283984853@qq.com>
2021-10-10 18:55:02 +08:00
ERIK 5b54a1b829
fix: Move to new Crowdin project (#373)
Signed-off-by: ErikQQY <2283984853@qq.com>
2021-10-01 09:22:47 +08:00
oranges cdd1818e3b
fix: rankingrich data error (#372)
Signed-off-by: killer <1533063601@qq.com>
2021-09-28 19:29:28 +08:00
Yang Luo 424074152e Remove ad height. 2021-09-22 22:42:41 +08:00
Yang Luo d1381c140f Add "/login" route. 2021-09-22 22:40:09 +08:00
dependabot[bot] bbc5f263ab
build(deps): bump tmpl from 1.0.4 to 1.0.5 in /web (#370)
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:41:20 +08:00
Yang Luo 6ac164d007 Fix item names. 2021-09-14 01:17:13 +08:00
Yang Luo 8dfbf9fddb Improve function names. 2021-09-14 01:07:57 +08:00
Yang Luo 8becc4718d Improve setLanguage(). 2021-09-14 00:58:08 +08:00
Yang Luo 048bb69dac Use Casdoor to send Email. 2021-09-05 14:24:33 +08:00
Yang Luo 45249054bf Fix oauth logos and updating balance. 2021-08-28 14:06:13 +08:00
github-actions[bot] 8840de1a2e
refactor: New Crowdin translations by Github Action (#362)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-08-27 23:19:29 +08:00
Yang Luo 5f25e81e02 Fix member page fields. 2021-08-25 21:32:20 +08:00
Yang Luo 4bf2458f73 Hide reply box in non-embedded mode. 2021-08-25 00:48:33 +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 a893fb7596 Remove mapping functions between user and member. 2021-08-21 21:07:41 +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
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
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
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
oranges 95832b5543
fix: mobile setting link (#345)
Signed-off-by: killer <1533063601@qq.com>
2021-08-05 12:16:21 +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 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
Yang Luo dc10a22ff0 Add ForceLanguage to conf. 2021-07-25 17:16:12 +08:00
Yang Luo 04018fa3b5 Remove useless oauth config. 2021-07-25 16:58:14 +08:00
Yang Luo 815c6b1fcc Remove logoMobileImage. 2021-07-25 16:45:23 +08:00
Yang Luo 1b72a86842 Add forumName to config. 2021-07-25 16:42:47 +08:00
Yang Luo 304a3d01b7 Fix logo tooltip. 2021-07-25 16:27:59 +08:00