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

Albert Astals Cid bugzilla_noreply at kde.org
Sun Jul 23 15:27:56 BST 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kget/-/commit/a50d60ae7
                   |                            |ff8c107b6f95968a13e2c208da6
                   |                            |0957

--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
Git commit a50d60ae7ff8c107b6f95968a13e2c208da60957 by Albert Astals Cid, on
behalf of Theodore Wang.
Committed on 23/07/2023 at 16:27.
Pushed by aacid into branch 'master'.

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.

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/a50d60ae7ff8c107b6f95968a13e2c208da60957

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


More information about the KGet mailing list