Commit Graph

101 Commits (2f2ee8e214ff15955d70351a48cb238f507ee00e)

Author SHA1 Message Date
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 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 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 f7dae45ab9 Admins
- added is_admin column to users
- added ability for admins to delete posts that are not their own
5 years ago
Trivernis 21641cbc20 Fixed typo
- changed deleteable to deletable
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 e8499079d9 Fixed bug "deletePost doesn't work" 5 years ago
Trivernis bddcc84fba Fixed denyRequest
- fixed mutation denyRequest requiring the wrong params
- updated changelog
5 years ago
Trivernis 051f9206bb Implemented search function
- added graphql field search that searches for users/groups/events/posts
- marked searchUser as deprecated
5 years ago
Trivernis f103be95b3 Fixed style issue 5 years ago
Trivernis 1debb27933 Merge remote-tracking branch 'origin/julius-dev' into julius-dev 5 years ago
Trivernis 569b4a67f9 Added findUser implementation
- added findUser to the graphql resolvers
- changed default limit to 20
- removed special worker logging
- added error handling for worker initialization
5 years ago
Trivernis 126f53dbbf Added Bearer authentification
- added the getToken method to the graphql query type
- added the graphql Token type
- added database fields for the token and the expire date
- added a way to authorize as a user via the Authorization HTTP header
5 years ago
Trivernis 6e5eab84a1 Added lib/regex tests 5 years ago
Trivernis ebc3970e0f Mocha tests
- added tests with mocha and chai
- added tests to jenkins pipeline
5 years ago
Trivernis 0083f669c2 Added Jenkinsfile
- added jenkinsfile
- autofixed tslint issues
5 years ago
Trivernis fd8b907527 Settings addition to user profile
- closes #50
- added the getSelf.settings field to get the user settings
- added the setUserSettings mutation to set the settings for the user
5 years ago
Trivernis e798e3f059 Api additions/fixed
- fixed #47 userVote is always null
- changed field userVote to require a userId
5 years ago
Trivernis 9b9d71998b Fixed seqelize logging without winston 5 years ago
Trivernis 61451882aa Cluster improvements
- added resource logging for clusters
- changed handling of logging
- moved to yarn for package management
5 years ago
Trivernis 8de1de44f1 Performance improvements
- added redis to socket.io 
- added node cluster and enabled running on all cpu cores
5 years ago
Trivernis 7785a118f2 Code cleanup 5 years ago
Trivernis 580f15da3d Fixed Handle whitespace
- removed whitespace from handles
- fixed character length not being detected
5 years ago
Trivernis dc3f9f1702 Auto stash before merge of "julius-dev" and "origin/julius-dev" 5 years ago
Trivernis 76f7593b02 Changed handle generation 5 years ago
Trivernis 157249c2f6 Merge remote-tracking branch 'origin/julius-dev' into julius-dev 5 years ago
Trivernis 1a918ddf64 Fixed logout error 5 years ago
Trivernis d305261a0a Added angular config option
- (converted to unix line endings)
- added angular index.html config to run angular apps
5 years ago
Trivernis e3c65f36b0 Added level to file logs 5 years ago
Trivernis b17fca2590 API changes and error pages
- added pagination for most list types
- added count for pagination list
- added 404 and 500 error page
5 years ago
Trivernis 5478f70098 Added email query field 5 years ago
Trivernis 9ee20adcc3 Added basic event functions
- added join function
- added leave function
5 years ago
Trivernis 78ac194d37 API additions
- implemented event creation
- added id to requests
- added getGroup, getRequest, getEvent by id to api
5 years ago
Trivernis 82d0e1bc59 Fixed friendships
- fixed problem with accepting friendships
- added removeFriend mutation
5 years ago