Compare commits

..

No commits in common. "main" and "template_cleanup" have entirely different histories.

5 changed files with 3 additions and 14 deletions

View File

@ -5,6 +5,7 @@ WORKDIR /opt
COPY lib/ ./lib/
COPY migrations/ ./migrations/
COPY public/ ./public/
COPY t/ ./t/
COPY templates/ ./templates/
COPY script/ ./script/
COPY cpanfile .

View File

@ -61,6 +61,7 @@ tests locally:
## TODOs
- Figure out why `filter_text` is set to `0` and document that?
- Stop working on this and start the imageboard
## AGPL-3.0+ANTIFA compliance

View File

@ -4,7 +4,6 @@
remarks_per_page => 5,
results_per_page => 5,
body_max_length => 8_000,
version => 'Feb 11 2025',
secrets => ['t0p_s3cr3t'],
development => {
pg_string =>

View File

@ -30,8 +30,6 @@ sub startup($self) {
$self->helper(hr => sub ($c) {
state $hr = HTML::Restrict->new(
# filter_text breaks greater and less than symbols in Markdown code blocks
# Also breaks Markdown quote blocks
filter_text => 0,
strip_enclosed_content => [],
rules => {
@ -140,14 +138,7 @@ sub startup($self) {
$c->session(expires => 1);
$c->redirect_to('threads_list');
})->name('new_session');
# Hide a version string to check build later
if (my $version = $self->config->{'version'}) {
$r->get('/version', sub ($c) {
$c->render(text => $version . "\n")
})->name('version_string');
}
});
# Static pages
$r->get('/about')->to('page#about')->name('about_page');

View File

@ -93,9 +93,6 @@
<%= content =%>
<footer class="site-footer">
<p>In UTF-8 we trust. 🫡</p>
<p><%= link_to new_session => begin %>
New Session/Identity
<% end %></p>
<p><%= link_to javascript_page =>
('data-jslicense', 1),
begin %>JavaScript License Information<% end %></p>