Commit Graph

148 Commits (c987c4da72eb56097eb8de94e614830c66f83898)

Author SHA1 Message Date
Trivernis 43fbb5a6f2 Optimized imports
- grouped imports and removed obsolete ones
5 years ago
Trivernis 97ed21e469 implemented groups and password hashing
- added Groups with creator, admins, members, groupChats, name
- implemented hashing before storing the password in the database
5 years ago
Trivernis ba828da18a Fixed friends
- fixed friends field in gql api
5 years ago
Trivernis c68f11080f Data access improvements
- fixed votes
- added column constraints
- added post not found error to vote
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 511a446c71 Fixed user voting 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 b671845337 Added CORS 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 bc8455f84b Errors and Structure
- moved graphql stuff to a seperate directory
- added error for already existing email in database
5 years ago
Trivernis 2d0a6e3433 Implemented Socket.io
- added socket for chat messages
- added socket for new requests
- added socket for post creation
- added socket for created post
5 years ago
Trivernis 2ed4f9793a Changed to table creation
- changed creation and update to transaction type
- fixed creation file
5 years ago
Trivernis bf3be7d129 changed sql
- added create tables to anonymous block
5 years ago
Trivernis bf79df08ad changed table creation files 5 years ago
Trivernis aa761f98ca MemoryCache performance improvement
- switched to faster sha-1 function for hash strings
5 years ago
Trivernis b9655acc12 Implemented Request API
- implemented sendRequest, acceptRequest, denyRequest
5 years ago
Trivernis 770c8a35fa Fixed data loading
- fixed multiple loading requests on pending data load
5 years ago
Trivernis 46733d1046 Fixed import filename for caching on globals 5 years ago
Trivernis 7b94e4e3da Added in-memory caching
- added class for caching management
- added cache parameter to sql query object
- implemented caching for sql querys with cache = true
- added loglevel to config
- improved some methods of dataaccess classes to enable better caching
5 years ago
Trivernis 47d775fd2c Bug Fixes
- fixed Chatrooms
- fixed ChatMessages
5 years ago
Trivernis e1a9287641 Updated database for requests 5 years ago
Trivernis c97d0ffe55 Api functions
- added chat message functions
- added markdown rendering
- added custom error classes
5 years ago
Trivernis d7f819e02e More graphql implementation stuff
- implemented methods to get user and post information
- implemented methods to create chatrooms
5 years ago
Trivernis 84b683db11 Removed frontend part and added graphql implementation 5 years ago
Trivernis 1d97e3305e API implementation 5 years ago
Trivernis e6d2191266 Fixed graphql
- fixed graphql resolution
- added login, logout, acceptCookies implementation
5 years ago
Trivernis 6121aff29f Added chat data objects 5 years ago
Trivernis 40be59a9b7 Merge branch 'develop' into julius-dev 5 years ago
Trivernis 1b9e7e1a66 Fixed maxAge value of config 5 years ago
Trivernis 69e535276b Added sessions 5 years ago
Max 031ffd14fc added login and register page 5 years ago
Trivernis 4179aac231 Frontend first layout 5 years ago
Trivernis 9d26d248d7 Fixed Graphql Schema
- removed Query types used as Input types
5 years ago
Trivernis f9f2d171c8 Merge branch 'tommy-dev' into julius-dev 5 years ago
Trivernis ff77c14bec Fixed Database Integration
- fixed wrong table creation path
- added table update path
5 years ago
RandomUser27 b623018f76 schema.graphql added:
send reqest; deny request; post the post; sender and reciverid from request;
5 years ago
Trivernis 6765026742 Changed dataAccess index 5 years ago
Trivernis 0ca174b335 DataAccess changes
- changed data access structure
- changed graphql schema
- changed create-tables sql script (added vote_type to votes table)
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 20d7198010 Database and App init
- added database table creation 
- added init method to DAO
- added init method to App
- added start method to App to start listening on the configured port
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 b7d10454ab Changed tables and graphql schema 5 years ago
Trivernis 91188b1f58 Merge branch 'develop' of Software_Engineering_I/greenvironment-server into julius-dev 5 years ago
RandomUser27 6fb002e79b GraphQl 5 years ago
Trivernis 92146cc2a4 added sql table creation and config 5 years ago
Trivernis c931359ebd Added files
- tslint- changelog
- dependencies
- index.ts
- folders
- public files
5 years ago
Trivernis 38f3d26734 added dependencies 5 years ago