836 Commits

Author SHA1 Message Date
03a122c41f Dockerfile: add --no-cache to save some space 2020-10-01 22:33:29 +02:00
5cd6c22d73 Reorganise the README file 2020-10-01 22:25:53 +02:00
e1b41b5f64 Typo in README 2020-10-01 00:18:48 +02:00
9ce6acba20 Fix gunicorn related typo 2020-10-01 00:07:41 +02:00
6192ff4081 gunicorn with --preload
To only load the code once (and start autotrim once)
2020-10-01 00:05:39 +02:00
056a1b143f crawler: autotrim: make ctrl+c working 2020-10-01 00:04:36 +02:00
eed949736a crawler: add ability to limit cache size 2020-09-30 23:59:55 +02:00
2fc7cd391c Shift __main__'s wsgi code where it belongs 2020-09-30 23:24:51 +02:00
d9f46b23a6 crawler: default value for MYSQL_HOST (localhost) 2020-09-30 13:17:02 +02:00
bbada0436a Quick guide to ignore SSL certs 2020-09-27 16:48:22 +02:00
039a672f4e wsgi: clean up url reconstruction 2020-09-27 16:28:26 +02:00
b290568e14 README: decent line length
Obtained from the output of:
python -m morss --help | cat
2020-09-15 23:01:42 +02:00
9ecf856f10 Add :resolve to remove (some?) tracking links 2020-09-15 22:57:52 +02:00
504ede624d Logo CC BY-NC-SA 4.0 2020-09-03 13:17:58 +02:00
0d89f0e6f2 Add a logo
B&W edition of the logo at https://morss.it/
2020-08-28 21:28:07 +02:00
56e0c2391d Missing import for served files 2020-08-28 20:53:03 +02:00
679f406a12 Default mimetype for served files 2020-08-28 20:52:43 +02:00
f6d641eeef Serve any file in www/
Also fixes #41
2020-08-28 20:45:39 +02:00
2456dd9bbc Fix broken pieces
Including #43
2020-08-28 19:38:48 +02:00
0f33db248a Add license info in each file 2020-08-26 20:08:22 +02:00
d57f543c7b README: remove todo 2020-08-24 21:17:31 +02:00
fba112147c README: make it clear that the internal server is _very_ basic 2020-08-24 21:14:48 +02:00
8697c3f0df Remove remaining --debug from README 2020-08-24 19:39:27 +02:00
75935114e4 Remove leftover code 2020-08-23 19:07:12 +02:00
5bd2557619 Fix typo in provided .htaccess 2020-08-23 19:01:34 +02:00
598a2591f1 Dockerfile: remove confusing one-liner code 2020-08-23 18:59:16 +02:00
e76ab2b631 Update gunicorn instructions 2020-08-23 18:59:02 +02:00
aa9143302b Remove now-unused isInt code 2020-08-23 18:51:09 +02:00
0d62a7625b Define http port via env vars as well 2020-08-23 18:50:18 +02:00
bd0efb1529 crawler: missing os import 2020-08-23 18:45:44 +02:00
47a17614ef Rename morss/cgi.py into morss/wsgi.py
To avoid name collision with the built-in cgi lib
2020-08-23 18:44:49 +02:00
4dfebe78f7 Pick caching backend via env vars 2020-08-23 18:43:18 +02:00
dcd3e4a675 cgi.py: add missing impots 2020-08-23 18:31:05 +02:00
e968b2ea7f Remove leftover :debug code 2020-08-23 16:59:34 +02:00
0ac590c798 Set MAX_/LIM_* settings via env var 2020-08-23 16:09:58 +02:00
fa1b5aef09 Instructions for DEBUG= use 2020-08-23 15:31:11 +02:00
7f6309f618 README: :silent was explained twice 2020-08-23 14:34:04 +02:00
f65fb45030 :debug completely deprecated in favour of DEBUG= 2020-08-23 14:33:32 +02:00
6dd40e5cc4 cli.py: fix Options code 2020-08-23 14:25:09 +02:00
0acfce5a22 cli.py: remove log 2020-08-23 14:24:57 +02:00
97ccc15db0 cgi.py: rename parseOptions to parse_options 2020-08-23 14:24:23 +02:00
7a560181f7 Use env var for DEBUG 2020-08-23 14:23:45 +02:00
baccd3b22b Move parseOptions to cgi.py
As it is no longer used in cli.py
2020-08-22 00:37:34 +02:00
f79938ab11 Add :silent to readme & argparse 2020-08-22 00:02:08 +02:00
5b8bd47829 cli.py: remove draft code 2020-08-21 23:59:12 +02:00
b5b355aa6e readabilite: increase penalty for high link density 2020-08-21 23:55:04 +02:00
94097f481a sheet.xsl: better handle some corner cases 2020-08-21 23:54:35 +02:00
8161baa7ae sheet.xsl: improve css 2020-08-21 23:54:12 +02:00
bd182bcb85 Move cli code to argParse
Related code changes (incl. :format=xyz)
2020-08-21 23:52:56 +02:00
c7c2c5d749 Removed unused filterOptions code 2020-08-21 23:23:33 +02:00