Blend tomatoes and purée in a blender until smooth.
In a heavy 4-quart saucepan, cook onion in oil over moderate heat, stirring, until softened (about 8 minutes).
Add puréed tomatoes, tomato paste, brown sugar, vinegar, allspice, and salt.
Simmer, uncovered, stirring frequently, until very thick (about an hour).
Blend mixture until smooth. Cover and chill for two hours before serving.