fixes and functions
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ RUST_LOG=rustpad=info,tower_http=warn
|
||||
|
||||
# Maximum upload size
|
||||
UPLOAD_MAX_SIZE_MB=20
|
||||
GUEST_UPLOAD_ENABLED=fakse
|
||||
GUEST_UPLOAD_ENABLED=false
|
||||
GUEST_UPLOAD_MAX_SIZE_MB=5
|
||||
|
||||
# Attachment storage: local or s3
|
||||
|
||||
Generated
+1
-1
@@ -2581,7 +2581,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustpad"
|
||||
version = "0.2.35"
|
||||
version = "0.2.36"
|
||||
dependencies = [
|
||||
"argon2",
|
||||
"aws-config",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rustpad"
|
||||
version = "0.2.35"
|
||||
version = "0.2.36"
|
||||
edition = "2024"
|
||||
rust-version = "1.94"
|
||||
description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL"
|
||||
|
||||
@@ -6883,11 +6883,11 @@ dialog::backdrop {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 2;
|
||||
width: 100%;
|
||||
min-height: 36px;
|
||||
min-height: 1vh;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
padding: 7px 12px;
|
||||
padding: 4px 6px;
|
||||
border: 1px solid var(--toolbar-action-border);
|
||||
border-radius: 8px;
|
||||
background: var(--toolbar-action-bg);
|
||||
@@ -6919,4 +6919,3 @@ dialog::backdrop {
|
||||
grid-row: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -117,7 +117,7 @@
|
||||
</details>
|
||||
</div>
|
||||
<button id="mobile-upload-button" class="mobile-upload-button" type="button"
|
||||
title="Upload an image or file"><span aria-hidden="true">📎</span> Upload file</button>
|
||||
title="Upload an image or file"><span aria-hidden="true"></span> Upload file</button>
|
||||
<div class="editor-controls"><label>Font<select id="font-family">
|
||||
<option value="mono">Mono</option>
|
||||
<option value="system">System</option>
|
||||
@@ -283,7 +283,7 @@
|
||||
<div class="files-head">
|
||||
<div>
|
||||
<h2>Note files</h2>
|
||||
<p>Copy a direct link or ready Markdown/HTML code.</p>
|
||||
<p>Copy a direct link or ready Markdown/Alias code.</p>
|
||||
</div><button id="close-files" class="icon-button" type="button">×</button>
|
||||
</div>
|
||||
<div id="files-list" class="files-list"></div>
|
||||
|
||||
+7
-2
@@ -126,8 +126,13 @@
|
||||
valid share links. Unauthorized visitors receive a not-found response.</p>
|
||||
</header>
|
||||
<div class="list-controls resources-controls">
|
||||
<label class="list-search"><span class="sr-only">Search notes and workspaces</span><input id="resources-search" type="search" placeholder="Search notes and workspaces…" autocomplete="off"></label>
|
||||
<label class="page-size-label">Per page<select id="resources-per-page"><option value="25">25</option><option value="50">50</option><option value="100">100</option></select></label>
|
||||
<label class="list-search"><span class="sr-only">Search notes and workspaces</span><input id="resources-search"
|
||||
type="search" placeholder="Search notes and workspaces…" autocomplete="off"></label>
|
||||
<label class="page-size-label">Per page<select id="resources-per-page">
|
||||
<option value="25">25</option>
|
||||
<option value="50">50</option>
|
||||
<option value="100">100</option>
|
||||
</select></label>
|
||||
</div>
|
||||
<div id="resources-list" class="resources-list"></div>
|
||||
<nav id="resources-pagination" class="pagination" aria-label="Resources pagination"></nav>
|
||||
|
||||
+13
-5
@@ -7,7 +7,7 @@
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<title>__WORKSPACE_TITLE__ · RustPad</title>
|
||||
__APP_THEME_BOOTSTRAP__
|
||||
__APP_STYLESHEET__
|
||||
__APP_STYLESHEET__
|
||||
__APP_IMPORT_MAP__
|
||||
__APP_ENTRYPOINT__
|
||||
</head>
|
||||
@@ -35,13 +35,21 @@
|
||||
</div><button id="new-note-button" class="primary-button inline-button">New note</button>
|
||||
</section>
|
||||
<form id="workspace-password-form" class="workspace-password-card" hidden>
|
||||
<div class="workspace-password-card__copy"><strong>Protect workspace</strong><small>One password secures the workspace and all its notes.</small></div>
|
||||
<div class="workspace-password-card__controls"><input id="workspace-set-password" type="password" minlength="8" maxlength="128" autocomplete="new-password" placeholder="Min. 8 chars" required><button class="secondary-button" type="submit">Set</button></div>
|
||||
<div class="workspace-password-card__copy"><strong>Protect workspace</strong><small>One password secures the
|
||||
workspace and all its notes.</small></div>
|
||||
<div class="workspace-password-card__controls"><input id="workspace-set-password" type="password"
|
||||
minlength="8" maxlength="128" autocomplete="new-password" placeholder="Min. 8 chars"
|
||||
required><button class="secondary-button" type="submit">Set</button></div>
|
||||
<small id="workspace-password-error" class="form-message error" role="alert"></small>
|
||||
</form>
|
||||
<div class="notes-toolbar">
|
||||
<label class="list-search"><span class="sr-only">Search notes</span><input id="notes-search" type="search" placeholder="Search notes…" autocomplete="off"></label>
|
||||
<label class="page-size-label">Per page<select id="notes-per-page"><option value="25">25</option><option value="50">50</option><option value="100">100</option></select></label>
|
||||
<label class="list-search"><span class="sr-only">Search notes</span><input id="notes-search" type="search"
|
||||
placeholder="Search notes…" autocomplete="off"></label>
|
||||
<label class="page-size-label">Per page<select id="notes-per-page">
|
||||
<option value="25">25</option>
|
||||
<option value="50">50</option>
|
||||
<option value="100">100</option>
|
||||
</select></label>
|
||||
<span class="notes-toolbar__label">View</span>
|
||||
<div class="notes-view-switch" role="group" aria-label="Notes view"><button type="button"
|
||||
data-notes-view="grid" class="active" aria-pressed="true">Cards</button><button type="button"
|
||||
|
||||
Reference in New Issue
Block a user