Commit Graph

284 Commits (a9aa44ae3eb443de3554420d24be2358af28de86)
 

Author SHA1 Message Date
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 5969c6a576 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 15939bca7c Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 10e12c81b6 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 48d88c2746 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis a4339ea540 Fix posts TOP ordering 5 years ago
Trivernis 26f7cfb44d Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 0c18670698 Fix duplicated posts with pagination in TOP sort 5 years ago
Trivernis 1bba7439e6 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis dc4731bb36 Add mail dns check
- Add a check if the mail address is a valid domain
5 years ago
Trivernis d6164c10f9 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 3ad3f04859 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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 196a1ac043 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 03a5dcbcc7 Add Query Complexity headers
- Add headers headers `X-Query-Complexity` and `X-Max-Query-Complexity`
5 years ago
Trivernis 086430f0ba Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 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
Trivernis cc3b214401 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 21e31fad8a Remove public files
- Remove the default public files which only was a stylesheet for the error pages
- Inline stylesheet for error pages
5 years ago
trivernis 57ee014bd6 Add redis connection to config
- Add a config property for the redis connection uri
5 years ago
trivernis b1ec17b9d7 Change config file handling
- Add Folder config to top level
- Add module config to load the config files
- Change to toml format for config files
5 years ago
Trivernis 7b376cc8e8 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 0ff6791c19 Fix status fields error when not logged in
- Fix userVote, joined, deletable
5 years ago
Trivernis eb2fcc10f5 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis e0dd9b270f Make every userId in status fields optional
- Make userId in joined on Group and Event optional
- Make userId and deletable in userVote on Post optional
5 years ago
Trivernis ef6202907e Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis 0fbc7f68a6 Change api vote(..) return type
- Change vote return type to new type VoteResult to also return the post that was voted on
5 years ago
trivernis b60b08b7b3 Add chat message pagination 5 years ago
trivernis 29a1e7bfb3 Add jsdoc to all members
- Add jsdoc rule to tslint and fix the new issues
5 years ago
Trivernis 5b0edc1423 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago
trivernis ea8a97beb5 Add joined field to Group api type
- Add joined field to Group type which accepts a userId and returns if the user is a member of the group
- Add joined function to Group model
5 years ago
trivernis 2f2ee8e214 Add joined field to Event api type
- Add joined field which accepts a userId and returns if the user has joined the event
- Add joined function to Event model
5 years ago
trivernis 19c407fdf1 Add event and eventCount to User
- Add event field to UserData API interface
- Add eventCount field to UserData API interface
5 years ago
Trivernis 72850e6522 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into master 5 years ago