Commit Graph

37 Commits (079ef4835f1e39f1bf81708e92d73a5f5aa22bdb)

Author SHA1 Message Date
Trivernis e6706ff950 Fix registration not using sCrypt for registration 5 years ago
Trivernis ead59302f6 Change passsword hash function to sCrypt 5 years ago
trivernis c01d37e355 Update changelog
(previous) Closes #99
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 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 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 03a5dcbcc7 Add Query Complexity headers
- Add headers headers `X-Query-Complexity` and `X-Max-Query-Complexity`
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 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 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 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 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 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 e25095627e Added deleteable field to Post model 5 years ago
Trivernis bddcc84fba Fixed denyRequest
- fixed mutation denyRequest requiring the wrong params
- updated changelog
5 years ago
Trivernis 9a0077272c
Merge branch 'master' into develop 5 years ago
Trivernis 475ba4f68f Removed that one archive and final versioning 5 years ago
Trivernis 81dc478a3f Updated Changelog 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 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 298940cc32 Switched to typescript-sequelize
- delted old models
- deleted wrapper models
- integrated api functions in sequelize-typescript models
5 years ago
Trivernis 57338355a7 Added Sequelize
- added sequelize for database management
- added sequelize models under dataaccess/datamodels
- removed postgres-only stuff
5 years ago
Trivernis acfea36665 Added feed retrieval
- added the option to get feed items with getPost sorted by TOP or NEW
- fixed docker compose
5 years ago
Trivernis f7572202f9 Config fix, structure
- fixed problem with the config file creation from the default config
- changed structure of the home route
- added abstract Route class from whooshy to manage all connection types
5 years ago
Trivernis 387d9e0187 Added DTOs and included template
- added routers index to manage all routes
- added home view and pug view engine
- added dtos for user and post
5 years ago
Trivernis 0dcd590b80 Database Connection
- added QueryHelper
- added DAO
- added `default-config.yaml`
- added auto-copying of the `default-config.yaml` to a `config.yaml` on startup if no config exists
5 years ago
Trivernis 38f3d26734 added dependencies 5 years ago