]> git.phdru.name Git - m_librarian.git/log
m_librarian.git
4 months agoFix(wx): Fix `ListBooks`: Fix row count
Oleg Broytman [Mon, 8 Jul 2024 13:25:23 +0000 (16:25 +0300)]
Fix(wx): Fix `ListBooks`: Fix row count

[skip ci]

4 months agoDocs(TODO): These items are for wxPython
Oleg Broytman [Tue, 18 Jun 2024 15:54:51 +0000 (18:54 +0300)]
Docs(TODO): These items are for wxPython

[skip ci]

4 months agoRefactor(web): Use `#filter WebSafe` instead of `cgi.escape`
Oleg Broytman [Tue, 18 Jun 2024 15:50:59 +0000 (18:50 +0300)]
Refactor(web): Use `#filter WebSafe` instead of `cgi.escape`

[skip ci]

5 months agoDocs(TODO): Get rid of `import cgi`
Oleg Broytman [Sat, 15 Jun 2024 22:21:55 +0000 (01:21 +0300)]
Docs(TODO): Get rid of `import cgi`

[skip ci]

6 months agoDocs: Update TODO
Oleg Broytman [Sat, 27 Apr 2024 22:34:35 +0000 (01:34 +0300)]
Docs: Update TODO

[skip ci]

8 months agoFix(DB): Fix bug with adding same genre to book
Oleg Broytman [Sun, 3 Mar 2024 15:27:40 +0000 (18:27 +0300)]
Fix(DB): Fix bug with adding same genre to book

8 months agoVersion 0.3.1 0.3.1
Oleg Broytman [Sun, 25 Feb 2024 13:03:41 +0000 (16:03 +0300)]
Version 0.3.1

[skip ci]

8 months agoDocs(news): wx.grid: Wrap long lines
Oleg Broytman [Sun, 25 Feb 2024 13:02:59 +0000 (16:02 +0300)]
Docs(news): wx.grid: Wrap long lines

[skip ci]

8 months agoFeat(wx): Wrap long lines
Oleg Broytman [Sun, 25 Feb 2024 10:22:56 +0000 (13:22 +0300)]
Feat(wx): Wrap long lines

[skip ci]

8 months agoDocs: Link to `install` 0.3.0
Oleg Broytman [Mon, 19 Feb 2024 10:41:22 +0000 (13:41 +0300)]
Docs: Link to `install`

[skip ci]

8 months agoVersion 0.3.0: GUI with `wxPython`
Oleg Broytman [Mon, 19 Feb 2024 10:35:59 +0000 (13:35 +0300)]
Version 0.3.0: GUI with `wxPython`

[skip ci]

8 months agoDocs(ru): Добавить `install.rst`
Oleg Broytman [Mon, 19 Feb 2024 10:27:02 +0000 (13:27 +0300)]
Docs(ru): Добавить `install.rst`

Краткое описание установки библиотекаря и зависимостей.

[skip ci]

8 months agoDocs(install): Describe installation of `wxPython`
Oleg Broytman [Mon, 19 Feb 2024 10:26:04 +0000 (13:26 +0300)]
Docs(install): Describe installation of `wxPython`

[skip ci]

9 months agoFeat(wx/books): Report success
Oleg Broytman [Wed, 7 Feb 2024 10:00:55 +0000 (13:00 +0300)]
Feat(wx/books): Report success

[skip ci]

9 months agoStyle(wx/books): Fix minor `flake8` warning
Oleg Broytman [Wed, 7 Feb 2024 09:55:59 +0000 (12:55 +0300)]
Style(wx/books): Fix minor `flake8` warning

[skip ci]

9 months agoFeat(wx/books): Add menu command `Save`
Oleg Broytman [Mon, 5 Feb 2024 15:59:32 +0000 (18:59 +0300)]
Feat(wx/books): Add menu command `Save`

Work around a problem the grid closes up the download button.

[skip ci]

9 months agoDocs(ru): Fix URLs
Oleg Broytman [Tue, 23 Jan 2024 15:14:51 +0000 (18:14 +0300)]
Docs(ru): Fix URLs

[skip ci]

10 months agoDocs(wx): Update TODO
Oleg Broytman [Sun, 14 Jan 2024 09:52:19 +0000 (12:52 +0300)]
Docs(wx): Update TODO

wx GUI is implemented.

[skip ci]

10 months agoMerge branch 'wx'
Oleg Broytman [Sun, 14 Jan 2024 09:44:53 +0000 (12:44 +0300)]
Merge branch 'wx'

[skip ci]

10 months agoFeat(wx/books): Catch and report errors on downloading
Oleg Broytman [Wed, 10 Jan 2024 01:04:33 +0000 (04:04 +0300)]
Feat(wx/books): Catch and report errors on downloading

[skip ci]

10 months agoMerge branch 'master' into wx
Oleg Broytman [Wed, 10 Jan 2024 00:50:54 +0000 (03:50 +0300)]
Merge branch 'master' into wx

10 months agoFeat(wx/books): Download books
Oleg Broytman [Wed, 10 Jan 2024 00:42:04 +0000 (03:42 +0300)]
Feat(wx/books): Download books

[skip ci]

10 months agoRefactor(web): Get download destination path from config
Oleg Broytman [Wed, 10 Jan 2024 00:45:23 +0000 (03:45 +0300)]
Refactor(web): Get download destination path from config

[skip ci]

10 months agoFeat(wx/books): Toggle all/autor/series checkboxes
Oleg Broytman [Tue, 9 Jan 2024 18:28:54 +0000 (21:28 +0300)]
Feat(wx/books): Toggle all/autor/series checkboxes

[skip ci]

10 months agoFeat(web): Catch and report errors on downloading
Oleg Broytman [Wed, 10 Jan 2024 00:16:24 +0000 (03:16 +0300)]
Feat(web): Catch and report errors on downloading

[skip ci]

10 months agoFeat(web): Recompile `search_authors_form.py`
Oleg Broytman [Wed, 10 Jan 2024 00:15:47 +0000 (03:15 +0300)]
Feat(web): Recompile `search_authors_form.py`

[skip ci]

10 months agoFeat(wx/books): Catch clicks, toggle checkboxes
Oleg Broytman [Tue, 9 Jan 2024 17:45:22 +0000 (20:45 +0300)]
Feat(wx/books): Catch clicks, toggle checkboxes

[skip ci]

10 months agoFeat(wx/books): Display download checkboxes
Oleg Broytman [Tue, 9 Jan 2024 17:07:49 +0000 (20:07 +0300)]
Feat(wx/books): Display download checkboxes

[skip ci]

10 months agoFeat(wx/books): Set custom table
Oleg Broytman [Tue, 9 Jan 2024 16:40:57 +0000 (19:40 +0300)]
Feat(wx/books): Set custom table

Will be used to display download checkboxes.

[skip ci]

10 months agoFix(wx/search): Do not allow empty search value
Oleg Broytman [Tue, 9 Jan 2024 14:04:27 +0000 (17:04 +0300)]
Fix(wx/search): Do not allow empty search value

There're too many authors and books to list them all.

[skip ci]

10 months agoFeat(wx/books): Display author on a separate row
Oleg Broytman [Tue, 9 Jan 2024 01:38:54 +0000 (04:38 +0300)]
Feat(wx/books): Display author on a separate row

[skip ci]

10 months agoFeat(wx/search): Search books
Oleg Broytman [Mon, 8 Jan 2024 02:05:33 +0000 (05:05 +0300)]
Feat(wx/search): Search books

Refactor common code in `SearchPanel`.
Create 2 panels: search for authors and search for books.
Display multiple authors' books.

[skip ci]

10 months agoFeat(wx): Catch `Escape` in the grid and close the window
Oleg Broytman [Sun, 7 Jan 2024 21:34:17 +0000 (00:34 +0300)]
Feat(wx): Catch `Escape` in the grid and close the window

[skip ci]

10 months agoRefactor(wx): Refactor common code
Oleg Broytman [Sun, 7 Jan 2024 21:26:08 +0000 (00:26 +0300)]
Refactor(wx): Refactor common code

[skip ci]

10 months agoFeat(wx/books): Show series
Oleg Broytman [Sat, 6 Jan 2024 20:50:43 +0000 (23:50 +0300)]
Feat(wx/books): Show series

[skip ci]

10 months agoFeat(wx/books): List books for an author
Oleg Broytman [Sat, 6 Jan 2024 15:32:05 +0000 (18:32 +0300)]
Feat(wx/books): List books for an author

[skip ci]

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

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

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

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

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

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

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

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

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

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

10 months agoFeat(web): Change submit buttons texts
Oleg Broytman [Wed, 3 Jan 2024 23:28:54 +0000 (02:28 +0300)]
Feat(web): Change submit buttons texts

[skip ci]

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

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

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

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

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

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

[skip ci]

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

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

[skip ci]

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

10 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

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

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

10 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

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

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

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

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

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

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

[skip ci]

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

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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

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

[skip ci]

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

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

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

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

[skip ci]

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

22 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