18 Commits

Author SHA1 Message Date
lars 7fdb1a200f Bump plotstyle to 1.0.0 and gallery to 0.2.0
Publish plotstyle / build-and-publish (push) Failing after 9s
CI / test:pytest (push) Successful in 20s
CI / lint:ruff (push) Successful in 14s
CI / format:ruff (push) Successful in 17s
CI / typecheck:ty (push) Successful in 15s
CI / vulnerabilities:pip-audit (push) Successful in 18s
2026-07-24 10:52:41 +02:00
lars 2020ac4883 Remove pre-package-restructure cruft and dead features
CI / lint:ruff (push) Successful in 9s
CI / format:ruff (push) Successful in 8s
CI / typecheck:ty (push) Successful in 10s
CI / vulnerabilities:pip-audit (push) Successful in 11s
CI / test:pytest (push) Successful in 12s
Delete the top-level implementation superseded by the gallery/ package
conversion (generate_gallery.py, orchestration/, root templates/ and
assets/, python/ scripts), stray scratch files, and docs describing a
container/GitLab-CI coverage workflow that no longer exists. Also drop
two half-wired, never-invoked features: the backup_folder config/TUI
option (create_backup() was never called from the pipeline) and the
unfinished export-to-LaTeX JS/CSS. Update README's install instructions
to the current Gitea remote.
2026-07-23 13:50:32 +02:00
lars 3b9d1ef1a8 Rewrite CI to lint/typecheck/audit/test only; add HPC deployment path
- Replace the Docker build/publish CI stages with ruff (lint + format
  check), ty (type check), pip-audit, and pytest run directly against
  python:3.11-slim; Docker remains for manual/server deployment only.
- Swap black/pylint/mypy for ruff/ty across pyproject.toml, and fix
  every resulting lint, format, and type diagnostic in gallery/ and
  plotstyle/.
- Fix tests broken/stale from before the package restructuring: wrong
  `utils.*` import paths, mock patch targets pointed at the wrong
  module, and PDF-conversion tests still assuming ImageMagick instead
  of the current PyMuPDF-first path. Drop test_container.py (obsolete
  Docker-container smoke tests, fully superseded elsewhere).
- Add a plain-venv + systemd --user timer deployment path
  (deploy/systemd/) for HPC login nodes without a Docker daemon, where
  public_html is already served by existing infrastructure.
- Document both in CLAUDE.md, including running CI's checks locally
  before committing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 15:29:55 +02:00
Kylian Schmidt 3c399d5733 Add fallback if ImageMagick is not available 2026-05-15 09:07:48 +02:00
Kylian Schmidt 73916268a2 Improve layout for adding sources 2026-05-08 16:32:28 +02:00
Kylian Schmidt ace9646a25 Fix alignment of text 2026-05-08 16:03:52 +02:00
Kylian Schmidt 018398a97b feat: add quit button 2026-05-08 15:53:48 +02:00
Kylian Schmidt 19fc15abb4 feat: add Gallery TUI for interactive configuration and generation
- Implemented a terminal user interface (TUI) for configuring the gallery generator using Textual.
- Included functionality to manage sources with add/remove
- Integrated a log pane to display generation output from subprocess calls.
- Implemented save functionality to persist configuration changes.
2026-05-08 15:47:02 +02:00
Kylian Schmidt 17acd478d3 Add argcomplete support 2026-05-08 14:42:01 +02:00
Kylian Schmidt 63e4af0f9f Refactor: reorganize configuration management and add default config file 2026-05-08 14:05:40 +02:00
Kylian Schmidt 25b564e085 move stats box to top right 2026-05-08 13:22:14 +02:00
Kylian Schmidt afd04324bc Unlink assets and put everything into the gallery folder 2026-05-08 13:05:39 +02:00
Kylian Schmidt 6738c4ca69 Refactor: Remove obsolete JavaScript managers and utilities
- Deleted NavigationManager, RecentPlotsManager, SearchManager, SortManager, StatsManager, ThemeManager, Utils, and ViewManager classes.
- Updated gallery builder to improve asset copying logic with a more efficient modification time check.
- Cleaned up gallery HTML template by removing subdirectory listing and embedding gallery data as JSON.
- Added CLAUDE.md for project documentation and guidelines.
2026-05-06 08:34:40 +02:00
Kylian Schmidt 6f0cf4521b Add support for incremental updates in gallery generation
- Introduced `source_to_update` parameter to selectively regenerate specific sources.
- Updated documentation to reflect new behavior for `clean_first` and `source_to_update`.
- Modified CLI and legacy CLI to handle source overrides appropriately.
2026-04-23 13:09:26 +02:00
Kylian Schmidt a30149e5da Fix template argument order in build_gallery calls 2026-04-23 12:56:59 +02:00
Kylian Schmidt e044b4ce60 Fix old DEBUG statement 2026-04-22 15:10:26 +02:00
Kylian Schmidt bec86d0f07 Fix tests 2026-04-22 14:42:25 +02:00
Kylian Schmidt 27ea17246c Convert to proper python package 2026-04-22 13:48:23 +02:00