All articles, tagged with “byteflow”

Blog update

Updated blog engine.

To my amusement I discovered that I didn’t update for half a year.

Half a hour, few bumps and couple of facepalms and everything is back in norm.

newforms-admin в Django trunk и последствия этой радости

Выскажусь по поводу попадания newforms-admin в django-trunk.

Кто не подумав обновил django-trunk до Changeset 7967 — сам себе злобный Буратино.

В моем случае это вылилось в неработающий django-photologue, но мне повезло: следующая версия photologue доступна и заточена под newforms-admin.

Теперь нас ждет увлекательный процесс переписывания кусков Byteflow с учетом изменений в 7967.

reCaptcha

Rejoice. At last reCaptcha was accepted to Byteflow main tree.

Byteflow OpenID server layout

Just in case I need it two years later.

From python-openid server implementation overview:

 

reCaptcha and Byteflow

Today I have integrated reCaptcha in Byteflow blog engine.

Solution is based on this article.

For now I’m waiting it’s inclusion in main Byteflow source tree.

OpenID server for Byteflow now in trunk

Yesterday I have finished integration of OpenID server in Django-based blog engine Byteflow.

It’s a self contained Django application instead of full project so you can easily integrate it into your own projects.

Беседа с Виктором Вагнером

Лог беседы с Виктором Вагнером о блогодвижке Byteflow и его месте в концепции построения распределенных блогов:

If someone interested in English version let me know and I’ll translate it.

 

python-openid bug resolved

Looks like python-openid bug I stumbled upon earlier that prevented Byteflow OpenID server interaction with OpenID 1.0 RP was resolved both in upstream (darcs repo) and via patch for current Debian package.

--- a/openid/server/server.py   2008-03-20 21:31:33.000000000 +0200
+++ b/openid/server/server.py   2008-03-20 21:31:45.000000000 +0200
@@ -609,6 +609,8 @@ class CheckIDRequest(OpenIDRequest):
                  "claimed_id")
             raise ProtocolError(message, text=s)

+        elif self.identity:
+            self.claimed_id = self.identity
     else:
         self.claimed_id = None

OpenID server as Django application in Byteflow engine

So now I have a working OpenID server implementation. Its based on Djangoid project by Nicolas Trangez, but implemented as almost self-contained Django application (it lost some guts during transplantation; lets hope it regrows them later).

It uses python-openid library and currently serves auth requests only for superuser on Byteflow blog.

Its not ready to be included in main Byteflow tree because of syncdb problems when using MySQL, really ugly templates and incorrect python-openid behavior.

To track current state of this application you can use this branch of Byteflow repository.

Integrating OpenID Server in Byteflow status report

Almost got it working.

OpenID Server will be arranged as Django application to ease further integration with Byteflow blog engine.