Commit Graph
100 Commits
Author SHA1 Message Date
jar3b 9d78dd9ef1 Merge branch 'master' into develop 2021-03-22 12:53:28 +03:00
jar3b 0ece16d5c4 bump: libs 2021-03-22 00:47:30 +03:00
jar3b 966bec093f refactor: remove unused python2 code, optimize imports 2020-02-19 01:29:08 +03:00
jar3b d03aa0a78c debug: remove logging for '__get_suggest' 2020-02-19 00:45:22 +03:00
jar3b 67cfd34a66 debug: fix logging for '__get_suggest' 2020-02-19 00:42:20 +03:00
jar3b 03d432cb25 debug: add logging for '__get_suggest' 2020-02-19 00:41:08 +03:00
jar3b 63815b0871 fix: "TypeError: reading file objects must return bytes objects" while creating DB from directory (after lxml update) 2020-02-02 02:05:05 +03:00
jar3b 9d4928a9e5 feat: update license (year) and .gitingore 2020-02-02 02:04:26 +03:00
jar3b ec6fc6a8c0 Update configs, fix soap url 2018-11-07 18:49:44 +03:00
jar3b 1452debf94 Update requirements.txt 2018-11-07 18:37:59 +03:00
jar3b 56ba93b1b7 Update readme and requirements.txt 2018-11-07 18:35:21 +03:00
Jack Stdin 85e1ecfbaa Add codecs.open instad of open (for DB fetcher on Win7) 2017-01-25 12:05:29 +03:00
jar3b f2659b0010 Add multiple error route 2016-09-22 12:22:12 +03:00
jar3b e11a9811c9 Updating readme 2016-09-22 12:19:36 +03:00
jar3b f688e0c411 Fix requirements and readme 2016-09-22 11:45:27 +03:00
jar3b 79d14ce13e Switch to bottle-oop-rest lib supports gevent 2016-09-22 10:55:43 +03:00
jar3b afd61dae19 Add "OPTIONS" handling for more restful responses 2016-09-21 17:19:45 +03:00
jar3b 2f5df29d0a Add systemd config for gunicorn (description in readme) 2016-06-26 15:19:46 +03:00
jar3b cf74075b00 Added end-processed check on DB create 2016-06-26 14:48:22 +03:00
jar3b f079a1edbb Fix manage.py version result 2016-06-26 14:29:47 +03:00
jar3b eeebf5f8d3 Update manage to serve DB (create with spec version) 2016-06-26 14:21:11 +03:00
jar3b d4668833dc Updated readme 2016-04-25 12:23:08 +03:00
jar3b 7a2ba33d49 Updated readme 2016-04-25 12:16:16 +03:00
jar3b 67f64b7aec Add gitkeep 2016-04-25 11:51:02 +03:00
jar3b 893d1576e3 Readme updated 2016-04-25 11:47:08 +03:00
jar3b 552a6355c7 Add gunicorn config 2016-04-25 11:09:22 +03:00
jar3b 3e6ccc96a1 Renamed wsgi module 2016-04-25 11:06:49 +03:00
jar3b fc3d2f5e64 Updated README.md 2016-04-24 13:17:05 +03:00
jar3b 27efa759ef Updated README.md and config (slashes for unix socket) 2016-04-24 12:58:50 +03:00
jar3b 72d0036879 Some API fix:
now /find/<text>?strong=<0,1> is right route,
'find' always returns array
2016-04-24 12:31:18 +03:00
jar3b 682200c4c1 Readme updated 2016-04-22 16:45:50 +03:00
jar3b c7f0de74a5 Big commit for py3 2016-04-22 14:30:05 +03:00
jar3b 9ed372857e Fixes #10 2016-04-15 17:07:45 +03:00
jar3b 9d3590e5a4 Add regioncode to FIAS result set 2016-03-24 12:17:57 +03:00
jar3b c99db3ceea Add check if no results in __normalize method 2016-03-21 13:17:23 +03:00
jar3b 2b71f7680e Add gettext feature (/gettext/<aoid>) 2016-03-21 13:08:49 +03:00
jar3b aa604cc7b7 Merge pull request #9 from jar3b/strong_search
Implemented "strong" search
2016-03-17 17:14:50 +04:00
jar3b d05f2a37fb Remove debug output in search.py 2016-03-17 16:13:17 +03:00
jar3b e764b44da4 Some corrections in strong search 2016-03-16 22:18:36 +03:00
jar3b 8dff95c692 Config refactoring 2016-03-16 20:34:08 +03:00
jar3b 2374afe21c Start working with strong search 2016-03-16 18:09:45 +03:00
jar3b cbeedcc985 Fix Bottle http server running 2016-03-15 17:25:56 +03:00
jar3b e1e9d15414 Updated readme.md 2016-03-15 13:35:42 +03:00
jar3b 356bcf74c4 Add log filename to config 2016-03-15 12:59:33 +03:00
jar3b 255f895993 Fix callable (3rd) 2016-03-15 12:53:13 +03:00
jar3b 6425471dae Fix callable (2nd) 2016-03-15 12:50:38 +03:00
jar3b 4d24ec4f66 Fix callable 2016-03-15 12:48:38 +03:00
jar3b 64a9333d68 Implement callable in BottleCL 2016-03-15 12:45:35 +03:00
jar3b 92628d076b Merge pull request #8 from jar3b/dev
Dev
2016-03-15 12:18:18 +03:00
jar3b 8d0a54618e Small refactoring (static method and comments) 2016-03-14 17:39:43 +03:00
jar3b 5e310df926 Added error logging on HTTP requests (if config.basic.logging is enabled) 2016-03-14 13:21:45 +03:00
jar3b 7076a13c53 Refactor: using short import names 2016-03-14 12:52:03 +03:00
jar3b f03cd63faa Fix program won't exit if rar file doesn't exists. Mod readme.md. 2016-03-13 01:44:22 +03:00
jar3b 7462e50e37 Add logging for sphinx query time (if logging == True in config) 2016-03-12 21:09:55 +03:00
jar3b 0d9cfbfd3b Auto-create necessary folders for Sphinx. Mod Readme.md 2016-03-12 21:00:30 +03:00
jar3b a5f4344ecb Fix manage.py config. Fix warning in xmlparser.py (null check) 2016-03-12 20:22:35 +03:00
jar3b ad70ef7742 Fixes #7 2016-03-12 20:14:28 +03:00
jar3b 19d80f5811 Small config rework. Add .gitignore 2016-03-12 19:54:24 +03:00
jar3b b0914d58f5 Add bottle class proto (and simple class method routing) 2016-03-12 18:24:02 +03:00
jar3b 3fe80ecef8 Переделан конфиг (теперь не нужны правки в package), обновлено
Readme.
2016-03-11 21:53:34 +03:00
jar3b 88ec3066a1 Test global ip with Sphinx 2016-03-07 20:06:24 +03:00
Jack Stdin 4f5ce9eecb Valid url to SOAP nalog.ru 2016-02-23 22:30:48 +03:00
Jack Stdin 86426d4803 Refactor. Deleted setup.py 2016-02-23 22:29:12 +03:00
Jack Stdin dc8e5d35a7 Add user rank to result query (sphinx) 2016-02-22 21:37:06 +03:00
Jack Stdin 685c719ec1 Add short name splitting into second field 2016-02-21 21:55:46 +03:00
Jack Stdin c4b516a28c Разделен индекс на основу (полную форму) и сокращение. Поправлено Readme с учетом новых реалий. 2016-02-21 01:08:16 +03:00
Jack Stdin 5a5c2211db Добавлена настройка соединения Sphinx (возможен Unix Socket) 2016-02-21 00:15:12 +03:00
Jack Stdin c2799674b3 Теперь в приоритете наиболее короткий адрес. 2016-02-20 16:56:15 +03:00
Jack Stdin 955c72c01c Переделан слегка индекс, наброски алго поиска с сокращениями 2016-02-20 16:18:09 +03:00
Jack Stdin 9f67e139d6 Пробный индекс неактуальных пунктов 2016-02-18 15:07:40 +03:00
Jack Stdin ce934b9f1b Добавлена пост-обработка часто встречающихся слов 2016-02-18 13:18:38 +03:00
Jack Stdin 5d9be67b00 Обновлены зависимости, sort results (ratio) anyway 2016-02-18 12:56:33 +03:00
Jack Stdin 9c68353232 Обновлено Readme.md 2016-02-15 13:59:12 +03:00
Jack Stdin 3005886777 Remove logging input details 2016-02-15 12:53:01 +03:00
Jack Stdin e60176695d Add url.unquote for input text 2016-02-15 12:48:32 +03:00
Jack Stdin 9924c51c80 Add utf-8 decode for postgres query 2016-02-15 12:40:34 +03:00
Jack Stdin de42a93ed0 Add query logging 2016-02-15 12:36:56 +03:00
Jack Stdin 9e72041d04 Add unicoding of input string (wordentries) 2016-02-15 12:28:13 +03:00
Jack Stdin 14118e4b0d Add logging option 2016-02-15 12:16:53 +03:00
Jack Stdin 56f44e324a Add allow-origin header 2016-02-15 02:03:59 +03:00
Jack Stdin a955916690 Обновлено readme (правки с pg_trgm, начальная настройка) 2016-02-15 01:15:34 +03:00
Jack Stdin 3b1197213c Тперь архив не будет удален, если мы его не качали. 2016-02-15 00:13:01 +03:00
Jack Stdin d718df1fed Add good create-update behaviour 2016-02-14 18:24:53 +03:00
Jack Stdin 68a8445dd3 Fix 0 entry on db creation 2016-02-14 18:07:38 +03:00
Jack Stdin e248c31ffc Addd check if temp folder exists 2016-02-14 17:47:12 +03:00
Jack Stdin 9a0cf44ff3 Fix tmp dir creation. 2016-02-14 17:07:27 +03:00
Jack Stdin 39df2adef5 Root check removed 2016-02-14 16:51:52 +03:00
Jack Stdin 61435791fc Проверка на root только для Linux (в винде не надо) + Fixes #4 2016-02-14 16:15:10 +03:00
Jack Stdin cb1da8dd5f Добавлена возможность импорта из rar-архива. (Fixes #6) 2016-02-14 16:02:23 +03:00
Jack Stdin a0a3ec83c6 Добавлена проверка на root для создания БД ( Fixes #5 ) 2016-02-14 15:23:38 +03:00
Jack Stdin 165f4c9b2c Повтор последнего. 2016-02-14 00:42:25 +03:00
Jack Stdin e252ae0cb8 Еще один мелкий фикс, траблы были, если пароль от базы неверный. 2016-02-14 00:41:18 +03:00
Jack Stdin e36915a365 Re fixes #3 2016-02-14 00:38:19 +03:00
Jack Stdin 83d2b5ea37 Поправлены логи, fixes #3 2016-02-14 00:32:11 +03:00
Jack Stdin 0dfc3b36ee Добавлена строка приглашения для manage.py 2016-02-14 00:23:48 +03:00
Jack Stdin 6aa8078536 Изменения для установщика 2016-02-13 23:58:44 +03:00
Jack Stdin c2a89956b1 Добавлены иструкции по установке. 2016-02-13 23:32:03 +03:00
Jack Stdin 9b8cdf5ad1 Add requirements.txt 2016-02-13 21:59:37 +03:00
Jack Stdin 897ea66046 Изменена генерация индексов, начало обработки "частых" слов. 2016-02-03 17:30:47 +03:00
Jack Stdin 29a26132e1 Lint рефактор (кое-что поправлено) 2016-02-03 14:33:01 +03:00