abrensch/brouter — pull request #13 by nrenner (2014-05-24 09:05:44+00:00)
Title: Profile upload

This is a first implementation for uploading custom profiles with the standalone server, similar to what CgiUpload does. The idea is to publish this in an alpha2 release and to expand on this in future versions (e.g. client-side loading/saving from PC into textarea; loading the selected profile / linked custom profile from the server as a template).

Some notes:
* new argument: custom profile directory
* profile text length is limited to 100000 characters (~100kb)
* file is reused (overwritten) within a browser editing session to avoid creating too many files

For testing, clone brouter-web master or download master (source) zip, will update hosted gh-pages after new release with the required server-side implementation.

I'm not sure about storing custom profiles on the server, fearing these might get too many and that users rely on them being hosted which brings some responsibility. What do you think? Do you see uploading custom profiles rather as temporary or as a permanent store where users can bookmark and share Permalinks to?