]> git.phdru.name Git - m_librarian.git/log
m_librarian.git
4 months agoFeat(wx/search): Catch Enter and double-click, open books window
Oleg Broytman [Sat, 6 Jan 2024 15:27:46 +0000 (18:27 +0300)]
Feat(wx/search): Catch Enter and double-click, open books window

[skip ci]

4 months agoRefactor(wx): Store some attributes we need later
Oleg Broytman [Sat, 6 Jan 2024 15:26:45 +0000 (18:26 +0300)]
Refactor(wx): Store some attributes we need later

[skip ci]

4 months agoFeat(wx/search): List found authors
Oleg Broytman [Fri, 5 Jan 2024 21:11:54 +0000 (00:11 +0300)]
Feat(wx/search): List found authors

[skip ci]

4 months agoFeat(wx): Close window with `Ctrl+W`
Oleg Broytman [Fri, 5 Jan 2024 21:44:20 +0000 (00:44 +0300)]
Feat(wx): Close window with `Ctrl+W`

[skip ci]

4 months agoRefactor(wx): Do not store attributes we do not need later
Oleg Broytman [Fri, 5 Jan 2024 21:15:24 +0000 (00:15 +0300)]
Refactor(wx): Do not store attributes we do not need later

[skip ci]

4 months agoRefactor(wx): Split `MainWindow` to `AWindow`
Oleg Broytman [Fri, 5 Jan 2024 19:10:33 +0000 (22:10 +0300)]
Refactor(wx): Split `MainWindow` to `AWindow`

[skip ci]

4 months agoFeat(wx/search): Search authors
Oleg Broytman [Thu, 4 Jan 2024 16:33:10 +0000 (19:33 +0300)]
Feat(wx/search): Search authors

[skip ci]

4 months agoFeat(wx/search): Get form values
Oleg Broytman [Thu, 4 Jan 2024 16:23:45 +0000 (19:23 +0300)]
Feat(wx/search): Get form values

[skip ci]

4 months agoFeat(wx/search): Catch Enter and button clicks
Oleg Broytman [Thu, 4 Jan 2024 16:16:04 +0000 (19:16 +0300)]
Feat(wx/search): Catch Enter and button clicks

[skip ci]

4 months agoFeat(wx/search): Add "search authors" button
Oleg Broytman [Wed, 3 Jan 2024 23:34:28 +0000 (02:34 +0300)]
Feat(wx/search): Add "search authors" button

[skip ci]

4 months agoFeat(wx/search): Add "ignore case" check box
Oleg Broytman [Wed, 3 Jan 2024 22:57:28 +0000 (01:57 +0300)]
Feat(wx/search): Add "ignore case" check box

[skip ci]

4 months agoFeat(wx/search): Add substring search radio buttons
Oleg Broytman [Wed, 3 Jan 2024 22:42:06 +0000 (01:42 +0300)]
Feat(wx/search): Add substring search radio buttons

[skip ci]

4 months agoFeat(wx/search): Add search panel
Oleg Broytman [Wed, 3 Jan 2024 22:04:22 +0000 (01:04 +0300)]
Feat(wx/search): Add search panel

[skip ci]

4 months agoMerge branch 'master' into wx
Oleg Broytman [Tue, 2 Jan 2024 01:43:15 +0000 (04:43 +0300)]
Merge branch 'master' into wx

* master:
  Build(GHActions): Use `checkout@v4` instead of outdated `v2`

4 months agoBuild(GHActions): Use `checkout@v4` instead of outdated `v2`
Oleg Broytman [Tue, 2 Jan 2024 01:43:01 +0000 (04:43 +0300)]
Build(GHActions): Use `checkout@v4` instead of outdated `v2`

4 months agoDocs: Year 2024
Oleg Broytman [Tue, 2 Jan 2024 01:42:13 +0000 (04:42 +0300)]
Docs: Year 2024

[skip ci]

4 months agoMerge branch 'master' into wx
Oleg Broytman [Tue, 2 Jan 2024 01:41:52 +0000 (04:41 +0300)]
Merge branch 'master' into wx

* master:
  Docs: Year 2024

[skip ci]

4 months agoDocs: Year 2024
Oleg Broytman [Tue, 2 Jan 2024 01:39:55 +0000 (04:39 +0300)]
Docs: Year 2024

[skip ci]

4 months agoStyle(wx): Fix `flake8` warnings
Oleg Broytman [Fri, 29 Dec 2023 08:47:16 +0000 (11:47 +0300)]
Style(wx): Fix `flake8` warnings

4 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

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

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

4 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

4 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]

4 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]

4 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]

4 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]

4 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]

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

[skip ci]

4 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]

4 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]

4 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]

4 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]

4 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]

4 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]

4 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]

4 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]

4 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

4 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]

4 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]

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

6 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

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

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

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

10 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`

10 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`

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

16 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]

16 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]

16 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]

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

[skip ci]

16 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]

16 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]

16 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]

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

[skip ci]

16 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]

16 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]

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

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

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

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

[skip ci]

18 months 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

18 months 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`.

19 months 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]

19 months 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`

19 months 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

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

19 months 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

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

2 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

2 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

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

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

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

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

2 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`

2 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

2 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`

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

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

2 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

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

2 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

2 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

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