aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs(readme): update features for dark mode and typographyHEADmastersaturneric12 days1-2/+4
| | | | | | * Add dark mode support and improved typography to feature list * Highlight enhanced readability and reduced eye strain * Mention use of Source Code Pro for better code display
* chore(docker): remove unused `lua` directory copysaturneric12 days2-2/+0
| | | | | | * Excludes copying the `lua` directory from both Dockerfiles. * Simplifies container image by omitting unnecessary files. * Prevents potential confusion or bloat from unused resources.
* Merge branch 'saturneric'saturneric12 days82-43/+698
|\
| * docs(config): update site title and readme pathsaturneric12 days1-2/+2
| | | | | | | | | | | | * Revise root title for clarity and consistency * Update root readme location to reflect new directory * Improve project branding and organization
| * refactor(config): simplify URL rewrite rulessaturneric12 days1-8/+2
| | | | | | | | | | | | | | * Remove unused `mod_access` module to streamline server setup * Replace complex rewrite logic with `url.rewrite-if-not-file` for improved clarity and maintainability * Clean up commented-out logging configuration for readability
| * style(css): update font usage and add dark mode supportsaturneric12 days1-24/+507
| | | | | | | | | | | | | | | | | | * Replace generic `monospace` font-family with `"Source Code Pro", "Courier New", monospace` for improved readability and consistency * Import external `source-code-pro.css` for custom font usage * Add extensive dark mode styles for enhanced accessibility and user experience in browsers that support `prefers-color-scheme` * Improve avatar image styling and hover effects
| * feat(ui): add `Source Code Pro` font assets and configsaturneric12 days76-14/+184
| | | | | | | | | | | | | | | | | | * Bundle `Source Code Pro` font files in multiple formats (WOFF, WOFF2, OTF, TTF) * Add CSS font-face definitions for consistent editor-style typography * Update Dockerfiles to copy font assets into webapp for runtime use * Move and rename `about.html` for improved organization Improves code readability and visual consistency in the web interface.
| * style(html-rendering): update theme to dark modesaturneric12 days2-3/+5
| | | | | | | | | | | | * Switches syntax highlighting style to `monokai` and `darkplus` * Adjusts CSS for improved dark mode readability * Enhances accessibility and visual consistency for dark backgrounds
| * chore(ui): update `cgit.png` assetsaturneric12 days1-0/+0
| | | | | | | | | | * Replace existing image with a new version to improve appearance * Ensures updated branding or visual consistency across UI
* | perf(config): reduce cache sizes and TTLssaturneric12 days1-4/+4
| | | | | | | | | | | | * Lower cache entry limit and TTLs to minimize memory usage * Speeds up cache refresh for root, repo, and dynamic pages * May improve responsiveness under frequent content changes
* | chore(docker): remove unused `lua` directory mappingsaturneric12 days4-5/+2
| | | | | | | | | | | | * Eliminate references to the `lua` directory in Dockerfiles and compose file * Update configuration descriptions for improved clarity * Reduces build complexity and avoids mounting unnecessary files
* | docs(readme): clarify dockerized `cgit` descriptionsaturneric12 days1-2/+2
| | | | | | | | | | | | * Update project title and introduction for clarity * Emphasize Docker deployment and production readiness * Improve distinction from upstream `cgit` implementation
* | refactor(config): simplify URL logic and remove Lua redirectsaturneric12 days3-67/+5
| | | | | | | | | | | | | | | | * Remove custom rewrite and Lua redirect for repo paths, standardizing URL handling in server config. * Update clone URLs to use an example domain. * Reduce enabled modules to only those required for serving and rewriting. * Streamline config to improve maintainability and reduce complexity.
* | docs(readme): improve setup and feature docssaturneric12 days1-23/+80
| | | | | | | | | | | | | | * Revise documentation for clearer installation and configuration steps * Expand and clarify feature list, emphasizing production readiness * Add sections on development workflow and local testing * Improve formatting and readability for better onboarding
* | docs(readme): simplify and update project documentationsaturneric12 days1-184/+7
|/ | | | | | | | | | * Standardize naming to lowercase `cgit` for consistency * Remove development and configuration details to streamline the README * Update clone instructions with public repository URL * Focus documentation on production usage and licensing Removes redundant and less relevant sections to improve clarity for new users and maintainers.
* chore(ci): update workflow trigger to `saturneric` branchsaturneric12 days1-6/+1
| | | | | | * Restrict CI workflow to run only on pushes to the `saturneric` branch * Clarifies workflow intent by removing outdated comments about the main branch * Helps prevent unintentional workflow runs on other branches
* chore(ci): limit workflow to `saturneric` branchsaturneric12 days1-1/+7
| | | | | | * Restricts CI workflow execution to pushes on the `saturneric` branch * Prevents unnecessary runs on other branches, optimizing resource use * Clarifies workflow scope for targeted development or testing
* feat(dev-env): add development Docker setupsaturneric12 days2-0/+57
| | | | | | * Introduce Dockerfile and Compose file for local development * Enable easier setup and consistent environment for working * Support live code volume mounts and configuration overrides
* refactor(request): remove object refname ambiguity warningsaturneric12 days1-5/+0
| | | | | | | * Eliminates manual disabling of ambiguous object refname warnings during request processing. * Relies on internal handling of ambiguous refs where necessary, reducing unnecessary global state modification.
* docs(readme): add docker-optimized usage guidesaturneric12 days3-5/+224
| | | | | | | | | | | * Introduces a detailed `README.md` covering installation, configuration, architecture, and development workflow for the Dockerized Git web interface. * Updates repository documentation to highlight containerized deployment, Lighttpd proxy integration, syntax highlighting, and markdown rendering. * Refines `docker-compose.yaml` volume mounts for clarity and optional config. Relates to improved onboarding and deployment consistency.
* chore(ci): simplify workflow with shared `docker-build`saturneric12 days1-38/+7
| | | | | | | * Replace custom workflow steps with a reusable `docker-build` workflow for improved maintainability and consistency * Centralize image and registry configuration via workflow inputs and secrets for easier updates and reduced duplication
* fix(redirect): lowercase repo names in redirect URLssaturneric12 days1-5/+14
| | | | | | | * Ensures repository names in `/gpgfrontend/` redirects are always lowercase for consistency and compatibility. * Handles both direct and rewritten URLs, preserving query strings. * Improves URL normalization and prevents duplicate rewrite segments.
* feat(server): add URL redirect for uppercase pathssaturneric12 days3-1/+34
| | | | | | | | | | * Introduce Lua-based redirect to handle requests for uppercase `GpgFrontend` URLs, ensuring they are rewritten to lowercase equivalents for consistency. * Enable the `mod_magnet` module in the server config, applying the Lua redirect logic before other rewrites. * Improve user experience by preventing duplicate route handling and enforcing a unified URL structure.
* chore(submodule): update git submodule urlsaturneric12 days1-1/+1
| | | | | | * Change submodule remote URL to `git.bktus.com` for improved reliability or access. * Ensures future submodule updates use the new repository source.
* fix(proxy): broaden git URL matching for proxysaturneric12 days1-4/+3
| | | | | | | * Expand URL regex to support proxying requests for repositories lacking `.git` suffix, except for `cgit.cgi` * Restrict allowed methods to `GET` and `POST` for these requests * Improve compatibility with varied git client request patterns
* fix(ui): normalize clone URLs to lowercasesaturneric13 days1-0/+6
| | | | | | * Convert generated clone URLs to lowercase to improve compatibility with case-insensitive filesystems and protocols. * Prevent issues caused by inconsistent URL casing in downstream tools.
* chore(ci): update Docker setup and image sourcessaturneric13 days2-4/+7
| | | | | | | | | * Upgrade Docker Buildx action to v3 and configure registry mirror for improved build speed and reliability. * Switch Docker base images from custom registry to official `alpine:latest` for both build and runtime stages. * Simplify image management and reduce external dependencies in the CI pipeline.
* fix(request): disable ambiguous refname warningssaturneric13 days1-0/+5
| | | | | | | * Prevents warnings about ambiguous object references during request processing. * Relies on internal handling of such cases where necessary. * Improves user experience by avoiding unnecessary warning output.
* chore(submodules): update `git` submodule URLsaturneric13 days1-1/+1
| | | | | | * Change the submodule source to a different mirror for `git` * May improve reliability or access speed depending on the new host * No functional change to code, only updates repository configuration
* chore(config): disable `follow-links` featuresaturneric13 days1-1/+1
| | | | | * Turn off automatic following of links to improve navigation control * May help prevent unintentional link traversals or performance issues
* chore(config): comment out access log settingssaturneric13 days1-2/+2
| | | | | * Disable access log output to reduce logging noise or for privacy. * Can be re-enabled by uncommenting if detailed access logs are needed.
* fix(proxy): restrict git proxy to GET and POSTsaturneric13 days1-3/+2
| | | | | | * Deny HTTP methods other than GET and POST for git-related proxy requests to enhance security. * Add clarifying comments for proxy and method restrictions.
* refactor(config): improve proxy and rewrite logicsaturneric13 days1-11/+21
| | | | | | | | | * Normalize directory paths and index file configuration for consistency and clarity * Refine proxy server block for git HTTP requests, using clearer structure and comments * Scope URL rewrite rules to non-proxied requests, improving asset handling and compatibility with virtual root setups
* chore(docker): update base image to custom alpinesaturneric13 days1-2/+2
| | | | | | * Switch base image from default Alpine to custom registry version * Ensures consistency and control over build/runtime environments * May address compatibility, security, or dependency requirements
* fix(proxy): update proxy target to `gitea`saturneric13 days1-1/+1
| | | | | | | * Change proxy server host from `localhost` to `gitea` to reflect the correct backend service for Git-related requests. * Ensures routing aligns with current infrastructure where `gitea` is the intended Git server.
* feat(logging): enable access logging to stderrsaturneric13 days1-1/+5
| | | | | | * Add `mod_accesslog` module and configure access log output to `/dev/stderr` * Improve monitoring and debugging by logging HTTP access in standard format * Enhance visibility for requests and server activity during runtime
* feat(filters): add `--inline-css` to syntax highlightingsaturneric13 days1-1/+1
| | | | | | | * Enable inline CSS in syntax-highlighted output for improved portability of generated XHTML. * Removes dependency on external stylesheet, making output easier to embed or distribute.
* fix(docker): update healthcheck to use `127.0.0.1`saturneric13 days1-1/+1
| | | | | | * Change healthcheck URL from `localhost` to `127.0.0.1` * Addresses issues in environments where `localhost` may not resolve * Improves reliability of container health monitoring
* feat(docker): enable `highlight` for syntax filteringsaturneric13 days3-3/+4
| | | | | | | | | * Add `py3-pygments` and `highlight` to runtime dependencies for improved syntax highlighting support. * Switch syntax filtering to use shell script with `highlight` v3 for better compatibility and output format. * Update configuration to reference the new filter script, ensuring consistent code highlighting in generated content.
* feat(docker): add `py3-markdown` dependencysaturneric13 days1-1/+1
| | | | | | | * Include `py3-markdown` in the runtime environment to enable Markdown processing capabilities. * Supports features or filters that require Markdown conversion. * Ensures compatibility with Python-based Markdown scripts.
* feat(docker): improve runtime setup and add about pagesaturneric13 days3-4/+130
| | | | | | | | * Replace build-time filter copy with host-based approach for flexibility * Expand runtime dependencies to include `python3` and `lua5.4` * Update repository scan path to align with container directory structure * Add healthcheck for service reliability * Introduce new HTML about page with contact, PGP keys, and usage info
* chore(ci): add CI workflow for Docker image buildsaturneric13 days1-0/+45
| | | | | | | * Introduce automated CI workflow to build and push Docker images on push events using a custom registry and edge tags * Enable nightly integration testing and ensure up-to-date images are available for downstream workflows
* feat(docker): expose port 80 for container usagesaturneric13 days1-0/+1
| | | | | | * Declare port 80 to enable easier access to the running service * Facilitates integration with container orchestration and networking * Improves developer experience when testing or deploying
* refactor(repolist): simplify repository initialization logicsaturneric13 days1-8/+4
| | | | | | * Remove redundant allocation and clearing of repository object * Use shared `the_repository` for initialization and commit time retrieval * Improve code clarity and reduce memory management overhead
* feat(repolist): improve repo activity time detectionsaturneric13 days1-0/+92
| | | | | | | | | * Add logic to determine repository last activity time by parsing commit timestamps and tags, increasing accuracy over file-based methods. * Fall back to commit-based timestamp if age file or existing metadata is unavailable. * Enhance ability to sort or display repositories by recent activity.
* refactor(repo): migrate to new object database APIsaturneric2025-11-0212-43/+93
| | | | | | | | | | * Replace legacy object store interfaces with new `odb` API * Update function signatures to include referent param for callbacks * Use improved object lookup and read methods for consistency * Simplify file path handling with repository-scoped utilities Modernizes repository object access for better maintainability and future compatibility. No functional regressions expected.
* chore(submodule): update `git` submodule URL and commitsaturneric2025-11-022-1/+1
| | | | | * Change submodule source to GitHub for improved accessibility * Update to latest upstream commit for consistency
* feat(docker): add `docker-compose` and improve configsaturneric2025-11-023-22/+31
| | | | | | | * Introduce `docker-compose` for easier service orchestration * Simplify and fix `lighttpd` config for cleaner routing and proxy * Add `libcurl` dependency and cache setup for better compatibility * Improve container volume mounts and permissions for smoother usage
* chore(gitignore): add `repos` to ignore listsaturneric2025-11-021-0/+1
| | | | | * Prevents accidental commits of the `repos` directory * Helps keep version control clean and focused on source files
* perf(docker): parallelize build with `make -j`saturneric2025-11-021-1/+1
| | | | | | * Enable multi-core compilation to reduce build times during Docker image creation. * Improves efficiency, especially on systems with multiple CPUs.