Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:29
    cproensa opened #1615
  • Jan 23 17:17
    seanm synchronize #1613
  • Jan 23 17:05
    dregad opened #1614
  • Jan 23 15:13

    translatewiki on master

    Localisation updates from https… (compare)

  • Jan 22 07:15

    atrol on master

    Fix history_default_visible reg… Merge branch 'master-2.23' (compare)

  • Jan 22 07:00

    atrol on master-2.23

    Fix history_default_visible reg… (compare)

  • Jan 22 07:00
    atrol closed #1611
  • Jan 22 00:10
    cproensa synchronize #1606
  • Jan 21 20:31
    seanm synchronize #1613
  • Jan 20 22:02
    atrol assigned #1612
  • Jan 20 19:30
    seanm opened #1613
  • Jan 20 10:36

    translatewiki on master

    Localisation updates from https… (compare)

  • Jan 19 23:58
    cproensa opened #1612
  • Jan 19 14:07
    syncguru synchronize #1587
  • Jan 19 01:48
    syncguru synchronize #1587
  • Jan 18 22:41
    vboctor assigned #1599
  • Jan 18 21:19
    syncguru synchronize #1587
  • Jan 18 19:55

    atrol on master

    Correct log message in function… (compare)

  • Jan 18 16:38
    atrol assigned #1611
  • Jan 18 16:38
    atrol opened #1611
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
luzpaz
@luzpaz
Is there a ticket open requesting that if a ticket is published as 'private' that the color-scheme change slightly to indicate that's the case (to differentiate it from a 'public' ticket) ?
luzpaz
@luzpaz
Where in the source code is the function that pops up that tooltip in the bug_report_page.php which prompts the user 'Please fill out this field' after they submit the page (with said field missing)?
image.png
luzpaz
@luzpaz
Over at FreeCAD we have this issue that people post tickets without adding their system info. The system info is formatted in a certain way. So my idea was to see if I could add a regex of some sort that scans the 'Additional Info' field for the system info, if it's there then user can submit the ticket.
FSD-Christian-ISS
@FSD-Christian-ISS
@luzpaz that is a plain HTML function for the attribute "required" in form elements. the message is rendered by the browser. for a mandatory pattern of a input field you can add the attribute pattern with a regex. see https://www.w3schools.com/tags/att_input_pattern.asp
Frank DiMitri
@fdimitri
Hey -- I'm using RHEL 8.0 and trying to use LDAP auth, I can't get MantisBT to bind (it connects, but no bind) -- and I can't seem to get it to write to a log file, either
Not sure how to see what's going on without a log file :)
luzpaz
@luzpaz
2
@FSD-Christian-ISS Thanks. Is there a way I can add this so it won't be overwritten by the next mantisbt update ?
Frank DiMitri
@fdimitri
Whoops, got log file working (SELinux) -- I can bind now, but I get LDAP search failed.. urgh
Carlos
@cproensa
Thanks. Is there a way I can add this so it won't be overwritten by the next mantisbt update ?
That is implemented in text custom fields that define a regexp
luzpaz
@luzpaz
@cproensa awesome is there any documentation on this ?
luzpaz
@luzpaz
@cproensa Here's my thinking: I'd like to apply the regex to either:
1) the Additional information text field in bug_report_page.php
2) create a new custom field in bug_report_page.php called FreeCAD Information and apply it there.
luzpaz
@luzpaz
I figured it out sort of. Trying to learn PCRE regex
luzpaz
@luzpaz
@cproensa the only thing that makes me uneasy about this solution is that the user browses away to an error page telling them that A necessary field "category" was empty. Please recheck your inputs. instead of a sleek little popup that I posted above.
so people may lose their ticket info that they added not understanding what 'category' we're asking them to update
luzpaz
@luzpaz
Mantis-custom-field-error.png
luzpaz
@luzpaz
@cproensa so according to what @FSD-Christian-ISS wrote above I should be seeing a little popup tooltip but I don't. Any reason why ?
FSD-Christian-ISS
@FSD-Christian-ISS
@luzpaz the category field doesn't have the "required" attribute and its input is only checked when the form is submitted. The reason for this I can't tell you, but maybe the mantis devs can give you an answer for this
luzpaz
@luzpaz
@cproensa ping
luzpaz
@luzpaz
ping
luzpaz
@luzpaz
Is there a way I can associate a checkbox to an already created custom field that allows the user to override the custom field to be required? My regex solution is creating problems and folks aren't able to submit tickets. The idea then is to have an override option...does this exist ?
luzpaz
@luzpaz
bump :point_up_2: