Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3


- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.BBSD_IMAGE }}

- name: Build the Docker image
id: build-bbsd
uses: docker/build-push-action@v5
Expand All @@ -31,5 +43,7 @@ jobs:
context: .
file: Dockerfile/dockerfile.bbsd
tags: |
${{ env.BBSD_IMAGE }}:dev
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha # Pull cache from GitHub Actions cache
cache-to: type=gha,mode=max # Push cache to GitHub Actions cache
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.BBSD_IMAGE }}

- name: Build and push Docker image
id: push-bbsd
uses: docker/build-push-action@v5
Expand All @@ -53,4 +59,7 @@ jobs:
tags: |
${{ env.BBSD_IMAGE }}:${{ github.ref_name }}
${{ env.BBSD_IMAGE }}:latest
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha # Pull cache from GitHub Actions cache
cache-to: type=gha,mode=max # Push cache to GitHub Actions cache
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([lbbs],[1.7.4])
AC_INIT([lbbs],[1.7.5])
AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIRS([m4])
Expand Down
4 changes: 4 additions & 0 deletions src/lml.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,10 @@ int lml_render(const char *str_in, char *str_out, int buf_len, int width, int qu
CHECK_AND_APPEND_OUTPUT(str_out, buf_len, j, tab_spaces, tab_width, line_width);
continue;
}
else if (!quote_mode && str_in[i] == '\033')
{
continue; // Skip control characters while not in quote mode
}

if (!lml_tag_disabled && str_in[i] == '[')
{
Expand Down
2 changes: 1 addition & 1 deletion src/section_list_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ int apply_article_op_log_from_db(int op_count_limit)
p_section->sid, p_article->aid);
}
break;
case 'Z': // Set article as trnasship
case 'Z': // Set article as transship
p_article->transship = 1;
break;
default:
Expand Down