Kurt Hindenburg
f6163cd283
Re-add the text to the dialog when removing a ssh entry
...
6dad103 removed using the message
4 years ago
Albert Astals Cid
82b450cacf
SSHManager: Fix two i18n problems
...
* When using i18n you don't .arg(), the parameter goes inside the i18n
call
* xgettext doesn't seem to be able to parse the ternary operator inside
the i18n call so put it outside, otherwise the second string is not
extracted for translation
(cherry picked from commit 4d635d9aa3786637bbe7ad2b4ec2f369f4ed1436)
4 years ago
Yuri Chornoivan
9fedd1e7c4
Fix localization.
...
Patch by Victor Ryzykh
4 years ago
l10n daemon script
390d36450e
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Yuri Chornoivan
7d64c0eff3
Fix minor typo
4 years ago
Tomaz Canabrava
7971122482
Forbid deletions from imported data
4 years ago
Tomaz Canabrava
89ec496d67
s/tr/i18n
4 years ago
Tomaz Canabrava
3c5180401b
Do not allow to remove ssh entries from ssh/config
...
If the user removed those entries, they would be repopulated
later on.
4 years ago
Tomaz Canabrava
dc6cb83e4f
Do not add duplicate entries
4 years ago
Tomaz Canabrava
02b0fcce45
Automatically import from ~/.ssh/config
4 years ago
Tomaz Canabrava
454eda2a21
Remove button to import from SSH Config
...
Next commit will make this automatically
4 years ago
Tomaz Canabrava
f6d4b48495
Ignore items that are already imported
4 years ago
Tomaz Canabrava
ec39a5cde1
Reset the sshConfig entity when it's deleted.
4 years ago
Tomaz Canabrava
b18d7c9d4f
Use the correct variable on the inner loop
...
~Someone~ should fix the Qt model view framework to work with
range based for.
4 years ago
Tomaz Canabrava
d2d2157f66
new method: Has Host. Important to check if we loaded something yet
4 years ago
Tomaz Canabrava
52076ab9f8
Rename variable, item -> parentItem
4 years ago
Tomaz Canabrava
210694612a
Save the pointer to the SSH Config Folder
4 years ago
Tomaz Canabrava
55d827836e
Do not remove SSH Config toplevel entry
4 years ago
Tomaz Canabrava
815649f36a
Use vector instead of set
4 years ago
Tomaz Canabrava
eb5ab6c17d
Fix variable name
4 years ago
Tomaz Canabrava
a854a02bb5
Fix letter case
4 years ago
Tomaz Canabrava
33918fe393
Start with edit button disabled
4 years ago
Tomaz Canabrava
ff467997fb
Block clicks on the tree view if we are editing a ssh entry
4 years ago
Tomaz Canabrava
3021b26ebf
Use the correct name of the profile, without modifiers
...
The SSH Manager used the modfiied names of the profiles
with the addition of "(Default)" for the profile names.
if you changed the default profile, everything would break.
4 years ago
Tomaz Canabrava
528f90f7dd
Do not force to add port, a missing port means default
4 years ago
Tomaz Canabrava
dc27daee4d
Allow to edit some elements of an imported ssh config
...
It makes no sense to block edition of all elements from
imported data from ssh config, we forbid people to select
a profile for those cases :(
So, allow to change the identifier and the profile.
4 years ago
Tomaz Canabrava
6bea01eafb
Add a button to find the SSH Key
4 years ago
Tomaz Canabrava
08e17260a5
Show a message if the current process is not the shell
...
If you try to connect via the ssh plugin when an application
is running, we will send the ssh commands to the terminal,
but in programs such as vim or nano this is not what you
want to do.
This patch explains this to the user.
4 years ago
Tomaz Canabrava
6dad103076
Use KMessageBox instead of QMessageBox
...
This allow us to use the "don't show again" thingy
4 years ago
Tomaz Canabrava
6a892085ce
Don't try to issue an ssh connection if not on the shell
4 years ago
Tomaz Canabrava
fc866e6f42
Add tooltips on folders and entries
4 years ago
Tomaz Canabrava
9c5b4af477
Add Tooltips to the SSH Plugin
...
Missing tooltips, makes things easier for the user to discover
how to use the feature.
4 years ago
Tomaz Canabrava
d3ddaf3c63
Set the default port for ssh
4 years ago
Tomaz Canabrava
92dd4ee8a2
Fix reading profile and username on the SSH config
4 years ago
Ahmad Samir
97f949eea0
SSHManagerPlugin: pass MainWindow* as an arg to activeViewChanged()
...
Also use a std::vector to hold the plugins associated with a MainWindow,
implicit sharing isn't needed in this use-case.
4 years ago
Kurt Hindenburg
13b2ed6697
Comment spelling corrections
4 years ago
Laurent Montel
6eb30ff3c3
Remove duplicate include from .h/.cpp
4 years ago
Laurent Montel
d9ea330827
GIT_SILENT: add missing override keyword
4 years ago
l10n daemon script
2e07ede450
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
8489c8e18b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Martin T. H. Sandsmark
179b173921
Fix memory leak
5 years ago
Harald Sitter
7383c16d72
log into category
...
otherwise every focus switch spams the journal if qdebug is routed to
journald
5 years ago
Ahmad Samir
d1c826adc8
Tweak formatting after running clang-format
...
GIT_SILENT
5 years ago
Ahmad Samir
97569b764c
Run clang-format on the whole repo
...
Also install the relevant git hook.
GIT_SILENT
5 years ago
Ahmad Samir
ee7f71142f
Fix the maximum port number in the SSH Manager plugin
...
It should be in the System Ports 0-1023 or User Ports 1024-49151 ranges.
See:
https://en.wikipedia.org/wiki/Registered_port
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
BUG: 441889
FIXED-IN: 21.12
5 years ago
l10n daemon script
67c7cc98ae
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
c8717b71f6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
2d5f3f4541
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
fb69c183c6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Martin T. H. Sandsmark
1946d32d24
Fix one crash in the sshmanager plugin
...
BUG: 439551
5 years ago