Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 17 16:02

    dregad on master-2.21

    (compare)

  • Sep 17 15:37
    dregad closed #1560
  • Sep 17 15:37

    dregad on master

    Fix display of monitor/unmonito… IssueViewPageCommand: regroup m… Also display "monitors" section… (compare)

  • Sep 17 15:36
    dregad synchronize #1560
  • Sep 17 15:31

    dregad on master

    Add file with default value 'nu… (compare)

  • Sep 17 15:31
    dregad closed #1562
  • Sep 17 08:39
    JeremyOWO synchronize #1530
  • Sep 16 16:57

    translatewiki on master

    Localisation updates from https… (compare)

  • Sep 16 12:12
    dregad synchronize #1560
  • Sep 15 19:47
    dregad assigned #1565
  • Sep 15 19:47
    dregad assigned #1564
  • Sep 15 19:47
    dregad assigned #1563
  • Sep 15 19:47
    dregad assigned #1562
  • Sep 15 19:34
    dregad edited #1565
  • Sep 15 19:33
    dregad edited #1565
  • Sep 15 19:33
    dregad opened #1565
  • Sep 14 15:29
    dregad synchronize #1564
  • Sep 13 22:38
    dregad opened #1564
  • Sep 13 21:58
    dregad opened #1563
  • Sep 13 21:33
    dregad opened #1562
kl3sk
@kl3sk

Glad to hear you figured it out.

Yes ! Maybe it could be added in the doc ?

Damien Regad
@dregad
If you can write it up and send a pull request with the doc update, we'll gladly review your proposal for inclusion in the manual.
kl3sk
@kl3sk
A PR in the main repo ? Or there is a doc repo ?
kl3sk
@kl3sk
Ok, but sorry I don't find the best file to edit
kl3sk
@kl3sk
I didn't see any Apache Or IIS config file in the documentation
Damien Regad
@dregad
The reason that there is none so far, is that we generally don't want to position ourselves as experts telling sysadmins how they should configure our web servers... This is not our business.
kl3sk
@kl3sk
Yes I understand but, not everybody are sysadmin. So some example can be provided. Indeed my example have no place in it too.
eyuel
@eyobelm
hello there um eyuel and I need help from you guys, when I tried to customize mantis HTML file I can't get the file from the extrated folder,please show me the way to go.

I get only .php file so where ca I get the .html file like ,
<!DOCTYPE html>

<html>

<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,follow" />
<title>My View - MantisBT</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/default.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/status_config.php?cache_key=4592fe61cb5dd28bda12fa907268615b" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/dropzone-5.5.0.min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/bootstrap-3.4.0.min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/font-awesome-4.6.3.min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/fonts.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/bootstrap-datetimepicker-4.17.47.min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/ace.min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/ace-mantis.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/mantisbt/css/ace-skins.min.css" />

<link rel="shortcut icon" href="/mantisbt/images/favicon.ico" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: full-text search" href="http://localhost/mantisbt/browser_search_plugin.php?type=text"/>
<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: search by Issue Id" href="http://localhost/mantisbt/browser_search_plugin.php?type=id"/>
<script type="text/javascript" src="/mantisbt/javascript_config.php?cache_key=4592fe61cb5dd28bda12fa907268615b"></script>
<script type="text/javascript" src="/mantisbt/javascript_translations.php?cache_key=537245a6c4c91dd6e4ed856b044d1b84"></script>
<script type="text/javascript" src="/mantisbt/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="/mantisbt/js/dropzone-5.5.0.min.js"></script>
<script type="text/javascript" src="/mantisbt/js/common.js"></script>
<meta http-equiv="Refresh" content="1800; URL=http://localhost/mantisbt/my_view_page.php?refresh=true" />

</head>

<body class="skin-3">

<style>

  • { font-family: "Open Sans"; }
    h1, h2, h3, h4, h5 { font-family: "Open Sans"; }
    </style>
    <div id="navbar" class="navbar navbar-default navbar-collapse navbar-fixed-top noprint"><div id="navbar-container" class="navbar-container"><button id="menu-toggler" type="button" class="navbar-toggle menu-toggler pull-left hidden-lg hidden-md" data-target="#sidebar"><span class="sr-only">Toggle sidebar</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><div class="navbar-header"><a href="/mantisbt/my_view_page.php" class="navbar-brand"><span class="smaller-75"> MantisBT </span></a><button type="button" class="navbar-toggle navbar-toggle collapsed pull-right hidden-sm hidden-md hidden-lg" data-toggle="collapse" data-target=".navbar-buttons,.navbar-menu"><span class="sr-only">Toggle user menu</span><i class="ace-icon fa fa-user fa-2x white"></i> </button></div><div class="navbar-buttons navbar-header navbar-collapse collapse"><ul class="nav ace-nav"><li class="hidden-sm hidden-xs"><div class="btn-group btn-corner padding-right-8 padding-left-8"><a class="btn btn-primary btn-sm" href="bug_report_page.php"><i class="fa fa-edit"></i> Report Issue</a><a class="btn btn-primary btn-sm" href="manage_user_create_page.php"><i class="fa fa-user-plus"></i> Invite Users</a></div></li><li class="grey" id="dropdown_projects_menu">
    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
    &#160;COB&#160;
    <i class="ace-icon fa fa-angle-down bigger-110"></i>
    </a>
    <ul id="projects-list" class=" dropdown-menu dropdown-menu-right dropdown-yellow dropdown-caret dropdown-close">
    <li><di
Damien Regad
@dregad
Mantis is a PHP application, the HTML is generated dynamically from the .php files. If this is not happening then you need to configure your web server as appropriate to serve PHP pages.
kl3sk
@kl3sk
What is you web server ?
eyuel
@eyobelm
um using xamp local server for test
kl3sk
@kl3sk
which is under apache ?
mantis is just a "web application" as a site web. You have to configure XAMP as well
eyuel
@eyobelm
of course it is working on that,but when I tried to customize some layouts I cant get the code .
kl3sk
@kl3sk
what king of layout ?
kind
eyuel
@eyobelm
e.g the menus I want to adjust them to the right corner
and some texts,logos,
kl3sk
@kl3sk
It is possible to add a custom css file. Is it enough for you ?
eyuel
@eyobelm
how can add additional columns,
kl3sk
@kl3sk
As I know. There is now proper way to override templates
No proper way
eyuel
@eyobelm
OK thanks. can I add or delete some php codes and make it as I want??
kl3sk
@kl3sk
@dregad may help about that
eyuel
@eyobelm
ok thanks for you help.
Damien Regad
@dregad
this is open source, so you're free to customize Mantis in any way you want. Just be aware that you do so at your own risk, so don't come back to mantisbt.org crying for help & support :wink:
kl3sk
@kl3sk
@dregad is my link available for theming ?
Damien Regad
@dregad
what?
kl3sk
@kl3sk
Does MAntis allow a way to override default templates .
Damien Regad
@dregad
Not really. You can customize the CSS, I think there's even a plugin that does that but I'm not sure it's working for 2.x.
kl3sk
@kl3sk
Ok, the only "official" way is to modify the core files
Damien Regad
@dregad
which by definition is not official :wink:
kl3sk
@kl3sk
So "current" way ? ^^
luzpaz
@luzpaz
Is there a hidden 'workflow threshold' that can disable a 'reporter' from creating their own custom tags (in other words, forced to use predefined tags not create their own)
Damien Regad
@dregad
luzpaz
@luzpaz
@dregad thanks, was there a decision to not include it in the GUI as an option ?
Damien Regad
@dregad
Not that I know of... I would guess whomever added the feature forgot to add it to the workflow thresholds page. Suggest you add an issue requesting it to be added.
luzpaz
@luzpaz
:+1:
Kirill Krasnov
@Kirill
Hi. Anybody can help test PHPMailer with me? I have one installation. And at one moment, I don't sure when, mail don't sender. I try today different way to solve problem, but nothing.
16-09-2019 20:55 EET MAIL_VERBOSE email_api.php:1219 email_send_all() Sending message 4333
16-09-2019 20:55 EET MAIL email_api.php:1411 email_send() ERROR: Message could not be sent - Ошибка соединения с SMTP-сервером https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I set debug mode in phpmailer and got this error

SMTP ERROR: Failed to connect to server:  (0)
Ошибка соединения с SMTP-сервером https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Error connect to the server

smtp - smtp.yandex.ru
port 465
type - ssl
php -i | grep openssl
openssl
Openssl default config => /etc/pki/tls/openssl.cnf
openssl.cafile => no value => no value
openssl.capath => no value => no value

getsebool httpd_can_network_connect
getsebool:  SELinux is disabled

getsebool httpd_can_sendmail
getsebool:  SELinux is disabled


ping smtp.yandex.ru
PING smtp.yandex.ru (77.88.21.158) 56(84) bytes of data.
64 bytes from mail-smtp.stable.qloud-b.yandex.net (77.88.21.158): icmp_seq=1 ttl=49 time=50.3 ms
64 bytes from mail-smtp.stable.qloud-b.yandex.net (77.88.21.158): icmp_seq=2 ttl=49 time=50.2 ms

telnet smtp.yandex.ru 465
Trying 2a02:6b8::19d...
Connected to smtp.yandex.ru.
Escape character is '^]'.
What else?
Kirill Krasnov
@Kirill
I found more info about sslv3 problem. I change config to tls, port 587, host smtp.yandex.com and got this log
019-09-16 21:12:58 Connection: opening to smtp.yandex.com:587, timeout=300, options=array()
2019-09-16 21:12:58 Connection: opened
2019-09-16 21:12:59 SMTP INBOUND: "220 vla1-b617950fbd54.qloud-c.yandex.net ESMTP (Want to use Yandex.Mail for your domain? Visit http://pdd.yandex.ru)"
2019-09-16 21:12:59 SERVER -> CLIENT: 220 vla1-b617950fbd54.qloud-c.yandex.net ESMTP (Want to use Yandex.Mail for your domain? Visit http://pdd.yandex.ru)
2019-09-16 21:12:59 CLIENT -> SERVER: EHLO bug.kraeg.ru
2019-09-16 21:12:59 SMTP INBOUND: "250-vla1-b617950fbd54.qloud-c.yandex.net"
2019-09-16 21:12:59 SMTP INBOUND: "250-8BITMIME"
2019-09-16 21:12:59 SMTP INBOUND: "250-PIPELINING"
2019-09-16 21:12:59 SMTP INBOUND: "250-SIZE 42991616"
2019-09-16 21:12:59 SMTP INBOUND: "250-STARTTLS"
2019-09-16 21:12:59 SMTP INBOUND: "250-AUTH LOGIN PLAIN XOAUTH2"
2019-09-16 21:12:59 SMTP INBOUND: "250-DSN"
2019-09-16 21:12:59 SMTP INBOUND: "250 ENHANCEDSTATUSCODES"
2019-09-16 21:12:59 SERVER -> CLIENT: 250-vla1-b617950fbd54.qloud-c.yandex.net250-8BITMIME250-PIPELINING250-SIZE 42991616250-STARTTLS250-AUTH LOGIN PLAIN XOAUTH2250-DSN250 ENHANCEDSTATUSCODES
2019-09-16 21:12:59 CLIENT -> SERVER: STARTTLS
2019-09-16 21:12:59 SMTP INBOUND: "220 Go ahead"
2019-09-16 21:12:59 SERVER -> CLIENT: 220 Go ahead
2019-09-16 21:12:59 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Kirill Krasnov
@Kirill
Test SSL
testssl.sh -p -t smtp --add-ca /etc/pki/tls/cert.pem smtp.yandex.com:587

No engine or GOST support via engine with your /usr/bin/openssl

###########################################################
    testssl.sh       3.0rc3 from https://testssl.sh/dev/

      This program is free software. Distribution and
             modification under GPLv2 permitted.
      USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!

       Please file bugs @ https://testssl.sh/bugs/

###########################################################

 Using "OpenSSL 1.0.1e-fips 11 Feb 2013" [~102 ciphers]
 on srv:/usr/bin/openssl
 (built: "Aug 14 16:32:19 2019", platform: "linux-x86_64")


 Start 2019-09-16 21:21:27        -->> 77.88.21.158:587 (smtp.yandex.com) <<--

 Further IP addresses:   2a02:6b8::19d
 rDNS (77.88.21.158):    mail-smtp.stable.qloud-b.yandex.net.
 Service set:            STARTTLS via SMTP

 Testing protocols via sockets

 SSLv2      not offered (OK)
 SSLv3      offered (NOT ok)
 TLS 1      offered
 TLS 1.1    offered
 TLS 1.2    offered (OK)
 TLS 1.3    offered (OK): final

 Done 2019-09-16 21:21:32 [   7s] -->> 77.88.21.158:587 (smtp.yandex.com) <<--
Kirill Krasnov
@Kirill

problem solved

curl https://www.certum.pl/CA.pem > /etc/pki/ca-trust/source/anchors/certum2.pem
update-ca-trust enable
update-ca-trust extract

after this ssl certificate of smtp.yandex.com verified

Damien Regad
@dregad
Good to hear you managed to fix it