]> git.phdru.name Git - m_librarian.git/log
m_librarian.git
7 years agoAdd test_translations
Oleg Broytman [Sun, 2 Oct 2016 19:43:20 +0000 (22:43 +0300)]
Add test_translations

7 years agoOmit trivial __init__.py and __version__.py from test coverage
Oleg Broytman [Sat, 1 Oct 2016 23:17:34 +0000 (02:17 +0300)]
Omit trivial __init__.py and __version__.py from test coverage

7 years agoSet toxworkdir to ~/.tox
Oleg Broytman [Sat, 1 Oct 2016 22:33:53 +0000 (01:33 +0300)]
Set toxworkdir to ~/.tox

7 years agoIgnore coverage data and reports
Oleg Broytman [Wed, 28 Sep 2016 16:57:59 +0000 (19:57 +0300)]
Ignore coverage data and reports

7 years agoRun flake8 from root to test docs and scripts
Oleg Broytman [Sat, 24 Sep 2016 23:19:07 +0000 (02:19 +0300)]
Run flake8 from root to test docs and scripts

Exclude .tox virtual environments.

7 years agoRemove unused py.test
Oleg Broytman [Sat, 24 Sep 2016 05:01:04 +0000 (08:01 +0300)]
Remove unused py.test

7 years agoSimplify tox.ini: call pytest with the current python
Oleg Broytman [Sat, 24 Sep 2016 00:00:30 +0000 (03:00 +0300)]
Simplify tox.ini: call pytest with the current python

7 years agoFix copy/paste in .gitignore
Oleg Broytman [Fri, 23 Sep 2016 23:57:44 +0000 (02:57 +0300)]
Fix copy/paste in .gitignore

7 years agoExtend .gitignore
Oleg Broytman [Fri, 23 Sep 2016 22:46:41 +0000 (01:46 +0300)]
Extend .gitignore

7 years agoMinor refactoring of MANIFEST.in
Oleg Broytman [Fri, 23 Sep 2016 22:41:36 +0000 (01:41 +0300)]
Minor refactoring of MANIFEST.in

7 years agoIgnore .cache and .tox directories only at the top
Oleg Broytman [Wed, 21 Sep 2016 22:35:24 +0000 (01:35 +0300)]
Ignore .cache and .tox directories only at the top

7 years agoUse coverage and tox for testing
Oleg Broytman [Tue, 20 Sep 2016 23:40:09 +0000 (02:40 +0300)]
Use coverage and tox for testing

7 years agoConvert tests from unittest to pytest
Oleg Broytman [Tue, 20 Sep 2016 20:57:40 +0000 (23:57 +0300)]
Convert tests from unittest to pytest

7 years agoSet PYTHONPATH for tests
Oleg Broytman [Tue, 20 Sep 2016 20:57:08 +0000 (23:57 +0300)]
Set PYTHONPATH for tests

7 years agoUse pytest for testing
Oleg Broytman [Sun, 11 Sep 2016 19:15:35 +0000 (22:15 +0300)]
Use pytest for testing

7 years agoAdd README.html for gitweb
Oleg Broytman [Sun, 11 Sep 2016 17:05:40 +0000 (20:05 +0300)]
Add README.html for gitweb

7 years agoUpdate get-commit-message.vim
Oleg Broytman [Sat, 3 Sep 2016 16:14:20 +0000 (19:14 +0300)]
Update get-commit-message.vim

7 years agogenapidocs: replace short options with long ones
Oleg Broytman [Sat, 3 Sep 2016 15:46:51 +0000 (18:46 +0300)]
genapidocs: replace short options with long ones

7 years agoRadically simplify MANIFEST.in by using global-include
Oleg Broytman [Sun, 28 Aug 2016 15:01:19 +0000 (18:01 +0300)]
Radically simplify MANIFEST.in by using global-include

7 years agoAdd requirements_docs.txt
Oleg Broytman [Sat, 27 Aug 2016 16:54:59 +0000 (19:54 +0300)]
Add requirements_docs.txt

7 years agoflake8: exclude ez_setup.py
Oleg Broytman [Fri, 26 Aug 2016 21:46:38 +0000 (00:46 +0300)]
flake8: exclude ez_setup.py

7 years agoAdd tests/test-config.conf to sdist
Oleg Broytman [Tue, 23 Aug 2016 20:15:45 +0000 (23:15 +0300)]
Add tests/test-config.conf to sdist

7 years agoRemove copy/pasted directives
Oleg Broytman [Fri, 12 Aug 2016 19:40:16 +0000 (22:40 +0300)]
Remove copy/pasted directives

7 years agoRename mk-git-alias -> mk-git-aliases, add commit-with-message alias
Oleg Broytman [Wed, 10 Aug 2016 18:00:51 +0000 (21:00 +0300)]
Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias

7 years agoRename tag.vim -> get-commit-message.vim
Oleg Broytman [Wed, 10 Aug 2016 17:39:53 +0000 (20:39 +0300)]
Rename tag.vim -> get-commit-message.vim

7 years agoRename mk-tag-alias -> mk-git-alias
Oleg Broytman [Wed, 10 Aug 2016 17:35:11 +0000 (20:35 +0300)]
Rename mk-tag-alias -> mk-git-alias

7 years agoRename tag-with-version to tag-with-message
Oleg Broytman [Wed, 10 Aug 2016 17:28:51 +0000 (20:28 +0300)]
Rename tag-with-version to tag-with-message

7 years agoPass setup.py install option --optimize
Oleg Broytman [Wed, 3 Aug 2016 14:21:30 +0000 (17:21 +0300)]
Pass setup.py install option --optimize

7 years agoMake tag-with-version alias
Oleg Broytman [Tue, 2 Aug 2016 16:19:53 +0000 (19:19 +0300)]
Make tag-with-version alias

7 years agoUpgrade ez_setup.py
Oleg Broytman [Sat, 30 Jul 2016 22:54:50 +0000 (01:54 +0300)]
Upgrade ez_setup.py

7 years agoVersion 0.0.14: Python 3 0.0.14
Oleg Broytman [Fri, 29 Jul 2016 19:48:12 +0000 (22:48 +0300)]
Version 0.0.14: Python 3

7 years agoDifferent requirements for Python 2.6, 2.7, and 3.4+
Oleg Broytman [Fri, 29 Jul 2016 19:47:09 +0000 (22:47 +0300)]
Different requirements for Python 2.6, 2.7, and 3.4+

7 years agoAdapted to Python 3
Oleg Broytman [Tue, 26 Jul 2016 20:25:05 +0000 (23:25 +0300)]
Adapted to Python 3

7 years agoInstall translations
Oleg Broytman [Tue, 26 Jul 2016 20:23:30 +0000 (23:23 +0300)]
Install translations

7 years agoTODO: Python 3
Oleg Broytman [Mon, 25 Jul 2016 14:47:29 +0000 (17:47 +0300)]
TODO: Python 3

7 years agoPython 3 compatibility
Oleg Broytman [Mon, 25 Jul 2016 12:50:49 +0000 (15:50 +0300)]
Python 3 compatibility

ml-search.py still doesn't work with Python 3 - it requires m_lib.defenc
and m_lib hasn't been ported to Python 3 yet.

7 years agoUpdate code for compatibility with Python 3
Oleg Broytman [Fri, 22 Jul 2016 23:55:24 +0000 (02:55 +0300)]
Update code for compatibility with Python 3

It's still not tested under Python 3.

7 years agoUpdate TODO: Import from SQL instead of INPX
Oleg Broytman [Tue, 28 Jun 2016 21:17:13 +0000 (00:17 +0300)]
Update TODO: Import from SQL instead of INPX

7 years agoVersion 0.0.13: options: -C, -D, -P, -F 0.0.13
Oleg Broytman [Sat, 11 Jun 2016 00:44:43 +0000 (03:44 +0300)]
Version 0.0.13: options: -C, -D, -P, -F

7 years agoAdd option -C|--config file
Oleg Broytman [Sat, 11 Jun 2016 00:41:55 +0000 (03:41 +0300)]
Add option -C|--config file

Document configuration file. Test config

7 years agoChange options: -D|--database, -P|--path, -F|--format
Oleg Broytman [Sat, 11 Jun 2016 00:19:34 +0000 (03:19 +0300)]
Change options: -D|--database, -P|--path, -F|--format

7 years agoNo highlighting in code blocks
Oleg Broytman [Fri, 10 Jun 2016 20:32:30 +0000 (23:32 +0300)]
No highlighting in code blocks

The code blocks here document options and aren't really blocks of code.

7 years agoVersion 0.0.12: download many books 0.0.12
Oleg Broytman [Thu, 9 Jun 2016 18:14:13 +0000 (21:14 +0300)]
Version 0.0.12: download many books

7 years agoPass format of the downloaded file name in the command line
Oleg Broytman [Thu, 9 Jun 2016 18:10:04 +0000 (21:10 +0300)]
Pass format of the downloaded file name in the command line

7 years agoDownload many books at once
Oleg Broytman [Thu, 9 Jun 2016 17:52:02 +0000 (20:52 +0300)]
Download many books at once

7 years agoIDs must be integer
Oleg Broytman [Thu, 9 Jun 2016 17:30:08 +0000 (20:30 +0300)]
IDs must be integer

7 years agoVersion 0.0.11: download exactly one book 0.0.11
Oleg Broytman [Mon, 6 Jun 2016 20:54:07 +0000 (23:54 +0300)]
Version 0.0.11: download exactly one book

7 years agoAllow to set download format
Oleg Broytman [Mon, 6 Jun 2016 19:42:13 +0000 (22:42 +0300)]
Allow to set download format

7 years agoRefactor author.filename
Oleg Broytman [Mon, 6 Jun 2016 19:07:40 +0000 (22:07 +0300)]
Refactor author.filename

7 years agoSet timestamp for the downloaded book
Oleg Broytman [Sun, 5 Jun 2016 22:07:53 +0000 (01:07 +0300)]
Set timestamp for the downloaded book

7 years agoDocument options -p and --get
Oleg Broytman [Sun, 5 Jun 2016 15:02:55 +0000 (18:02 +0300)]
Document options -p and --get

7 years agoDownload from the given library path
Oleg Broytman [Sun, 5 Jun 2016 14:42:29 +0000 (17:42 +0300)]
Download from the given library path

Useful for multiple databases.

7 years agoDownload exactly one book
Oleg Broytman [Sun, 5 Jun 2016 14:37:37 +0000 (17:37 +0300)]
Download exactly one book

7 years agoCache config
Oleg Broytman [Sun, 5 Jun 2016 14:35:19 +0000 (17:35 +0300)]
Cache config

7 years agoAdd flake8 and release targets
Oleg Broytman [Sat, 4 Jun 2016 22:02:20 +0000 (01:02 +0300)]
Add flake8 and release targets

7 years agoPass installation/compilation options to pip and easy_install
Oleg Broytman [Sat, 4 Jun 2016 13:26:14 +0000 (16:26 +0300)]
Pass installation/compilation options to pip and easy_install

7 years agoChange database pathname handling
Oleg Broytman [Wed, 1 Jun 2016 15:11:53 +0000 (18:11 +0300)]
Change database pathname handling

Recognize pathnames by absence of '://'.

7 years agoOptimization: count objects directly
Oleg Broytman [Tue, 31 May 2016 18:42:18 +0000 (21:42 +0300)]
Optimization: count objects directly

Avoid making an expensive and unnecessary SQL query.

7 years agoMinor refactoring: _search_conditions_dict => _comparison_operators
Oleg Broytman [Tue, 31 May 2016 18:34:16 +0000 (21:34 +0300)]
Minor refactoring: _search_conditions_dict => _comparison_operators

7 years agoMicro optimization: break from the loop when the 'id' is encountered
Oleg Broytman [Tue, 31 May 2016 18:33:16 +0000 (21:33 +0300)]
Micro optimization: break from the loop when the 'id' is encountered

7 years agoCheck if DB pathname starts with the current directory
Oleg Broytman [Mon, 30 May 2016 22:53:48 +0000 (01:53 +0300)]
Check if DB pathname starts with the current directory

7 years agoVersion 0.0.10 0.0.10
Oleg Broytman [Mon, 30 May 2016 22:13:42 +0000 (01:13 +0300)]
Version 0.0.10

7 years agoMultidatabase - every script can open a database by pathname or DB URI
Oleg Broytman [Mon, 30 May 2016 22:10:07 +0000 (01:10 +0300)]
Multidatabase - every script can open a database by pathname or DB URI

7 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.

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

7 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

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

7 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

7 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

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

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

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

7 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

7 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

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

7 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

7 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

7 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.

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

7 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

7 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.

7 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

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

7 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

7 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

7 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

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

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

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

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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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)

7 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

7 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