Commit Graph

167 Commits (fe75393ab0f0fca7ea410a34d9c50ff0b2363635)

Author SHA1 Message Date
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
Trivernis 5c6dd6b24f Encapsulated group membership change
- added method to change group membership to dataccess
- added action to perform for group membership as enum to dataccess
5 years ago
Trivernis 72329f0ce8 Backend implementation of events 5 years ago
Trivernis e854dc2687 Added ranking fields
- added level and points field on user
5 years ago
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