]> git.phdru.name Git - m_librarian.git/log
m_librarian.git
9 years agoOpen file as an SQLite DB
Oleg Broytman [Mon, 30 May 2016 21:32:11 +0000 (00:32 +0300)]
Open file as an SQLite DB

Convert a relative path to an absolute, and an absolute to
an SQLite DB URI.

9 years agoPrint count after the list
Oleg Broytman [Mon, 30 May 2016 21:18:49 +0000 (00:18 +0300)]
Print count after the list

9 years agoRename -d/--details options to -v/--verbose
Oleg Broytman [Mon, 30 May 2016 21:09:56 +0000 (00:09 +0300)]
Rename -d/--details options to -v/--verbose

9 years agoUpdate TODO
Oleg Broytman [Mon, 30 May 2016 19:35:42 +0000 (22:35 +0300)]
Update TODO

9 years agoVersion 0.0.9: search authors/extensions/genres/languages by database id 0.0.9
Oleg Broytman [Mon, 30 May 2016 17:50:51 +0000 (20:50 +0300)]
Version 0.0.9: search authors/extensions/genres/languages by database id

9 years agoSearch authors/extensions/genres/languages by database id
Oleg Broytman [Mon, 30 May 2016 17:45:48 +0000 (20:45 +0300)]
Search authors/extensions/genres/languages by database id

9 years agoDocument searching by database id
Oleg Broytman [Mon, 30 May 2016 17:41:04 +0000 (20:41 +0300)]
Document searching by database id

9 years agoMinor refactoring
Oleg Broytman [Sun, 29 May 2016 20:56:20 +0000 (23:56 +0300)]
Minor refactoring

9 years agochmod docs for sdist
Oleg Broytman [Sun, 29 May 2016 18:33:05 +0000 (21:33 +0300)]
chmod docs for sdist

9 years agoVersion 0.0.8: search by database id 0.0.8
Oleg Broytman [Sun, 29 May 2016 18:19:33 +0000 (21:19 +0300)]
Version 0.0.8: search by database id

9 years agoSearch by author's, book's, extension's, language's id
Oleg Broytman [Sun, 29 May 2016 18:14:02 +0000 (21:14 +0300)]
Search by author's, book's, extension's, language's id

9 years agoOutput count of found objects
Oleg Broytman [Sun, 29 May 2016 18:13:47 +0000 (21:13 +0300)]
Output count of found objects

9 years agoEncode all unicode values to output to a file/pipe
Oleg Broytman [Sun, 29 May 2016 17:52:32 +0000 (20:52 +0300)]
Encode all unicode values to output to a file/pipe

9 years agoUse option -d to output database id
Oleg Broytman [Sun, 29 May 2016 16:37:39 +0000 (19:37 +0300)]
Use option -d to output database id

9 years agoFix quotation
Oleg Broytman [Sun, 29 May 2016 16:15:01 +0000 (19:15 +0300)]
Fix quotation

Replace simple apostrophes by unicode single quotes - apostrophes are
recognized as the start of strings.

9 years agoMake option -d global
Oleg Broytman [Sun, 29 May 2016 16:10:54 +0000 (19:10 +0300)]
Make option -d global

9 years agoFix new flake8 E402: module level import not at top of file
Oleg Broytman [Sun, 29 May 2016 15:54:52 +0000 (18:54 +0300)]
Fix new flake8 E402: module level import not at top of file

9 years agoRefactor find parameters
Oleg Broytman [Thu, 26 May 2016 13:27:54 +0000 (16:27 +0300)]
Refactor find parameters

There is no need to search files in depth. Optimization: filter by name
then by type.

9 years agoAdd test for searching books by authors
Oleg Broytman [Wed, 25 May 2016 18:50:52 +0000 (21:50 +0300)]
Add test for searching books by authors

9 years agoFix test
Oleg Broytman [Wed, 25 May 2016 15:43:14 +0000 (18:43 +0300)]
Fix test

9 years agoVersion 0.0.7: search books by authors, extensions, genres, languages 0.0.7
Oleg Broytman [Tue, 24 May 2016 22:01:27 +0000 (01:01 +0300)]
Version 0.0.7: search books by authors, extensions, genres, languages

9 years agoSearch books by genre's name and title
Oleg Broytman [Tue, 24 May 2016 21:59:10 +0000 (00:59 +0300)]
Search books by genre's name and title

9 years agoSearch books by author's names
Oleg Broytman [Tue, 24 May 2016 21:47:20 +0000 (00:47 +0300)]
Search books by author's names

9 years agoFix a bug
Oleg Broytman [Tue, 24 May 2016 21:21:07 +0000 (00:21 +0300)]
Fix a bug

9 years agoRefactoring: _get_values
Oleg Broytman [Tue, 24 May 2016 21:05:11 +0000 (00:05 +0300)]
Refactoring: _get_values

9 years agoSearch books by language
Oleg Broytman [Mon, 23 May 2016 20:27:54 +0000 (23:27 +0300)]
Search books by language

9 years agoSearch books by extension
Oleg Broytman [Mon, 23 May 2016 20:25:00 +0000 (23:25 +0300)]
Search books by extension

9 years agoRefactoring: allow expressions to be None
Oleg Broytman [Mon, 23 May 2016 20:20:31 +0000 (23:20 +0300)]
Refactoring: allow expressions to be None

9 years agoRefactoring: add mk_search_conditions
Oleg Broytman [Mon, 23 May 2016 19:56:03 +0000 (22:56 +0300)]
Refactoring: add mk_search_conditions

Rename _search_with_operator to _mk_search_conditions_with_operator.
Remove _search_start, _search_substring, _search_full.

9 years agoSort books by series, serial number and title
Oleg Broytman [Sat, 21 May 2016 20:04:16 +0000 (23:04 +0300)]
Sort books by series, serial number and title

9 years agoVersion 0.0.6: search books by title, series, archive, file 0.0.6
Oleg Broytman [Sat, 21 May 2016 15:01:59 +0000 (18:01 +0300)]
Version 0.0.6: search books by title, series, archive, file

9 years agoPrint archive, file, extension, size and deleted flag
Oleg Broytman [Sat, 21 May 2016 14:54:31 +0000 (17:54 +0300)]
Print archive, file, extension, size and deleted flag

9 years agoPrint the file date, language and file extension
Oleg Broytman [Sat, 21 May 2016 14:36:26 +0000 (17:36 +0300)]
Print the file date, language and file extension

9 years agoOutput serial number of the book in the series
Oleg Broytman [Sat, 21 May 2016 14:04:35 +0000 (17:04 +0300)]
Output serial number of the book in the series

9 years agoOutput series the book belongs to (if any)
Oleg Broytman [Thu, 19 May 2016 22:02:25 +0000 (01:02 +0300)]
Output series the book belongs to (if any)

9 years agoOutput (list of) genres for a book
Oleg Broytman [Thu, 19 May 2016 18:45:20 +0000 (21:45 +0300)]
Output (list of) genres for a book

9 years agoSplit --search-type into separate -t/-s/-f options
Oleg Broytman [Thu, 19 May 2016 17:29:41 +0000 (20:29 +0300)]
Split --search-type into separate -t/-s/-f options

9 years agoBy default print only titles of the found book
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.

9 years agoSearch and print a list of books by title, series, archive or file name
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

9 years agomake clean
Oleg Broytman [Sun, 15 May 2016 17:25:38 +0000 (20:25 +0300)]
make clean

9 years agoFix trove classifiers: set platform to POSIX only
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.

9 years agoFix requirements: m_lib>=2.0
Oleg Broytman [Sun, 15 May 2016 16:38:02 +0000 (19:38 +0300)]
Fix requirements: m_lib>=2.0

9 years agoFix flake8 warning: remove unused variable
Oleg Broytman [Sat, 14 May 2016 21:54:25 +0000 (00:54 +0300)]
Fix flake8 warning: remove unused variable

9 years agoSort results
Oleg Broytman [Sat, 14 May 2016 16:18:23 +0000 (19:18 +0300)]
Sort results

9 years agoFix version
Oleg Broytman [Sat, 14 May 2016 15:22:01 +0000 (18:22 +0300)]
Fix version

9 years agoVersion 0.0.5: search extensions/genres/languages 0.0.5
Oleg Broytman [Sat, 14 May 2016 15:17:19 +0000 (18:17 +0300)]
Version 0.0.5: search extensions/genres/languages

9 years agoAllow to list all extensions and genres
Oleg Broytman [Sat, 14 May 2016 15:11:38 +0000 (18:11 +0300)]
Allow to list all extensions and genres

9 years agoSearch languages by name
Oleg Broytman [Fri, 13 May 2016 19:14:22 +0000 (22:14 +0300)]
Search languages by name

9 years agoSearch genres by name and title
Oleg Broytman [Fri, 13 May 2016 19:10:08 +0000 (22:10 +0300)]
Search genres by name and title

9 years agoDocument extension search
Oleg Broytman [Fri, 13 May 2016 18:50:59 +0000 (21:50 +0300)]
Document extension search

9 years agoSearch extensions
Oleg Broytman [Fri, 13 May 2016 16:39:37 +0000 (19:39 +0300)]
Search extensions

9 years agoFix _search arguments
Oleg Broytman [Fri, 13 May 2016 16:39:10 +0000 (19:39 +0300)]
Fix _search arguments

9 years agoFix flake8 warnings
Oleg Broytman [Fri, 13 May 2016 16:23:07 +0000 (19:23 +0300)]
Fix flake8 warnings

9 years agoMake distr 0.0.4
Oleg Broytman [Tue, 10 May 2016 23:53:07 +0000 (02:53 +0300)]
Make distr

9 years agoVersion 0.0.4: command-line script to search authors
Oleg Broytman [Tue, 10 May 2016 22:18:36 +0000 (01:18 +0300)]
Version 0.0.4: command-line script to search authors

9 years agoThere will be a separate subdirectory m_librarian
Oleg Broytman [Tue, 10 May 2016 22:17:52 +0000 (01:17 +0300)]
There will be a separate subdirectory m_librarian

9 years agoInclude tests in sdist
Oleg Broytman [Tue, 10 May 2016 22:11:01 +0000 (01:11 +0300)]
Include tests in sdist

9 years agoInclude docs in sdist
Oleg Broytman [Tue, 10 May 2016 21:42:00 +0000 (00:42 +0300)]
Include docs in sdist

9 years agoSearch authors by full name
Oleg Broytman [Mon, 9 May 2016 21:07:46 +0000 (00:07 +0300)]
Search authors by full name

9 years agoRequire SQLObject >= 2.2.1 for CONCAT
Oleg Broytman [Mon, 9 May 2016 21:07:00 +0000 (00:07 +0300)]
Require SQLObject >= 2.2.1 for CONCAT

9 years agoSearch with expressions
Oleg Broytman [Mon, 9 May 2016 21:06:35 +0000 (00:06 +0300)]
Search with expressions

9 years agoAdd descriptive error message
Oleg Broytman [Mon, 9 May 2016 21:05:21 +0000 (00:05 +0300)]
Add descriptive error message

9 years agoFix: misc => misc-name
Oleg Broytman [Mon, 9 May 2016 21:04:29 +0000 (00:04 +0300)]
Fix: misc => misc-name

9 years agoRemove unused import
Oleg Broytman [Mon, 9 May 2016 21:00:38 +0000 (00:00 +0300)]
Remove unused import

9 years agoFix bugs in counting extensions and languages
Oleg Broytman [Sun, 8 May 2016 21:19:09 +0000 (00:19 +0300)]
Fix bugs in counting extensions and languages

9 years agoDocument author search
Oleg Broytman [Mon, 2 May 2016 16:06:04 +0000 (19:06 +0300)]
Document author search

9 years agoИсправлены опечатки
Oleg Broytman [Sun, 1 May 2016 19:29:36 +0000 (22:29 +0300)]
Исправлены опечатки

9 years agoDescribe global options for ml-search.py
Oleg Broytman [Tue, 12 Apr 2016 17:55:13 +0000 (20:55 +0300)]
Describe global options for ml-search.py

9 years agoAdd usage for ml-import.py
Oleg Broytman [Tue, 12 Apr 2016 16:55:30 +0000 (19:55 +0300)]
Add usage for ml-import.py

9 years agoUpdate MANIFEST.in to include docs in source dist
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.

9 years agoSimplify run_all output
Oleg Broytman [Sun, 10 Apr 2016 11:20:46 +0000 (14:20 +0300)]
Simplify run_all output

9 years agoChange Makefile target name
Oleg Broytman [Sun, 10 Apr 2016 11:03:38 +0000 (14:03 +0300)]
Change Makefile target name

9 years agoTest search_authors
Oleg Broytman [Sun, 10 Apr 2016 10:52:33 +0000 (13:52 +0300)]
Test search_authors

9 years agoRefactoring: move import_inpx to TestCase
Oleg Broytman [Sun, 10 Apr 2016 10:45:25 +0000 (13:45 +0300)]
Refactoring: move import_inpx to TestCase

9 years agoUpdate docs: describe command-line scripts
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.

9 years agoExclude sphinx-generated conf.py from flake8
Oleg Broytman [Fri, 8 Apr 2016 01:25:41 +0000 (04:25 +0300)]
Exclude sphinx-generated conf.py from flake8

9 years agoAdd tests for importing INPX files
Oleg Broytman [Wed, 6 Apr 2016 19:50:10 +0000 (22:50 +0300)]
Add tests for importing INPX files

9 years agoUpdate docs: DB URI
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.

9 years agoAdd tests; test importing list of genres
Oleg Broytman [Tue, 5 Apr 2016 18:24:14 +0000 (21:24 +0300)]
Add tests; test importing list of genres

9 years agoMinor refactoring
Oleg Broytman [Tue, 5 Apr 2016 18:04:54 +0000 (21:04 +0300)]
Minor refactoring

9 years agoRefactoring: move module-level initialization into functions
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.

9 years agoAdd before_begin.rst
Oleg Broytman [Sun, 3 Apr 2016 23:57:08 +0000 (02:57 +0300)]
Add before_begin.rst

9 years agoThe project was started in 2015
Oleg Broytman [Sun, 3 Apr 2016 23:18:23 +0000 (02:18 +0300)]
The project was started in 2015

9 years agoAdd scripts/ml-search.py to setup
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.

9 years agoLibrarian => m_Librarian
Oleg Broytman [Sun, 3 Apr 2016 23:15:32 +0000 (02:15 +0300)]
Librarian => m_Librarian

9 years agoChange HTML theme and Pygments style
Oleg Broytman [Sun, 3 Apr 2016 18:32:19 +0000 (21:32 +0300)]
Change HTML theme and Pygments style

9 years agoGenerate API docs in docs-ru
Oleg Broytman [Sun, 3 Apr 2016 18:31:46 +0000 (21:31 +0300)]
Generate API docs in docs-ru

9 years agoRename doc/ to docs/; generate API docs
Oleg Broytman [Thu, 31 Mar 2016 15:20:09 +0000 (18:20 +0300)]
Rename doc/ to docs/; generate API docs

9 years agoAdd description, copyright and license
Oleg Broytman [Thu, 31 Mar 2016 14:56:42 +0000 (17:56 +0300)]
Add description, copyright and license

9 years agoChange PYTHONPATH handling
Oleg Broytman [Thu, 31 Mar 2016 14:54:25 +0000 (17:54 +0300)]
Change PYTHONPATH handling

9 years agoPrioritize Web interface before GUI
Oleg Broytman [Thu, 31 Mar 2016 14:42:35 +0000 (17:42 +0300)]
Prioritize Web interface before GUI

9 years agoStart tests
Oleg Broytman [Thu, 31 Mar 2016 14:40:13 +0000 (17:40 +0300)]
Start tests

9 years agoStart documentation
Oleg Broytman [Thu, 31 Mar 2016 14:38:23 +0000 (17:38 +0300)]
Start documentation

9 years agoDo not install translations globally to satisfy flake8
Oleg Broytman [Wed, 30 Mar 2016 17:53:17 +0000 (20:53 +0300)]
Do not install translations globally to satisfy flake8

9 years agoFix a bug: get translations even if locale isn't set
Oleg Broytman [Wed, 30 Mar 2016 17:52:11 +0000 (20:52 +0300)]
Fix a bug: get translations even if locale isn't set

9 years agoGuess case sensitivity
Oleg Broytman [Tue, 29 Mar 2016 21:27:40 +0000 (00:27 +0300)]
Guess case sensitivity

9 years agoUse gettext
Oleg Broytman [Tue, 29 Mar 2016 19:41:57 +0000 (22:41 +0300)]
Use gettext

Add Russian translation.

9 years agoRefactor search implementation to avoid code duplication
Oleg Broytman [Tue, 29 Mar 2016 18:15:27 +0000 (21:15 +0300)]
Refactor search implementation to avoid code duplication

9 years agoDefault search type is 'start'
Oleg Broytman [Tue, 29 Mar 2016 18:14:53 +0000 (21:14 +0300)]
Default search type is 'start'

9 years agoSearch authors by name/surname/misc name
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.