Commit Graph

252 Commits (e8eb85993e4c151bf8ee65ac869ef51741bd7c61)
 

Author SHA1 Message Date
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
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 0ff6791c19 Fix status fields error when not logged in
- Fix userVote, joined, deletable
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 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 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 a0ecb36064 Fix deletePost 5 years ago
Trivernis b1b5f82f95 Fixed critical bug UploadConfirmation couldn't be found 5 years ago
Trivernis 027ea73d08 Fix Style Issue 5 years ago
Trivernis f71636e376 Optimize profilePicture quality and size
- Optimize size by increasing the effort from 4 to 6
- Optimize quality with smartSubsampling
5 years ago
Trivernis 78425cc012 Move profilePicture upload to separate private method 5 years ago
Trivernis 827ac1ff95 Change routes structure
- Rename home to HomeRoute
- Rename upload to UploadRoute
- Remove index.ts
- Remove unused imports
5 years ago
Trivernis e413e76321 Add deletion of old profile pictures after uploading a new one 5 years ago
Trivernis 88f84a42b3 Change Profile picture format to webp 5 years ago
Trivernis cc100f967b Change file upload
- Move upload handling to seperate router at routes/upload.ts
- Change file upload directory to being "data"
- Change filename to being a time-based hash
5 years ago
Trivernis 82ded854ee Fix incomplete api error message 5 years ago
Trivernis 162aed30dc Merge branch 'master' into develop 5 years ago
Trivernis 8519280626 Merge remote-tracking branch 'greenvironment-server-gh/master' 5 years ago
Trivernis fcc3e61fa5 Merge branch 'master' into develop 5 years ago
Trivernis 566868c69e Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 72a7f3222c Updated Changelog 5 years ago
Trivernis 4f6caf461c Added activities
- added Activity model
- added Activity association to Post
- added getActivities field to queries
- added createActivity to mutations
5 years ago
Trivernis 124fde08d5 Added profilePicture property to User
- added profilePicture which saves the url to the users profile picture
5 years ago
Trivernis c5d421e80b Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 9011cb39cf Added publicPath to config file
- added publicPath config property to configure the path to the  public files
5 years ago
Trivernis da90ba0c16 Added file upload
- added ability to upload profile pictures
5 years ago
Trivernis 4b67c0be41 Fixed invalid login on token generation 5 years ago
Trivernis 05e69aacf3 Event changes
- changed creation to group-admins only
5 years ago
Trivernis 268553cbaf Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis f7dae45ab9 Admins
- added is_admin column to users
- added ability for admins to delete posts that are not their own
5 years ago
Trivernis 0d562e0f88 Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 21641cbc20 Fixed typo
- changed deleteable to deletable
5 years ago
Trivernis 7815fe011a Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago
Trivernis 69b47d7d8d Merge remote-tracking branch 'origin/julius-dev' into julius-dev 5 years ago
Trivernis e25095627e Added deleteable field to Post model 5 years ago
Trivernis e4e2344371 Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-server into master 5 years ago