1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-30 10:03:13 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Igor Chubin
c59bdab2f2 cheat_wrapper.py splitted into fmt/ and frontend/ 2019-02-16 20:11:34 +01:00
Igor Chubin
b404a29e10 added initial support for multilingual answers 2019-01-31 00:36:14 +00:00
Igor Chubin
7dfbd50d95 debug starting mode (with env variables) 2019-01-31 00:32:09 +00:00
Igor Chubin
7771269f49 fvaicon.ico may be anywhere 2018-09-23 19:11:16 +00:00
Vadim Zhukov
5a84c230af User agents are "normalized" to lower case, so make it "openbsd ftp" instead. 2018-08-17 19:14:56 +03:00
Igor Chubin
9bccb17bb4 moved SERVER_ADDRESS and SERVER_PORT to globals.py 2018-08-16 19:27:58 +03:00
Vadim Zhukov
a8348037ac Add OpenBSD ftp(1) to the list of plaintext user agents. 2018-08-15 02:51:03 +03:00
Brandon Lopez
22953bb109 Can now build a Docker image of the app with cheatsheets pulled in at build time and use Docker Compose to get it running with Redis 2018-07-29 23:51:41 -07:00
Brandon Lopez
3e5641470a FIx srv.bin to work -- listens on 0.0.0.0 2018-07-27 16:16:05 -07:00
Igor Chubin
7cb4d9dedd return text/plain always for :cht.sh (fixes #46) 2018-07-15 08:30:43 +00:00
Igor Chubin
912e77faa3
Merge pull request #58 from md2perpe/fix-mydir
Fix incorrect MYDIR
2018-07-14 21:35:17 +02:00
Per Persson
251256d418 Fix incorrect MYDIR 2018-07-13 23:59:01 +02:00
Per Persson
b8ab35db77 Move 'not'
I think that this small change makes the code somewhat more readable.
Logic: not any([ b1, b2, b3, ... ]) == all([ not b1, not b2, not b3, ... ])
2018-07-13 21:33:08 +02:00
Per Persson
6f36a5a360 Simplify logic
if <condition>:
    return False
return True

is equivalent to

return not <condition>
2018-07-13 21:31:45 +02:00
Igor Chubin
4e288f9c88 use malformed-response.html instead of high load failure 2018-07-12 20:40:39 +00:00
cclauss
ae9004bff2 Modernize Python 2 code to get ready for Python 3 2018-07-03 22:09:51 +02:00
Igor Chubin
c08b67f46d initiall /:shell/ support 2018-07-03 10:32:22 +00:00
Igor Chubin
dc14962f91 stateful queries support (/:last) 2018-05-19 21:03:16 +00:00
Igor Chubin
26e102fc16 bin/srv.py cleanup 2018-05-05 12:50:24 +00:00
Igor Chubin
3efec3d0dd added new options: c, C, Q 2018-05-04 22:57:50 +00:00
Igor Chubin
6491bfbe70 decode utf-8 before logging 2017-06-02 15:47:18 +00:00
Igor Chubin
0609f0fb23 queries logging, github buttons, ?T and ?q 2017-05-26 09:17:39 +00:00
Igor Chubin
4fe6640ea4 initial prealpha version: added bin/ and lib/ 2017-05-08 21:21:19 +00:00