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
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
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