From 5683dcff79455076efc1be67df8396382cbdf431 Mon Sep 17 00:00:00 2001 From: Angus Goody Date: Thu, 9 Dec 2021 00:11:35 +0000 Subject: [PATCH] Dev (#11) * Added generate page * Added new orange colour and changed home layout * Added Error layout for 404 pages etc * Added new 404 page and made home page responsive * Updated logo, and changed navbar * Updated components * Updated auth pages * Added Roles table to database * Added Assword page * Updated colours and added strength indicator border * Setup word resource controller and created word, suggestions and word types * Added Grammar model for structuring sentences * Added Ajax middleware and ability to generate words using ajax * Added optional seperator field for generating words * Added password rank js file * Added common passwords page * Adding javascript files for generating and ranking passwords * Added basic functions to generate.js * Adding details to javascript * Added basic common password migration * Added a common password policy and updated error templates * Added Ass controller to generate new word on refresh * Updated Readme.md * Slight modification to readme * Fixed grammar seeder and word page bugs * Fixed bugs and added adverbs * Added a page title component and page for submitting new words * Adding ui to submit page * Can validate submit form * Removed generate example and added skeleton for user submitting words * Renamed the submit route to suggest * Quick change * Improved js function * Added shuffle function to scramble passwords * Can now generate with rude words * Added Daisy ui checkbox * Added daisy ui buttons to ass page * Added very basic ranking function * Added rank and estimate functions without functionality * Added tooltip to generate page to explain rude checkbox * Adding new navigation bar * Added a daisy ui navbar * Fixed slight bug in navbar * Added explainer to suggest page * Added new portal folder and fixed login navbar bug * Fixed background bug * Added new responsive navbar menu * Updated common passwords table to match theme * Replaced custom slider with daisy slider * Changed inputs to daisy ui * Added new daisy dropdown * Moved flash messages from master view and removed logo from login forms * Added a suggestions controller with index page * Added policy for suggestions and moved save suggest to suggestion controller * Can now approve suggestions * Can now delete suggestions * Suggestions can now be processed in bulk * Added validation logic to suggestions controller * Added clear button for search bar * Added words index page * Added Word policy and edit ui for all words page * Added edit routes to word table * Added ability to search table using jquery * Added ui to delete common passwords one by one * Fixed access denied bug * Setup word & controllers to match policies * Can now delete single common password * Added new button group component and added button to create new word * Added new screen for editing words * Updated word now works and updated suggestion form to match * Can now delete words in bulk * Added new dashboard controller and stats to dashboard * Updated page names and added account page * Renamed dashboard controller to portal controller and added account * Can now delete words on edit page * Admins can now create new words * Used code from previous passworld for time estimates * Generate now fetches words from the database * Refresh button now works * Added profanity column to database * Edit word view can now update profanity field * Implemented profanity across site & added edit suggestion view * Tweaks to submit page * Can now update wordtype and profanity of suggestion * Users can now update their passwords * Added common password CSV and added slight improvements * Slight tweaks * Accessibility & speed update