Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export api endpoints #1804

Merged
merged 31 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
cf06b57
docker local postgres
colinmegill Aug 15, 2024
02375c6
fix Constants capitalization bug in participationview
colinmegill Aug 15, 2024
ae7d3c9
add perspective to example.env
colinmegill Aug 19, 2024
22d200d
add google apis to package.json
colinmegill Aug 19, 2024
60738cb
add perspective api key to config
colinmegill Aug 19, 2024
8fbbab5
config prettier
colinmegill Aug 19, 2024
72dfe23
import google
colinmegill Aug 20, 2024
f4d6d83
prettier server.ts
colinmegill Aug 20, 2024
dd390e1
fix typescript bluebird promise to enable async await
colinmegill Aug 20, 2024
fe504bb
refactor post_comment route async, remove paths
colinmegill Aug 21, 2024
893178a
perspective call
colinmegill Aug 21, 2024
426bc8c
Merge remote-tracking branch 'origin/edge' into colinmegill/perspecti…
colinmegill Aug 22, 2024
1e81e72
Merge branch 'colinmegill/capitalization-fix' into colinmegill/perspe…
colinmegill Aug 22, 2024
7e8c49f
jigsaw toxicity threshold under flag.
colinmegill Aug 25, 2024
c39e126
text flag for toxic
colinmegill Aug 27, 2024
ed14cc2
add perspective to privacy policy
colinmegill Aug 28, 2024
8d9f8b1
jigsaw TOS
colinmegill Aug 28, 2024
89fdcfb
Better type for getPca.
samskivert Aug 29, 2024
de18165
Tell TypeScript to use a less ancient library target.
samskivert Aug 29, 2024
63a1ffe
Trim trailing whitespace.
samskivert Aug 30, 2024
b317fba
Add data export endpoint.
samskivert Aug 30, 2024
6c3ef93
smaller font size
colinmegill Aug 31, 2024
ede019f
Merge remote-tracking branch 'origin/export-api-endpoints' into colin…
colinmegill Aug 31, 2024
f726713
Merge branch 'colinmegill/perspective-api' into export-api-endpoints
colinmegill Aug 31, 2024
84ff4a4
Use the correct column name here.
samskivert Aug 31, 2024
6a9ee27
Set text/csv content type on responses.
samskivert Aug 31, 2024
27d7033
export fonts from globals
colinmegill Sep 6, 2024
2e34aea
data export info in report view
colinmegill Sep 6, 2024
8529c94
prettier app.js
colinmegill Sep 17, 2024
5658bd5
move overview down
colinmegill Sep 17, 2024
0f7f4b5
shorten toxic text
colinmegill Sep 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
return (
<Card sx={{ mb: [3], minWidth: '35em' }}>
<Box>
<Text sx={{ mb: [3], color: 'red', fontSize: 12 }}>{this.props.comment.active ? null : 'Comment flagged as toxic by Jigsaw Perspective API. Comment not shown to participants. Accept to override.'}</Text>

Check failure on line 30 in client-admin/src/components/conversation-admin/comment-moderation/comment.js

View workflow job for this annotation

GitHub Actions / eslint

'comment.active' is missing in props validation
<Text sx={{ mb: [3] }}>{this.props.comment.txt}</Text>
<Flex
sx={{
Expand Down
1 change: 1 addition & 0 deletions client-admin/src/content/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Conversation participants may opt to use third party data collector and processo
* We use Logentries for server logs, which may include personal information such as IP address necessary for debugging production issues. Information about how Logentries uses this data when you use our Site can be found at: <https://www.rapid7.com/privacy-policy/>
* We use Amazon Web Services Simple Email Service for sending account confirmation and notification emails to users. We also use AWS Simple Storage Service for. Information about how AWS handles: <https://aws.amazon.com/privacy/>
* We use Google Translate for automatic machine translation of comments, and Google Analytics for site usage statistics. Information about how Google uses this data when you use our Site can be found at: <https://policies.google.com/privacy>
* We use Jigsaw Perspective API for comment moderation. This service analyzes the content of comments to detect potentially toxic or inappropriate language. Information about how Perspective API handles data can be found at: <https://www.perspectiveapi.com/>
* We pass all Site web requests through a Cloudflare caching proxy. No personal information is cached at this level. Information about how Cloudflare uses your data can be found at: <https://www.cloudflare.com/privacypolicy/>

## Public Areas and Syndicated Services
Expand Down
1 change: 1 addition & 0 deletions client-admin/src/content/tos.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ These Terms of Use are a legally binding contract between you and The Computatio
5. **User Content Disclaimer.** &nbsp;
We are under no obligation to edit or control User Content that you or other users post or publish, and will not be in any way responsible or liable for User Content.
The Computational Democracy Project may, however, at any time and without prior notice, screen, remove, edit, or block any User Content that in our sole judgment violates these Terms or is otherwise objectionable.
We may use automated systems, including but not limited to the Jigsaw Perspective API, to moderate User Content for potentially toxic or inappropriate language.
You understand that when using the Service you will be exposed to User Content from a variety of sources and acknowledge that User Content may be inaccurate, offensive, indecent or objectionable.
You agree to waive, and hereby do waive, any legal or equitable rights or remedies you have or may have against The Computational Democracy Project with respect to User Content.
We expressly disclaim any and all liability in connection with User Content.
Expand Down
Loading
Loading