Giter Club home page Giter Club logo

g52grp_javafrontend's People

Contributors

csneal avatar jaymehtauk avatar longddd avatar psypdt avatar psyrs12 avatar spotted-metal avatar

Watchers

 avatar  avatar  avatar

Forkers

longddd

g52grp_javafrontend's Issues

Threading, Login and Parsing Issue

  1. There is a major issue with how our threading works, there appears to be a race condition which can prevent the user from logging in randomly. This was resolved to an extent by removing a function call to the WebEngine in the FormSender constructor. Looking into alternative threading methods such as Thread Pools could potentially be useful.

  2. There is also a major issue with our automated login process, the issue is that we are not able to login to MyNottingham since the Parser is unable to find a form that posts the user data. This could be related to dynamically loaded pages, or it could be related to a completely different thing, at the moment it is unknown what this is caused by.

  3. Parsing for website content after a successful login process doesn't work. When we call the parser function that is supposed to return a list of strings ArrayList<String> (strings adhere to JSON format), we get an EMPTY LIST. This could be related to threads, but that remains to be determined.



  • Side Note: After the Threading issue was partially suppressed, we noticed a drastic slowdown in the GUI, this should be investigated AFTER the 3 issues discussed above have been resolved.



What needs to be done: (Following this order is strongly encouraged. Done this way for a reason)

  • We need to fix the connection. If we can successfully log into Moodle, MyNottingham, BlueCastle. Moodle works in the current state, but we must ensure that this is true for all subsequent iterations of the class. For now we will try to automate the login for MyNottingham.

  • We need to resolve the parsing issue, this means that after a successful login, the correct content of the page is returned in the form of Arraylist<String>, which contains the Tag Content (Modules, Grades, etc.).

  • Finally we should look into the Thread issue, by this point the fulfilled requirements MUST be Automated Login works (for Moodle, MyNottingham and BlueCastle), The Parser works (We can get the correct tags from ANY website [any refers to the 3 sites above, moodle, blue etc.]). This issue should be approached with RACE CONDITIONS and MUTUAL EXCLUSION as unavoidable concerns.


Note: All of this will be done on the FormSender_Connection_Rework Branch.

TabPane Scaling issue

The TabPane doesn't rescale properly, this is clearly visible when enlarging the window, the tab pane doesn't grow in conjunction with the main pane. Fixing this issue implies that dynamic resizing should be possible when changing the size of the application window.

This issue is to be corrected on the "GUI_PROTOTYPE" branch.

WebView Scaling issue

Similar to the "TabPane Scaling issue", the WebPane doesn't correctly resize if the application window's size is changed. Fixing this issue implies that any change in size to the application window will be reflected in the WebView as well.

This issue is to be corrected on the "GUI_PROTOTYPE" branch.

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.