]> git.phdru.name Git - m_librarian.git/log
m_librarian.git
11 months agoStyle(wx): Fix `flake8` warnings
Oleg Broytman [Fri, 29 Dec 2023 08:47:16 +0000 (11:47 +0300)]
Style(wx): Fix `flake8` warnings

11 months agoMerge branch 'master' into wx
Oleg Broytman [Fri, 29 Dec 2023 08:44:38 +0000 (11:44 +0300)]
Merge branch 'master' into wx

* master:
  Refactor: Separate web forms processing from search
  Perf(web/app): Get `download_path` only if there're books to download
  Style: Re-group and reorder imports

11 months agoRefactor: Separate web forms processing from search
Oleg Broytman [Fri, 29 Dec 2023 08:42:34 +0000 (11:42 +0300)]
Refactor: Separate web forms processing from search

Raw search functions will be used in other interfaces like GUIs.

11 months agoPerf(web/app): Get `download_path` only if there're books to download
Oleg Broytman [Fri, 29 Dec 2023 08:28:17 +0000 (11:28 +0300)]
Perf(web/app): Get `download_path` only if there're books to download

Micro-optimization, to be honest.

11 months agoStyle: Re-group and reorder imports
Oleg Broytman [Fri, 29 Dec 2023 08:26:50 +0000 (11:26 +0300)]
Style: Re-group and reorder imports

11 months agoDocs(install): Describe `wx` extra
Oleg Broytman [Thu, 28 Dec 2023 11:29:14 +0000 (14:29 +0300)]
Docs(install): Describe `wx` extra

[skip ci]

11 months agoMerge branch 'master' into wx
Oleg Broytman [Thu, 28 Dec 2023 11:27:08 +0000 (14:27 +0300)]
Merge branch 'master' into wx

* master:
  Docs(install): Describe `web` extra

[skip ci]

11 months agoDocs(install): Describe `web` extra
Oleg Broytman [Thu, 28 Dec 2023 11:25:57 +0000 (14:25 +0300)]
Docs(install): Describe `web` extra

[skip ci]

11 months agoBuild(setup.py): Add `wx` extra
Oleg Broytman [Thu, 28 Dec 2023 11:22:26 +0000 (14:22 +0300)]
Build(setup.py): Add `wx` extra

[skip ci]

11 months agoMerge branch 'master' into wx
Oleg Broytman [Thu, 28 Dec 2023 11:10:16 +0000 (14:10 +0300)]
Merge branch 'master' into wx

* master:
  Docs(README): 2023

[skip ci]

11 months agoDocs(README): 2023
Oleg Broytman [Thu, 28 Dec 2023 10:51:02 +0000 (13:51 +0300)]
Docs(README): 2023

[skip ci]

11 months agoFeat(wx): Get initial window size from session config
Oleg Broytman [Tue, 19 Dec 2023 16:06:39 +0000 (19:06 +0300)]
Feat(wx): Get initial window size from session config

Else use sensible defaults.

[skip ci]

11 months agoFeat(wx): Add `MainWindow.__init__()`
Oleg Broytman [Tue, 19 Dec 2023 15:57:29 +0000 (18:57 +0300)]
Feat(wx): Add `MainWindow.__init__()`

[skip ci]

11 months agoFeat(wx): Save window size in session config
Oleg Broytman [Tue, 19 Dec 2023 13:39:57 +0000 (16:39 +0300)]
Feat(wx): Save window size in session config

[skip ci]

11 months agoFeat(wx): Find session config
Oleg Broytman [Tue, 19 Dec 2023 12:48:17 +0000 (15:48 +0300)]
Feat(wx): Find session config

[skip ci]

11 months agoFeat(wx): Add dialig "About"
Oleg Broytman [Sun, 17 Dec 2023 17:21:04 +0000 (20:21 +0300)]
Feat(wx): Add dialig "About"

[skip ci]

11 months agoFeat(wx): Create main menu bar, add command "Quit"
Oleg Broytman [Sun, 17 Dec 2023 16:45:46 +0000 (19:45 +0300)]
Feat(wx): Create main menu bar, add command "Quit"

[skip ci]

11 months agoFeat(wx): Create main window
Oleg Broytman [Sun, 17 Dec 2023 16:30:06 +0000 (19:30 +0300)]
Feat(wx): Create main window

[skip ci]

11 months agoFeat(wx): Create `Application`
Oleg Broytman [Thu, 14 Dec 2023 21:20:20 +0000 (00:20 +0300)]
Feat(wx): Create `Application`

Start working on wx GUI.

[skip ci]

11 months agoStyle(web/app): Use relative import
Oleg Broytman [Sun, 17 Dec 2023 20:16:39 +0000 (23:16 +0300)]
Style(web/app): Use relative import

11 months agoChore(scripts): Improve argparser's descriptions
Oleg Broytman [Thu, 14 Dec 2023 21:18:54 +0000 (00:18 +0300)]
Chore(scripts): Improve argparser's descriptions

[skip ci]

11 months agoBuild(setup.cfg): Remove `validators.py`
Oleg Broytman [Thu, 14 Dec 2023 20:18:23 +0000 (23:18 +0300)]
Build(setup.cfg): Remove `validators.py`

We no longer carry `validators.py` with us.

[skip ci]

13 months agoTests,CI: Python 3.12
Oleg Broytman [Wed, 18 Oct 2023 16:19:30 +0000 (19:19 +0300)]
Tests,CI: Python 3.12

13 months agoDocs(news): Add forgotten release date
Oleg Broytman [Wed, 18 Oct 2023 15:32:34 +0000 (18:32 +0300)]
Docs(news): Add forgotten release date

14 months agoDocs(news): Fix backticks
Oleg Broytman [Sun, 17 Sep 2023 17:52:48 +0000 (20:52 +0300)]
Docs(news): Fix backticks

This is reST, not Markdown.

Add Russian translation.

[skip ci]

14 months agoCI(pip): Ensure `pip` only if needed 0.2.0.post2
Oleg Broytman [Sun, 17 Sep 2023 16:20:24 +0000 (19:20 +0300)]
CI(pip): Ensure `pip` only if needed

This is to work around a problem in conda with Python 3.7 -
it brings in wrong version of `setuptools` incompatible with Python 3.7.

14 months agoDocs(news): Add forgotten release date
Oleg Broytman [Sun, 17 Sep 2023 16:18:38 +0000 (19:18 +0300)]
Docs(news): Add forgotten release date

[skip ci]

16 months agoVersion 0.2.0.post1: Install everything from `conda` 0.2.0.post1
Oleg Broytman [Thu, 13 Jul 2023 17:32:16 +0000 (20:32 +0300)]
Version 0.2.0.post1: Install everything from `conda`

16 months agoCI(GHActions): Install all Python and PyPy versions from `conda-forge`
Oleg Broytman [Mon, 10 Jul 2023 17:21:39 +0000 (20:21 +0300)]
CI(GHActions): Install all Python and PyPy versions from `conda-forge`

21 months agoBuild: Fix dependency
Oleg Broytman [Wed, 1 Mar 2023 14:02:37 +0000 (17:02 +0300)]
Build: Fix dependency

23 months ago2022-12-24: Release 0.2.0
Oleg Broytman [Sat, 24 Dec 2022 11:39:34 +0000 (14:39 +0300)]
2022-12-24: Release 0.2.0

[skip ci]

23 months agoBuild(Makefile): Run `devscripts/release`
Oleg Broytman [Sat, 24 Dec 2022 11:36:46 +0000 (14:36 +0300)]
Build(Makefile): Run `devscripts/release`

[skip ci]

23 months agoBuild(Makefile): Do not run tests on release
Oleg Broytman [Sat, 24 Dec 2022 11:32:49 +0000 (14:32 +0300)]
Build(Makefile): Do not run tests on release

We use Github Actions for running tests.

[skip ci]

23 months agoDoc(README): Исправлен пропущенный разделитель слов
Oleg Broytman [Sat, 17 Dec 2022 19:50:43 +0000 (22:50 +0300)]
Doc(README): Исправлен пропущенный разделитель слов

[skip ci]

23 months agoFeat(web/views/list_books): Toggle checkboxes for all books
Oleg Broytman [Sat, 17 Dec 2022 19:33:31 +0000 (22:33 +0300)]
Feat(web/views/list_books): Toggle checkboxes for all books

[skip ci]

23 months agoFeat(web/views/list_books): Toggle checkboxes for an author
Oleg Broytman [Sat, 17 Dec 2022 19:29:08 +0000 (22:29 +0300)]
Feat(web/views/list_books): Toggle checkboxes for an author

[skip ci]

23 months agoFeat(web/views/list_books): Toggle checkboxes for series
Oleg Broytman [Sat, 17 Dec 2022 15:46:28 +0000 (18:46 +0300)]
Feat(web/views/list_books): Toggle checkboxes for series

[skip ci]

23 months agoStyle(app): Rename `id`
Oleg Broytman [Sat, 17 Dec 2022 16:15:56 +0000 (19:15 +0300)]
Style(app): Rename `id`

[skip ci]

23 months agoFeat(web/views/list_books): Group check boxes
Oleg Broytman [Sat, 17 Dec 2022 15:38:09 +0000 (18:38 +0300)]
Feat(web/views/list_books): Group check boxes

Name checkboxes by author and series counts.
Will be used to turn checkboxes on/off in series and authors.

[skip ci]

23 months agoFix(web/views/list_books): Fix a bug in series naming
Oleg Broytman [Sat, 17 Dec 2022 15:35:31 +0000 (18:35 +0300)]
Fix(web/views/list_books): Fix a bug in series naming

Every new author reset series.

[skip ci]

23 months agoTests(tox): Limit "tox < 4"
Oleg Broytman [Thu, 15 Dec 2022 16:16:48 +0000 (19:16 +0300)]
Tests(tox): Limit "tox < 4"

`tox` 4+ has incompatible `tox.ini` syntax.
It's impossible to use one `tox.ini` for Pythons < 3.7 and 3.7+.

23 months agoCI(GHActions): Set `$LD_LIBRARY_PATH`
Oleg Broytman [Wed, 7 Dec 2022 12:46:24 +0000 (15:46 +0300)]
CI(GHActions): Set `$LD_LIBRARY_PATH`

Python 2.7 on Linux requires `$LD_LIBRARY_PATH`.

23 months agoCI(GHActions): Use `conda` to install older Pythons
Oleg Broytman [Tue, 6 Dec 2022 16:44:17 +0000 (19:44 +0300)]
CI(GHActions): Use `conda` to install older Pythons

Ubuntu >= 22 and `setup-python` dropped Pythons < 3.7.
Use `s-weigand/setup-conda` instead of `setup-python`.

2 years agoDocs: Year 2022
Oleg Broytman [Sun, 30 Oct 2022 19:02:31 +0000 (22:02 +0300)]
Docs: Year 2022

[skip ci]

2 years agoTests, CI: Run tests with Python 3.11
Oleg Broytman [Wed, 26 Oct 2022 17:05:22 +0000 (20:05 +0300)]
Tests, CI: Run tests with Python 3.11

2 years agoTests(tox): Remove `basepython`
Oleg Broytman [Tue, 25 Oct 2022 21:06:28 +0000 (00:06 +0300)]
Tests(tox): Remove `basepython`

We no longer use `TOXPYTHON`.

2 years agoBuild(devscripts/release): Disable progress bar for `twine`
Oleg Broytman [Wed, 21 Sep 2022 08:02:50 +0000 (11:02 +0300)]
Build(devscripts/release): Disable progress bar for `twine`

[skip ci]

2 years agoCI(GHActions): fail fast, use `setup-python@v4`, `cache@v3`
Oleg Broytman [Tue, 20 Sep 2022 23:33:28 +0000 (02:33 +0300)]
CI(GHActions): fail fast, use `setup-python@v4`, `cache@v3`

2 years agoBuild(setup.py): Python 3.9, 3.10
Oleg Broytman [Mon, 19 Sep 2022 17:57:40 +0000 (20:57 +0300)]
Build(setup.py): Python 3.9, 3.10

2 years agoChore: Remove overlooked coverage leftovers
Oleg Broytman [Mon, 19 Sep 2022 17:55:03 +0000 (20:55 +0300)]
Chore: Remove overlooked coverage leftovers

2 years agoCI(GHActions): Show `tox`/`pytest` version
Oleg Broytman [Sun, 18 Sep 2022 16:51:31 +0000 (19:51 +0300)]
CI(GHActions): Show `tox`/`pytest` version

2 years agoCI(GHActions): Python 3.10
Oleg Broytman [Sun, 18 Sep 2022 14:18:11 +0000 (17:18 +0300)]
CI(GHActions): Python 3.10

Fix versions for newer Pythons.

3 years agoRelease 0.1.6 0.1.6
Oleg Broytman [Fri, 24 Sep 2021 15:21:46 +0000 (18:21 +0300)]
Release 0.1.6

3 years agoCI: The hack with `validators.py` is no longer required
Oleg Broytman [Thu, 23 Sep 2021 13:39:35 +0000 (16:39 +0300)]
CI: The hack with `validators.py` is no longer required

3 years agoCI: `run_with_env.cmd` is no longer required
Oleg Broytman [Thu, 23 Sep 2021 13:38:12 +0000 (16:38 +0300)]
CI: `run_with_env.cmd` is no longer required

At least for the drivers we currently use.

3 years agoCI(GHActions): Group tasks
Oleg Broytman [Thu, 23 Sep 2021 11:26:24 +0000 (14:26 +0300)]
CI(GHActions): Group tasks

3 years agoCI: Stop testing at AppVeyor
Oleg Broytman [Thu, 16 Sep 2021 17:41:22 +0000 (20:41 +0300)]
CI: Stop testing at AppVeyor

3 years agoCI(AppVeyor): Remove `clone_depth`
Oleg Broytman [Mon, 30 Aug 2021 22:48:45 +0000 (01:48 +0300)]
CI(AppVeyor): Remove `clone_depth`

3 years agoCI(GHActions): Come back to `tox`
Oleg Broytman [Mon, 30 Aug 2021 22:47:45 +0000 (01:47 +0300)]
CI(GHActions): Come back to `tox`

3 years agoCI(GHActions): fail no so fast
Oleg Broytman [Mon, 30 Aug 2021 07:11:43 +0000 (10:11 +0300)]
CI(GHActions): fail no so fast

3 years agoCI(GHActions): Come back to `pip`
Oleg Broytman [Mon, 30 Aug 2021 06:48:12 +0000 (09:48 +0300)]
CI(GHActions): Come back to `pip`

3 years agoMerge branch 'github-actions'
Oleg Broytman [Mon, 30 Aug 2021 06:28:55 +0000 (09:28 +0300)]
Merge branch 'github-actions'

3 years agoTests(tox): Stop collecting coverage
Oleg Broytman [Mon, 30 Aug 2021 06:28:24 +0000 (09:28 +0300)]
Tests(tox): Stop collecting coverage

3 years agoTests(tox): Use `%TEMP%` for sqlite on w32
Oleg Broytman [Mon, 30 Aug 2021 05:56:13 +0000 (08:56 +0300)]
Tests(tox): Use `%TEMP%` for sqlite on w32

3 years agoCI(GHActions): Run selected environments
Oleg Broytman [Mon, 30 Aug 2021 00:04:44 +0000 (03:04 +0300)]
CI(GHActions): Run selected environments

Stop using `tox-gh-action`.

3 years agoCI: Migrate from Travis CI to Github Actions
Oleg Broytman [Sun, 29 Aug 2021 15:33:09 +0000 (18:33 +0300)]
CI: Migrate from Travis CI to Github Actions

3 years agoTests(tox): Limit `pip` and `setuptools` versions for Python 3.4
Oleg Broytman [Sun, 25 Jul 2021 18:01:15 +0000 (21:01 +0300)]
Tests(tox): Limit `pip` and `setuptools` versions for Python 3.4

3 years agoTests(tox): Limit `VIRTUALENV_PIP` version for Python 3.4
Oleg Broytman [Sun, 25 Jul 2021 11:50:55 +0000 (14:50 +0300)]
Tests(tox): Limit `VIRTUALENV_PIP` version for Python 3.4

3 years agoFeat(web): Use signgle template `list_books`
Oleg Broytman [Fri, 5 Mar 2021 15:57:31 +0000 (18:57 +0300)]
Feat(web): Use signgle template `list_books`

Remove template `books_by_author`.

3 years agoFix(scripts/ml-search.py): Change error message
Oleg Broytman [Sun, 21 Feb 2021 17:31:50 +0000 (20:31 +0300)]
Fix(scripts/ml-search.py): Change error message

Fix a copy/paste mistake.

[skip ci]

3 years agoFeat: Order books by date descending
Oleg Broytman [Sun, 21 Feb 2021 17:30:51 +0000 (20:30 +0300)]
Feat: Order books by date descending

[skip ci]

3 years agoDoc(README): Fix copyright year
Oleg Broytman [Tue, 5 Jan 2021 13:20:39 +0000 (16:20 +0300)]
Doc(README): Fix copyright year

[skip ci]

3 years agoTest(tox): Refactor `tox.ini`: combine environments
Oleg Broytman [Fri, 1 Jan 2021 17:03:19 +0000 (20:03 +0300)]
Test(tox): Refactor `tox.ini`: combine environments

CI(Travis): Stop running tests with Python 3.4 -
`tox` 3.15 doesn't support it.

3 years agoTest,CI: Run tests with Python 3.9
Oleg Broytman [Fri, 1 Jan 2021 16:54:25 +0000 (19:54 +0300)]
Test,CI: Run tests with Python 3.9

3 years agoTest(tox): Do not restore `validators.py`
Oleg Broytman [Fri, 1 Jan 2021 16:50:17 +0000 (19:50 +0300)]
Test(tox): Do not restore `validators.py`

It seems we no longer need the hack at AppVeyor.

3 years agoFix(translations): Fix importing from `translations`
Oleg Broytman [Thu, 24 Dec 2020 22:43:29 +0000 (01:43 +0300)]
Fix(translations): Fix importing from `translations`

Rename `translations/` -> `translations_dir/` to avoid clashing
with `translations.py`.

3 years agoFeat(m_librarian/web/views/layout.tmpl): Add link to the root
Oleg Broytman [Tue, 22 Dec 2020 22:55:19 +0000 (01:55 +0300)]
Feat(m_librarian/web/views/layout.tmpl): Add link to the root

3 years agoFix(m_librarian/web/views/Makefile): `compile` -> `compileall`
Oleg Broytman [Tue, 22 Dec 2020 22:54:01 +0000 (01:54 +0300)]
Fix(m_librarian/web/views/Makefile): `compile` -> `compileall`

4 years agoCI: pip<21 for Python 2.7
Oleg Broytman [Wed, 6 May 2020 20:28:11 +0000 (23:28 +0300)]
CI: pip<21 for Python 2.7

4 years agoLimit `setuptools<44` for Python 2.7
Oleg Broytman [Fri, 28 Feb 2020 12:10:56 +0000 (15:10 +0300)]
Limit `setuptools<44` for Python 2.7

4 years agoTests: Run tests with Python 3.8
Oleg Broytman [Tue, 25 Feb 2020 21:43:30 +0000 (00:43 +0300)]
Tests: Run tests with Python 3.8

4 years agoCI(Travis): Set default OS to `linux`, dist to `xenial`
Oleg Broytman [Tue, 25 Feb 2020 20:22:18 +0000 (23:22 +0300)]
CI(Travis): Set default OS to `linux`, dist to `xenial`

Default dist is `xenial` anyway.

4 years agoDocs: Install using `pip install`
Oleg Broytman [Tue, 25 Feb 2020 20:07:48 +0000 (23:07 +0300)]
Docs: Install using `pip install`

5 years agoCI(AppVeyor): Move `validators.py` -> `devscripts/CI/`
Oleg Broytman [Thu, 5 Sep 2019 17:56:03 +0000 (20:56 +0300)]
CI(AppVeyor): Move `validators.py` -> `devscripts/CI/`

5 years agoFeat: Store lock file in a shared directory
Oleg Broytman [Sat, 11 May 2019 16:27:33 +0000 (19:27 +0300)]
Feat: Store lock file in a shared directory

Use `$UID` as a suffix to separate lock files for different users.

5 years agoBuild: Fix package data
Oleg Broytman [Wed, 27 Mar 2019 23:08:01 +0000 (02:08 +0300)]
Build: Fix package data

5 years agoCI: Remove branch limitations
Oleg Broytman [Mon, 25 Feb 2019 18:24:20 +0000 (21:24 +0300)]
CI: Remove branch limitations

5 years agoDocs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4
Oleg Broytman [Mon, 25 Feb 2019 16:34:25 +0000 (19:34 +0300)]
Docs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4

5 years agoStyle(setup): Fix flake8 F821 undefined name `execfile` under Python 3
Oleg Broytman [Mon, 18 Feb 2019 18:32:16 +0000 (21:32 +0300)]
Style(setup): Fix flake8 F821 undefined name `execfile` under Python 3

5 years agoBuild(setup): Use exec[file] to get version from __version__.py
Oleg Broytman [Mon, 18 Feb 2019 18:06:46 +0000 (21:06 +0300)]
Build(setup): Use exec[file] to get version from __version__.py

Use exec[file] instead of imp/importlib.

5 years agoCI(travis): remove deprecated `sudo` keyword
Oleg Broytman [Thu, 7 Feb 2019 14:23:28 +0000 (17:23 +0300)]
CI(travis): remove deprecated `sudo` keyword

5 years agoBuild(setup.py): Use `importlib` instead of deprecated `imp` for Python 3.4+
Oleg Broytman [Thu, 7 Feb 2019 13:43:01 +0000 (16:43 +0300)]
Build(setup.py): Use `importlib` instead of deprecated `imp` for Python 3.4+

5 years agoCI: Require pip < 19.1 for Python 2.7 and 3.4
Oleg Broytman [Sun, 3 Feb 2019 18:52:58 +0000 (21:52 +0300)]
CI: Require pip < 19.1 for Python 2.7 and 3.4

5 years agoBuild(release): Skip exiting files at PyPI
Oleg Broytman [Sat, 2 Feb 2019 20:35:06 +0000 (23:35 +0300)]
Build(release): Skip exiting files at PyPI

[skip ci]

5 years agoVersion 0.1.5: Python 3.7 0.1.5
Oleg Broytman [Fri, 1 Feb 2019 20:14:06 +0000 (23:14 +0300)]
Version 0.1.5: Python 3.7

5 years agoCI(AppVeyor): Work around a strange problem with Py3.7
Oleg Broytman [Thu, 31 Jan 2019 22:15:49 +0000 (01:15 +0300)]
CI(AppVeyor): Work around a strange problem with Py3.7

Work around a very strange problem with Python 3.7 at AppVeyor
by copying correct validators.py to formencode.

5 years agoTests: Require tox < 3.1 to avoid basepython conflicts
Oleg Broytman [Thu, 31 Jan 2019 19:46:40 +0000 (22:46 +0300)]
Tests: Require tox < 3.1 to avoid basepython conflicts

5 years agoTests: Require pytest < 5.0 for Python 2.7
Oleg Broytman [Thu, 31 Jan 2019 19:46:06 +0000 (22:46 +0300)]
Tests: Require pytest < 5.0 for Python 2.7

5 years agoPython 3.7
Oleg Broytman [Thu, 31 Jan 2019 19:45:19 +0000 (22:45 +0300)]
Python 3.7

6 years agoBuild(release): Stop releasing eggs
Oleg Broytman [Tue, 21 Aug 2018 16:25:09 +0000 (19:25 +0300)]
Build(release): Stop releasing eggs

It's enough to release a wheel.

[skip ci]