Skip to content

Commit 66edc43

Browse files
Merge branch 'master' into patch-1
2 parents 14a5fc3 + d721011 commit 66edc43

File tree

5 files changed

+48
-4
lines changed

5 files changed

+48
-4
lines changed

src/vorta/assets/UI/abouttab.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<item>
214214
<widget class="QLabel" name="label">
215215
<property name="text">
216-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/borgbase/vorta&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0984e3;&quot;&gt;Click here&lt;/span&gt;&lt;/a&gt; for view Git repo.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
216+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/borgbase/vorta&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0984e3;&quot;&gt;Click here&lt;/span&gt;&lt;/a&gt; to view Git repo.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
217217
</property>
218218
<property name="openExternalLinks">
219219
<bool>true</bool>
@@ -241,7 +241,7 @@
241241
<number>20</number>
242242
</property>
243243
<item>
244-
<widget class="QLabel" name="label">
244+
<widget class="QLabel" name="copyrightLabel">
245245
<property name="text">
246246
<string>
247247
Vorta is a cross-platform, open-source client designed to simplify the management of Borg backups.

src/vorta/assets/UI/scheduletab.ui

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,19 @@
626626
</column>
627627
</widget>
628628
</item>
629+
<item row="2" column="0">
630+
<widget class="QLabel" name="logLink">
631+
<property name="text">
632+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;file:///&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0984e3;&quot;&gt;View the logs&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
633+
</property>
634+
<property name="indent">
635+
<number>0</number>
636+
</property>
637+
<property name="openExternalLinks">
638+
<bool>true</bool>
639+
</property>
640+
</widget>
641+
</item>
629642
</layout>
630643
</widget>
631644
<widget class="QWidget" name="page_3">

src/vorta/assets/exclusion_presets/dev.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"patterns":
66
[
77
"fm:*/node_modules",
8-
"fm:*/.npm"
8+
"fm:*/.npm",
9+
"fm:*/npm-global"
910
],
1011
"tags": ["type:dev", "lang:javascript", "os:linux", "os:darwin"],
1112
"author": "Divi"
@@ -33,5 +34,27 @@
3334
],
3435
"tags": ["type:dev", "lang:rust", "os:linux", "os:darwin"],
3536
"author": "Divi"
37+
},
38+
{
39+
"name": "Visual Studio Code cache and config files",
40+
"slug": "vscode-cache",
41+
"patterns": [
42+
"fm:*/.config/Code",
43+
"fm:*/.vscode/extensions/*"
44+
],
45+
"tags": ["type:editor", "editor:vscode", "os:linux"],
46+
"author": "shivansh02"
47+
},
48+
{
49+
"name": "Android Studio Artefacts",
50+
"slug": "android-studio",
51+
"patterns": [
52+
"fm:*/.android",
53+
"fm:*/.gradle",
54+
"fm:*/Android/Sdk",
55+
"fm:*/.AndroidStudio"
56+
],
57+
"tags": ["type:dev", "editor:android-studio", "os:linux"],
58+
"author": "shivansh02"
3659
}
3760
]

src/vorta/views/about_tab.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
from datetime import datetime
23

34
from PyQt6 import QtCore, uic
45

@@ -28,6 +29,9 @@ def __init__(self, parent=None):
2829
)
2930
self.gpl_logo.setPixmap(get_colored_icon('gpl_logo', scaled_height=40, return_qpixmap=True))
3031
self.python_logo.setPixmap(get_colored_icon('python_logo', scaled_height=40, return_qpixmap=True))
32+
copyright_text = self.copyrightLabel.text()
33+
copyright_text = copyright_text.replace('2020', str(datetime.now().year))
34+
self.copyrightLabel.setText(copyright_text)
3135

3236
def set_borg_details(self, version, path):
3337
self.borgVersion.setText(version)

src/vorta/views/schedule_tab.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
QTableWidgetItem,
99
)
1010

11-
from vorta import application
11+
from vorta import application, config
1212
from vorta.i18n import get_locale
1313
from vorta.scheduler import ScheduleStatusType
1414
from vorta.store.models import BackupProfileMixin, EventLogModel, WifiSettingModel
@@ -43,6 +43,10 @@ def __init__(self, parent=None):
4343
# Set up log table
4444
self.logTableWidget.setAlternatingRowColors(True)
4545
header = self.logTableWidget.horizontalHeader()
46+
self.logLink.setText(
47+
f'<a href="file://{config.LOG_DIR}"><span style="text-decoration:'
48+
'underline; color:#0984e3;">Click here</span></a> for complete logs.'
49+
)
4650
header.setVisible(True)
4751
[header.setSectionResizeMode(i, QHeaderView.ResizeMode.ResizeToContents) for i in range(5)]
4852
header.setSectionResizeMode(3, QHeaderView.ResizeMode.Stretch)

0 commit comments

Comments
 (0)