Merge branch 'development'

This commit is contained in:
Luc Didry 2019-11-07 09:54:23 +01:00
commit 4ded869ded
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
4 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,8 @@
Revision history for Lufi
?.??.? ????-??-??
- Now can send large files (>2Gio) while using a DB other than SQLite (#165)
- Use customized instance name in <title>
0.04.5 2019-10-14
- Update german language

View File

@ -4,7 +4,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Let's Upload that FIle</title>
<title><%= config('instance_name') %></title>
<meta charset="utf-8">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
@ -25,7 +25,7 @@
<body>
<nav class="cyan">
<div class="nav-wrapper container">
<a href="<%= url_for('/') %>" class="brand-logo">&nbsp;<img src="<%= url_for('/img/lufi-min.png') %>" alt="logo"> <%= config('instance_name')%></a>
<a href="<%= url_for('/') %>" class="brand-logo">&nbsp;<img src="<%= url_for('/img/lufi-min.png') %>" alt="logo"> <%= config('instance_name') %></a>
<a href="#" data-activates="mobile" class="button-collapse"><i class="mdi-navigation-menu"></i></a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="<%= $self->config('report') %>"><%= l('Report file') %></a></li>

View File

@ -47,3 +47,7 @@ CREATE TABLE IF NOT EXISTS invitations (
);
-- 3 down
DROP TABLE invitations;
-- 4 up
ALTER TABLE files MODIFY filesize bigint;
-- 4 down
ALTER TABLE files MODIFY filesize integer;

View File

@ -50,3 +50,7 @@ CREATE TABLE IF NOT EXISTS invitations (
);
-- 4 down
DROP TABLE invitations;
-- 5 up
ALTER TABLE files ALTER COLUMN filesize TYPE bigint;
-- 5 down
ALTER TABLE files ALTER COLUMN filesize TYPE integer;