]>
git.phdru.name Git - m_librarian.git/log
Oleg Broytman [Thu, 19 May 2016 22:02:25 +0000 (01:02 +0300)]
Output series the book belongs to (if any)
Oleg Broytman [Thu, 19 May 2016 18:45:20 +0000 (21:45 +0300)]
Output (list of) genres for a book
Oleg Broytman [Thu, 19 May 2016 17:29:41 +0000 (20:29 +0300)]
Split --search-type into separate -t/-s/-f options
Oleg Broytman [Sun, 15 May 2016 20:08:26 +0000 (23:08 +0300)]
By default print only titles of the found book
With option `-d` also print the list of authors.
Oleg Broytman [Sun, 15 May 2016 17:26:31 +0000 (20:26 +0300)]
Search and print a list of books by title, series, archive or file name
Oleg Broytman [Sun, 15 May 2016 17:25:38 +0000 (20:25 +0300)]
make clean
Oleg Broytman [Sun, 15 May 2016 16:38:41 +0000 (19:38 +0300)]
Fix trove classifiers: set platform to POSIX only
The programs currently work only on Unix. Also add natural languages.
Oleg Broytman [Sun, 15 May 2016 16:38:02 +0000 (19:38 +0300)]
Fix requirements: m_lib>=2.0
Oleg Broytman [Sat, 14 May 2016 21:54:25 +0000 (00:54 +0300)]
Fix flake8 warning: remove unused variable
Oleg Broytman [Sat, 14 May 2016 16:18:23 +0000 (19:18 +0300)]
Sort results
Oleg Broytman [Sat, 14 May 2016 15:22:01 +0000 (18:22 +0300)]
Fix version
Oleg Broytman [Sat, 14 May 2016 15:17:19 +0000 (18:17 +0300)]
Version 0.0.5: search extensions/genres/languages
Oleg Broytman [Sat, 14 May 2016 15:11:38 +0000 (18:11 +0300)]
Allow to list all extensions and genres
Oleg Broytman [Fri, 13 May 2016 19:14:22 +0000 (22:14 +0300)]
Search languages by name
Oleg Broytman [Fri, 13 May 2016 19:10:08 +0000 (22:10 +0300)]
Search genres by name and title
Oleg Broytman [Fri, 13 May 2016 18:50:59 +0000 (21:50 +0300)]
Document extension search
Oleg Broytman [Fri, 13 May 2016 16:39:37 +0000 (19:39 +0300)]
Search extensions
Oleg Broytman [Fri, 13 May 2016 16:39:10 +0000 (19:39 +0300)]
Fix _search arguments
Oleg Broytman [Fri, 13 May 2016 16:23:07 +0000 (19:23 +0300)]
Fix flake8 warnings
Oleg Broytman [Tue, 10 May 2016 23:53:07 +0000 (02:53 +0300)]
Make distr
Oleg Broytman [Tue, 10 May 2016 22:18:36 +0000 (01:18 +0300)]
Version 0.0.4: command-line script to search authors
Oleg Broytman [Tue, 10 May 2016 22:17:52 +0000 (01:17 +0300)]
There will be a separate subdirectory m_librarian
Oleg Broytman [Tue, 10 May 2016 22:11:01 +0000 (01:11 +0300)]
Include tests in sdist
Oleg Broytman [Tue, 10 May 2016 21:42:00 +0000 (00:42 +0300)]
Include docs in sdist
Oleg Broytman [Mon, 9 May 2016 21:07:46 +0000 (00:07 +0300)]
Search authors by full name
Oleg Broytman [Mon, 9 May 2016 21:07:00 +0000 (00:07 +0300)]
Require SQLObject >= 2.2.1 for CONCAT
Oleg Broytman [Mon, 9 May 2016 21:06:35 +0000 (00:06 +0300)]
Search with expressions
Oleg Broytman [Mon, 9 May 2016 21:05:21 +0000 (00:05 +0300)]
Add descriptive error message
Oleg Broytman [Mon, 9 May 2016 21:04:29 +0000 (00:04 +0300)]
Fix: misc => misc-name
Oleg Broytman [Mon, 9 May 2016 21:00:38 +0000 (00:00 +0300)]
Remove unused import
Oleg Broytman [Sun, 8 May 2016 21:19:09 +0000 (00:19 +0300)]
Fix bugs in counting extensions and languages
Oleg Broytman [Mon, 2 May 2016 16:06:04 +0000 (19:06 +0300)]
Document author search
Oleg Broytman [Sun, 1 May 2016 19:29:36 +0000 (22:29 +0300)]
Исправлены опечатки
Oleg Broytman [Tue, 12 Apr 2016 17:55:13 +0000 (20:55 +0300)]
Describe global options for ml-search.py
Oleg Broytman [Tue, 12 Apr 2016 16:55:30 +0000 (19:55 +0300)]
Add usage for ml-import.py
Oleg Broytman [Mon, 11 Apr 2016 19:16:50 +0000 (22:16 +0300)]
Update MANIFEST.in to include docs in source dist
Also include Makefiles and translations.
Oleg Broytman [Sun, 10 Apr 2016 11:20:46 +0000 (14:20 +0300)]
Simplify run_all output
Oleg Broytman [Sun, 10 Apr 2016 11:03:38 +0000 (14:03 +0300)]
Change Makefile target name
Oleg Broytman [Sun, 10 Apr 2016 10:52:33 +0000 (13:52 +0300)]
Test search_authors
Oleg Broytman [Sun, 10 Apr 2016 10:45:25 +0000 (13:45 +0300)]
Refactoring: move import_inpx to TestCase
Oleg Broytman [Sat, 9 Apr 2016 19:34:59 +0000 (22:34 +0300)]
Update docs: describe command-line scripts
Describe ml-initdb.py and ml-import.py.
Oleg Broytman [Fri, 8 Apr 2016 01:25:41 +0000 (04:25 +0300)]
Exclude sphinx-generated conf.py from flake8
Oleg Broytman [Wed, 6 Apr 2016 19:50:10 +0000 (22:50 +0300)]
Add tests for importing INPX files
Oleg Broytman [Tue, 5 Apr 2016 20:41:54 +0000 (23:41 +0300)]
Update docs: DB URI
Add a section about m_librarian.conf configuration file and
Database URIs.
Oleg Broytman [Tue, 5 Apr 2016 18:24:14 +0000 (21:24 +0300)]
Add tests; test importing list of genres
Oleg Broytman [Tue, 5 Apr 2016 18:04:54 +0000 (21:04 +0300)]
Minor refactoring
Oleg Broytman [Mon, 4 Apr 2016 19:52:08 +0000 (22:52 +0300)]
Refactoring: move module-level initialization into functions
Do not open a database at import time. This is necessary for further
development, especially tests.
Oleg Broytman [Sun, 3 Apr 2016 23:57:08 +0000 (02:57 +0300)]
Add before_begin.rst
Oleg Broytman [Sun, 3 Apr 2016 23:18:23 +0000 (02:18 +0300)]
The project was started in 2015
Oleg Broytman [Sun, 3 Apr 2016 23:16:35 +0000 (02:16 +0300)]
Add scripts/ml-search.py to setup
Remove support for python 2.6 - ml-search.py uses argparse.
Oleg Broytman [Sun, 3 Apr 2016 23:15:32 +0000 (02:15 +0300)]
Librarian => m_Librarian
Oleg Broytman [Sun, 3 Apr 2016 18:32:19 +0000 (21:32 +0300)]
Change HTML theme and Pygments style
Oleg Broytman [Sun, 3 Apr 2016 18:31:46 +0000 (21:31 +0300)]
Generate API docs in docs-ru
Oleg Broytman [Thu, 31 Mar 2016 15:20:09 +0000 (18:20 +0300)]
Rename doc/ to docs/; generate API docs
Oleg Broytman [Thu, 31 Mar 2016 14:56:42 +0000 (17:56 +0300)]
Add description, copyright and license
Oleg Broytman [Thu, 31 Mar 2016 14:54:25 +0000 (17:54 +0300)]
Change PYTHONPATH handling
Oleg Broytman [Thu, 31 Mar 2016 14:42:35 +0000 (17:42 +0300)]
Prioritize Web interface before GUI
Oleg Broytman [Thu, 31 Mar 2016 14:40:13 +0000 (17:40 +0300)]
Start tests
Oleg Broytman [Thu, 31 Mar 2016 14:38:23 +0000 (17:38 +0300)]
Start documentation
Oleg Broytman [Wed, 30 Mar 2016 17:53:17 +0000 (20:53 +0300)]
Do not install translations globally to satisfy flake8
Oleg Broytman [Wed, 30 Mar 2016 17:52:11 +0000 (20:52 +0300)]
Fix a bug: get translations even if locale isn't set
Oleg Broytman [Tue, 29 Mar 2016 21:27:40 +0000 (00:27 +0300)]
Guess case sensitivity
Oleg Broytman [Tue, 29 Mar 2016 19:41:57 +0000 (22:41 +0300)]
Use gettext
Add Russian translation.
Oleg Broytman [Tue, 29 Mar 2016 18:15:27 +0000 (21:15 +0300)]
Refactor search implementation to avoid code duplication
Oleg Broytman [Tue, 29 Mar 2016 18:14:53 +0000 (21:14 +0300)]
Default search type is 'start'
Oleg Broytman [Sun, 27 Mar 2016 21:14:05 +0000 (00:14 +0300)]
Search authors by name/surname/misc name
Add generic search (case sensitive and insensitive; exact search,
substring search and substring anchored to the start) and apply it to
authors.
Oleg Broytman [Sun, 27 Mar 2016 21:12:11 +0000 (00:12 +0300)]
Add unicode-aware function 'lower()' to SQLite
Oleg Broytman [Sun, 13 Mar 2016 16:01:17 +0000 (19:01 +0300)]
Reorder TODO items
Web interface is more important than GUI.
Oleg Broytman [Sun, 6 Mar 2016 13:43:07 +0000 (16:43 +0300)]
Speedup inp import by caching a set of files in the archive
Oleg Broytman [Sat, 5 Mar 2016 23:10:36 +0000 (02:10 +0300)]
Speedup counting books
Count books by author/genre using intermediate tables.
Oleg Broytman [Sun, 28 Feb 2016 00:44:04 +0000 (03:44 +0300)]
Copyright 2016
Oleg Broytman [Thu, 11 Feb 2016 22:00:29 +0000 (01:00 +0300)]
Prevent duplicate authors
Some INP contain duplicate author names like this:
Author,Name:Author,Name
Oleg Broytman [Thu, 11 Feb 2016 21:37:27 +0000 (00:37 +0300)]
Process author names
Oleg Broytman [Thu, 11 Feb 2016 21:34:46 +0000 (00:34 +0300)]
Split name column into 3
Most authors in the INP files have at least a surname, often a name,
sometimes a middle name or a patronymic.
Oleg Broytman [Thu, 11 Feb 2016 21:33:42 +0000 (00:33 +0300)]
Fix DB: most columns must be NOT NULL
Oleg Broytman [Sat, 6 Feb 2016 14:24:12 +0000 (17:24 +0300)]
Fix a minor bug: allow to process all input files
Oleg Broytman [Sat, 6 Feb 2016 14:23:46 +0000 (17:23 +0300)]
Fix a minor bug
Oleg Broytman [Sun, 17 Jan 2016 20:45:52 +0000 (23:45 +0300)]
Add more indices
Oleg Broytman [Sun, 3 Jan 2016 13:05:01 +0000 (16:05 +0300)]
Order changelog entries in reverse direction
Oleg Broytman [Sun, 27 Dec 2015 17:00:29 +0000 (20:00 +0300)]
Remove unused section [easy_install]
Oleg Broytman [Sun, 27 Dec 2015 17:00:24 +0000 (20:00 +0300)]
Add mk-distr
Oleg Broytman [Sat, 26 Dec 2015 19:08:04 +0000 (22:08 +0300)]
Make parse_glst_file generator
Yield immediately instead of appending to a list.
Oleg Broytman [Fri, 25 Dec 2015 22:04:14 +0000 (01:04 +0300)]
More indices
Oleg Broytman [Fri, 25 Dec 2015 21:57:55 +0000 (00:57 +0300)]
Create intermediate tables with unique indices
Oleg Broytman [Fri, 25 Dec 2015 21:32:21 +0000 (00:32 +0300)]
VACUUM all tables after mass-insert
Oleg Broytman [Fri, 25 Dec 2015 21:29:31 +0000 (00:29 +0300)]
Rename data -> glst (fixes)
Oleg Broytman [Fri, 25 Dec 2015 19:41:37 +0000 (22:41 +0300)]
Version 0.0.3
Oleg Broytman [Fri, 25 Dec 2015 19:40:50 +0000 (22:40 +0300)]
Rename data -> glst
Oleg Broytman [Thu, 24 Dec 2015 15:41:07 +0000 (18:41 +0300)]
Version 0.0.3
Oleg Broytman [Thu, 24 Dec 2015 15:39:51 +0000 (18:39 +0300)]
Import many INPX
Add the script to setup.py.
Oleg Broytman [Thu, 24 Dec 2015 15:36:08 +0000 (18:36 +0300)]
Import INP(X)
Oleg Broytman [Thu, 24 Dec 2015 15:13:02 +0000 (18:13 +0300)]
Add indices
Oleg Broytman [Thu, 24 Dec 2015 14:34:24 +0000 (17:34 +0300)]
Pass keywords parameters to insert_name
Oleg Broytman [Thu, 24 Dec 2015 14:21:11 +0000 (17:21 +0300)]
Speedup SQLite connection
But increase the risk of loosing data.
Oleg Broytman [Thu, 24 Dec 2015 14:10:17 +0000 (17:10 +0300)]
Fix Db schema
Books and authors, Books and genres are linked with many-to-many
relations: there are lists of authors and genres for every book.
Oleg Broytman [Tue, 22 Dec 2015 21:07:18 +0000 (00:07 +0300)]
Add insert_name
Insert a unique name if it doesn't exist.
Oleg Broytman [Tue, 22 Dec 2015 21:06:26 +0000 (00:06 +0300)]
Add Book.archive: name of the zip file
Oleg Broytman [Tue, 22 Dec 2015 21:05:12 +0000 (00:05 +0300)]
Add __all__ to mark public names
Oleg Broytman [Mon, 21 Dec 2015 18:03:12 +0000 (21:03 +0300)]
Pre-aplha: there is some working code already
Oleg Broytman [Mon, 21 Dec 2015 15:53:42 +0000 (18:53 +0300)]
Minor refactoring: split test() functions