Commits

Author Commit Message Labels Comments Date
Nikolaj Sjujskij
scripts/lodgeit: BSD-licensed
Nikolaj Sjujskij
scripts/lodgeit: use `for` loop when combining rcfiles Improves readability in this certain case (compared to list comprehwension). Suggested by Ronny Pfannschmidt
Nikolaj Sjujskij
Update description and drop unused variable in CLI paster Description should mention global ``/etc/lodgeitrc`` config file and ``server_name`` config key. ``SETTING_KEYS`` was dropped since it is unused anywhere in project and seems to be out-of-date anyway.
Nikolaj Sjujskij
Use global `/etc/lodgeitrc` for CLI-paster on POSIX systems Apps on POSIX systems traditionally make use of global (for all users) config file. In order to implement this for `lodgeit.py`, function `load_default_settings` was split into two separate functions: * `load_default_settings` for determining rcfile list (tuple, actually) to parse and merging configurations; * `parse_rcfile` for actual file parsing
Ronny Pfannschmidt
merge from default
Branches
flask-port
Ronny Pfannschmidt
more cleanup
Branches
flask-port
Nikolaj Sjujskij
Catch exception in netrc handling In absence of ~/.netrc file authentication-related code fails badly. Therefore `netrc.netrc()` should be wrapped in `try: ... except: ...` block.
Ronny Pfannschmidt
lots of cleanups
Branches
flask-port
Ronny Pfannschmidt
pyflakes based cleanups
Branches
flask-port
Ronny Pfannschmidt
use the get_replies function in layout
Branches
flask-port
Ronny Pfannschmidt
various code cleanups
Branches
flask-port
Ronny Pfannschmidt
fix typo
Branches
flask-port
Ronny Pfannschmidt
more context processors, kill dead code
Branches
flask-port
Ronny Pfannschmidt
move generate_paste_hash to model
Branches
flask-port
Ronny Pfannschmidt
template fixes
Branches
flask-port
Ronny Pfannschmidt
reshape the app a bit we now can render pastes again
Branches
flask-port
Ronny Pfannschmidt
kill the rest of the LodgeIt class
Branches
flask-port
Ronny Pfannschmidt
kill i18n things flask-babel provides
Branches
flask-port
Ronny Pfannschmidt
kill unused imports
Branches
flask-port
Ronny Pfannschmidt
push over rpc handling
Branches
flask-port
Ronny Pfannschmidt
kill most of the old app object code, add 404 handler
Branches
flask-port
Ronny Pfannschmidt
clean up pastes views a bit more
Branches
flask-port
Ronny Pfannschmidt
move most of urls/py to the blueprints
Branches
flask-port
Ronny Pfannschmidt
fix most static/help urls
Branches
flask-port
Ronny Pfannschmidt
first version where the new paste view shows
Branches
flask-port
Ronny Pfannschmidt
new branch for flask porting
Branches
flask-port
Ronny Pfannschmidt
move the example wsgi file to a example dir
Ronny Pfannschmidt
merge
Ronny Pfannschmidt
close lodgeit again
Branches
lodgeit
Ronny Pfannschmidt
Merged in caio/lodgeit-main (pull request #6) - paste from clipboard
  1. Prev
  2. Next