Igor Chubin
|
08de8f252b
|
routing: if a query contatins space or / it is a question
|
2019-05-11 12:45:00 +02:00 |
|
Igor Chubin
|
b1b8e772ac
|
routing.py: default route + minor cleanup
|
2019-05-11 12:38:02 +02:00 |
|
Igor Chubin
|
33dafa92f7
|
lib/adapter/upstream.py: minor text style improvements
|
2019-05-11 12:36:38 +02:00 |
|
Igor Chubin
|
069fba46aa
|
tests/run-tests.sh: env variables configuration
|
2019-05-11 12:35:32 +02:00 |
|
Igor Chubin
|
dd09537378
|
tests/results/9: section must be specified explicitly
|
2019-05-11 12:29:00 +02:00 |
|
Igor Chubin
|
884161c4c7
|
switched back to bash, because local is not posix anyway + cleanup
|
2019-05-11 07:47:24 +02:00 |
|
Igor Chubin
|
d11b215279
|
removed deprecated share/scripts/get-sheets.sh
|
2019-05-11 07:28:21 +02:00 |
|
Igor Chubin
|
b91e0f5da6
|
upstream queries support
|
2019-05-09 23:03:05 +02:00 |
|
Igor Chubin
|
fed0b15aa4
|
various fixes
|
2019-05-09 22:58:47 +02:00 |
|
Igor Chubin
|
feb23ba263
|
routing.py: do not cache answers marked with {"cache": False}
|
2019-05-09 22:58:03 +02:00 |
|
Igor Chubin
|
748a5af041
|
standalone mode: options handling
|
2019-05-09 22:22:30 +02:00 |
|
Igor Chubin
|
8882613f07
|
lib/adapter/rosetta.py: initial rosetta support
|
2019-05-09 22:20:46 +02:00 |
|
Igor Chubin
|
bc957ac342
|
fetch/update works now
|
2019-05-09 22:20:04 +02:00 |
|
Igor Chubin
|
34f072e8dd
|
latenz adapter minor fixes
|
2019-05-09 22:18:33 +02:00 |
|
Igor Chubin
|
4a3cc9e5a9
|
lib/standalone.py disables cache
|
2019-05-09 22:17:45 +02:00 |
|
Igor Chubin
|
5ec6202bfb
|
online/offline tests
|
2019-05-09 22:15:47 +02:00 |
|
Igor Chubin
|
35a2a157df
|
updated test data
|
2019-05-09 21:53:34 +02:00 |
|
Igor Chubin
|
426dbb9be4
|
fixed the bug with cheat sheets in subdirs
|
2019-05-09 10:04:16 +02:00 |
|
Igor Chubin
|
4baf2c3fb1
|
adapter.internal minor cleanup
|
2019-05-03 08:14:40 +02:00 |
|
Igor Chubin
|
e21f53d87b
|
bin/srv.py: minor fix
|
2019-05-01 21:19:30 +02:00 |
|
Igor Chubin
|
b7ba222cb8
|
learnxiny.py: use local_repository_location()
|
2019-05-01 20:56:00 +02:00 |
|
Igor Chubin
|
d94ca8458f
|
switched to new configuration interface
|
2019-05-01 20:48:05 +02:00 |
|
Igor Chubin
|
eef1485867
|
lib/standalone.py: output is UTF-8
|
2019-05-01 20:43:32 +02:00 |
|
Igor Chubin
|
73fb9cc861
|
globals.py cleanup; configuration moved to config.py
|
2019-05-01 20:43:08 +02:00 |
|
Igor Chubin
|
5f1038f6c1
|
new module: config.py
|
2019-05-01 20:42:31 +02:00 |
|
Igor Chubin
|
857daf3455
|
rosetta.py: use local_repository_locaion()
|
2019-05-01 10:32:59 +02:00 |
|
Igor Chubin
|
528c6fbaec
|
moved routing table to globals.py
|
2019-05-01 10:22:29 +02:00 |
|
Igor Chubin
|
2bf84e07a2
|
removed a reference to unused page /:share
|
2019-05-01 10:14:18 +02:00 |
|
Igor Chubin
|
857b07b3c5
|
adapter/latenz.py refactoring
|
2019-05-01 10:13:48 +02:00 |
|
Igor Chubin
|
407c8b6eff
|
globals.py: minor changes
|
2019-05-01 09:55:50 +02:00 |
|
Igor Chubin
|
6a78a54537
|
configurable active adapters
|
2019-05-01 09:52:16 +02:00 |
|
Igor Chubin
|
acbb260e9c
|
adapter/adapter.py: identify/find adapter by name
|
2019-05-01 09:31:57 +02:00 |
|
Igor Chubin
|
22dfb74f72
|
lib/adapter/__init__.py: load adapter modules dynamically
|
2019-05-01 09:30:56 +02:00 |
|
Igor Chubin
|
cb7507686c
|
lib/globals.py: partial cleanup
|
2019-04-30 22:54:10 +02:00 |
|
Igor Chubin
|
3bd31f94a4
|
adapter/adapter.py: minor clean up
|
2019-04-30 22:53:40 +02:00 |
|
Igor Chubin
|
0060f6c8fc
|
a couple of functions documented
|
2019-04-30 22:52:54 +02:00 |
|
Igor Chubin
|
be47625960
|
taking Tldr and Cheat from corrent modules
|
2019-04-30 22:48:45 +02:00 |
|
Igor Chubin
|
19ba5bafad
|
adapter/cmd.py: tldr and cheat moved to separate modules
|
2019-04-30 22:46:42 +02:00 |
|
Igor Chubin
|
d02b0efb70
|
lib/adapter/rosetta.py: use CheatSheets.local_repository_location() instead of PATH_CHEAT_SHEETS
|
2019-04-30 22:45:48 +02:00 |
|
Igor Chubin
|
b51a38fd3a
|
new adapter abstract class for repositories: RepositoryAdapter
|
2019-04-30 22:35:29 +02:00 |
|
Igor Chubin
|
86650ccd6c
|
refactored adapter/cheat_sheets.py
|
2019-04-30 22:34:35 +02:00 |
|
Igor Chubin
|
016ebb1661
|
new adapter modules: cheat_cheat, tldr
|
2019-04-30 22:29:41 +02:00 |
|
Igor Chubin
|
dbde5e00c5
|
separated the Cheat Adapter to a module
|
2019-04-30 22:29:09 +02:00 |
|
Igor Chubin
|
58af6648c8
|
separated the Tldr Adapter to a module
|
2019-04-30 22:28:28 +02:00 |
|
Igor Chubin
|
2d59158b4b
|
lib/adapter/internal.py: minor fix
|
2019-04-30 22:25:39 +02:00 |
|
Igor Chubin
|
0dda89c108
|
lib/frontend/ansi.py: minor fix
|
2019-04-30 22:25:17 +02:00 |
|
Igor Chubin
|
0f128a91b2
|
added lib/standalone.py for queries in standalone mode
|
2019-04-30 22:24:56 +02:00 |
|
Igor Chubin
|
c0ac121809
|
added lib/fetch.py: to fetch/update repositories
|
2019-04-29 20:26:16 +02:00 |
|
Igor Chubin
|
bc2266a864
|
initial support for repositories fetch/update
|
2019-04-29 20:25:52 +02:00 |
|
Igor Chubin
|
c160017593
|
use yaml.SafeLoader
|
2019-04-29 20:08:16 +02:00 |
|