Code Monkey home page Code Monkey logo

irleaguedatabaseservice's People

Contributors

dependabot[bot] avatar sschulze1989 avatar

Watchers

 avatar

irleaguedatabaseservice's Issues

Retrieve spezialized Data based on role and User

Describe the solution you'd like
For example when retrieving a review from the database a steward should get all the review comments and votes but a standard user should just see the voting result. A user might also make an appeal on a review and still see the comment he made but not the ones from the stewards.

This check should be implemented in the Data Access Layer and not in the Web (like the base authorization check) because it might require access to the data to determine wheter a user has access to it or not.

It should be expected to return on of these for possible results:

  1. Full data set
  2. Data set with information excluded
  3. Empty data set
  4. "Error" result showing a missing permission to access the data at all.

Enhanced user Options

Is your feature request related to a problem? Please describe.
After initially creating the user the user details and password cannot be changed by the user anymore.

Describe the solution you'd like
Options to change User profile and password.

Add Teams

Add new Tables and functions needed for team management:

  • TeamEntity (new table)
  • Add ForeignKey on MemberEntity

Implement automated Result calculation

Is your feature request related to a problem? Please describe.
Currently, the user has to click "Calculate" everytime he wants to have changes calculated on the results.

Describe the solution you'd like
Implement a check on the server that marks the result as "need to be recalculated".
When the result is loaded and is marked, the calculation is performed beforehand.

Related Issues
SSchulze1989/iRLeagueManager#85

Double Entries in ScoredTeamResultRow->ScoredResultRows

Describe the bug
After recalculation of results all entries in ScoredResultRows are doubled

To Reproduce
Steps to reproduce the behavior:

  1. Make sure Results will be recalculated on next request
  2. Get ScoredTeamResult
  3. Check doulbe entries in ScoredTeamResultRow->ScoredResultRows

Expected behavior
ScoredResultRows should be distinct.

Settings page not saving

Settings page is broken and does not save changes anymore
(fix will be delayed because of pending rework of the scoring system)

Standings not calculating correctly when Session is not in Scoring

Describe the bug
When calculating a standing for a session that is not part of the scoring only the first session of the current standing is counted.

To Reproduce
Calculate Standings for a session that is not in the current scoring but has a date later than the latest session of the scoring.

Expected behavior
All sessions before the date of the selected session should be counted.

Implement version check to prevent old versions from making invalid changes

Description

Older Versions of the might work on Incompatible or Incomplete DTOs.
Mapping these to the DB can lead to invalidation of the Data and in worst case completely preventing another client from working with the data.

Multiple measures need to be taken to prevent this:

  • Make sure no changes are submitted/accepted with non-matching versions
  • Validating data before saving changes on db.

Work

After the first Major release the API must handle older versions in a non breaking way, but for now i think it is enough to just block all post and put request if the client version is older.

New API endpoint routing

**Is your feature request related to a problem?
Current Endpoint is using single route and multiple parameters for league, model type and id. This works well for the app but makes it hard to use for other people.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Errors when deleting items.

Describe the bug
Some items produce errors whewn deleted.
This is due to previous changes in the database

Add new Entity "Scoring Table"

Move the funtionality of current MultiScoring to separate Scoring and ScoringTables. MultiScoring will ne deprecated.

Improve startup performance

Improve the loading speed of user amd league database by using common improvement methods for Entity Framework.

Add customizable Filters to results calculation

Is your feature request related to a problem? Please describe.
The user should be able to set filters as a scoring option to filter out certain result rows from calculation.
This should give him the possibility to run some kind of Pro Am championship or any other Subset of this kind.

This feature is especially aimed to enable the "Heisse Eisen" scoring fromt he DE-AT-CH club league

Rework database structure

Is your feature request related to a problem? Please describe.
As of now, every new league will be stored in its own database. This is great for isolation and access control but has major downsides on managing the databases and making improvements using Views and stored procedures.,

Describe the solution you'd like
Rework the database structure so all data will be stored in the same database. This will require a major rework in how the database is accessed and additional checks to prevent users of a league accidentally (or on purpose ;)) access data that belongs to another league they do not have the rights to.

Add new Columns with information from JSON parser

Is your feature request related to a problem? Please describe.
The new json file gives a lot more event information than the csv, pretty much the same as is available from the web endpoints. The database and datatransfer layer should be enhanced to store as much of the relevant information as possible, even when they wont be used at this time.

Describe the solution you'd like
Check information available in file and add columns to store all this information in database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.