Giter Site home page Giter Site logo

contributing-docs's Introduction

Bitwarden

GitHub Workflow browser build on main GitHub Workflow CLI build on main GitHub Workflow desktop build on main GitHub Workflow web build on main gitter chat


Bitwarden Client Applications

This repository houses all Bitwarden client applications except the Mobile application.

Please refer to the Clients section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

Related projects:

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

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.

contributing-docs's People

Contributors

5atoshinakamoto avatar alessandrolandi avatar amorask-bitwarden avatar anatelli10 avatar andrebispo5 avatar cagonzalezcs avatar coroiu avatar dani-garcia avatar danielleflinn avatar differsthecat avatar dwbit avatar eliykat avatar favifake avatar fedemkr avatar gbubemismith avatar hinton avatar jameschensmith avatar jaredsnider-bitwarden avatar jingo88 avatar jlf0dev avatar joseph-flinn avatar jprusik avatar justindbaur avatar katherineincode avatar mateusabelli avatar mgibson1 avatar mimartin12 avatar renovate[bot] avatar trmartin4 avatar withinfocus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contributing-docs's Issues

[Discussion] Regarding ADR-0009

Page

https://github.com/bitwarden/contributing-docs/blob/873d980e0caa21dd60db0ab467c5bf3fbb4f6e95/docs/architecture/adr/0009-angular-composition-over-inheritance.md

Regarding ADR-0009 I want to ensure I am clear about the process of creating a new component that has a view in each client.

I would first create a service that fully encapsulates all business logic like so:

interface IDoSomethingService {
  sayHello(name: string);
  getDataFromServer(): Observable<MyData>;
  cleanup();
}

Then I need to do the following for each client

// x3
@MyView("[client-name]-view.html")
class Component {
  textBox: HTMLElement;
  data: Observable<MyData>;

  constructor(private myService: IDoSomethingService) {}

  ngOnInit() => data = myService.getDataFromServer();

  submit() => myService.sayHello(textBox.value);

  ngOnDestroy() => myService.cleanup();
}

vs creating a base component that is nearly exactly the above component (minus the @MyView() and the implementation for each client would be like this:

// Browser
@MyView("browser-view.html")
class BrowserComponent implements Component {}

// Desktop
@MyView("desktop-view.html")
class DesktopComponent implements Component {}

// Web
@MyView("web-view.html")
class WebComponent implements Component {}

Is that a fair representation of what this ADR wants?

To anyone having `Cannot read properties of undefined (reading 'length')` warning

Page

http://localhost:3000/

Expected Result

Run npm start and open http://localhost:3000/ without warnings.

Actual Result

npm start script launches http://localhost:3000/ with a warning overlaying on top.

Screenshots or Videos

image

Additional Context

Upon cloning this project, installing the dependencies and launching the dev server I noticed the error above.

This is being caused by the docusaurus-lunr-search dependency and it currently has an open PR praveenn77/docusaurus-lunr-search#120 aiming to fix it.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

SDK Kubernetes page contains links to a repo that no longer exists

Page

https://contributing.bitwarden.com/getting-started/sdk/secrets-manager/integrations/kubernetes

Expected Result

Redirect to sm-kubernetes repo

Actual Result

404 Page

Screenshots or Videos

No response

Additional Context

It looks like sm-kubernetes and sm-operator have been deprecated and replaced by Helm. If so, it seems like this page would need to be revised to reflect these changes.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Issue in Certificate Generation in MacOS

Page

https://contributing.bitwarden.com/getting-started/server/guide#macos

Expected Result

I tried following the instructions for certificate generation but MacOS kept saying I had an invalid password, even though I was sure I had entered it in correctly.

Actual Result

MacOS prompted me for the password again, saying the password was invalid and asked me to re-enter my password.

Screenshots or Videos

No response

Additional Context

Going to this StackOverflow answer, I found that I had to downgrade to version 1.1 of OpenSSL.

Not sure where this piece of information could be added in the documentation (if it needs to be added at all), but thought I'd let you guys know.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/build.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
  • ubuntu 22.04
.github/workflows/lint.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
  • ubuntu 22.04
npm
package.json
  • @docusaurus/core 3.2.0
  • @docusaurus/preset-classic 3.2.0
  • @mdx-js/react 3.0.1
  • docusaurus-lunr-search 3.3.2
  • prism-react-renderer 2.3.1
  • react 18.2.0
  • react-dom 18.2.0
  • remark-kroki 0.3.5
  • @docusaurus/module-type-aliases 3.2.0
  • @docusaurus/tsconfig 3.2.0
  • @types/react 18.2.73
  • cspell 8.6.1
  • husky 9.0.11
  • lint-staged 15.2.2
  • prettier 3.2.5
  • typescript 5.4.3
  • node >=18

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.