2 weeks ago
fixup various scripts
2 weeks ago
cache target directories when building ayllu components
2 weeks ago
set reasonable terminal, fix config script
2 weeks ago
detect git mirrors to display them in the ui and handle them differently

Mirrors are important for building software but it is not necessarily
desirable to treat them as though they are cannonical repositories since they
are not "owned" by a given Ayllu instance.

This adds the ability to detect when a repository is considered a "mirror" to
display this in the UI as well as hide it from RSS feeds, the remote API,
and prevent certain jobs from being run against it.
2 weeks ago
split apart multiuser and multiuser-mail containers
4 weeks ago
add support for ngx_mail_auth_http_module

This adds an implementation of the ngx_mail_auth_http_module [1] proxy
protocol so that Nginx can be used as a reverse proxy for gating SMTP
requests to Postfix or another email server. If mail.nginx_auth.domains
is enabled then only e-mails sent to the configured domains will be
authorized by the server.

If desired in the future the authentication protocol can be expanded to support
SASL authentication [2] and support authenticated mailing list use which might
be useful in certain scenarios.

1. https://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html#protocol
2. https://nginx.org/en/docs/mail/ngx_mail_smtp_module.html#smtp_auth
4 weeks ago
several new architectual changes for mailpot integration

Updates the container to better support postfix integration with ayllu-mail.
Adds crony system for hanging e-mail messages.
Fixup a few scripts and add shellcheck support.
1 month ago
create rudolfs data directory if it is missing
1 month ago
add lfs support to base and multiuser container
1 month ago
update example config http address to 127.0.0.1
1 month ago
use cargo sqlx instead of system sqlx
1 month ago
change default http address from localhost -> 127.0.0.1
1 month ago
contrib/systemd: add template file

This commit adds a template file that can be used to launch oneshot
systemd jobs that execute `/usr/bin/ayllu jobs run path/to/repo`.

See unit file comments for directions.

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
1 month ago
fix set_group_writable to actually set group writable
1 month ago
fix typo on home page
1 month ago
clean up homepage language a bit
1 month ago
add documentation for using custom tree-sitter highlight queries
1 month ago
bump ayllu base container to use alpine 3.20

Additionally adds a few misc fixes for building tree-sitter-diff within the
base container.
1 month ago
fix broken container build; fix feed.xsl
1 month ago
add support for custom tree-sitter highlight queries

Adds support for overriding system level highlight queries with custom scm
strings. Additionally bakes the tree-sitter-diff package in the container since
it is fundemental to Ayllu operation but not available in Alpine packages.
1 month ago
make rpc timeout configurable for job operations
1 month ago
restore the depth flag on job commands

This adds the max_depth flag back to the Ayllu job CLI so that you can specify
--max-depth=90 for example to only process the most recent 90 commits rather
than traversing the entire git history of a project.
1 month ago
rewrite relative urls so they resolve the correct paths

This makes it so that relative links and media assets will resolve to the
correct URL on the server.

For example:

[fuu](/fuu)
https://ayllu-forge.org/projects/ayllu/blob/main/fuu
![bar](/baz.png)
https://ayllu-forge.org/projects/ayllu/raw/master/baz.png
1 month ago
make url anchors configurable via system themes

This makes it so the anchor SVG image is configurable with the rest of the
theme. Additionally a theme Extension has been added so that routes can access
the full theme object with it's underlying assets.
1 month ago
add anchor links in headers rendered from markdown
1 month ago
clean up readme rendering
2 months ago
add build_and_deploy helper script
2 months ago
disable ayllu component crates until they are actively used
2 months ago
revert block display for image readme
2 months ago
fix link
2 months ago
fix colors on light color schemes
2 months ago
tighten up margins on index page
2 months ago
clean up commit message; fix watch.sh
2 months ago
fix base image now that sassc is unused
2 months ago
redesign themeing system

This is a complete redesign of Ayllu's themeing system as well as it's default
theme and documentation site.

New features include:

* Ability to mix between built-in compiled and user provided external themes.
* Lightning CSS[1] support eliminating the need for sassc.
* Change from picocss to Open Props[2] which has better support for user
themeing.
* Additional ability to customize all SVG contents used in the UI.
* Ability to customize RSS pages via a theme based XSL file.
* General readability and design improvements (thanks toastal).
* Improvements for using legacy browsers like Dillo, Lynx, etc.
* Some accessibility improvements (WIP still).

1. https://lightningcss.dev/
2. https://open-props.style/
2 months ago
parameterize multiuser container base image
2 months ago
remove mention of tree-sitter-amalgamation

tree-sitter-amalgamation is no longer needed because distribution packaging
of tree-sitter parsers has improved.
2 months ago
remove unused ids
2 months ago
group colors
2 months ago
update multiuser container to grant access to ayllu
2 months ago
various multiuser container fixes; explicitly set socket perms
2 months ago
add multiuser container

This adds a container for production deployments with use with multiple users
in a shared environment. Full design is still a WIP.
2 months ago
add ping api route for container healthchecks
3 months ago
automatically run migrations at server startup
3 months ago
add documentation for running via podman
3 months ago
update container for root user
3 months ago
add fonts to base container for plotters.rs
3 months ago
fix config order
3 months ago
update base container with git and basic .gitconfig
3 months ago
update migrations path default and make it configurable
3 months ago
add initial support for running ayllu via podman

This adds the basic tooling to support container based workflows with Podman.
It only adds the ability to run the basic ayllu/quipu components without
support for mail, chat, etc. those components will come after.
3 months ago
improve development scripts for database creation

This standardizes the creation of sqlite databases for use in testing and
the compilation process.

Prior to compiling each component you need to:

Usage:

scripts/ensure-db.sh $COMPONENT
3 months ago
add support for smart_http git cloning

This adds support for calling git-http-backend via a CGI like interface in
Ayllu which means that running an external fcgiwrap like service is no longer
required. The implementation is based on https://github.com/w4/rgit which is
an excellent Rust based cgit clone.
3 months ago
use thiserror in web2/error.rs
3 months ago
init quipu

Implement a rough draft of Quipu - the CLI and RPC client for Ayllu. This adds
a simple REST server into the existing Ayllu HTTP server as well as a new
binary called quipu for interacting with the new endpoints. Eventually I would
like to implement a custom transport built on Tarpc expose both the REST API
and the internal RPC communication if desired.
3 months ago
clean up rss feeds a bit
3 months ago
add commits_range_between and branches range

Adds two new git related methods for resolving the commits between two
commits and returning branches within a certain range. This is being added
to support new UI and RSS features.
3 months ago
actually remove stylesheets
3 months ago
rm mistakenly added compiled css
3 months ago
rewrite tree-sitter module names to use snake_case

This changes the tree-sitter module loader to re-write function calls as
snake_case as is the convention in tree-sitter. For example the module
/usr/lib/libtree-sitter-markdown-inline.so will be re-written try calling the
method tree_sitter_markdown_inline()
3 months ago
fix timezone in test_git_commit_range
3 months ago
make screenshot slightly larger
3 months ago
cleanup home page a bit
3 months ago
Replace capnp with tarpc

This replaces the capnp RPC implementation with tarpc. Tarpc requires far less
boilerplate and simplifies the codebase considerably.
4 months ago
move main ayllu binary into subcrate
4 months ago
bump versions
4 months ago
rm gitbug entirely from the project

Gitbug is an awesome project that has a lot of promise however it doesn't fit
well with Ayllu since it has no Rust library and it uses a Go based key value
store on the file system which cannot be interoperated with.
5 months ago
fix stylesheet with watch.sh
5 months ago
appease all clippy wisdom
5 months ago
change from_str -> read in config loader
5 months ago
clippy --fix
5 months ago
fix watch.sh escaping
5 months ago
use a standard git global config for test helper

This adds a basic global git config to avoid conflicting with the testing
user's gitconfig e.g. attempting to GPG sign test commits.
5 months ago
simplify a few helper scripts
5 months ago
content & style updates
5 months ago
add option to tee build output for debugging purposes

ayllu-build evaluate now supports a --tee-output flag which will write the
executor output to the caller's stdout/stderr for debugging purposes.
5 months ago
update ayllu-build to use derive based clap
6 months ago
add test to validate sample configuration
6 months ago
restore commit order for firehose
6 months ago
do not generate summary pages with no content

RSS feeds no longer will generate a summary item if no activities happened
within the timeframe.
6 months ago
make rss ttl fixed and configurable

This lets the user specify the TTL in the RSS response by the server.
Additionally the tests have been refactored to use a fixed timestamp instead
of being based on the current time. This was needed because two sequential
commits at the same second will cause the tests to periodically fail since
epoch times will overlap.
6 months ago
rm unused link
6 months ago
only show bugs page when gitbug support enabled
6 months ago
manually escape code without syntax highlighting
6 months ago
move list lookup into separate rpc method
6 months ago
fix regression in error handler

This fixes a regression I introduced into the error handler, it also
simplifies what was a very confusing design.
6 months ago
add systemd sockets
6 months ago
update systemd contrib files
6 months ago
normalize paths with trailing slash
6 months ago
restore logging functionality; bump tower-http
6 months ago
upgrade axum to the latest version
6 months ago
add support for exporting via mbox
6 months ago
add patch support with highlighting, misc mail updates
6 months ago
flatten out navigation, more mail progress
6 months ago
flesh out more mail integration
6 months ago
make ayllu-mail cli derive based; add complete subcommand
6 months ago
make ayllu-mail more declarative
6 months ago
flatten out discussion pages
6 months ago
rm unused code
6 months ago
add missing guid for summary items in rss