Commit Graph

291 Commits (2fcb16b5fe1e059b0403c3843443081fe41b50d8)
 

Author SHA1 Message Date
Trivernis 2fcb16b5fe Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 99c91f20a4 Fix friend list display 5 years ago
Trivernis 529de498df Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 3cd84078ea Fix friends 5 years ago
Trivernis 9f2678781b Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis d10ea0e4a4 Add getReportReasons graphql resolver 5 years ago
trivernis 6fda95f735 Change user level only updating when points change 5 years ago
Trivernis a9aa44ae3e Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis c01d37e355 Update changelog
(previous) Closes #99
5 years ago
trivernis e8eb85993e Add level configuration and query
- Add query getLevels to get all possible levels
- Add mutation createLevel as a way for admins to create new levels
- Remove column levelNumber and replace it with method that looks up the number of the level by counting
5 years ago
trivernis 9328367bb5 Add configurable levels
- Add Level table and gql type
- change level field on User
- add hook on user to update the level
5 years ago
trivernis 781ee274b8 Fix allow media id of user to be null 5 years ago
Trivernis 79f099471c Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis e1fe543256 Add extended error handling for post uploading 5 years ago
Trivernis 6f3f0a0d65 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 5c1cea86eb Fix upload error returning status code 200 5 years ago
trivernis dcd96e7573 Merge remote-tracking branch 'origin/develop' into develop 5 years ago
trivernis beac7e36dc 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 928485c336 Add mutations setUsername and setHandle
Closes #70
5 years ago
trivernis 75a7a2cdec Add not null constrain to media type 5 years ago
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 6ff8680859 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 76c0574c74 Hotfix interval for cleanup being milliseconds 5 years ago
Trivernis bd544c021a Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis b4aaba79ce Hotfix crash when starting due to cleanup 5 years ago
Trivernis c987c4da72 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 ca7e243c5a Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 061699f769 Hotfix not found modules 5 years ago
Trivernis 49a2ac151d Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 1f9f8f1fa3 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 f841eed341 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis f213503c4e Allow admins to delete groups 5 years ago
Trivernis 19b75a8308 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 16e9d9def5 Fix joinGroup and leaveGroup by changing api 5 years ago