Commit Graph

243 Commits (4014f77a4c0d73e3af23a6a90224fa8b6cd8b8c0)
 

Author SHA1 Message Date
trivernis 4014f77a4c Add reports for post
- Add reports field on posts
- add reportPost mutation
- add getReports query
- add createReportReason mutation
- Add Report type and model
- Add ReportReason type and model

Closes #62
5 years ago
trivernis 26ecb3b0cf Add mutations setUsername and setHandle
Closes #70
5 years ago
trivernis 5f15d4b3ba Add not null contraint to media type 5 years ago
trivernis 76c0574c74 Hotfix interval for cleanup being milliseconds 5 years ago
trivernis b4aaba79ce Hotfix crash when starting due to cleanup 5 years ago
trivernis ee60508953 Fix style rule for array type 5 years ago
trivernis 0e232b1c71 Cleanup code
- Cleanup
- Optimization
- Style fixes
5 years ago
trivernis 6ede632507 Add differentiation between media and text posts
Add type argument when creating posts. If the post is of type MEDIA it will be invisible until an image was uploaded for the post.
5 years ago
trivernis 8dc1424775 Add media table for media files
- Add media_id fk to user
- Add media_id  fk to group
- Add media_id fk to post
- Add routine to cleanup orphaned media entries (not referenced by post, user, group)
- Add delete handler for media to delete the corresponding file
5 years ago
trivernis bf7aed7c46 Update docker configuration
It's still broken tho
5 years ago
trivernis 061699f769 Hotfix not found modules 5 years ago
trivernis 78fce76407 Remove ffmpeg dependencies 5 years ago
trivernis 0bae164b9b Remove ffmpeg processing
- Remove ffmpeg video processing due to high cpu usages
5 years ago
trivernis 8351497355 Fix aspect ratio of image changes when uploaded 5 years ago
trivernis 537ec07f29 Add deletion of media to deletePost 5 years ago
trivernis ebeaf3f549 Change video format to webm
- Change default allowed filesize to 10mb
- Change video format for posts to webm
5 years ago
Trivernis 269b892cc4 Fix packages 5 years ago
Trivernis 2899eb6762 [WIP] Add media to posts
- Add graphql upload handling
- Add file handling for posts
- Add media url to Post model
5 years ago
Trivernis 010066d819 Add graphqlUpload 5 years ago
Trivernis b33bbd1c14 Add max file size and video processing
- Add processing for videos to UploadRoute
5 years ago
Trivernis f213503c4e Allow admins to delete groups 5 years ago
Trivernis 16e9d9def5 Fix joinGroup and leaveGroup by changing api 5 years ago
trivernis ac2672e589 Fix http status not found error 5 years ago
trivernis 867a533bfb Remove lodash 5 years ago
trivernis 3457660f75 Fix Style 5 years ago
trivernis aafbbb5d52 Cleanup code and http 404 for not found
- Add 404 status code return for all not found errors
5 years ago
trivernis b27ed1def2 Replace shorthand resolver with new classes 5 years ago
trivernis 57091e522c Add all resolvers and help types to classes
- Add resolvers to Mutation class
- Add reslovers to Query class
- Add helper classes for several types and errors
5 years ago
trivernis 164ecb77c6 Add new resolver files 5 years ago
trivernis 8a35195040 Add chatCreate socket event 5 years ago
trivernis 0f4f4fb9f1 Add delete functions to Group and Event
- Add deletable attribute to Group and Event type
- Add deleteGroup and delteEvent function
- Add markdown plugin for html5 video and audio
5 years ago
trivernis c48fcc3d89 Ensure data dir on each upload 5 years ago
trivernis 54646e6b73 Add space to BlacklistedError phrase list 5 years ago
trivernis f57f638104 Fix style issue 5 years ago
trivernis f58dc4a33c Add Blacklists
- Add BlacklistedPhrase model to store blacklisted phrases
- Add checking for blacklisted phrases inside of posts content, usernames, groupnames, eventnames
- Add api to create, delete phrases and check if phrases contain blacklisted phrases
5 years ago
trivernis 81b0aa9657 Add Group Picture upload
- Add field picture to Group type
- Add config option for image format
- Add groupPicture file handling at /upload
5 years ago
trivernis a4339ea540 Fix posts TOP ordering 5 years ago
trivernis 0c18670698 Fix duplicated posts with pagination in TOP sort 5 years ago
trivernis dc4731bb36 Add mail dns check
- Add a check if the mail address is a valid domain
5 years ago
Trivernis df2f440535 Fix profile image upload bug
- Fix bug where the upload failed because a nonexistend profile picture can't be deleted
5 years ago
Trivernis 9e7150645b Sort messages descending
- Sort messages for chats in descending
5 years ago
Trivernis 8f3b50a4ce Fix Style Issues 5 years ago
Trivernis 5440cca701 Fix whitespace issue 5 years ago
Trivernis 2ce0b9e9ef Merge remote-tracking branch 'origin/develop' into develop 5 years ago
trivernis 53cf4076db Optimize import and Change Rate Limit
- Change default Rate Limit to 60
5 years ago
Trivernis dccdc2593f Reformat default config 5 years ago
trivernis 03a5dcbcc7 Add Query Complexity headers
- Add headers headers `X-Query-Complexity` and `X-Max-Query-Complexity`
5 years ago
trivernis 6c22ae1840 Fix Style Issue 5 years ago
trivernis 54d3643e9f Add graphql query complexity limit
- Add query complexity limit that is calculated with directive fields in the schema
- Add complexity limit config option in the config file
5 years ago
trivernis 5c3ec38289 Add Rate Limits
- Add rate limits to /graphql and /upload that can be configured in the config
- Change the default response timeout to 30 secons
5 years ago