Commit Graph

253 Commits (76619637fc0bd0783e8ecf33fb7bb5723a7b911e)

Author SHA1 Message Date
Michele Calgaro 4974727d50
Add 'safeRemove' and 'safeRemoveByNode' to mediamanager DCOP interface.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 88d92af3c1
hwmanager: use tdeio_media_mounthelper process to
mount/unmout/lock/unlock/ejct media devices.
This ensures a consistent media device status also with complex
partition structures and LUKS encryption.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 40ef766f02
tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c787e7a715
mediamanager: fix name of available backends in error messages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 8d0f49aeb4
Added 'eject' and 'ejectByNode' to mediamanager DCOP interface.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro f9f7aee79e Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro bb2ea23175
Updated after changes to tdehw lib related to device notificaitons.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 764a03aa91
medianotifier: add medium name and url to notification dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko e031e12d06
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro 90e986bd5f
tdeioslave media: fixed wrong action in media unlock desktop file.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 9f7d035569
Fixed FTBFS when building without tdehw but using HAL.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 48ddee7ba8
Update CMake rules to change tdehw library to standalone.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Owsjannikow Sergej E 267adb43b8
Fix FTBFS with OpenEXR >= 3.0.x
This resolves issue #198.

Signed-off-by: Owsjannikow Sergej E. <ose-nt@yandex.ru>
4 years ago
Michele Calgaro d289ed30ed
mediamanager: added DCOP call to get medium's mimetype from its name.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro ad3cef031b
tdeioslave media: made 'Open Medium System Folder' action available for unmounted medium too.
The action is now also available in the notification dialog that opens up when a medium is inserted.
Fixed action support for mount path containing spaces.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 75204ade2d
tdeioslave media: made 'Open Medium System Folder' command available for camera devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 434983acd9
Added option to enable/disable Device Monitor notification panels when
disks are added/removed/changed status.
Minor tweak to menu entry in Device Monitor popup menu.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 5d9c673999
Added 'mount' and 'unlock' actions to notifier dialog and fixed size of icons in same dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d706b63745
Enable back media notification dialogs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 145abc15d5
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 56e992ab54
tdeioslave media: fixed FTBFS caused by previous commit and functionality of
tdeio_media_mounthelper when ejecting drives.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d39c407bf4
1) tdehwdevicetray: added support for unmount/unlock/lock operations.
2) minor changes and improvements to user messages.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro e24245d45c
tdeioslaves media: added "Open Medium System Folder" action, previously
in tdeaddons.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 642bc50e18
tdeio media slave: added 'Open Real Folder' to tdeio_media_mounthelper.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d8c7fa1e66
tdeioslave media: updates for property dialog and file media plugin mimetypes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 53f8622a6a
tdehwmonitor: added Unlock/Lock buttons to LUKS disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro e108c7d7e0
Added icons to media actions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 3740009719
tdeioslave media: safe removal and locking are now avaiable also for
unlocked and mounted medium.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 8ab67852cd
tdeioslave media: encrypted devices (either locked or unlocked) are not
browsable folders, so disable tde trade offers for applications able to handle inode/directory mime type.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro f4cc9ec2fa
tdeioslave media: remove duplication of feedback for tdeio_media_helper
unlocking failures and leave password input dialog open in case of wrong password
supplied. This allows to quickly type in a new password instead of
having to repeat the complete procedure.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 1a089178fa
tdeioslave media: mount/unmount/unlock/lock are only allowed on devices
for which those operations make sense.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 7c6e00a43c
tdeioslave media: added LOCKED property to Medium class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro b54fcda719
tdeioslave media: fixed handling of mountable state for encrypted devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro d34f23f403
tdeioslave media: clean up code related to medium mountable state in preparation for further work.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro ebc4784c4f
tdeioslave media: fixed update of mime type on encrypted CD/DVD devices caused by missing
udev events. Note: not sure if the bug was only specific to VirtualBox
"iso" CD/DVD or general for any CD/DVD. In any case this fix is required
if using LUKS encrytped .iso files with TDE running inside VirtualBox.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro e74e9afe2c
tdeioslave media: fixed displaying of encrypted disks.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 3676cf129d
tdeioslave media: added initial support for unlocking/locking of encrypted devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro a3876433e8
Removed additional code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 08d0bb03c0
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 296796a8aa
Added translation capabilities for "Unlock Storage Device" dialog box title.
This resolves issue #168.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 2f706891f3
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko aa77ec1c31
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 6a194d1435
Fix FTBFS due to missing linked libraries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko f9895a2b80
Fix missing paired parentheses in HAL media backend.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 32381684a2
Improved support for bluray discs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Carlos Alberto fadfb67a5c
media tdeioslave: added bluray mimetype.
Signed-off-by: Carlos Alberto <bradcarlos@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro e9f503cdb8
mediamanager always get started at TDE startup. Therefore the module is no longer available in TCC->TDE Components->Service Manager->Startup Services for enable/disable at startup.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 8250c8e423
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 6b70b67b4b
Use xdg-user-dirs to detect XDG variables instead of kxdglauncher. This relates to issue TDE/tdelibs#60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Chris 0128cf22d9 Synchronize German translation of cursor with the rest.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 7b55ca5987 Improve German translation and fix some desktop files.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 0daae46f23 Synchronize German translation with the rest and fix some icons.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris af4fd07d14 Fix duplicated, missing and misleading icons.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
François Andriot db1e25b1fe
Prefer TIRPC detection over search for rpc/rpc.h header.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris 38c5bf6816 Fix TCC modules in German and other languages.
Credits to Vitaly (Vita_Cell) from IRC for contributing ES and RU translations.

Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko f785a06a61
Fix wrong language code for Czech translations related to the Trash.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris 5f3f0c0651 Fix and translate German device icon names.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
OBATA Akio 2a88ec3c02 Revive NetBSD support
Catch up to TDE and OS changes

Signed-off-by: OBATA Akio <obache@wizdas.com>
6 years ago
Michele Calgaro df19ff6b7d
Fixed incorrect display of media device mime comment. This relates to
issue TDE/tdelibs#35.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro f97e24f3c3
Fixed media type for cd rw type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 21d09d5b23
Adjusted to new normalized device icon names in tdelibs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro d2da293eae
Adjusted to new icon names and renamed media types related to encrypted drives in a better way.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro bd99134817
Renamed methods decrypt/undecrypt to unlock/lock.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro b4754b0e6f
Extended media manager dcop interface by adding functions to
mount/unmount/decrypt/undecrypt a medium by device node (for example /dev/sdc).

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro e44487e1b8
Improved media manager dcop interface for mount/unmount/decrypt/undecrypt methods by returning more information.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 7d2c7f0621
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro df9e4e43b0
Adjusted to new TDEStorageOpResult-based tdelibs api.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro c393eecadb
mediamanager: cleaned up use of medium name map.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 563adb52cb
Renamed kcm_trash to kcmtrash and minor fixup to previous commits.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 85e0371c0e
Unified widget code for trash property dialog and TDE control module.
This resolves bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro c53dbf95cb
Improved code for trash bin management.
1. When size limit is used, a file bigger than the trash size can't be
trashed anymore (a warning message is shown).
2. When size limit is used and warning policy selected, files can't be
trashed anymore if the total size of the trash will exceed the set size
(a warning message is shown).
3. When the trash size settings are modified, the content of the trash
is adjusted based on the new settings.
4. Fixed load/saving of trash options when more than one trash folder exists.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 691c9204a1
Added TDE Control module for trash policy configuration.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 48635e6343
Added trash size limit property page link to trash folder right click
popup menu and trash applet panel.
Added a new konqueror side bar button to directly display the contents
of the trash bin.
This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko b95b665c78
Add CMakeL10n rules.
Update TIMEZONES list.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 3822225bbb
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 0d9863ce23
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 661ed658b7
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 887cea6320
LIB_QT -> LIB_TQT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 2e118bb337
Removed unnecessary executable flag. This relates to bug 2153.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
gregory guy 6e32e1ee97
Some missing desktop icons in tdebase
Signed-off-by: gregory guy <g-gregory@gmx.fr>
7 years ago
Fabio Rossi f6a5cd3e8d
tdeioslave nfs: Add support for libtirpc
as a replacement for deprecated SunRPC from glibc >= 2.26
This resolves bug 2962

Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
7 years ago
Michele Calgaro d33bda0b56
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 2bcacaf331
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro cb350ca230 tdeioslave: fixed info protocol, which was no longer working with recent
perl version.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 4317c3e7d6 Start media backend on TDE session startup. This resolves bug 2780.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0066e31492)
7 years ago
Slávek Banko d7f55fefe3 Fix reset of auto-action in medianotifier
This resolves bug 2941

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro f2ca34345e Removed unrequired comments.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro f88a8e57fe Fixed trash status update problem described in bug 2729.
Special thanks to Emanoil for his initial investigation on this bug.

Signed-off-by: Emanoil Kotsev <deloptes@yahoo.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 50d21388fb Fix build with smbclient in a samba specific directory
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Michele Calgaro b6887381d7 Trash limit: add "fixed size" configuration option and code
improvements. This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Michele Calgaro 6110a523f9 Trash limit: clean up previous patch (KDE -> TDE conversion, debug messages, TQt
signals/slots...). Improved error message when a file is too big to fit
within the max trash size limit.
This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Emanoil Kotsev ee3091bc41 Added trash limit configuration option
This work is based on original patch created by Tobias Koenig <tokoe@kde.org> for KDE 3.5.9 and later added to KDE 4.2, and available under GPL version 2 License, or any later version.
See also http://tokoe-kde.blogspot.com/2008/08/size-limits-for-trash.html
This relates to bug 1923.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Timothy Pearson 09dce5e19f Fix invalid headers in PNG files and optimize for size 9 years ago
Alexander Golubev bf26a0b86a fix encoding for My_Documents folder for three locales was missing before 9 years ago
Michele Calgaro 71bd29a534 Added "default" mount option to TDE hardware manager. This resolves bug 2593.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko 99f5115dac Fix device icons in the media:/ tdeioslave to comply with XDG standards
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 8d53affe8e Hide underlying partitions of non-active device mapper devices from the media:/ tdeioslave
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 90bad2e814 Fix hard disks media icons in tdehw storage backend
This relates to Bug 2473

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko ce73b505b2 Fix removable hard disks mimetype in tdehw storage backend
This relates to Bug 2473

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson 7e9c0a99b6 Disable autoplay popups by default as the new tdehwdevicetray application will handle notification and autoplay popup initiation 10 years ago