Frog me on GitOsp

On the table

We found the OSP blog in the attic and decided to give him a second life..
Get OSP latest news by subscribing to our newsletter.

What have we been up to?

What is that? Some says that those snapshots are to our work what the pictures of a cookbook are to the cooked meal. Source files = ingredients. These arrangements of blocks of text and pictures try harder to depict the most current projects, their narratives, some selected visuals and the source files of everything. We warmly welcome you to study them, improve them, to redistribute copies of them and release your improvements (or unstable versions as you like). Nous sommes embarqués. Read more about the way we work →

work

medor

 

Alexandre Lerayargued

— Merge branch 'master' of git.constantvzw.org:osp.work.medor

Wednesday, 20th August 2014 - 10:41

 

Alexandre Lerayverbalized

— La version de l'appel à souscription en deux colonnes

Wednesday, 20th August 2014 - 10:40

 

Ludiargued

— Medor kiss

Tuesday, 19th August 2014 - 20:53

 

Alexandre Lerayspoke

— Merge branch 'master' of git.constantvzw.org:osp.work.medor

Tuesday, 19th August 2014 - 12:12

 

Alexandre Lerayrevealed

— Un test intermédiaire de l'appel à sous, basé sur les devoirs de
vacances de Pierre

Tuesday, 19th August 2014 - 12:11

tools

html2print

 

Stéphanie Vilayphiouexpressed

— Visit http://localhost:8000/regions-polyfill.html to test CSS regions
with browsers which don't support this feature natively.

Tuesday, 19th August 2014 - 14:13

 

Stéphanie Vilayphioulet out

— update todo

Tuesday, 19th August 2014 - 14:13

 

Stéphanie Vilayphioutalked

— spread button

Tuesday, 19th August 2014 - 14:13

 

Stéphanie Vilayphioupeached

— main section: overflow hidden

Tuesday, 19th August 2014 - 14:13

 

Stéphanie Vilayphioupublished

— rm error in page number

Tuesday, 19th August 2014 - 14:12

tools

ethertoff.js

 

Eric Schrijverpublished

— Fix print button

(it always pointed to index.html)

Tuesday, 19th August 2014 - 13:01

 

Eric Schrijverexposed

— The wiki has a conception of mime-type

Based on the extension of the wiki page, it can present its content in different ways.

For now, markdown documents (*.md) get processed through markdown,
other plain text formats are shown as-is within a <pre>block</pre>

Tuesday, 19th August 2014 - 11:17

 

Eric Schrijververbalised

— Allow for slashes in url: /w/bla/foo-three.txt

Tuesday, 19th August 2014 - 11:17

 

Eric Schrijverbabbled

— Read in a folder from the file system and store its contents in ethertoff’s share.js/livedb/mongo-db storage

Usage: node init.js path_to_folder_to_use_as_wiki_content

Binary files are not actually stored:

{
"_id" : "geo.pyc",
"absPath" : "/Users/e/Documents/Titanium_Studio_Workspace/raduga-server/geo.pyc",
"path" : "geo.pyc",
"mime" : "application/octet-stream",
"binary" : true
}

Text-based files get the data stored in the mongo database directly:

{
"_id" : "alerts.py",
"absPath" : "/Users/e/Documents/Titanium_Studio_Workspace/raduga-server/alerts.py",
"path" : "alerts.py",
"mime" : "text/x-python",
"binary" : false,
"data" : "# -*- coding: utf-8 -*-\n\nimport json\nimport sys\nimport urllib2\n\nimport pymongo\n\nfrom utils import logger\nfrom settings import *\nfrom users import synch_users, delayed_synch_users\n\nclient = pymongo.MongoClient()\n(…)"
}

Tuesday, 19th August 2014 - 11:09

 

Eric Schrijverbring out

— Allow dots in id’s by working around derby’s path notation

Before, passing a slug like: `foo.html` produced errors such as:
Error: Cannot subscribe to a path within a document: documents.foo.html

Thanks to Artur Zayats to help find a workaround:
https://groups.google.com/forum/#!topic/derbyjs/2eyBuDYCBw4

Tuesday, 19th August 2014 - 11:09

 

osp.admin

 

colmdiscovered

— this should update 'outgoing' on the 2014 budget

Thursday, 14th August 2014 - 23:49

 

sarahsaid

— update admin

Wednesday, 25th June 2014 - 21:10

 

Colmcomplained

— updates of the budget file

Wednesday, 25th June 2014 - 20:37

 

colmtweeted

— updated RPI conditions 2014

Tuesday, 13th May 2014 - 08:24

 

Stéphanie Vilayphiouunwraped

— The old new frog in svg.

Monday, 17th March 2014 - 20:53

tools

ethertoff

 

Eric Schrijverargued

— Ethertoff has an animated iceberg

Wednesday, 6th August 2014 - 23:24

 

Eric Schrijverpublished

— Go through with file metaphor the css pad is called style.css

This is 36c8b957bb6490ef52d68420c43f5a8b47ddbc5a from etherbat!

Monday, 30th June 2014 - 08:26

 

Eric Schrijverbabbled

— Show special characters in the uri

I’m not sure we even need to encodeUriComponent: the browser should take care of that behind the scenes

Sunday, 29th June 2014 - 15:19

 

Eric Schrijvertalked

— Don’t actually delete pads from Etherpad, just from the Django (makes some things easier)

Saturday, 28th June 2014 - 21:20

 

Eric Schrijverstated

— It bugged for those pads without actual meta keys

Wednesday, 9th April 2014 - 12:27

tools

screenshot

 

Eric Schrijverdisclosed

— OSP Screenshot Screenshot Screenshot

Wednesday, 6th August 2014 - 23:06

 

Eric Schrijverstated

— Screenshot + known bugs

Thursday, 31st July 2014 - 16:15

 

Eric Schrijverinterpreted

— Now it goes all the way! Use phantoms to automatically create screenshot, then add the browser window around it

phantomjs shot.js http://osp.kitchen/tools/screenshot/ screenshot_test.png 1000px*2000px

see also README.txt

Wednesday, 30th July 2014 - 15:15

 

Eric Schrijvercomplained

— another example

Wednesday, 30th July 2014 - 14:22

 

Eric Schrijvertweeted

— Small tool: takes an image and surrounds it with the Firefox browser UI

Requirements: Ubuntu font

Tuesday, 22nd April 2014 - 09:37

tools

visualculture

 

Eric Schrijverinterpreted

— >>>>>> Blockquotes¡

Wednesday, 6th August 2014 - 23:03

 

Eric Schrijveremited

— Don’t calculate all 147 repos for the homepage, calculate only the 8 that are finally shown

Tuesday, 5th August 2014 - 14:08

 

Eric Schrijverbring out

— The category page also updated to new uri structure

Tuesday, 5th August 2014 - 01:40

 

Eric Schrijverexpressed

— Make the url for visual previews predictable, drop the cache+database, less code, quicker site!

Attempting to view this url:

http://osp.kitchen/visual/osp.foundry.le-patin-helvete/32cb6d3b71a7b03ed985905d615d9bbb875a1e93/width..600/SoundsOfEurope.png.png

Will make visual culture find the corresponding blob in the git, and render a preview at 600px wide.
The image is returned as the response.

However, the image is also saved to disk, in the folder:
visual/osp.foundry.le-patin-helvete/32cb6d3b71a7b03ed985905d615d9bbb875a1e93/width..600/SoundsOfEurope.png.png

Because this is the same path as the url, a properly configured web-server can first
check if the static file exists, and only then pass on the request to the python app.
By not passing through python, the files should be served quicker and put less strain
on the few python processes available (we had unicorn timeouts).
Finally, the API used to keep track of which previews were already rendered through a database—
that part is now cut out.

On the front end, because these urls are predictable, we can generate them in the django templates:
uptil now we were asking the url for images through a javascript api after page load.
this meant a http request for the api, and only then a request for the image
directly requesting images, we cut http requests in half.

important: remove 'vc_cache', from INSTALLED_APPS in your settings.py

Tuesday, 5th August 2014 - 00:19

 

Eric Schrijverpeached

— I get it—there is no index on the server’s bare repos— have to walk down the tree

Monday, 4th August 2014 - 15:35

work

balsamine.2014-2015

 

Stéphanie Vilayphiouemited

— Gros nettoyage du dossier et fichiers flyers.

Pour simplifier les choses, il n'y a plus de fichier "index.html" ni
"content.html". Chaque flyer a son propre fichier du type "bleu.html" ou
"crisscross.html".

* Tous les styles communs sont remis dans le fichier typography2.less.
Seuls les cas d'exception restent dans les fichiers html.
* Pas besoin de div en position absolue pour une mise en page de ce type.
* Les colonnes sont à largeur fixe

Monday, 21st July 2014 - 20:17

 

Stéphanie Vilayphioubabbled out

— mise à jour contenu du site

Monday, 21st July 2014 - 17:36

 

Stéphanie Vilayphiouverbalized

— dernières corrections des flyers que je n'ai jamais pushées apparemment

Monday, 21st July 2014 - 17:10

 

Stéphanie Vilayphioucomplained

— Merge branch 'master' of git.constantvzw.org:osp.work.balsamine.2014-2015

Monday, 21st July 2014 - 16:09

 

Stéphanie Vilayphioucomplained

— contenu site 2014-2015

Monday, 21st July 2014 - 16:09