GithubHelp home page GithubHelp logo

flaminestone / buguette Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onlyoffice-qa/buguette

0.0 1.0 0.0 7.03 MB

Is a wrapper for Bugzilla.

JavaScript 1.94% TypeScript 72.64% HTML 19.81% Dockerfile 0.22% SCSS 5.38%

buguette's Introduction

Buguette

This is a web application for working with bugzilla

Build

To build and run this all, you need to use

docker-compose up

By default, app using 443 port, it must be free before run;

Update

For easy update you need to use

git pull
docker-compose up --build -d

Adding new users

Adding new users for buguette consists of 2 steps: adding avatars, and adding emails.

Adding emails

All users for buguette is placed to one comment in bugzilla. Id of this comment is placed in src/app/static-data.ts - COMMENT_WITH_USER_DATA. This comment usually located at BUG_WITH_ATTACHMENTS

This is comment for bug BUG_WITH_ATTACHMENTS, and you can open this bug, and find comment in source code of bug page (open development tools on your browser, open Elements tab, then CTRL + F and paste comment id)

If you want to update list of users, you need to create new comment in this bug and then update COMMENT_WITH_USER_DATA from static-data.ts

  1. Open bug with comment with user list (probably BUG_WITH_ATTACHMENTS)
  2. Paste list of users by format [{"email": "[email protected]", "real_name": "Ivanov Ivan"},...]* Do not forget to use double quotes, because it is json data.
  3. Create comment
  4. Get comment id. The easiest way - is a inspect if tag link in created comment. Example: <a href="#" onclick="YAHOO.bugzilla.commentTagging.toggle(172072, 3)... 172072 - is a id of comment
  5. Update COMMENT_WITH_USER_DATA in static data
  6. Update buguette client side with clean cache (Ctrl+Shift+F5)

*The easiest way to get current user list from bugzilla is a copy list for cc on New Bug page

  1. Open page for creating new bug in bugzilla
  2. Find element with xpath //*[@id="cc"], and copy all of children
  3. Paste it in your favorite code editor
  4. Feel free all your regexp magic for make json from it

Adding avatars

All avatars is a attachments in BUG_WITH_ATTACHMENTS bug. You can add new avatars for new users like new attachments, but you need to use some rules for it:

  1. Name of image and description for attachment must to be like username of user. Username is a part of email before @. Attention! Username !== real_name
  2. You must to use only jpg format for images
  3. The image must be square
  4. The image must be not more of 10 kb size*

*Size of image is important because bugzilla can not to send only some attachments of all. Take all or take nothing. And it will be good to make attachments not very big

buguette's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar flaminestone avatar shockwavenn avatar

Watchers

 avatar

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.