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

v0.9.0 #723

Merged
merged 91 commits into from
Jun 27, 2024
Merged

v0.9.0 #723

merged 91 commits into from
Jun 27, 2024

Conversation

mohdsayed
Copy link
Collaborator

@mohdsayed mohdsayed commented Jun 24, 2024

Changelog

Extension

CLI

Others

mayan-000 and others added 30 commits May 23, 2024 11:19
* Add color for dark mode of info icon

* Styles for hover on library detection accordion

* Add key support for enter and space

* fix: store old filter values conditionally if precalculated filters are still processing and coming in empty

* remove logs

* Update accordion styles

* Revert "fix: store old filter values conditionally if precalculated filters are still processing and coming in empty"

This reverts commit fb3b94f.

* test: Add keybiding tests

* Move truncate class and update cells in hook

* Update element of description

* Add rounded corners

* Show title of elements if table cell value is string
* Add callback handling network panel navigation

* add conditional chaining

* Update button text

* test: add chrome api testcase for navigation
* Shift service worker to use CDP completely.

* Fix JS cookies for CDP.

* Fix JS cookies.
Fix TS-lint warnings.

* Remove optional chaining for frame id

* Fix condition for frame filtering.
Fix the url parser.

* Fix frameId association.

* Fix deletion of data at correct event.

* Get all cookies for current tab via CDP.

* Add multitab support.

* Add tab data when extension is updated.

* Make multitab work

* Fix multi-tab analysis methodology for CDP.

* Keep previous frame.

* Fix the inconsistency in frame and cookie association.

* Fix removal of frameIdUrlSet.

* Add some conditions.
Add cookies by parsing network urls. Just like application tab does.

* Use loaderid to load other cookies.

* Fix frame mapping of cookies.

* Test fix.

* revert test fix

* Destructure code to make it pretty.

* Enable CDP by default

* Refactor code to make it pretty.

* Fix failing tests.

* Revert some changes

* Revert using loader id.

* More precise mapping of data.

* Collect resource urls.

* collect frame resource urls.

* Send cookies from resources.

* Reinsert adding extra frame urls from service worker.
Remove unnecessary code from the synchnorous cookie store.

* Add comments explaining each thing in the chrome.debugger.

* Fix some redundant issues remove auditsIssuesStore.

* Fix errors thrown on extension page.

* Add proper frameIds to map the cookies to frames better.

* - Remove parentChildFrameAssociation from service worker.
- Move the frameId and parent Association to the synchnourousCookieStore.
- Call from cookie provider to get additional data from service worker when devtools is opened.

* Fix some variable additions.

* Move all listeners to separate files.

* Split serviceworker into more listeners.

* Fix bug.

* Fix failing tests.

* Reintroduce webRequest API.

* Fix cli tsc problems.

* create separate functions for listeners.

* Bug fix frame id association.

* Fix frame management after extension update.

* Add service worker test.
Rename chrome listeners to listeners.
Refactor CDP migration api to use new methodology of supplementation.

* Revert jest config.

* Revert parsing method.

* Remove use of mainFrameId.

* Rearrange functions in sync cookie store.

* Refactor code.

* update frameId logic

* Revert logic of frame addition.

* Refactor code and fix js cookie.

* Move cookieDB to synchnorous cookie store.

* Fix arguments in getAndParseNetworkCookies

* Fix failing tests.

* Make non cdp environement work.
Convert non-cdp frameIds to string to accomodate non-cdp cookie analysis.

* Fix failing tests.

* Detach debugger from targets when cdp is switched off

* Revert setting cdp as default true.

* Remove exclude from exclusion reason.

* Delete cdpURLMapping.

* Add jsdoc.
Correct JSDoc.
Remove tabFramesIdMap.

* Use optional chaining.

* Fix jsdoc comment in index.ts

* Small refactoring

* Assign target in the chrome.debugger event.

* Add comments.

---------

Co-authored-by: sayedtaqui <sayedwp@gmail.com>
* fix: use correct key for filter

* remain on first frame if host is same

* Close context menu after navigation

* Validate dom nesting
* Add util to deep clone objects

* Use deep clone for storage

* Create hook folder for separation

* Move options application and filters extraction into separate hooks

* Update type

* Add comments

* Add tests for new hooks

* Add tests for util
* Fix error on about:blank page.

* Get initial page load status for library detection.

* Fix showing error message on aborting navigation.

* Change type.
* fix: highlight issues in cookies issue panel

* Use blockedEntry for isBlocked key

---------

Co-authored-by: Mayank Rana <mayankranax1@gmail.com>
* refactor: cli package into analysis-utils and cli

* refactor: move depedency declarations

* Fixed path and update dependency

* Update delete artifact script and remove i18n dependency

---------

Co-authored-by: Mayank Rana <mayankranax1@gmail.com>
Co-authored-by: sayedtaqui <sayedwp@gmail.com>
* Update util with new arg

* Pass hostname to util

* Update replacement logic

* Pass hostname in cli dashboard
* change logic for calculating element is in view or not

* update if conditions and logic for last element

* chore: update dependencies and exports

* Update utils comment

* Update the condition for last element selection

* test: add tests for UI and logic

* Show exemption reasons when cdp on even if count is zero.

* Remove listener disabled state

* Revert "Remove listener disabled state"

This reverts commit d37a662.

* Conditionally select item

* Add id to div in sitemap report

* Add text when no exempted cookie are present
* Update package.json commands to maintain future consistency.

* Add publish and unpublish commands.

* Organise commands for publishing.

* Add prebuild steps.
Configure tsconfig for publishing.

* Fix tsc errors.

* Save report in clidashboard and open dashboard in a html file.

* Fix git repository url.

* FIx issues in cli-dashboard

* Replace window with globalThis.

* Fix path in fetch dictionary.

* Build cli using webpack.

* Publish analysis utils.

* Add local registry startup and stop scripts.

* Add webpack banner plugin.

* Add commands to start stop registry.

* change file name.

* Add verdaccio config.

* Reduce build steps.
Publish library-detection.

* Fix issues post merge.

* update package lock.

* Add author name to all the package json files.

* Fix analaysis type.

* Add fallback if site isnt selected.

* Use rimraf instead of rm -rf

* Add webpack bar for cli build process.

* Fix sitemap report download.

* Fix sitemap filename.

* Move saving as html below outdir save csv reports.

* Remove port option.
* Update package.json commands to maintain future consistency.

* Add publish and unpublish commands.

* Organise commands for publishing.

* Add prebuild steps.
Configure tsconfig for publishing.

* Fix tsc errors.

* Save report in clidashboard and open dashboard in a html file.

* Fix git repository url.

* FIx issues in cli-dashboard

* Replace window with globalThis.

* Fix path in fetch dictionary.

* Build cli using webpack.

* Publish analysis utils.

* Add local registry startup and stop scripts.

* Add webpack banner plugin.

* Add commands to start stop registry.

* change file name.

* Add verdaccio config.

* Reduce build steps.
Publish library-detection.

* Fix issues post merge.

* update package lock.

* Add author name to all the package json files.

* Fix analaysis type.

* Add fallback if site isnt selected.

* Add known breakages to CLI.

* Move getResources to utility.

* Refactor addition of gsi and GIS.

* Refactor code and integrate known breakages in CLI dashboard.

* Add remaining libraries to the cli.

* Remove unwanted flags.

* Fix failing tests.

* Add catch conditions.

* Remove commented out code.

* Use url() instead of url.

* Remove commented out code.

* Match font size.

* Add `build-cli` for building cli and dashboard.
Add webpackbar to cli build process.

* Use rimraf instead of rm -rf

* Add webpack bar for cli build process.

* Fix sitemap report download.

* Fix sitemap filename.

* Refactor code

* Small refactoring

* Update pacakge lock

* Use rimraf instead of rm -rf

* Make known breakages optional in sitemap landing section.

* Use Page.on instead of cdp.

* Use document as well to check for GSI.

* Fix report generation and add correct utm parameters.

* Fix failing tests.

* Fix utm params function.

* Fix failing tests.

* Add meaningful variableName.

---------

Co-authored-by: Amoghavarsha Kudaligi <kgamoghavarsha@gmail.com>
* Fix TSC errors.

* Use default argument with conjunction of -u.

* Update messaging.
…#704)

* test commit

* refactor: cli package into analysis-utils and cli

* refactor: move depedency declarations

* Fixed path and update dependency

* Update delete artifact script and remove i18n dependency

* refactor: Browser management and test routine

* refactor: analyze cookie function

* refactor: parseNetrorkData utility

* refactor: add data collation step to combime network and JS cookies

* chore: remove testProcedure and fix analysis procedures

* fix: time evaluate call for getting frames

* fix: attribute JS frame cookies to frame

* chore: remove redundant dependency

* fix: Analyzing message not appearing

* fix: crash on sites with subdomain

* chore: add comments in collateCookieData function

* fix: update resolveWithTimeout to take resolve value

* Add docs

* feat: update network data parser to add frames with no cookies

* Add functionality to blur sidebar frames, and update calculation logics

* test: update test

---------

Co-authored-by: Mayank Rana <mayankranax1@gmail.com>
Co-authored-by: sayedtaqui <sayedwp@gmail.com>
* Update info in json file

* Add new keys

* Add landing page component

* Add demo icon and update sidebar

* Remove video link

* Add Groupsicon and update sizes
* Add blocking direction icons.

* Fix cookie parsing logic.

* Fix failing tests.

* Revert cookie listing change.

* Move blocking status function to common.

* Change reshape function.

* Fix reshape cookies.

* Fix reshape cookies.
Fix failing tests.

* Fix spelling mistake and delete unused file.

* Fix cookie formatting.

* Remove ts-ignore.
* feat: update network listener to catch exemption reasons

* feat: add exempted cookies section in cookie landing page

* fix: instantiate chrome with correct flags

* Fix get exempted reason from request.
Preserve exemptedReason in parsing cookie data.

* Change reshape function.

* fix: rearrange sections in report

* feat: add exemption reason filter

---------

Co-authored-by: Amoghavarsha Kudaligi <kgamoghavarsha@gmail.com>
* Fix printing of while file when exception is thrown.

* Add error message with stack trace.

* FIx library detection.

* Make exempted section display in the report.

* Handle extension breaking on chrome canary.

* fix: remove Unknown frame key from site report

* fix: remove csv file added for testing

* Update id for containers

* Disallow style when exempted cookies are zero

* remove underline

* fix: failing test

* Add file:// to create a clickable url.

* Add consolidation of technologies and library matches.

* Create file url from path.

* Fix functional category cookie count.

* Remove conditionally adding exempted cookies section.

* Fix failing tests.

* Make exempted cookies unclickable.
Show exempted cookies always in report

* Add toString to frameIds

* Fix order of report.

---------

Co-authored-by: nirwalayush <coding.carrots@gmail.com>
Co-authored-by: Mayank Rana <mayankranax1@gmail.com>
* chore: Basic setup of I18n module, added class and useTranslation provider

* feat: add i18n provider to extension

* ref: make useTranslation a hook

* feat: make useTranslation a context provider and distribute functions for extension and dashboard

* feat: add provider to extension and dashboard for adding test string

* feat: handle substitutions in custom texts

* update config

* Test substitutions in extension and dashboard

* ref: move files and move message passing to new file

* create a singleton class for common interface across all modules and update configs

* feat: add hook for extracting messages in cli dashboard

* update artifacts script

* ref: move parse message function inside class

* update definition

* fix: update checks for error handling

* feat: add logic to find fallback locales if not present

* Remove unrequired dependencies

* ref: move fetching function to i18n module

* update types

* feat: update scripts to implement i18n in open cookie db and rws data

* update condition to use i18n

* Move _locales folder in i18n package

* update _locale config

* create package based messages file and update configs

* add script to merge messages json files

* Updated strings with keys in extension

* Add locale keys to library detection

* Add keys for design system

* Add common package keys

* Add keys for cli dashboard

* Add keys for cli

* Add contants of common pacakge

* Put i18n import under correct section

* Add ps info keys

* Add keys for left strings

* remove prefixes and resolve messages merge issues

* add library detection keys

* add contants and merge rws, open cookie db

* Update script, delete merged messages

* Remove code tag from texts

* fix: use i18n functions to show correct data in dashboard and extension

* Merge develop, resolve conflicts, and fix bugs

* Add messages to report

* fix: Add i18n fn to exempted cookies section

* Add margin between details

* Add messages file for other locales

* fix: webpack config and add babel

* Expand locale array

* Remove log

* fix filters

* Add locale option in CLI

* Load messages from PSAT_DATA and update keys

* Update keys and use getMessage function

* Remove getMessage from places

* Condition change and add key

* fix tests

* Keep title static

* Use sessionstorage for filter values and clear when page rerenders

* Add condition and throw error if invalid arg

* Add margin

* Exclude test files from tsc build

* Use callbacks for printing headers

* Align text to left

* Update tests

* Call header by callback

* Align text  to center

* Add es locale

* Use fetch with retry for messages

* Update pt-BR to pt_BR

* fix tests

* Add text center class

* Add callback for headers

* Show exemption reasons with callback

* Move to validateArgs

* Check for locale

* update callbacks, dependencies, and not translate settings info container text

* nitpicks for imports

* Add reasons to tsignore

* Update sidebardata to use callbacks

* Pass extension reload text from app.tsx

* Correct CSV output processing

* Update click event
@mohdsayed mohdsayed changed the title v1.0.0 Jun 27, 2024
@mohdsayed mohdsayed merged commit 2b89c2e into main Jun 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants