* refactor: abstract axios queries to a separate helper file
* chore: delete unnecessary file
* chore: remove unnecessary console logs
* refactor: updated urls for api and authquery helpers
* refactor: updated auth implementation
* refactor: use default axios instance
* chore: improve code readability
* refactor: separate instances for rest and gql calls
* refactor: removed async await from functions that do not need them
* refactor: removed probable login and probable user from the auth system
* refactor: better error handling in login component
* chore: deleted unnecessary files and restructured some files
* feat: new errors file with typed error message formats
* refactor: removed unwanted usage of async await
* refactor: optimizing the usage and return of promises in auth flow
* refactor: convey boolean return type in a better way
* chore: apply suggestions
* refactor: handle case when mailcatcher is not active
---------
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: James George <jamesgeorge998001@gmail.com>
* chore: removed rejectOnNotFound property from prisma query in team-enviroment method
* chore: fixed issues with test cases in team-environment module
* chore: changed target of hoppscotch-old-backend service back to prod
* fix: dashboard logs out user when cookie expires or is unauthorized
* fix: handles the 401 error thrown when trying to refresh tokens
* chore: updated wrong logic when returning state in refresh token function
* feat: introduced auth exchange to urql client to check for errors on each backend call
* fix: prevent multiple window reloads
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* feat: introduced new unplugin i18n and removed the old vite i18n package
* refactor: updated vite config to support the new plugin
* refactor: removed irrelevant logic from the i18n module
* feat: add ability to export a single environment
* refactor: export environment without id
* feat: introducing zod for checking json format for environment variables
* refactor: new zod specific type for HoppEnvPair
* feat: add ability to export single environment in team environment
* refactor: moved zod as a dependency to devDependency
* refactor: separated repeating logic to helper file
* refactor: removed unnecessary to string operation
* chore: rearranged smart item placement
* refactor: introduced error type when a bulk environment export is used in cli
* refactor: removed unnecssary type exports and updated logic and variable names across most files
* refactor: better logic for type shapes
* chore: bump hoppscotch-cli package version
---------
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
* fix: send auth headers to the payload
* refactor: alert user that headers are sent to connection_init
* refactor: send headers only when headers are populated
* chore: cleanup code
* fix: missing baseurl on import openapi
* fix: url parser for openapi v3
* chore: revert to baseURL for cases where doc servers is present but url is null
---------
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
* fix: sticky search bar in codemirror
* chore: use tailwind classes
* chore: improve consistency across editor instances
---------
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>