Commit graph

302 commits

Author SHA1 Message Date
Colby Gutierrez-Kraybill
5cdafb8bc9 Handle generic ipban redirect if session says so 2023-05-09 17:16:37 -04:00
Colby Gutierrez-Kraybill
d343b514ba Use handleSessionResponse to perform VPN redirect 2023-03-27 12:18:42 -04:00
Colby Gutierrez-Kraybill
21a795cd0b Add vpn_required to defaults in various pages. 2023-03-27 12:18:42 -04:00
Colby Gutierrez-Kraybill
12438d8360 Add in vpn redirect to require staff to use vpn 2023-03-27 12:18:42 -04:00
Karishma Chadha
6e9e637c5e
Revert "[Master] [Hotfix] Totally normal 2022" 2022-04-04 09:53:45 -04:00
seotts
f424b88b3d old timey 2022-03-30 13:36:15 -04:00
rschamp
930bb78304 Handle Totally Normal™ flags 2022-03-11 14:22:43 -05:00
Karishma Chadha
00f243250c Forward fix for regression introduced by changing the number of replies we fetch. This change updates the number of comment replies we fetch on project comments from 20 to 25 to be consistent with studio page. Also updates the code that controls whether to display the 'See more replies' button on comment threads. 2022-01-12 14:45:20 -05:00
Joel Gritter
ebb975d948
fix(gh-5989): use separate limit values
- use separate COMMENT_LIMIT and REPLY_LIMIT values
- use 25 as REPLY_LIMIT value
- restore original COMMENT_LIMIT value of 20
2021-11-17 06:50:21 -05:00
Joel Gritter
ac670f7749
fix(gh-5989): adjust comment load batch size
- adjust the studio reply comment load batch size to 25 instead of 20
2021-11-17 06:39:29 -05:00
seotts
ef3e861fc3 Allow admins to promote curators 2021-09-24 16:12:09 -04:00
Sarah Otts
1ee64bf4d9
Merge branch 'develop' into remove-studio-feature-flag 2021-09-21 10:43:07 -04:00
seotts
80a99bc0b6 Remove use of studio transfer feature flag
Remove another use
2021-09-21 10:40:18 -04:00
seotts
3ef41d2790 Remove use of new studios feature flag 2021-09-20 13:40:37 -04:00
seotts
2b1dfcda62 Fix a couple of comments 2021-09-20 12:09:47 -04:00
seotts
c70b67cde5 If studio response body has no host yet, use owner 2021-09-20 11:31:36 -04:00
seotts
dc241e1c6f Accept studio "host" from api; use "host" in state 2021-09-17 15:50:16 -04:00
Eric Rosenbaum
1d6c47d2a4
Revert "Revert "Transfer host modal updates"" 2021-09-02 14:43:31 -04:00
Eric Rosenbaum
ad2536e2c6
Revert "Transfer host modal updates" 2021-09-01 10:08:11 -04:00
Eric Rosenbaum
5d838ef659 Muted users cannot transfer studio host 2021-08-24 14:36:06 -04:00
Eric Rosenbaum
6253e71d70 change name of isHost selector helper 2021-08-17 21:14:36 -04:00
Eric Rosenbaum
0f4fba7804 clarify comment 2021-08-17 20:47:56 -04:00
Eric Rosenbaum
c928a21135 update permissions 2021-08-13 15:46:15 -04:00
Eric Rosenbaum
b4c96f3193 fix permissions and correctly select host when admins transfer 2021-08-13 15:46:15 -04:00
Eric Rosenbaum
596816d7d1 admin can transfer host 2021-08-13 15:46:15 -04:00
Eric Rosenbaum
ae3135bf04 Use "host" instead of "owner" 2021-08-11 09:34:55 -04:00
Eric Rosenbaum
5811332cd7 lint fixes 2021-07-23 13:57:25 -04:00
Eric Rosenbaum
4bf7a2d307 lint fixes 2021-07-23 13:34:22 -04:00
Eric Rosenbaum
072e888c1d use feature flag 2021-07-20 10:51:10 -04:00
Eric Rosenbaum
f8195d1024 only show ownership transfer option if there are >1 managers 2021-07-09 16:43:00 -04:00
Eric Rosenbaum
a16ef0c3d5 first step of transfer ownership modal 2021-07-09 11:42:56 -04:00
Paul Kaplan
e719d25e3d fix(studio): do not show mute error as if manager can edit info 2021-07-06 10:42:02 -04:00
Karishma Chadha
d0ad0a45d4 Update manager permissions for studios. 2021-06-25 12:41:36 -04:00
Paul Kaplan
975d24cd5d
Revert "Revert "Only request replies if reply_count > 0"" 2021-06-24 10:59:09 -04:00
Karishma Chadha
10f887f8ba
Revert "Only request replies if reply_count > 0" 2021-06-23 16:30:20 -04:00
Paul Kaplan
b3795c943f
Merge pull request #5630 from paulkaplan/reduce-reply-requests
Only request replies if reply_count > 0
2021-06-23 12:40:45 -04:00
Paul Kaplan
b5a68924c9
Merge pull request #5651 from paulkaplan/update-reply-count-for-new-replies
Update the reply_count when you leave a reply
2021-06-23 12:38:33 -04:00
Paul Kaplan
614cfdc4bb
Update src/redux/comments.js
Co-authored-by: Karishma Chadha <kchadha@scratch.mit.edu>
2021-06-23 12:37:15 -04:00
Paul Kaplan
581f4d0cac Update the reply_count when you leave a reply 2021-06-22 12:03:13 -04:00
Paul Kaplan
cfd52d9369 Pass a customized comment component for studios 2021-06-21 16:06:40 -04:00
Paul Kaplan
2e976e0358 Only request replies if reply_count > 0 2021-06-18 10:14:50 -04:00
seotts
ad3f50ac10 Revert "Revert "Merge pull request #5573 from seotts/muted-add-proj-via-proj-page""
This reverts commit 5b7127a271.

# Conflicts:
#	src/views/preview/subactions.jsx
2021-06-17 17:19:51 -04:00
picklesrus
292bb02483
Merge branch 'develop' into studio-comments-off 2021-06-17 15:46:28 -04:00
Paul Kaplan
cf0f4ee6b3
Merge pull request #5620 from paulkaplan/view-deleteted-studios
Admins can view deleted studios
2021-06-17 15:00:02 -04:00
picklesrus
d3e368bce2
Merge branch 'develop' into studio-comments-off 2021-06-17 13:47:03 -04:00
Eric Rosenbaum
bba5b69cb9
Merge pull request #5617 from LLK/release/2021-06-16
Develop release/2021-06-16
2021-06-17 13:17:50 -04:00
Paul Kaplan
23f7e563ab Include deleted studio banner 2021-06-17 12:37:45 -04:00
Karishma Chadha
f4b0bc8aee
Merge pull request #5621 from kchadha/studio-permissions-audit
Studio creators and managers can delete their own comments
2021-06-17 12:21:40 -04:00
seotts
5b7127a271 Revert "Merge pull request #5573 from seotts/muted-add-proj-via-proj-page"
This reverts commit d468072552, reversing
changes made to 469878a2fc.
2021-06-17 09:02:31 -04:00
Karishma Chadha
8821e0e865 Studio creators and managers can delete their own comments 2021-06-16 11:17:43 -04:00