Wednesday, September 12, 2012

Still Alive

This was a triumph.
I'm making a note here: Huge success!
It's hard to overstate my satisfaction.


Oh sorry. I'm still alive.
I'm, again, writing new code for the system, actually re-writing everything from scratch.

Yande.re has taken a step away from Danbooru by changing their system to Moebooru, which has been updated to Rails 3 and stuff, so the code has changed here and there.

The next version of MyImouto will be a port of Moebooru. Yay!

Like usual, it might take a while.

Monday, July 23, 2012

Oh my... Zend Framework

I've been trying to move the system to Zend Framework.

Yeah, I thought of throwing away the framework I worked on and migrate everything to Zend.

With time and patience, I've been able to recreate some classes like ActiveRecord and ActionController, they worked successfuly on Zend. Yay... but seriously...

Friday, June 22, 2012

Removing MySQL support

Does anyone use MySQL instead of PDO for MyImouto?

I think I'll remove support for this in the next version. PDO is much more secure and better, there's no much reason to keep MySQL.

Those who use MySQL please enable the PDO extension for PHP (if not enabled) and change the driver to 'pdo' in config/app_config.php.

Sorry for the trouble this may cause.

I know this is a ghost-blog but I'm doing my part of asking and letting "everyone" know. lol.

Wednesday, June 20, 2012

Enabling Job Tasks

I decided to find a way to enable Job Tasks for MyImouto.

At first I thought of just adding scheduled events in MySQL, but then I realized Job Tasks run not only queries but also Ruby code.

I also realized that Danbooru uses a gem called Daemons that runs a RoR script (or something like this) somehow, and the Job Tasks are called.

I was able to do the same with MyImouto using Windows' Scheduled Tasks: It runs php.exe and tells it to run a php file, which starts the MyImouto system and then runs the job tasks! Just like in RoR.

It worked nicely, the job task deleted all my tags with count of 0. Amazing. lol.

One would have to setup the Scheduled Task on Windows to enable this. The task can be exported and imported and easily edited (it's an XML file) so it's not really a problem.

But most servers run Linux, so my question is: Does anyone know how to do setup scheduled tasks on Linux that will run PHP every certain hours?

Go to rest, you deserve it. I'll call you later.

Saturday, June 2, 2012

Wild email

Oh my...

Coming along with Artists section on the next patch.

Saturday, April 14, 2012

Err... no. Bad idea

I said the next version of MyImouto will be for PHP >= 5.4, but no, nothing will change about that. It will need PHP >= 5.3 as always.

Wednesday, April 11, 2012

MyImouto version 0.0.3

Soon the version 0.0.3 will be released, featuring, again, huge changes to the system code and new sections: Wiki, Popular Posts and Help (which is actually nothing but almost pure html files).

Also some bug fixes (like showing a forum post even if no id is specified), changes/fixes to the database... and more.

Wiki versions history

Important changes

  • The password hash for the users will be changed, their passwords will be reset and it'll be their usernames. Sorry about that.
  • This new version will use the cool features of PHP 5.4. It won't work under PHP 5.3.* anymore. Sorry about that too.
  • Finally, the system configuration will have to be re-set once again. And again, sorry about that too. Heh.