Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Delicious Things
Python JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
slasti
test
COPYING
INSTALL
INSTALL.mod_wsgi
README
del2sla.py
edit.js
slasti-users.conf
slasti.wsgi

README

Slasti version 2.0.3-dev
Unfortunately, Oishii was taken, so Slasti it is.

TODO:
 - redo filesystem-based tagbase format with an index, /tags take too long
 - search, aggregate in tags page - for tablets with poor ^F
 - invoke del2sla from an upload form
   - what if pre-existing marks exist? how to merge?
 - dedup URLs (show found ones at the time of entry)
 - localizations
 - make .substitute to return a list-of-strings; million useless .join now
 - replace sgmllib.SGMLParser with something better. Fails at HTML:
http://www.reallifecomics.com/
<title>Real Life Comics - The Online Comic &copy;1999-2010 Greg Dean</title>
http://www.bazl.admin.ch/experten/regulation/03080/03081/index.html
<title>BAZL - Anh&auml;nge zur Konvention der ... (ICAO)</title>
    - re
    - xml.dom.minidom (h/t torgomatic)
    - <Alex_Gaynor> zaitcev: lxml is the best (IMO) + PyQuery for parsing HTML
   see also http://docs.python.org/2/library/xml.html#xml-vulnerabilities
 - configurable templates loaded from text files
 - how about a templatized root (not user's root, the root root in slasti.wsgi)
   - add version to it, extract from where? only in README at present
 - 2.0.1 bookmarklet cannot be used unless already logged in, needs a retry.
 - bookmarklet cannot pre-load a Github page, fails with:
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src https://assets-cdn.github.com https://collector-cdn.github.com").
 - Implement HEAD, make sure returns no body on error
 - report basic performance data (in-page or out-of-band, either works)
 - "Edit" buttons in page listsings, it's an extra step to edit currently
 - rate-limit logins
 - look into 3rd party login with Mozilla (what's its name? Persona?)
   - they already cancelled that lol - search for a better provider
 - obey hosts.deny and make sure that denyhosts parses the logs

fixup TODO for templates:
 - rename "jsondict" into something sensible
 - template docs for 2.0
   - macro variables list - document starting with underscore
 - Run down XXX

zaitcev@kotori.zaitcev.us
Something went wrong with that request. Please try again.