Andrew Shadura: Kallithea 0.2 released
This post is almost a carbon copy of the Kallithea 0.2 release notes.
Kallithea project have just released Kallithea 0.2. Kallithea is a Python-based GPLv3 source
code management software for web-based hosting of Mercurial and Git repositories.
This release brings many changes since 0.1. Notably, pull requests system
have been improved, making contributing changes more robust. The visual
appearance has also been refined: modern font-based symbolic icons from
FontAwesome and GitHub Octicons have replaced the previously used bitmap
icons, and revision graphs are now drawn with HiDPI display support.
Kallithea now supports Mercurial 3.3 and Dulwich 0.9.9. Several fixes in
the database code boosted performance significantly.
We have also updated our Javascript libraries: jQuery, CodeMirror and Mergely.
Javascript and CSS code have been cleaned up, with less and less code depending
on Yahoo UI library.
Since 0.1 we have discovered two security issues, so all users are strongly
recommended to upgrade. For more details on these issues, please see our
Security Notices page
For more information, see https://kallithea-scm.org/ or
http://docs.kallithea-scm.org/.
The summary of the changes since 0.1 release is below.
Bug fixes:
- forms: add CSRF protection to all forms CVE-2015-0276
- api: don t send internal data unless asked for it CVE-2015-0260
- middleware: fix
force_tlstypo inforce_httpsbackward compatibility code (Issue #44) - rebranddb: update user
extern_typeand_nametointernalinstead ofkallithea(Issue #38) - git: do not fail if git is not installed and has been removed from
__init__.pybackends - git: fix
'name' must be bytestring, not unicodeerror on browsing changesets - git: close SubprocessIOChunker inputstream used for git (Issue #32)
- git: introduce hack for handling git failure on
--depthcloning (Issue #33) - git: fix version detection with unexpected version string (Issue #71)
- git: preserve line endings when calling out to git
- hg: fix clone from svn+http urls using hg-svn (Issue #72)
- migrate: add missing import (Issue #29)
- pullrequests: handle pull requests to empty repos (Issue #27)
- pullrequests: when creating PRs, fix handling of new ajax requests while other ajax requests are pending
- pullrequests: fix updates for PRs between different repositories
- pullrequests: preserve query parameters in pull request overview paging links
- compare: workaround unexpected Mercurial behaviour when finding ancestor of null rev
- javascript: remove trailing comma to please IE8 (Issue #39)
- download: fix for zip file downloads not being valid zips (Issue #35)
- helpers: fix crash on new users without email (Issue #28)
- middleware: change middleware ordering so we don t buffer hgweb output in redirect
- bin: give
kallithea_config.py#!/usr/bin/env pythonso it can be executed directly - bin: reintroduce cleanup-repos paster command
- bin: fix
update_repoinfocommand - urlify: don t include trailing punctuation in markup
- urlify: markup of hashes in
() - styling: don t loop on trying to load kallithea-logo.png after kallithea-logo.svg failed
- error: don t crash on
/error/documenturls - error: don t crash on response without status
- admin: prevent deletion of users that are owners of a repository/user group (Issue #64)
- admin: make settings hook name field smaller so it is less likely to overlap with the value field
- admin: when scanning for repos to add, ignore removed groups
- auth_crowd: fix Admin Group Membership when using the Atlassian Crowd plugin
- auth: enable selecting PAM authentication module
- auth_ldap: fix user automatically activated with LDAP authentication (Issue #78)
- db: fix beaker cache key for user groups don t collide with users
- db: fix handling of (invalid) unicode email addresses
- db: don t use sql in on empty sets in compare avoid warning of bad performance
- db: to the extent it makes sense to have a one byte size limit, make it 255 instead of 256 to please MySQL (Issue #96)
- files: use current revision as default for show at (Issue #31)
- files: fix HTML injection via file names
- files: use forward slash as path separator for consistency
- files: don t use HTML encoding where not needed (Issue #74).
- feed: urlify and escape the commit description
- diff: fix diff of renamed files with whitespace in their names
- diff: don t split lines on bare CR as python splitlines do
- mergely: update Mergely to v3.3.9 (Issue #83)
- jquery: upgrade to 1.11.1
- codemirror: cleanup of integration and update to version 4.7
- setup: constrain dulwich to version 0.9.9, fixes CVE-2015-0838
- gists: add missing formencode.htmlfill import
- ini: Make celeryd.log.level default values uppercase lowercase might not be recognized and cause failure
- notification: handle unicode translations (Issue #95)
- repos: fix redirect after repo creation (and user/group add focus) (Issue #98)
- changeset: don t crash on malformed whitespace parameter return 400 Bad Request
- stats: fix display when no data ready yet
- stats: fix show more link
- ui: use font based icons FontAwesome and Git Hub Octicons from fontello
- ui: HiDPI / Retina support in graphs and other places
- paster: add install-iis command to automate IIS handler generation and update documentation
- email templates: send text/plain part as well
- docs: lots of improvements of structure and content and language
- translations: updated using WebLate
- admin: show links to added repos after repo scan
- admin: show links to created users and groups
- admin: when scanning for repos without remove , report the repos that could/would be removed
- setup: support Mercurial 3.3
- db: drop most lazy joins significant performance improvement
- db: add missing indices significant performance improvement
- db: don t commit session if cache invalidation didn t change anything improves performance
- comment: show full username in emails for PR/changeset comments
- changelog: added Settings to repo context menu
- utils: better display of ages >1 year when in short form
- remotes: add support to clone from Mercurial repositories over ssh
- hg: reimplement branch head listings more efficiently
- pullrequests: use same code and table ui for Repo Pull Requests and My Pull Requests
- pullrequests: add delete button to My Pull Requests overview
- pullrequests: on my pullrequests show the user s own vote as second column next to latest vote
- pullrequests: add option for adding repo owner as reviewer if none assigned
- pullrequests: make top pane one big form with meta data and one save button and preview changes in pane below more like when creating the PR
- pullrequests: make update functionality a separate submit button in the big form, automatically enabled when an update changeset is chosen
- pullrequests: show graph next to the list of changesets that are available for update
- pullrequests: for available changesets, also show changesets that not are descendants and thus not directly available but will be merged in
- pullrequests: show unrelated branch heads in the graph too show the problem instead of trying to explain it
- pullrequests: show pending reviewer changes with (not saved)
- pullrequests: show comment count in top of summary box
- diff: improved parsing, be more strict and fail with good error messages
- diff: handle GIT delta binary patches
- diff: show renamed files as that
- diff: make trailing spaces more visible make vertical line less transparent
- diff: show CR (\r) in diffs
- comment: warn before leaving page with open comments
- comment: clarify shown comment count (inline vs general)
- comment: extend next/previous links to global comments (Issue #91)
- i18n: en translation has been removed make sure to update your .ini files to have lang = (nothing)
- ini: turn
show_revision_numberoff by default - pullrequests: don t give changeset unreviewed status just because it is added to a PR
- pullrequests: tweak readable titles just append
/_/and branch name - pullrequests: only author and admin can close
- pullrequests: don t add repo owner as reviewer in all PRs
- pullrequests: PRs between different repos should default to same destination/source branch
- pullrequests: use
--as separator in the automatic text when updating pull requests and is it to put latest updates first - diff: don t group diffs based on the kind of change
- admin: set current user as owner when running repo scan
- changelog: change default view to 100 changesets, max to 2000
- date representation: use ISO8601 rather than a specific locale
- user groups: drop add/remove all buttons for member selection they are too dangerous and multi-select can do the same
- hg: drop support for hg web.hidden
- template: link the last revision in the file browser to the changeset
- code: Fix typos and language in comments and code
- ui: Correct capitalization and improved English text in the UI
- javascript: use strict mode
- tags: rename old non-Kallithea tags and prefix them with 0.0 to show that Kallithea is superior
- javascript: more jQuery, less YUI, less clutter
- templates: better structure, less cut n paste coding
- html: various improvements
- css: various improvements
- exceptions: avoid silently catching exceptions especially avoid catch all
- tests: stability fixes
- tests: remove large unused test fixture
- whitespacecleanup.sh: run it regularly to ensure consistent whitespace and avoid spurious changes
- controllers: consistently use
formfill.renderwithforce_defaults=False - gists: use
allow_extra_fieldsandfilter_extra_fieldsin gist forms like in most other forms - json: always use
kallithea.lib.compatfor json and nothing else - json: drop simplejson fallback and just use stdlib
- db: check for None instead of boolean false if that is what we mean

I implemented <? support (including <?php )
script embedding support for *.inc in MirWebseite today; the
specific syntax was explicitely requested by 
I find interesting when faced a taken-for-granted situation, in particular in the tech world. This time s history is about an Internet ADSL connection that allows all traffic but SSH. Yes, you read it correctly. It was very bizarre confirming such event was a real-life situation.
I don t claim to be a networking expert but at least I want to think I m well educated. After few minutes I ve focused my efforts on dealing with the ADSL router/modem s networking configuration. The device is provided by Movistar (formerly Telefonica) and it runs OpenRG. I ve discovered that 
This seems as good a day as any to mention that I am a founding member of
ArchiveTeam.

I'm happy to let this guy be the public face of ArchiveTeam in
internet meme-land. It's a 0.1% project for me, and has grown into a
well-oiled machine, albeit one that shouldn't need to exist. I only get
involved these days when there's another crazy internet silo fire drill
and/or I'm bored.
(Rumors of me being the hand model for ArchiveTeam are, however,
unsubstantiated.)
Who are you?
My name is Francesca and I'm totally flattered by your intro. The fearless warrior part may be a bit exaggerated, though.
What have you done and what are you currently working on in FLOSS world?
I've been a Debian contributor since late 2009. My journey in Debian has touched several non-coding areas: from translation to publicity, from videoteam to www. I've been one of the www.debian.org webmasters for a while, a press officer for the Project as well as an editor for DPN. I've dabbled a bit in font packaging, and nowadays I'm mostly working as a Front Desk member.
Setup of your main machine?
Wow, that's an intimate question! Lenovo Thinkpad, Debian testing.
Describe your current most memorable situation as FLOSS member?
Oh, there are a few. One awesome, tiring and very satisfying moment was during the release of Squeeze: I was member of the publicity and the www teams at the time, and we had to pull a 10 hours of team work to put everything in place. It was terrible and exciting at the same time. I shudder to think at the amount of work required from ftpmaster and release team during the release. Another awesome moment was my first Debconf: I was so overwhelmed by the sense of belonging in finally meeting all these people I've been worked remotely for so long, and embarassed by my poor English skills, and overall happy for just being there... If you are a Debian contributor I really encourage you to participate to Debian events, be they small and local or as big as DebConf: it really is like finally meeting family.
Some memorable moments from Debian conferences?
During DC11, the late nights with the "corridor cabal" in the hotel, chatting about everything. A group expedition to watch shooting stars in the middle of nowhere, during DC13. And a very memorable videoteam session: it was my first time directing and everything that could go wrong, went wrong (including the speaker deciding to take a walk outside the room, to demonstrate something, out of the cameras range). It was a disaster, but also fun: at the end of it, all the video crew was literally in stitches. But there are many awesome moments, almost too many to recall. Each conference is precious on that regard: for me the socializing part is extremely important, it's what cements relationships and help remote work go smoothly, and gives you motivation to volunteer in tasks that sometimes are not exactly fun.
You are known as Front Desk member for DebConf's - what work does it occupy and why do you enjoy doing it?
I'm not really a member of the team: just one of Nattie's minions!
You had been also part of DebConf Video team - care to share insights
into video team work and benefits it provides to Debian Project?
The video team work is extremely important: it makes possible for people not attending to follow the conference, providing both live streaming and recording of all talks. I may be biased, but I think that DebConf video coverage and the high quality of the final recordings are unrivaled among FLOSS conferences - especially since it's all volunteer work and most of us aren't professional in the field. During the conference we take shifts in filming the various talks - for each talk we need approximately 4 volunteers: two camera operators, a sound mixer and the director. After the recording, comes the boring part: reviewing, cutting and sometimes editing the videos. It's a long process and during the conference, you can sometimes spot the videoteam members doing it at night in the hacklab, exhausted after a full day of filming. And then, the videos are finally ready to be uploaded, for your viewing pleasure. During the last years this process has become faster thanks to the commitment of many volunteers, so that now you have to wait only few days, sometimes a week, after the end of the conference to be able to watch the videos. I personally love to contribute to the videoteam: you get to play with all that awesome gear and you actually make a difference for all the people who cannot attend in person.
You are also non-packaging Debian Developer - how does that feel like?
Feels awesome! The mere fact that the Debian Project decided - in 2009 via a GR - to recognize the many volunteers who contribute without doing packaging work is a great show of inclusiveness, in my opinion. In a big project like Debian just packaging software is not enough: the final result relies heavily on translators, sysadmins, webmasters, publicity people, event organizers and volunteers, graphic artists, etc. It's only fair that these contributions are deemed as valuable as the packaging, and to give an official status to those people. I was one of the firsts non-uploading DD, four years ago, and for a long time it was just really an handful of us. In the last year I've seen many others applying for the role and that makes me really happy: it means that finally the contributors have realized that they deserve to be an official part of Debian and to have "citizenship rights" in the project.
You were the leading energy on Debian's diversity statement - what gave
you the energy to drive into it?
It seemed the logical conclusion of the extremely important work that Debian Women had done in the past. When I first joined Debian, in 2009, as a contributor, I was really surprised to find a friendly community and to not be discriminated on account of my gender or my lack of coding skills. I may have been just lucky, landing in particularly friendly teams, but my impression is that the project has been slowly but unequivocally changed by the work of Debian Women, who raised first the need for inclusiveness and the awareness about the gender problem in Debian. I don't remember exactly how I stumbled upon the fact that Debian didn't have a Diversity Statement, but at first I was very surprised by it. I asked zack (Stefano Zacchiroli), who was DPL at the time, and he encouraged me to start a public discussion about it, sending out a draft - and helped me all the way along the process. It took some back and forth in the debian-project mailing list, but the only thing needed was actually just someone to start the process and try to poke the discussion when it stalled - the main blocker was actually about the wording of the statement. I learned a great deal from that experience, and I think it changed completely my approach in things like online discussions and general communication within the project. At the end of the day, what I took from that is a deep respect for who participated and the realization that constructive criticism does require certainly a lot of work for all parts involved, but can happen. As for the statement in itself: these things are as good as you keep them alive with best practices, but I think that are better stated explicitly rather than being left unsaid.
You are involved also with another Front Desk, the Debian's one which is involved with Debian's New Members process - what are tasks of that FD
and how rewarding is the work on it?
The Debian Front Desk is the team that runs the New Members process: we receive the applications, we assign the applicant a manager, and we verify the final report. In the last years the workflow has been simplified a lot by the re-design of the nm.debian.org website, but it's important to keep things running smoothly so that applicants don't have too lenghty processes or to wait too much before being assigned a manager. I've been doing it for a less more than a month, but it's really satisfying to usher people toward DDship! So this is how I feel everytime I send a report over to DAM for an applicant to be accepted as new Debian Developer:
How do you see future of Debian development?
Difficult to say. What I can say is that I'm pretty sure that, whatever the technical direction we'll take, Debian will remain focused on excellence and freedom.
What are your future plans in Debian, what would you like to work on?
Definetely bug wrangling: it's one of the thing I do best and I've not had a chance to do that extensively for Debian yet.
Why should developers and users join Debian community? What makes Debian a great and happy place?
We are awesome, that's why. We are strongly committed to our Social Contract and to users freedom, we are steadily improving our communication style and trying to be as inclusive as possible. Most of the people I know in Debian are perfectionists and outright brilliant in what they do. Joining Debian means working hard on something you believe, identifying with a whole project, meeting lots of wonderful people and learning new things. It ca be at times frustrating and exhausting, but it's totally worth it.
You have been involved in Mozilla as part of OPW - care to share
insights into Mozilla, what have you done and compare it to Debian?
That has been a very good experience: it meant have the chance to peek into another community, learn about their tools and workflow and contribute in different ways. I was an intern for the Firefox QA team and their work span from setting up specific test and automated checks on the three version of Firefox (Stable, Aurora, Nightly) to general bug triaging. My main job was bug wrangling and I loved the fact that I was a sort of intermediary between developers and users, someone who spoke both languages and could help them work together. As for the comparison, Mozilla is surely more diverse than Debian: both in contributors and users. I'm not only talking demographic, here, but also what tools and systems are used, what kind of skills people have, etc. That meant reach some compromises with myself over little things: like having to install a proprietary tool used for the team meetings (and getting crazy in order to make it work with Debian) or communicating more on IRC than on mailing lists. But those are pretty much the challenges you have to face whenever you go out of your comfort zone .
You are also volunteer of the Organization for Transformative Works -
what is it, what work do you do and care to share some interesting stuff?
I know there are more of ladies in Debian, so I firstly urge you, for love of Debian, to apply if you are contributing to this project, love its community and want to see Debian taking over the universe (okay, it seems that

Here s a short preview of our latest accepted paper (to appear at
I haven't blogged anything in months and figured that now might be a good time to get around that. Here it goes:
Who are you?
I am

Jo and I just got back from our massive holiday in Australia. We
had an awesome time overall, fitting in lots of stuff
in 4 weeks. Time for a quick write-up and some photos!






