Skip to content

Commit 472a970

Browse files
version bump
1 parent b35617a commit 472a970

File tree

6 files changed

+170
-4
lines changed

6 files changed

+170
-4
lines changed

data/be.alexandervanhee.gradia.desktop.in.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[Desktop Entry]
22
Name=Gradia
33
Comment=Make your images ready for the world
4-
Comment[hr]=Pripremi svoje slike za svijet
54
Exec=gradia %U
65
Icon=@APP_ID@
76
StartupNotify=true

data/be.alexandervanhee.gradia.metainfo.xml.in.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
<color type="primary" scheme_preference="dark">#119458</color>
3939
</branding>
4040
<releases>
41+
<release version="1.11.3" date="2025-11-18">
42+
<description translate="no">
43+
<p>This minor release includes:</p>
44+
<ul>
45+
<li>A more normal arrow shape</li>
46+
<li>Updated translations</li>
47+
<li>A fix for JPEG exporting</li>
48+
</ul>
49+
</description>
50+
</release>
4151
<release version="1.11.2" date="2025-10-22">
4252
<description translate="no">
4353
<p>This really minor release includes:</p>

gradia/ui/preferences/preferences_window.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from gi.repository import Gtk, Adw, GLib, Gio, GObject
2121
from typing import Optional
2222

23-
from gradia.constants import rootdir # pyright: ignore
23+
from gradia.constants import rootdir, ocr_enabled # pyright: ignore
2424
from gradia.backend.settings import Settings
2525
from gradia.app_constants import SUPPORTED_EXPORT_FORMATS
2626
from gradia.backend.logger import Logger
@@ -45,6 +45,8 @@ class PreferencesWindow(Adw.PreferencesDialog):
4545
exiting_combo: Adw.ComboRow = Gtk.Template.Child()
4646
folder_label: Gtk.Label = Gtk.Template.Child()
4747

48+
ocr_enabled = GObject.Property(type=bool, default=ocr_enabled.lower() == 'true')
49+
4850
def __init__(self, parent_window: Adw.ApplicationWindow, **kwargs):
4951
super().__init__(**kwargs)
5052

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('gradia', 'c',
2-
version: '1.11.2',
2+
version: '1.11.3',
33
meson_version: '>= 1.0.0',
44
default_options: ['warning_level=2',
55
'werror=false'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "Gradia"
3-
version = "1.11.2"
3+
version = "1.11.3"
44
requires-python = ">=3.9"
55

66
[tool.pyright]

web/upload-providers/1.11.3.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
{
2+
"imgur": {
3+
"name": "Imgur",
4+
"description": "Popular image hosting with easy sharing and robust features.",
5+
"icon_url": "http://gradia.alexandervanhee.be/upload-providers/imgur.webp",
6+
"homepage_url": "https://imgur.com",
7+
"tos_url": "https://imgur.com/tos",
8+
"details": "Imgur is a widely used online image sharing community and image host, known for its simplicity and large user base. It offers convenient image uploading and direct linking.",
9+
"features": [
10+
{
11+
"text": "Free image and GIF hosting",
12+
"type": "positive"
13+
},
14+
{
15+
"text": "Anonymous upload options available",
16+
"type": "positive"
17+
},
18+
{
19+
"text": "Embedding functionality",
20+
"type": "positive"
21+
},
22+
{
23+
"text": "Removal token functionality",
24+
"type": "positive"
25+
},
26+
{
27+
"text": "Subject to API rate limits for frequent uploads",
28+
"type": "negative"
29+
},
30+
{
31+
"text": "Service may not be available in the United Kingdom",
32+
"type": "negative"
33+
},
34+
{
35+
"text": "Uses Gradia client ID",
36+
"type": "neutral"
37+
}
38+
],
39+
"upload_command": "curl -s -H \"Authorization: Client-ID fc2a3faf090d08b\" -F \"image=@$1\" https://api.imgur.com/3/image | tee >(sed -n 's/.*\"deletehash\":\"\\([^\"]*\\)\".*/\\1/p' | while read h; do echo \"[$(date +%F_%T)] $h\"; done >> \"$XDG_CONFIG_HOME/imgur-delete-hashes.txt\") | sed -n 's/.*\"link\":\"\\([^\"]*\\)\".*/\\1/p' | sed 's/\\\\//g'"
40+
},
41+
"catbox": {
42+
"name": "Catbox",
43+
"description": "Simple and free file hosting with permanent storage.",
44+
"icon_url": "http://gradia.alexandervanhee.be/upload-providers/catbox.webp",
45+
"homepage_url": "https://catbox.moe",
46+
"tos_url": "https://catbox.moe/legal.php",
47+
"details": "Catbox.moe is a straightforward file hosting service designed for simplicity and permanence. It allows users to upload various file types, including images, with no account required.",
48+
"features": [
49+
{
50+
"text": "Completely free file hosting",
51+
"type": "positive"
52+
},
53+
{
54+
"text": "No user account or registration needed",
55+
"type": "positive"
56+
},
57+
{
58+
"text": "Files are kept indefinitely",
59+
"type": "positive"
60+
},
61+
{
62+
"text": "No formal uptime Service Level Agreement (SLA)",
63+
"type": "negative"
64+
},
65+
{
66+
"text": "Limited support for file metadata",
67+
"type": "negative"
68+
}
69+
],
70+
"upload_command": "curl -s -F \"reqtype=fileupload\" -F \"fileToUpload=@$1\" https://catbox.moe/user/api.php"
71+
},
72+
"0x0": {
73+
"name": "0x0.st",
74+
"description": "Open-source file hosting with 30-day availability.",
75+
"icon_url": "http://gradia.alexandervanhee.be/upload-providers/0x0.webp",
76+
"homepage_url": "https://0x0.st",
77+
"tos_url": "https://0x0.st",
78+
"details": "0x0.st is an open-source command-line pastebin and file upload service. It provides temporary hosting for files, typically retaining them for 30 days.",
79+
"features": [
80+
{
81+
"text": "Free and anonymous file hosting",
82+
"type": "positive"
83+
},
84+
{
85+
"text": "No account or registration necessary",
86+
"type": "positive"
87+
},
88+
{
89+
"text": "Transparent and open-source platform",
90+
"type": "positive"
91+
},
92+
{
93+
"text": "Files are available for 30 days by default",
94+
"type": "neutral"
95+
},
96+
{
97+
"text": "No official service guarantees",
98+
"type": "negative"
99+
},
100+
{
101+
"text": "No way to remove uploaded images",
102+
"type": "negative"
103+
},
104+
{
105+
"text": "Sole proprietorship",
106+
"type": "negative"
107+
},
108+
{
109+
"text": "Access may be restricted in some geographical regions",
110+
"type": "negative"
111+
}
112+
],
113+
"upload_command": "curl -s -A \"Gradia (+https://gradia.alexandervanhee.be)\" -F \"file=@$1\" https://0x0.st | tr -d '\\n'"
114+
},
115+
"gofile": {
116+
"name": "GoFile.io",
117+
"description": "Free and robust file sharing platform for large files.",
118+
"icon_url": "http://gradia.alexandervanhee.be/upload-providers/gofile.webp",
119+
"homepage_url": "https://gofile.io",
120+
"tos_url": "https://gofile.io/terms",
121+
"details": "GoFile.io is a versatile file sharing service that allows users to upload and share files of various sizes. It's known for its ease of use and support for large uploads without requiring an account.",
122+
"features": [
123+
{
124+
"text": "Free and easy-to-use file hosting",
125+
"type": "positive"
126+
},
127+
{
128+
"text": "No registration or account required",
129+
"type": "positive"
130+
},
131+
{
132+
"text": "Supports very large file uploads",
133+
"type": "positive"
134+
},
135+
{
136+
"text": "Provides direct download links",
137+
"type": "positive"
138+
},
139+
{
140+
"text": "Files are hosted temporarily and may expire",
141+
"type": "negative"
142+
},
143+
{
144+
"text": "API usage is subject to rate limits",
145+
"type": "negative"
146+
},
147+
{
148+
"text": "Access may be restricted in some geographical regions",
149+
"type": "negative"
150+
}
151+
],
152+
"upload_command": "curl -s -F \"file=@$1\" https://store1.gofile.io/uploadFile | sed -n 's/.*\"downloadPage\":\"\\([^\"]*\\)\".*/\\1/p'"
153+
}
154+
}
155+

0 commit comments

Comments
 (0)