Yang Luo
1a6b86460c
Remove user's IsGlobalAdmin in SDK
2023-09-25 22:24:18 +08:00
yehong
74e0fd937b
feat: support configuring the database using environment variables ( #577 )
...
Signed-off-by: yehong <239859435@qq.com>
2023-06-27 15:57:06 +08:00
Yaodong Yu
84f277309b
fix: online user can not be updated ( #570 )
2023-03-17 22:36:03 +08:00
Gucheng Wang
926d922d06
Fix crash in SetUserField()
2023-02-02 21:09:51 +08:00
Gucheng Wang
b7546df7ba
Fix bug in GetMembersFromFavorites()
2022-10-07 21:01:54 +08:00
Yang Luo
a84384db0c
Update casdoor-go-sdk to v0.9.1
2022-09-29 00:37:37 +08:00
q1anx1
a6c327cfdf
chore(style): fmt code ( #534 )
2022-08-09 20:10:21 +08:00
Ryao
f62f30e8dc
fix: gitter user avatar is not uploaded ( #520 )
2022-07-15 23:26:19 +08:00
Yang Luo
1d04bae1e8
Add Time2String().
2022-05-22 22:37:52 +08:00
Yang Luo
8c3973a598
Fix missing topic and reply fields in gitter.go
2022-05-22 22:21:13 +08:00
Ryao
6f97edf5b2
feat: sync gitter room to node ( #519 )
...
* fix: update count field not atomic
* test: add sync topic count field test
* chore: remove redundant select queries
* feat: sync gitter to node
* feat: add go test & debug gitter.go
* debug
* feat: configure gitter room in fe
* debug
* chore: gitter sync limit time and frequence
* format
* debug
* debug & fix test
2022-05-22 20:16:12 +08:00
Nekotoxin
ab5466e0b2
fix: the 404 page in the footer ( #517 )
...
* fix: 404 page in footer
* Update ReplyBox.js
* Update AdminFrontConf.js
* Update frontConf.go
* Update router.go
* Update Footer.js
* Update FooterRenderBox.js
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-22 17:28:36 +08:00
Nekotoxin
89fe3d423a
feat: improve the tdk of reply ( #506 )
...
* feat: improve the tdk of reply
* Update ReplyBox.js
* Update NodeBox.js
* Update SingleReplyBox.js
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-05 20:07:20 +08:00
Nekotoxin
e83296c616
fix: video is broken by sanitize ( #501 )
2022-04-27 23:30:36 +08:00
Ryao
cd883e4774
fix: update count field not atomic ( #496 )
...
* fix: update count field not atomic
* test: add sync topic count field test
* chore: remove redundant select queries
* Update topic_test.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-21 22:23:11 +08:00
Nekotoxin
e16d8dbc37
fix: ban duplicate reply ( #490 )
2022-04-14 21:39:05 +08:00
Nekotoxin
e8c4d50488
fix: remove subscribe reply ( #483 )
...
* fix: subscribe reply
* fix: remove subscribe reply
2022-04-11 19:07:15 +08:00
Nekotoxin
0add49452c
fix: shorten the length of topic title ( #481 )
2022-04-11 18:41:53 +08:00
Nekotoxin
60b54448fe
fix: add member to subscribe list when the member is at ( #463 )
2022-04-06 19:55:25 +08:00
Nekotoxin
9d23a12540
feat: Add subscribe ( #457 )
...
* fix: add subscribe
* fix: build subscribe
* fix: build subscribe
* fix: change the favoritesType to string
* fix: build subscribe
* fix: build subscribe
* fix: format and small fix
* fix: format and small fix
* fix: format and small fix
2022-04-05 08:47:55 +08:00
Gucheng Wang
3ed4e9e17f
Fix @ed user cannot receive Email bug.
2022-03-29 22:31:35 +08:00
hsluoyz
4ec95c2d91
Add sender person to email.
2022-03-28 01:57:36 +08:00
hsluoyz
7d27d927e9
Use forumName as email sender name.
2022-03-28 01:51:24 +08:00
hsluoyz
c0a232b2ad
Delete embed topic hard in DeleteTopic().
2022-03-27 16:25:10 +08:00
Mayank Mittal
815a6a068a
fix: Duplicate topic creation ( #439 )
2022-03-06 10:33:11 +08:00
Nekotoxin
4867cb2804
fix: fix duplicatedly publishing and databases error ( #437 )
...
* fix: fix duplicatedly publishing and databases error
* Update topic.go
2022-03-05 23:22:29 +08:00
Mayank Mittal
31602737be
fix: Duplicate topic creation ( #420 )
2022-03-05 21:02:07 +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
48427d0d22
fix: Pagination count is wrong for recent page ( #421 )
2022-02-27 10:06:54 +08:00
hsluoyz
f3ff00d2d6
Fix crash in GetTopicWithAvatar().
2022-01-30 00:17:59 +08:00
Gucheng Wang
9416b80297
Fix author cannot edit topic bug.
2022-01-26 21:11:38 +08:00
Gucheng Wang
ba61546091
Revert PR: https://github.com/casbin/casnode/pull/390 to fix no reply bug.
2022-01-26 20:21:54 +08:00
Gucheng Wang
8c80d68710
Hide embed topics for tab page, use "EmbedBot" name.
2022-01-21 12:43:16 +08:00
程峰
30f14df789
Fix the bug that after thanking the reply, the reply cannot be thanked by others. ( #390 )
...
Co-authored-by: daguagua <chengfeng@papegames.net>
2021-12-20 17:02:50 +08:00
Gucheng Wang
681dbbe2fe
Use auth.UpdateUserForColumns().
2021-12-12 00:49:15 +08:00
Gucheng Wang
b55938fef1
Change topic's Title's length to 1000.
2021-12-11 11:27:32 +08:00
Товарищ программист
3132649d62
feat: add comments to categorize apis for swagger ( #389 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-06 18:27:23 +08:00
Gucheng Wang
2a5bd08a5e
Add index for NodeTopTime.
2021-12-06 10:16:10 +08:00
Gucheng Wang
74fb5fc56d
Fix topic index orders.
2021-12-06 10:11:55 +08:00
Gucheng Wang
a99697e628
Make GetTopicsByNode() and GetTopicsByTag() faster.
2021-12-05 01:40:50 +08:00
Gucheng Wang
a19feb07db
Make GetTopicWithAvatar() faster.
2021-12-05 01:36:06 +08:00
Gucheng Wang
9217b57757
Fix index order.
2021-12-05 01:34:01 +08:00
Gucheng Wang
fde0c5f299
Make GetNodeNavigation() faster.
2021-12-05 01:20:11 +08:00
Gucheng Wang
2e82c2ec96
Improve GetHotTopic() performance.
2021-12-05 01:03:42 +08:00
Gucheng Wang
cf463b6a9c
Improve topic SQL performance.
2021-12-05 00:58:28 +08:00
Gucheng Wang
54f5cf4291
Add extra info to Tab too.
2021-12-05 00:20:53 +08:00
Gucheng Wang
c76c79736c
Support getting info from forum field table.
2021-12-04 23:25:04 +08:00
Gucheng Wang
60c43edafd
Add ranking to node and tab.
2021-12-04 22:59:37 +08:00
Gucheng Wang
508df9e217
Add TestSyncTabsForTopics().
2021-12-04 11:25:50 +08:00
Gucheng Wang
f9cd166e48
Fix topic not showing 404 bug.
2021-12-04 11:17:06 +08:00