Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added funcitonality for invalid login #198

Draft
wants to merge 185 commits into
base: feature_FLASK_SAVINGS_A
Choose a base branch
from

Conversation

Benbradhurst
Copy link

Displays invalid login popup on login page when credentials are incorrect. user can close the flash message and re-try logging in afterwards.

Flash_message_test.mov

danielpnorris and others added 30 commits September 15, 2023 21:11
* feature_FLASK_s3_get_object_and_basiq_service

* Add unit testing and properly test functions in app

* update and add unit tests

* Get data from basiq

* remove my fake testing username and uncomment methods

* changes

* Lots of refactoring, changing and adding back in a now refactored s3 service

* noticed changes in app.py when comparing files. Reverted

* add interface for s3 service

* Update file structure.

---------

Co-authored-by: Dan <[email protected]>
Co-authored-by: ShaneD <[email protected]>
* Adding in framework for AI Usage Policy

* Adding in AI Usage policy framework

* Adding Disclaimer of Aritificial Intelligence Predictions in DolFin and Summary

* Update TermsofUse-AI.html

Adding the Use Terms for AI back in - deleted in past rev

* Add Chatbot AI disclaimer

Update Chatbot greeting to include Chatbot AI disclaimer

---------

Co-authored-by: TankzorDH <[email protected]>
Co-authored-by: ShaneD <[email protected]>
Co-authored-by: thompsonjac <[email protected]>
* chatbot frontend added

* frontend changes for chatbot

* changes

* responsive footer
* created anomaly detection model

Created anomaly detection model using Isolation Forest.

* Refactored folder for AD AI

---------

Co-authored-by: ShaneD <[email protected]>
* chatbot frontend added

* frontend changes for chatbot

* changes

* news responsiveness
…tes-Organisation#60)

* Added chatbot code to repo

* Fixed chatbot

* Added the function for chatbot to fetch the data from the CSV

---------

Co-authored-by: ShaneD <[email protected]>
* Initial commit - removed AWS service usage in app.py

APP DOES NOT FUNCTION YET.

* Added db fuctionality for user registartion and log-in functions + HTML changes.

App is working now.

* cleaning up old markdown details and removing uneeded files

* Update README.md
Onboarding Environment
Removed the text "AWS CLI Installed on Local Machine" which was still listed under ### Requirements.

Signed-off-by: Jezza12345 <[email protected]>
* Added new dashboard skeleton, refactored footer

* Added new chart.js charts to dashboard

* Added desc stats for first level of dashboard.

* All values for dashboard have been passed.

* Dashboard v2 is ready for FE CSS

* Delete transactions_ut.db

* Create transactions_ut.db

* Delete transactions_ut.db
Signed-off-by: MoreDread <[email protected]>
* expenditure_visualization_prototype

kmeans model prototype +word cloud prototype

* Removed .idea and added it to gitignore

---------

Co-authored-by: ShaneD <[email protected]>
Consolidate CSS for active pages to navbar. Added variable to detect active page in router. Current active pages were used to enable Navbar highlight.
KailasThonnithodi-2002 and others added 28 commits December 9, 2023 23:32
…sation/Neo_Dolfin into origin/Feature_BACK_random_forest_model"

This reverts commit 7e713bc, reversing
changes made to 94d5810.
* Add initial pass of argon2id hashing

- Added argon module to requirements, commented bcrypt out

- Added argon hashing to login

- Added argon hashing to register

* Update database hashes and testing

With amended hashes, operational behaviour should just be plug and play.

Tested successfully with all 5 Basiq Test personas

Actually easier, better and more secure than bcrypt :)

* cleaned up

Removed log and debug points

removed `hashed`, returned to pre-pull state that overwrites `input_password`. Avoids leaving password being exposed in Plaintext in mem.

---------

Signed-off-by: wongaid <[email protected]>
Co-authored-by: ShaneD <[email protected]>
* Feature frontend Update

- Fixed Json data parsing issues. Code now displays transaction history
-restyled some of the page and text
-Removed template picture i used for idea

* Feedback system

Working on currently

* update for feedback prototype

- Added additional functionality to log the feedback data in a CSV file

-added in and updated Thankyou for submitting page

-Added in a chart visualization tracking pager. This will be used by site admins to track the data gained by feedback questions. It will translate the raw data into meaningful reports.

- Added Html page to display these charts

-added VERY basic python to translate CSV data into plots.

-Added html page to display these charts atop the the visualizations page

* Feedback tracker update

- changed data generator to pie charts
- fixed the layout and frontend of the feedback tracker page
-gave data meaning

* update

---------

Signed-off-by: MoreDread <[email protected]>
Co-authored-by: MoreDread <[email protected]>
Co-authored-by: ShaneD <[email protected]>
argon hashes were accidentally overwritten, this re-pushes them.
restored functionality from before it got wiped in the 9th.
* Delete neo_dolfin/ai/chatbot directory

Signed-off-by: Ata COLAK <[email protected]>

* restore chatbot from backup

Signed-off-by: Ata COLAK <[email protected]>

---------

Signed-off-by: Ata COLAK <[email protected]>
* Moved infra to new folder

* Fixed data file path and date parsing bug

* Fixed data file paths

* Remove virtual documents folder

* Added docker configs for anomaly detection endpoint

* Fix container path

* Fixed architecture incompatibility in docker image

* Updated scripts and readme

* Added gcp instructions to readme

* Resolving conflict

* Resolving conflict

---------

Co-authored-by: Mark Bond <[email protected]>
I, Gimsara Kenula Elgiriyage, wrote an article about the ways people can save money in an inflationary economy and added it to the article.json and News Page.
* 10 Dec 2023

Merger sidebar and navbar work to ensure that the styling and alignments are appropriate.

* 10 Dec 2023

Intermediate commit for menu options

* 10 Dec 2023

Interim commit for navBar + SideBar config

* 10 Dec 2023
* files for survey and addressval

* addfinder changes

* removed survey_test.py

* removed addressvalidationt.py

* testing survey

* env change with AFAPI_KEY and AF_SECRET and survey changes

* periodic survey into DB

* timeout on feedback message in survey

* comment changed for survey schedule from wednesday to monday

* changes to user survey

* removed sup files outside opt

* removed dup script for alert in dash2.html

* removed test html files for survey
…anisation#183)

I, Gimsara Kenula Elgiriyage, have implemented a dynamic quick tips section in the Login page instead of the static one it had.
* Added CSS for Dashboard + Responsiveness for added elements

- Background colour altered
- Shapes added behind graphs and text for better visuals
- Added responsiveness for these shapes

* New page header design for Dashboard + Responsiveness

Changes added:
- Created page header for Dashboard using team design to maintain consistency
- Added responsiveness to the new page elements

* Small design changes + Responsiveness for more screen sizes

- Removed background graphics on header
- Placed account information below the header
- Added extra size for responsiveness between mobile and desktop

* Dashboard 2.0 + Responsiveness

Implemented the CSS elements and responsiveness for the dashboard differently for better functionality.

* fixed conflicts

---------

Co-authored-by: ShaneD <[email protected]>
* deleted audit log fucntion

* restore audit log function

* First pass on python logging file

Created dict to store config - could be ported to a file at a later date. Created three new loggers, 5 handlers (differing formats and file outputs) and 2 formats for logging (one with time and one without).

removed old audit log function. will drop audit log table from database at pull request.

Comment tweaks:
Clarified how debug statement for basiq tokens should be used.

* app.py pass on audit logging

remove add_to_audt_log and swap for python logger in app.py

* Pass on basiq modules

Added logging functionality to most of the DolFin Basiq api functions

removed old print()'s for said API functions in app.py

* Create README.md

---------

Signed-off-by: wongaid <[email protected]>
* Create savings goal.ipynb

* changed file name

---------

Co-authored-by: Jensen-T <[email protected]>
* Document main functions

* Check MLP Regressor

I tried a neural network model MLPRegressor.

* MLP Regressor for forecasting
Signed-off-by: AndreWakwale1 <[email protected]>
Signed-off-by: userstarwind <[email protected]>
Signed-off-by: userstarwind <[email protected]>
1. fix web image shadow
2. hide market related function
Signed-off-by: userstarwind <[email protected]>
updated deployment instructions to add in additional details for older and newer macs. Old macs might need to refer to /bin/ rather than /scripts/ and newer macs might receive an illegal hardware notification unless they first install miniforge (instructions on miniforge extracted from word doc updated by Mark Bond in T3 2023)

Signed-off-by: Denica <[email protected]>
Displays flash message on the login page with working close button
@Benbradhurst Benbradhurst marked this pull request as draft March 25, 2024 20:35
@hmm007
Copy link
Collaborator

hmm007 commented Apr 9, 2024

Hey Ben, just wanted to let you know that this is currently a draft PR, as in, it can't be squashed and merged before it becomes an "open" PR. The code itself I can't locate or read because apparently this draft PR has changed over 1600 files, so it's hard to locate what files you have specifically changed. I'd suggest submitting a PR that includes direct commits and files changed relevant to your feature. As it is, I cannot approve this change because while the functionality works (it does what it says, and it looks as you've described) I have no idea where the code is and know nothing about its readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.