dhx_m | I'm playing with HTML 5 at the moment seeing what MantisBT could look like with a new HTML5 look | 00:24 |
---|---|---|
dhx_m | the draft standard seems all over the place at the moment | 00:24 |
dhx_m | ie. what the difference is between <section> and <article>, how to handle <h1-6> tags, etc | 00:25 |
micahg | dhx_m: IMHO <h1-6> should be replaced with appropriate CSS | 01:00 |
dhx_m | micahg: there seems to be multiple opposing views... either replace every <h2-6> tag with <h1> (and next those within sections) | 01:01 |
dhx_m | micahg: or keep using <h1-6> with sections (so a nested section would have <h2>) | 01:01 |
* micahg needs to read up on HTML5 | 01:01 | |
dhx_m | IMO they've bloated it up too much | 01:02 |
micahg | dhx_m: I thought they gutted a lot of old stuff from HTML<4 | 01:02 |
*** Joins: kirillka (~Miranda@global01.vester.ru) | 01:02 | |
dhx_m | they did deprecate a few things | 01:02 |
micahg | dhx_m: I thought they gutted the deprecated stuff from HTML4 | 01:03 |
kirillka | mo | 01:03 |
dhx_m | see http://www.w3.org/TR/html5/obsolete.html#obsolete | 01:04 |
dhx_m | kirillka: hi | 01:04 |
kirillka | dhx_m: have some minutes? | 01:05 |
dhx_m | kirillka: yep | 01:05 |
kirillka | dhx_m: one man install mantis.. notification config through smtp | 01:06 |
kirillka | mails send only if run php scripts/sendemails.php | 01:07 |
dhx_m | micahg: it seems there are indeed two ways of doing it... http://www.w3.org/TR/html5/semantics.html#rank | 01:07 |
kirillka | $g_email_send_using_cronjob = OFF; | 01:07 |
dhx_m | I'm not familiar with MantisBT's email settings :( | 01:08 |
kirillka | dhx_m: ok | 01:08 |
*** Quits: davidinc (~d5374b13@gateway/web/freenode/x-sbuaegmxpjmwdhce) (Ping timeout: 248 seconds) | 01:31 | |
*** Quits: wolog (~wolog@AOrleans-152-1-42-42.w90-21.abo.wanadoo.fr) (Remote host closed the connection) | 01:33 | |
*** Joins: rafalkoszyk (~43af039b@gateway/web/freenode/x-bqdrcmstxdobcpbv) | 01:48 | |
rafalkoszyk | are there any instructions on how to submit bug fixes? | 01:48 |
dhx_m | rafalkoszyk: for MantisBT itself? | 01:52 |
rafalkoszyk | yes | 01:57 |
rafalkoszyk | never submitted bug fixes to an open source project, don't want to send it to the wrong place. | 01:58 |
dhx_m | great :) | 01:58 |
*** Quits: kirillka (~Miranda@global01.vester.ru) (Read error: Connection reset by peer) | 01:59 | |
dhx_m | have you created the patch using git? | 01:59 |
*** Joins: kirillka (~Miranda@global01.vester.ru) | 01:59 | |
rafalkoszyk | reading up on git now, need to install it for myself to use, want to move away from trac | 02:00 |
rafalkoszyk | so create the diff, and attach it to the bug ? | 02:00 |
rafalkoszyk | or do I need to submit it to the repo ? | 02:01 |
dhx_m | output a patch from git format-patch and attach it to a bug | 02:01 |
dhx_m | hopefully we'll see it there... if not, feel free to bring it up here or on the mailing list :) | 02:02 |
dhx_m | there are some instructions on setting up git in the developer manual | 02:02 |
rafalkoszyk | mantis devel manual ? | 02:02 |
dhx_m | http://www.mantisforge.org/dev/manual/master/en/developers.html | 02:03 |
rafalkoszyk | Sweet. | 02:04 |
rafalkoszyk | I'm looking at bug 11605, and looking at the code. | 02:13 |
rafalkoszyk | Is there a reason why we are using the actual values of the category (name) instead of the id's ? | 02:13 |
rafalkoszyk | $t_bug_table.category_id in ( SELECT id FROM $t_category_table WHERE name in (" . implode( ', ', $t_where_tmp ) . ") ) )" ); | 02:14 |
rafalkoszyk | line 1324 on core/filter_api.php | 02:16 |
dhx_m | hmmm | 02:19 |
dhx_m | we only recently converted the core of MantisBT to use category IDs instead of names | 02:20 |
dhx_m | so perhaps it is a left-over from the old days? | 02:20 |
rafalkoszyk | ok | 02:20 |
rafalkoszyk | yes, it looks like that one is not converted to id's, all the way to the filters. | 02:25 |
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino) | 02:28 | |
*** Joins: moto-moi (~hylke@cara.xs4all.nl) | 02:32 | |
*** Quits: siebrand (~beis@sm.xs4all.nl) () | 02:34 | |
dhx_m | hmm sounds like a big change :) | 02:35 |
*** Joins: giallu (~giallu@fedora/giallu) | 02:43 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 264 seconds) | 02:46 | |
rafalkoszyk | yeh, i need to get well versed in git before I do this, will need to setup a server for it tomorrow (today ) | 02:46 |
dhx_m | you don't need to setup a git server unless you plan on hosting your own repositories | 02:49 |
rafalkoszyk | that is actually the plan | 02:53 |
*** Joins: wolog (~wolog@195.6.104.193) | 02:55 | |
*** Quits: mellen (~thansen@x1-6-00-22-02-00-0c-40.k253.webspeed.dk) (*.net *.split) | 03:09 | |
dhx_m | ah ok :) | 03:09 |
*** Joins: mellen (~thansen@x1-6-00-22-02-00-0c-40.k253.webspeed.dk) | 03:13 | |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 03:14 | |
*** Joins: davidinc (~d5374b13@gateway/web/freenode/x-tklfhmaqqtvjirio) | 04:01 | |
CIA-29 | Mantisbt: hickseydr * rd9db796f8973 /core/http_api.php: Issue #11824: Implement X-Frame-Options clickjacking protection | 04:05 |
CIA-29 | Mantisbt: hickseydr master-1.2.x * r3cd065de34b9 /core/http_api.php: Issue #11824: Implement X-Frame-Options clickjacking protection | 04:05 |
*** Joins: Laurent_ (~5640b61a@gateway/web/freenode/x-sqvfqznbkpltplgi) | 04:23 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 268 seconds) | 04:28 | |
CIA-29 | Mantisbt: hickseydr * r517cd271cc72 /core/http_api.php: Issue #11825: Support X-Content-Security-Policy (CSP) | 04:33 |
CIA-29 | Mantisbt: hickseydr master-1.2.x * rd2e05d3ee895 /core/http_api.php: Issue #11825: Support X-Content-Security-Policy (CSP) | 04:33 |
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl) | 04:36 | |
* dhx_m runs away and let's controversy unfold :p | 04:42 | |
Laurent_ | Hello, do you know if I can find a public mentis application for me to debug a SAAS application ? | 04:48 |
*** Quits: davidinc (~d5374b13@gateway/web/freenode/x-tklfhmaqqtvjirio) (Ping timeout: 248 seconds) | 05:01 | |
*** Quits: Laurent_ (~5640b61a@gateway/web/freenode/x-sqvfqznbkpltplgi) (Quit: Page closed) | 05:22 | |
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Ping timeout: 276 seconds) | 05:48 | |
*** Quits: Ragnor (~Ragnor@188.109.88.176) (Disconnected by services) | 06:02 | |
*** Joins: Ragnor (~Ragnor@188.109.88.176) | 06:02 | |
*** Joins: combr (~combr@80.85.180.12) | 06:06 | |
combr | hi all | 06:06 |
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) | 06:07 | |
combr | is anybody here? ;) | 06:08 |
combr | i have a brain mess with bugs marked as closed two years ago like #8577. in default installation 1.2.0. but why? ;) | 06:09 |
kirillka | combr: I ask your question to developer, which can help in phpmailer | 06:13 |
*** Joins: fanno (~Morten@90.184.93.233) | 06:22 | |
combr | kirillka: if you are here, please see to forum/russian, i create new topic with description there | 06:36 |
kirillka | combr: yes, I read it | 06:36 |
combr | kirillka: phpmailer 5.1(last release), utf8 module 0.5 (last release) already included in mantis 1.2.0, and a cannot see a work on it in upcoming 1.2.1. | 06:38 |
combr | but is it any downgrade in mantis upstream or my local misconfig, that's the question at first | 06:39 |
*** Quits: combr (~combr@80.85.180.12) (Ping timeout: 245 seconds) | 06:53 | |
*** Joins: combr (~combr@80.85.180.12) | 07:02 | |
*** Quits: combr (~combr@80.85.180.12) (Read error: Operation timed out) | 07:22 | |
kirillka | nuclear_eclipse: mo | 07:39 |
kirillka | paul__: around? | 07:40 |
nuclear_eclipse | hi | 07:41 |
kirillka | nuclear_eclipse: question about phpmailer to paul? | 07:42 |
nuclear_eclipse | eihter paul or giallu, I think they both worked on it at some point | 07:42 |
kirillka | nuclear_eclipse: thanks | 07:50 |
dhx_m | nuclear_eclipse: hi | 07:56 |
nuclear_eclipse | hi dhx_m | 08:08 |
nuclear_eclipse | ignore my bit about gravatar, I hadn't looked at the bug/commit logs when I sent that | 08:08 |
dhx_m | yep np | 08:21 |
dhx_m | my grand idea is to have configuration options that let the user specify other allowable domains | 08:21 |
dhx_m | as well as an event trigger that lets plugins register external domains too | 08:22 |
dhx_m | however I decided against it for now given that these are experimental features of the browsers | 08:22 |
dhx_m | draft RFCs ;) | 08:22 |
*** Quits: fanno (~Morten@90.184.93.233) (Quit: Leaving.) | 09:01 | |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 09:18 | |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Client Quit) | 09:20 | |
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Ping timeout: 246 seconds) | 09:37 | |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 09:38 | |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Client Quit) | 09:39 | |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 09:39 | |
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) | 09:43 | |
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Remote host closed the connection) | 09:45 | |
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) | 09:52 | |
*** Joins: fanno (~b3g@193.3.95.240) | 09:53 | |
*** Quits: kirillka (~Miranda@global01.vester.ru) (Quit: kirillka) | 09:58 | |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 10:25 | |
*** Joins: Redxross (Redxross@ool-457aee66.dyn.optonline.net) | 10:33 | |
Redxross | Hi guys. I followed this guide http://howto.inconnect.co.uk/?page_id=40 to install mantis on my centos server. I went to the http:/xxxx.xxxx.com/mantisbt and the page came up saying php was "good". Before I installed mantis, I installed mysql server, client and shared rpm packages after uninstalling what came with the distro. I then as the guide said created the msyql mantisbtadmin and mantisbt users along with mantisbt database. | 10:38 |
Redxross | Now back to this page, I selected type of database to mysql, hostname is localhost, username i put in mantisbt (i think thats right), then password i left blank since I never assigned one in that guide and i put mantisbt as the database name. I left admin user blank and admin password blank and then i clicked on attemp installation. Now it says good for setting database hostname, database type database username, database name and | 10:38 |
Redxross | admin password but it says bad for Checking PHP support for database type; possible problem for datbase password and admin username. Any suggestions on what I need to do next? | 10:38 |
Redxross | thank you all for your time | 10:38 |
Redxross | and for mantisbt | 10:38 |
*** Joins: mantisbt_21598 (~504de0c5@gateway/web/freenode/x-beogunaosbhtfrqh) | 10:41 | |
*** Quits: mantisbt_21598 (~504de0c5@gateway/web/freenode/x-beogunaosbhtfrqh) (Client Quit) | 10:41 | |
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...) | 11:01 | |
Redxross | is anyone alive? | 11:02 |
daryn | Redxross: admin user and pass is the admin for mysql | 11:05 |
Redxross | i thought in the guide that i followed the admin user was supposed to be mantisbtadmin, the account i created, but i will try putting it in though the bad php not supported error doesn't seem to be coming from account access | 11:07 |
Redxross | but rather soemthing to do with configuring php properly | 11:07 |
Redxross | which my guide didn't cover and there aren't any explicit instructions that i can find =( | 11:07 |
daryn | did you install 1.1.8 or 1.2? | 11:08 |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 264 seconds) | 11:11 | |
Redxross | of mantis? ummm... 1.2 | 11:11 |
daryn | ok, the instructions say 1.1.8 and i haven't followed that instruction before so just checking | 11:12 |
Redxross | oops | 11:12 |
daryn | what version of php is running? | 11:12 |
Redxross | i just ran /phpinfo.php and it says 5.16 | 11:13 |
Redxross | err 5.1.6 | 11:13 |
daryn | hm... that should work. the docs say 5.2 but it should say 5.1.2 | 11:13 |
Redxross | thanks for your help by the way | 11:13 |
Redxross | hmm | 11:13 |
daryn | np. | 11:14 |
Redxross | still i am stuck =( | 11:15 |
daryn | tbh it's probably easier just to unpack the mantis package in a web dir and point to the admin dir from a web browser...if you have mysql root access anyway | 11:15 |
Redxross | but whats with the bad php error | 11:16 |
Redxross | someone said, "It sounds like you need to install the PHPx-mySQL library for your particular version of PHP. | 11:16 |
Redxross | The PHP install alone doesn't recognize mySQL commands unless the appropriate library is installed. You can, however, get into the mySQL command line and create databases, change the, query, etc., however can't from PHP unless you have the library installed. | 11:16 |
Redxross | Mark Lassoff | 11:16 |
Redxross | Web Design, Coding and Training | 11:16 |
Redxross | marklassoff@gmail.com | 11:16 |
Redxross | on this forum http://www.linuxsolved.com/linux-forums/linux-servers-support/fatal-error-call-to-undefined-function-mysqlconnect-t884.0.html | 11:16 |
Redxross | how do i make sure i have that package | 11:16 |
daryn | true you do need the php mysql package | 11:17 |
daryn | i think it's just php-mysql on centos | 11:17 |
Redxross | do u know the yum command i would use to install that package? | 11:18 |
daryn | do you have yum installed ? | 11:18 |
Redxross | ya | 11:18 |
daryn | yum install php-mysql | 11:18 |
Redxross | brb | 11:18 |
Redxross | would u mind if i pasted u the output when i run that command? | 11:20 |
Redxross | [nirav.thakkar@p2176603 html]$ sudo yum install php-mysql | 11:20 |
Redxross | Loaded plugins: fastestmirror | 11:20 |
Redxross | Loading mirror speeds from cached hostfile | 11:20 |
Redxross | * addons: mirror.sanctuaryhost.com | 11:20 |
Redxross | * base: pubmirrors.reflected.net | 11:20 |
Redxross | * extras: mirror.fdcservers.net | 11:20 |
Redxross | * updates: mirror.vcu.edu | 11:20 |
Redxross | Setting up Install Process | 11:20 |
Redxross | Resolving Dependencies | 11:20 |
Redxross | --> Running transaction check | 11:20 |
Redxross | ---> Package php-mysql.x86_64 0:5.1.6-24.el5_4.5 set to be updated | 11:20 |
Redxross | --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql | 11:20 |
Redxross | --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql | 11:20 |
Redxross | --> Running transaction check | 11:20 |
Redxross | ---> Package mysql.x86_64 0:5.0.77-4.el5_4.2 set to be updated | 11:20 |
Redxross | --> Processing Conflict: mysql conflicts MySQL | 11:20 |
Redxross | --> Finished Dependency Resolution | 11:21 |
Redxross | mysql-5.0.77-4.el5_4.2.x86_64 from updates has depsolving problems | 11:21 |
Redxross | --> mysql conflicts with MySQL-server-community | 11:21 |
Redxross | Error: mysql conflicts with MySQL-server-community | 11:21 |
Redxross | You could try using --skip-broken to work around the problem | 11:21 |
Redxross | You could try running: package-cleanup --problems | 11:21 |
Redxross | package-cleanup --dupes | 11:21 |
Redxross | rpm -Va --nofiles --nodigest | 11:21 |
Redxross | The program package-cleanup is found in the yum-utils package. | 11:21 |
Redxross | [nirav.thakkar@p2176603 html]$ sudo yum list installed | grep php | 11:21 |
Redxross | php.x86_64 5.1.6-24.el5_4.5 installed | 11:21 |
Redxross | php-cli.x86_64 5.1.6-24.el5_4.5 installed | 11:21 |
Redxross | php-common.x86_64 5.1.6-24.el5_4.5 installed | 11:21 |
Redxross | php-ldap.x86_64 5.1.6-24.el5_4.5 installed | 11:21 |
Redxross | php-pdo.x86_64 5.1.6-24.el5_4.5 installed | 11:21 |
Redxross | i installed that rpm mysql-server-community i think | 11:21 |
daryn | yeah... yum remove mysql-server-community (if there's nothing else using it anyway) | 11:22 |
daryn | then yum install php-mysql and it should pull correct dependencies for mysql server | 11:22 |
Redxross | hm but then i can't manually install the rpm's right? | 11:23 |
Redxross | i would have to use yum, correct? | 11:23 |
Redxross | cause my boss wants me to use rpms | 11:23 |
Redxross | in which case how do i solve these dependencies | 11:23 |
daryn | yum does use rpms | 11:23 |
daryn | yum installs the rpms provided by centos | 11:23 |
Redxross | but it uses its own right? | 11:23 |
Redxross | ya | 11:24 |
daryn | and handles the dpeendencies | 11:24 |
Redxross | so if i have a vendor specific mysql rpm then i have to resovle the dependeinces myself? | 11:24 |
daryn | yeah if you install it using rpm command | 11:24 |
Redxross | how would i do that? | 11:24 |
Redxross | is it impossible to do? | 11:25 |
daryn | if the vendor has a repository you could add that to the yum repos and then yum would handle it. | 11:25 |
daryn | no, just a pita and not something i'm prepared to support | 11:25 |
Redxross | i used the mysql download's page to get those rpm's | 11:25 |
Redxross | lol oh ok | 11:25 |
Redxross | what should i look up on google, perhaps to point me in the direction. if u don't mind | 11:25 |
daryn | yeah...just use the yum provided rpm's. if you need newer ones check out rpmforge | 11:26 |
daryn | provides updated packages that centos/rhel don't | 11:26 |
daryn | why does your boss want you to use rpm? | 11:27 |
Redxross | actually i just talked to him and he said its ok to use yum | 11:29 |
Redxross | so i'll uninstall the rpm | 11:29 |
Redxross | and use yum to install mysql | 11:30 |
Redxross | right? | 11:30 |
daryn | yes | 11:31 |
daryn | that will be much less hassle for you | 11:31 |
Redxross | hopefully =) | 11:32 |
*** Joins: giallu (~giallu@fedora/giallu) | 12:12 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out) | 12:19 | |
*** Joins: siebrand (~beis@sm.xs4all.nl) | 12:57 | |
Redxross | hey daryn u there? | 12:58 |
daryn | yep | 12:58 |
Redxross | I used yum and now that error has gone but i am getting Database connection failed. Error received from database was #1045: Access denied for user 'mantisbt'@'localhost' (using password: NO). | 12:59 |
*** Quits: wolog (~wolog@195.6.104.193) (Remote host closed the connection) | 12:59 | |
Redxross | I start mysql and swithced to user datbase | 12:59 |
Redxross | and then looked for mantisbt | 12:59 |
Redxross | its there | 12:59 |
Redxross | but when i try to do mysql -u mantisbt it says ERROR 1045 (28000): Access denied for user 'mantisbt'@'localhost' (using password: NO) | 12:59 |
Redxross | according to the guide i never setup a password | 12:59 |
Redxross | any ideas | 13:00 |
Redxross | ? | 13:00 |
daryn | permissions in mysql can be a little strange. without seeing your setup it's kinda difficult to tell. if you have root access i'd just set a password for the mantis user | 13:01 |
daryn | easy admin... yum install phpmyadmin then http://localhost/phpmyadmin/ | 13:02 |
Redxross | i can't use xwindows on this machine =( | 13:03 |
Redxross | oh ok | 13:03 |
Redxross | nvm i'll try it | 13:03 |
Redxross | yum install phpmyadmin | 13:05 |
Redxross | Loaded plugins: fastestmirror | 13:05 |
Redxross | Loading mirror speeds from cached hostfile | 13:05 |
Redxross | * addons: mirror.5ninesolutions.com | 13:05 |
Redxross | * base: pubmirrors.reflected.net | 13:05 |
Redxross | * extras: centos-distro.cavecreek.net | 13:05 |
Redxross | * updates: mirror.vcu.edu | 13:05 |
Redxross | addons | 951 B 00:00 | 13:05 |
Redxross | base | 2.1 kB 00:00 | 13:05 |
Redxross | extras | 2.1 kB 00:00 | 13:05 |
Redxross | updates | 1.9 kB 00:00 | 13:05 |
Redxross | Setting up Install Process | 13:05 |
Redxross | No package phpmyadmin available. | 13:05 |
Redxross | Nothing to do | 13:05 |
daryn | bah...probably only available in rpmforge packages | 13:05 |
daryn | so..mysql -u root -p; use mysql; SELECT * FROM user WHERE User='mantisbt' | 13:07 |
CIA-29 | Mantisbt: jreese * r9fe8a9b84c59 /bug_view_inc.php: Fix #11817: Modified MENU_ISSUE for consistency | 13:08 |
CIA-29 | Mantisbt: jreese * r71166a79bece /core/html_api.php: Fix #11829: Missing event EVENT_MENU_MANAGE_CONFIG | 13:08 |
CIA-29 | Mantisbt: jreese * r16b515109f48 /core/html_api.php: Use print_bracket_link_prepared | 13:08 |
CIA-29 | Mantisbt: jreese master-1.2.x * r4c7c9cf82918 /core/html_api.php: Use print_bracket_link_prepared | 13:08 |
CIA-29 | Mantisbt: jreese master-1.2.x * rad39d08302d1 /core/html_api.php: Fix #11829: Missing event EVENT_MENU_MANAGE_CONFIG | 13:08 |
CIA-29 | Mantisbt: jreese master-1.2.x * r9dfb40e14437 /bug_view_inc.php: Fix #11817: Modified MENU_ISSUE for consistency | 13:09 |
Redxross | man i can't read the output.. its all askew.. give me a few to parse it by hand | 13:10 |
Redxross | hm, how can i show u this text file.. brb pastebin hopefully cause the user exists and the password col has some alpha numeric and all priv are no | 13:11 |
Redxross | is there anything specfic i am looking for? | 13:12 |
daryn | yeah...you got it. it has a password | 13:12 |
daryn | so, you'll have to reset it if you don't remember what it is | 13:13 |
Redxross | how is that possible.. i never set one up for it | 13:13 |
Redxross | hmm | 13:13 |
daryn | not sure...but the field has a value so it got something | 13:13 |
Redxross | gotta look up how to reste it | 13:13 |
daryn | UPDATE user SET User= PASSWORD('newpassword'); | 13:14 |
Redxross | ty | 13:14 |
daryn | it will encrypt it | 13:14 |
daryn | dang | 13:14 |
daryn | hold on | 13:14 |
Redxross | sure | 13:14 |
daryn | try this... | 13:14 |
daryn | UPDATE user SET Password=PASSWORD('new_password') WHERE User='mantisbt' | 13:15 |
daryn | that would've been bad... | 13:15 |
Redxross | lol | 13:15 |
Redxross | ok ty | 13:15 |
*** Joins: Jwv (~jwv@ac-217-129-178-207.netvisao.pt) | 13:16 | |
Redxross | well i have access now but a new error lol: Database query failed. Error received from database was #1146: Table 'mantisbt.mantis_user_table' doesn't exist for the query: SELECT * | 13:19 |
Redxross | FROM mantis_user_table | 13:19 |
Redxross | WHERE username=?. | 13:19 |
daryn | yeah, so it didn't run the schema install probably because the user didn't have access | 13:19 |
Redxross | how do i re run it | 13:19 |
Redxross | i figured it out | 13:21 |
daryn | k | 13:22 |
*** Joins: wolog (~wolog@AOrleans-152-1-42-42.w90-21.abo.wanadoo.fr) | 13:22 | |
*** Joins: AzaToth (~azatoth@wikipedia/AzaToth) | 13:28 | |
Redxross | woot the page is up! | 13:28 |
Redxross | daryn, u rock! | 13:28 |
daryn | :), congrats | 13:29 |
Redxross | all thanks to you | 13:29 |
Redxross | hey where do i setup accounts for mantis? | 13:29 |
daryn | Manage, Manage Users | 13:29 |
daryn | are you logged in as admin? | 13:30 |
Redxross | i am trying to | 13:30 |
Redxross | use the mantisbt account | 13:30 |
Redxross | but it won't let me | 13:30 |
daryn | no, that's just for mysql | 13:30 |
Redxross | oh | 13:30 |
Redxross | so which account do i use here? | 13:30 |
daryn | default user = administrator, pass=root | 13:31 |
Redxross | or where do i set the admin account up? | 13:31 |
daryn | be sure and change that once you login | 13:31 |
Redxross | woot | 13:31 |
Redxross | ya changing it now | 13:31 |
*** Joins: dhx_z (~anonymous@c122-107-157-71.eburwd5.vic.optusnet.com.au) | 13:33 | |
*** Quits: dhx_m (~anonymous@c122-107-157-71.eburwd5.vic.optusnet.com.au) (Read error: Connection reset by peer) | 13:33 | |
*** dhx_z is now known as dhx_m | 13:33 | |
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Ping timeout: 248 seconds) | 13:35 | |
nuclear_eclipse | dhx_m: | 13:40 |
nuclear_eclipse | got a moment? | 13:41 |
*** Quits: devdude34 (~lab@209-234-187-194.static.twtelecom.net) (Quit: Leaving.) | 13:50 | |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 13:50 | |
*** Quits: Roa (~roa@unixmexico/Roa) (*.net *.split) | 14:03 | |
*** Joins: Roa (~roa@unixmexico/Roa) | 14:08 | |
*** Quits: Redxross (Redxross@ool-457aee66.dyn.optonline.net) (Quit: Leaving) | 14:21 | |
CIA-29 | Mantisbt: jreese * r3485b7022750 /core/version_api.php: Fix #11641: Update history table on version rename | 14:21 |
CIA-29 | Mantisbt: jreese master-1.2.x * rcc1ad7046545 /core/version_api.php: Fix #11641: Update history table on version rename | 14:21 |
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl) | 14:57 | |
*** Quits: Jwv (~jwv@ac-217-129-178-207.netvisao.pt) (Quit: Leaving) | 15:05 | |
CIA-29 | Mantisbt: jreese master-1.2.x * r3efd95f66259 / (config_defaults_inc.php core/bugnote_api.php): Make feedback reassignment optional | 15:19 |
CIA-29 | Mantisbt: jreese * ra87b32c7de56 / (config_defaults_inc.php core/bugnote_api.php): Make feedback reassignment optional | 15:20 |
*** Quits: fanno (~b3g@193.3.95.240) (Remote host closed the connection) | 15:35 | |
*** Quits: rafalkoszyk (~43af039b@gateway/web/freenode/x-bqdrcmstxdobcpbv) (Ping timeout: 248 seconds) | 15:51 | |
*** Joins: fanno (~Morten@90.184.93.233) | 16:29 | |
*** Joins: siebrand_alt (~beis@sm.xs4all.nl) | 17:12 | |
*** Quits: siebrand (~beis@sm.xs4all.nl) (Ping timeout: 240 seconds) | 17:13 | |
*** siebrand_alt is now known as siebrand | 17:13 | |
paul__ | killefiz: lo | 17:36 |
paul__ | dhx_m: moo? | 17:37 |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Ping timeout: 245 seconds) | 18:09 | |
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Remote host closed the connection) | 18:42 | |
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Quit: Ex-Chat) | 18:51 | |
*** Quits: giallu (~giallu@fedora/giallu) (Read error: Operation timed out) | 18:52 | |
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl) | 19:04 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out) | 19:04 | |
*** Quits: AzaToth (~azatoth@wikipedia/AzaToth) (Read error: Connection reset by peer) | 19:49 | |
*** Quits: scribe9343423 (~scribe934@mantisforge.org) (Remote host closed the connection) | 20:00 | |
*** Joins: scribe9343423 (~scribe934@mantisforge.org) | 20:00 | |
dhx_m | hi | 20:16 |
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Ping timeout: 276 seconds) | 20:22 | |
CIA-29 | Mantisbt: hickseydr master-1.2.x * r8491bf43d53d /bug_assign_reporter.php: Remove unused bug_assign_reporter.php | 21:03 |
CIA-29 | Mantisbt: hickseydr * r9ec68ac5a436 /bug_assign_reporter.php: Remove unused bug_assign_reporter.php | 21:03 |
nuclear_eclipse | dhx have you looked at the patch i posted to dev list? | 21:19 |
dhx_m | nuclear_eclipse: let me check again :) | 21:22 |
nuclear_eclipse | it's about the bug_assign thing | 21:22 |
dhx_m | oh yeah I thought that was fine :) | 21:23 |
dhx_m | I assume it works? :D | 21:23 |
nuclear_eclipse | afaik | 21:24 |
dhx_m | I vote to commit :) | 21:25 |
nuclear_eclipse | k | 21:25 |
dhx_m | actually there is another approach | 21:25 |
dhx_m | bug_change_status_page.php posts to bug_update.php | 21:25 |
dhx_m | however we probably need to keep bug_assign.php for backwards compatibility in 1.2.x | 21:25 |
nuclear_eclipse | hmm | 21:27 |
nuclear_eclipse | sounds good, but I'm hesitant to do that in 1.2 | 21:28 |
dhx_m | yep | 21:28 |
dhx_m | oh actually we can't do that... bug_assign() is the direct landing page AFAIK | 21:29 |
dhx_m | so there is no intermediate page in the process | 21:29 |
nuclear_eclipse | well, we could have the form on bug_view_inc just point at bug_update.php directly | 21:29 |
nuclear_eclipse | it's a heavier change than what I did, but should technically work the same | 21:30 |
dhx_m | yep | 21:30 |
dhx_m | one question I have is about email notifications... | 21:30 |
dhx_m | "Email on change of handler" gets called from bug_update.php? | 21:31 |
nuclear_eclipse | from my testing, it leeks like bug->update generates the same notification as bug_assign when the only change is the handler_id, so it should act the same | 21:31 |
dhx_m | ok | 21:31 |
dhx_m | not that anyone would notice with the email notification settings being as broken as they are | 21:32 |
nuclear_eclipse | my only concern with pointing assignment directly to bug_update.php is that bug_update doesn't do the same set of access checks and such | 21:33 |
dhx_m | yep I'd probably just leave it as-is (with your patch) for now | 21:34 |
dhx_m | pending some future overhaul :) | 21:34 |
nuclear_eclipse | so I think I'm gonna go ahead and push my patch to both branches and deal with cleanup some other day :P | 21:34 |
nuclear_eclipse | exactly :P | 21:35 |
dhx_m | I have one more patch I want to get into 1.2.1 (bug #11166) | 21:35 |
dhx_m | I'm not using the patch from that bug because it uses PHP's eval!! | 21:35 |
dhx_m | essentially all we need to do is preg_replace the new lines to remove them | 21:35 |
dhx_m | oh, and use trim() everywhere :) | 21:36 |
dhx_m | and we already use trim | 21:36 |
dhx_m | I'm not 100% sure how to write a pattern to match new lines | 21:36 |
CIA-29 | Mantisbt: jreese * rd793dbd6a4e3 /bug_assign.php: Fix #11830: Refactor bug_assign to bug->update | 21:37 |
CIA-29 | Mantisbt: jreese master-1.2.x * r04ab0f4f8155 /bug_assign.php: Fix #11830: Refactor bug_assign to bug->update | 21:37 |
* nuclear_eclipse looks into that bug | 21:37 | |
* nuclear_eclipse wishes mantisbot weren't dead | 21:37 | |
dhx_m | ah, \r and \n are tokens you can use when matching | 21:38 |
nuclear_eclipse | use \s instead | 21:38 |
dhx_m | oops no... it's just the standard "\n" approach | 21:38 |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 21:39 | |
dhx_m | we don't want to match all whitespace characters though | 21:40 |
nuclear_eclipse | why not? | 21:40 |
dhx_m | as you may have an array with strings that contain spaces | 21:40 |
dhx_m | besides, we use trim later to remove excess space :) | 21:40 |
nuclear_eclipse | well, my point is that you shouldn't be using preg_replace to strip all newlines from the input... | 21:41 |
dhx_m | how else could it be done? | 21:41 |
nuclear_eclipse | what if the user wants a newline inside of that quoted string? | 21:41 |
dhx_m | tough luck? :p | 21:41 |
nuclear_eclipse | well, you really need to just use a regex to parse the whole thing at once, rather than trying to strip it all out to a single line | 21:41 |
dhx_m | that'd be complex :) | 21:42 |
nuclear_eclipse | well... | 21:42 |
nuclear_eclipse | it is labelled as a "complex" type ;) | 21:42 |
dhx_m | lol | 21:42 |
nuclear_eclipse | tbh, I don't like any of the solutions in that issue | 21:42 |
dhx_m | ok I'll try using preg_match on the whole thing | 21:43 |
dhx_m | actually cancel that, we use constant_replace() to replace constants | 21:44 |
dhx_m | so we'd need to loop through the matches and apply constant_replace() to them anyway | 21:44 |
nuclear_eclipse | tbh, the real problem is that parsing a complex type like that is technically impossible to do with regexes | 21:45 |
nuclear_eclipse | or extremely verbose otherwise | 21:45 |
nuclear_eclipse | even the simplified format requires a context free grammar to fully parse it | 21:46 |
nuclear_eclipse | and even though Perl's regexes are in a gray area between regex and cfg/cfl, afaik they still aren't powerful enough | 21:47 |
nuclear_eclipse | example: | 21:47 |
nuclear_eclipse | if you want 2D arrays, like "array( foo => array( 1, 2 ), bar => array( 3, 4 ) )", you can't parse that without implementing a CFG parser | 21:48 |
dhx_m | yep | 21:48 |
nuclear_eclipse | although I'm not sure if there's any spot in mantis that uses 2D arrays.. | 21:49 |
dhx_m | for instance, $g_main_menu_custom_options is a multidimensional array | 21:49 |
nuclear_eclipse | ah, right | 21:49 |
dhx_m | $g_custom_group_actions | 21:50 |
nuclear_eclipse | but that can't be set in tehe db | 21:50 |
dhx_m | yep not a huge problem | 21:50 |
dhx_m | I guess we could write a recursive parse function | 21:50 |
nuclear_eclipse | I think we really need to just bite the bullet and use PHP's serialization | 21:50 |
dhx_m | afaik we can't? | 21:50 |
nuclear_eclipse | it's still human readable and writeable | 21:50 |
nuclear_eclipse | not pretty, but it works, and would be infinitely easier than writing our own parsing language | 21:51 |
dhx_m | or we could get the human format into a serializable format... | 21:51 |
dhx_m | ? | 21:51 |
nuclear_eclipse | likely not | 21:51 |
nuclear_eclipse | would still require a CFG parser to do the transform | 21:51 |
nuclear_eclipse | although I guess for the intermediate time, your idea of just stripping newlines is certainly the easiest solution | 21:54 |
dhx_m | this is wrong anyway: /array[\s]*\((.*)\)/ | 21:54 |
dhx_m | the .* is greedy and will include the last bracket :) | 21:54 |
nuclear_eclipse | yep, but then it will backtrack and still work | 21:55 |
dhx_m | ah | 21:55 |
dhx_m | I see :) | 21:55 |
nuclear_eclipse | and tbh, there's no real way to make it work otherwise because they might need a ) somewhere in a string | 21:55 |
dhx_m | yep | 21:56 |
dhx_m | $t_full_string = trim( preg_replace( '/$/m', '', $f_value ) ); | 21:56 |
nuclear_eclipse | the only time you reallyneed to worry about greedy/ungreedy is if you are worried about speed, or if you want to match multiple repeating/optional sets | 21:57 |
nuclear_eclipse | preg_replace( ... trim( value ) ) is generally more efficient ;) | 21:58 |
nuclear_eclipse | trim first, and the parser will have less data to parse :P | 21:59 |
dhx_m | :) | 22:00 |
nuclear_eclipse | anyways, you honestly don't need any of that | 22:01 |
nuclear_eclipse | just add the s modifier to the primary regex and it will all work fine | 22:01 |
nuclear_eclipse | ie, preg_match('/array[\s]*\((.*)\)/s'...) | 22:02 |
nuclear_eclipse | http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php | 22:03 |
dhx_m | ah, thanks :) | 22:06 |
nuclear_eclipse | anyways, adding that modifier as a solution gets my stamp of approval | 22:06 |
dhx_m | it works :) | 22:08 |
dhx_m | almost | 22:08 |
nuclear_eclipse | it's aLIVEeeee | 22:08 |
dhx_m | 0 => '\'id\'', | 22:08 |
dhx_m | escaping and inclusion of extra quotes | 22:08 |
dhx_m | I'll work on it :) | 22:09 |
nuclear_eclipse | :? | 22:09 |
nuclear_eclipse | when do you ever need that? | 22:09 |
nuclear_eclipse | and it sounds like it should be '\\\'id\\\'' | 22:09 |
dhx_m | array ( | 22:09 |
dhx_m | 0 => 'id', | 22:09 |
dhx_m | 1 => 'project_id', | 22:09 |
dhx_m | 2 => 'reporter_id', | 22:09 |
dhx_m | 3 => 'handler_id', | 22:09 |
dhx_m | 4 => 'duplicate_id', | 22:09 |
nuclear_eclipse | oh | 22:09 |
dhx_m | we don't strip the ' characters from what the user supplies | 22:10 |
dhx_m | or " for that matter | 22:10 |
nuclear_eclipse | oh, right | 22:10 |
nuclear_eclipse | that's intended iirc | 22:10 |
dhx_m | nope, because we reconstruct the array | 22:10 |
nuclear_eclipse | /shrug | 22:10 |
dhx_m | we also need to somehow work around commas within these strings | 22:11 |
nuclear_eclipse | I wasn't a fan with this solution when it first happended... | 22:11 |
dhx_m | this implementation seriously sucks at the moment :p | 22:11 |
nuclear_eclipse | dhx_m: yet another reason I want to replace it with something like serialization or JSON, etc | 22:11 |
dhx_m | yep | 22:11 |
nuclear_eclipse | the moment you get past the first glance, you keep discovering more and more little details as you fall down the rabbit hole | 22:12 |
dhx_m | yep | 22:12 |
nuclear_eclipse | if we picked up json/pickle/serialization, all of those issue would be handled by code we don't need to build, maintain, or debug | 22:12 |
dhx_m | we already dep on json | 22:13 |
nuclear_eclipse | though tbh, I never really understood why using eval was such a deal breaker, since the only people who can put stuff in the database are admins anyways... | 22:14 |
dhx_m | admins of MantisBT... but maybe those admins aren't allowed to use the server :) | 22:14 |
nuclear_eclipse | well, if you get the option to inject stuff directly into the database... what's the difference? | 22:15 |
nuclear_eclipse | <- cynical | 22:15 |
dhx_m | the things in the database aren't being executed as PHP code though | 22:16 |
nuclear_eclipse | you shouldn't be passing out admin privileges to people you don't trust... | 22:16 |
nuclear_eclipse | but anyways | 22:16 |
nuclear_eclipse | dhx_m: I assume you'll have this done within the next 10 hours so that I can start working on the 1.2.1 release? | 22:33 |
nuclear_eclipse | it's bedtime for me now though | 22:33 |
dhx_m | will have it done in 5 | 22:33 |
nuclear_eclipse | ok, cheers | 22:33 |
* nuclear_eclipse goes to bed | 22:33 | |
dhx_m | ok thanks, cya :) | 22:34 |
dhx_m | I look forward to the next release | 22:34 |
CIA-29 | Mantisbt: hickseydr * r4dd383f55ffe /adm_config_set.php: Fix #11166: Complex types could not be entered with newline chars | 22:51 |
CIA-29 | Mantisbt: hickseydr master-1.2.x * r7f68bdbae2f9 /adm_config_set.php: Fix #11166: Complex types could not be entered with newline chars | 22:51 |
CIA-29 | Mantisbt: hickseydr master-1.2.x * ra41aeea10e78 /admin/check.php: Fix #11797: Zend Optimizer version check fails for v4+ | 23:38 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!