1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-18 12:22:59 +01:00
L'estensione per Browser di Bitwarden funziona con Chrome, Firefox, Edge, Opera, Safari, Vivaldi, brave, Tor Browser. L'istanza bitwarden dei devol comprende tutte le funzioni premium di bitwarden https://vaultwarden.devol.it
Go to file
Addison Beck dc87510a7a
Implemented Custom role and permissions (#750)
* Implemented Custom role and permissions

* converted Permissions interface into a class

* fixed a merge issue

* updated jslib

* code review cleanup for Permissions

* trailing commas
2021-01-12 15:31:22 -05:00
.github/workflows fixing incorrect secret name (#747) 2020-12-21 12:58:51 -08:00
jslib@6ac6df75d7 Implemented Custom role and permissions (#750) 2021-01-12 15:31:22 -05:00
src Implemented Custom role and permissions (#750) 2021-01-12 15:31:22 -05:00
.dockerignore
.editorconfig Add support for Emergency Access (#707) 2020-12-22 10:57:44 -05:00
.gitattributes
.gitignore
.gitmodules
appveyor.yml PUSH_DOCKER checks 2019-03-19 22:17:03 -04:00
build.sh
CONTRIBUTING.md Docs contrib (#696) 2020-11-10 10:52:09 -05:00
crowdin.yml map en-IN 2020-09-28 14:21:11 -04:00
dev-server.shared.pem
Dockerfile docker health check 2019-07-26 11:59:59 -04:00
entrypoint.sh
gulpfile.js sweetalert: ported to sweetalert2 and simplified code. (#465) 2020-03-02 13:52:09 -05:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2020-03-06 08:27:39 -05:00
LICENSE.txt
package-lock.json update jslib and fix webPlatformUtils (#741) 2020-12-16 16:40:10 -05:00
package.json Add ConsoleLogService dependency from jslib (#735) 2020-12-14 12:27:32 -06:00
README.md Updated readme to note how to run the app against production (#706) 2020-12-10 12:08:31 -05:00
SECURITY.md
tsconfig.json sweetalert: ported to sweetalert2 and simplified code. (#465) 2020-03-02 13:52:09 -05:00
tslint.json Implemented Custom role and permissions (#750) 2021-01-12 15:31:22 -05:00
webfonts.list
webpack.config.js Terser minimizer requires option to include maps (#721) 2020-11-30 11:14:21 -06:00

The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).

appveyor build Crowdin DockerHub gitter chat

Build/Run

Requirements

Run the app

For local development, run the app with:

npm install
npm run build:watch

You can now access the web vault in your browser at https://localhost:8080. You can adjust your API endpoint settings in src/app/services/services.module.ts by altering the apiService.setUrls call. For example:

await apiService.setUrls({
    base: isDev ? null : window.location.origin,
    api: isDev ? 'http://mylocalapi' : null,
    identity: isDev ? 'http://mylocalidentity' : null,
    events: isDev ? 'http://mylocalevents' : null,
});

If you want to point the development web vault to the production APIs, you can set:

await apiService.setUrls({
    base: null,
    api: 'https://api.bitwarden.com',
    identity: 'https://identity.bitwarden.com',
    events: 'https://events.bitwarden.com',
});

And note to run the app with:

npm install
npm run build:prod:watch

Common Issues:

CORS

If you run the frontend and receive a notification after attempting to login that says:

An error has occurred.
NetworkError when attempting to fetch resource.

And in the console:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.bitwarden.com/accounts/prelogin. (Reason: CORS header Access-Control-Allow-Origin missing).

This means that you are having a CORS header issue. This can be mitigated by using a CORS header changing extension in your browser such as this one.

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.