This is a web application for working with bugzilla
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;
For easy update you need to use
git pull
docker compose up --build -d
Adding new users for buguette consists of 2 steps: adding avatars, and 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
- Open bug with comment with user list (probably
BUG_WITH_ATTACHMENTS
) - Paste list of users by format
[{"email": "email@gmail.com", "real_name": "Ivanov Ivan"},...]
* Do not forget to use double quotes, because it is json data. - Create comment
- Get
comment id
. The easiest way - is a inspect iftag
link in created comment. Example:<a href="#" onclick="YAHOO.bugzilla.commentTagging.toggle(172072, 3)...
172072
- is a id of comment - Update
COMMENT_WITH_USER_DATA
in static data - 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
- Open page for creating new bug in bugzilla
- Find element with xpath
//*[@id="cc"]
, and copy all of children - Paste it in your favorite code editor
- Feel free all your regexp magic for make json from it
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:
- 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
- You must to use only
jpg
format for images - The image must be square
- 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
Usually this error can be fixed by service restart and new cert file is used after that. You can fully reboot server or just restart some container (not 100% about restart container solution, but server reboot 100% works)