[kget] [Bug 197358] Allow transfer history to be automatically be deleted

Albert Astals Cid bugzilla_noreply at kde.org
Sun Jul 23 16:45:17 BST 2023


https://bugs.kde.org/show_bug.cgi?id=197358

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw
                   |ork/kget/-/commit/a50d60ae7 |ork/kget/-/commit/2c549c6a2
                   |ff8c107b6f95968a13e2c208da6 |47f2bea429e37d6543fb9798d9a
                   |0957                        |8537

--- Comment #4 from Albert Astals Cid <aacid at kde.org> ---
Git commit 2c549c6a247f2bea429e37d6543fb9798d9a8537 by Albert Astals Cid, on
behalf of Theodore Wang.
Committed on 23/07/2023 at 17:43.
Pushed by aacid into branch 'release/23.08'.

Implemented feature request involving automatic deletion of transfer history
and fixed TestJob member function

Toggling and setting of automatic deletion can be done under
Settings->Configure KGet->Advanced.
Users can set automatic deletion based on a period of time.
For history items which have been around for a period longer than the specified
duration, they are automatically deleted.
The specified duration can either be in terms of Day(s), Hour(s), Minute(s) or
Seconds(s).

(Not related to bug) Also changed TestJob member function to prevent "Finished"
jobs from being "Stopped" and started again. Thus resolving unit test failures.
(cherry picked from commit a50d60ae7ff8c107b6f95968a13e2c208da60957)

M  +19   -0    conf/dlgadvanced.ui
M  +9    -0    conf/kget.kcfg
M  +33   -0    conf/preferencesdialog.cpp
M  +3    -0    conf/preferencesdialog.h
M  +3    -0    core/kget.cpp
M  +55   -0    core/transferhistorystore.cpp
M  +18   -0    core/transferhistorystore.h
M  +7    -0    core/transferhistorystore_sqlite.cpp
M  +7    -0    core/transferhistorystore_xml.cpp
M  +1    -1    tests/schedulertest.cpp

https://invent.kde.org/network/kget/-/commit/2c549c6a247f2bea429e37d6543fb9798d9a8537

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KGet mailing list