Thorsten Behrens
847b423e2a
Add better diagnostics
5 years ago
Thorsten Behrens
e031822744
Adapt to poppler sign api change
...
Now poppler offers signing via PDFConverter class. Add some error
handling, and store signature in temp file. Document gets reloaded
after replacing original file.
5 years ago
Thorsten Behrens
e3e582ee5c
Add feature flag for poppler signing API
...
Test and conditionally-compile pdf signing feature, depending
on poppler new-ness.
5 years ago
Katarina Behrens
b33a12d786
Prompt for password and stick it to widget annotation
5 years ago
Katarina Behrens
45fc7cd805
Read the certificates from configuration
5 years ago
Katarina Behrens
38c5b614b4
Simplify adding certificates to config and implement edit slot
5 years ago
Katarina Behrens
5db7421851
Get certificate CN and password and pass it to poppler
5 years ago
Katarina Behrens
cc908b9f92
Pass pointer to widget annotation just added down the chain
5 years ago
Katarina Behrens
03381667f6
Pass certificate CN and password down the chain
5 years ago
Katarina Behrens
66f2bff5ca
Pass bounding rectangle down the chain
5 years ago
Katarina Behrens
d320fa17ad
Stub some iface for signing the document
5 years ago
Katarina Behrens
c560a4a20e
Eventually hide the message window
5 years ago
Katarina Behrens
48dc3779f7
Add empty widget annotation
5 years ago
Katarina Behrens
b2c5aa61d7
Read/write certificate settings
5 years ago
Katarina Behrens
dd0c06a82b
Signature mode must eventually end
5 years ago
Katarina Behrens
6cff306bab
Making 'Sign' button a toggle was a bad idea
5 years ago
Katarina Behrens
3330f8407a
Open filepicker to select p12, pfx file to add to user identity
5 years ago
Katarina Behrens
242710cae7
Recycle WidgetConfigurationToolsBase for certificate management dlg
5 years ago
Katarina Behrens
060175735f
Open certificate selection dialog on mouse release
5 years ago
Katarina Behrens
339ce239f5
Draw an initial rectangle where to place the signature
5 years ago
Katarina Behrens
b5117aff6c
Add slot for 'Sign' button, shows info overlay so far
5 years ago
Katarina Behrens
888d287f1f
Add 'Sign' button to toolbar
5 years ago
Katarina Behrens
69ddb957f1
Add config page to configure signing identities/certificates
5 years ago
Katarina Behrens
2845db76fb
Add 'Sign' menu entry
5 years ago
Albert Astals Cid
35590a273d
Fix CI
...
Laurent please use MR like everyone else does, otherwise you break the
build for the rest of us.
CCMAIL: montel@kde.org
5 years ago
Laurent Montel
dd1938755e
Don't include QtTest as it includes all QtCore includes
5 years ago
Nicolas Fella
50e8c4f333
Port an occurence of KMimeTypeTrader
...
It is about to be deprecated
See https://phabricator.kde.org/T12177
5 years ago
Carl Schwan
88eb005c93
Fix regression introduced by previous QML commits
...
Now you can again swipe a pages and id is correct
5 years ago
Carl Schwan
d7f90b74a3
Use placeholder message for initial loading of a document
...
This also now remove the auto appearing global drawer that is now a menu
on desktop. This also move the main page into the pagestack.
Bump the Kirigami dependency because PlaceHolderMessage doesn't exist in
old version of Kirigami.
5 years ago
Carl Schwan
6af6742067
Visual improvements to drawer
...
Now the drawer open automatically when the window is big enough. The
drawer handle are also only visible when a document is open. The
thumbnails page was also improved and some spacing issues were solved.
5 years ago
Albert Astals Cid
604a4e1db2
clang-tidy: Disable bugprone-suspicious-enum-usage
...
Unfortunately it's triggered by QKeySequence needing a
Qt::KeyboardModifier and a Qt::Key
5 years ago
Albert Astals Cid
8176613076
Merge remote-tracking branch 'origin/release/20.12'
5 years ago
Albert Astals Cid
bc85160d7f
clang-tidy: Disable performance-no-automatic-move
...
It's just too aggressive with Qt classes that are refcounted and fine to
copy
5 years ago
Albert Astals Cid
39846f8c16
Merge remote-tracking branch 'origin/release/20.12'
5 years ago
Albert Astals Cid
d1c2eed1b6
Make the CI pass with new clang-tidy
...
Disable bugprone-suspicious-include since it's triggered by the moc
includes
Disable bugprone-reserved-identifier since it's triggered by all our
_OKULAR defines, and yes even if the spec says that underscore is
reserved, are we going to be that unlucky that the library decides to
start using _OKULAR ? not probably
Add two TODOs for the future to make NormalizedRect/Point faster
Silence a warning about a quick moving QString if we make it non const
Silence a uchar vs char warning that is in decades old code so
experience seems to suggest it's ok.
5 years ago
Laurent Montel
3f58639e06
operator+/- is disabled for QFlags in qt6
5 years ago
Carl Schwan
5c3da77dcd
Add standard AboutPage to Okular Mobile
5 years ago
Carl Schwan
f470c235ce
Use correct window title on mobile
...
Before it just displayed "okularkirigami" when no document was loaded
5 years ago
Carl Schwan
3ac4c8a81b
Use Kirigami.SearchField
...
Provides following advantages:
* More semantically correct
* Visually consistent with QWidgets and QML search fields
* Correct QAccessible fields
5 years ago
Carl Schwan
4a53680529
Use pageStack instead of anchor.fill
5 years ago
Albert Astals Cid
d9487fc764
Merge remote-tracking branch 'origin/release/20.12'
5 years ago
Albert Astals Cid
4f2c2b2714
Document::openRelativeFile: Double check the url changed when we asked to
...
If not, open did not succeed and the callers (for example open document
X in page A) would like to know so they don't have to do the "change to
part A" part.
BUGS: 429924
5 years ago
Christoph Feck
3c1b04da47
GIT_SILENT Upgrade release service version to 20.12.0.
5 years ago
Albert Astals Cid
e200d90de2
cmake: Modern way to link to tiff
5 years ago
Albert Astals Cid
43ae701345
cmake: Modern way to link to freetype
5 years ago
Albert Astals Cid
3cc7bdd1d7
cmake: Modern way to link to zlib
5 years ago
Albert Astals Cid
3129b642f9
cmake: Modern way to link to jpeg
5 years ago
Marat Radchenko
2aa9f18fe7
initial tables support for FictionBook
5 years ago
Friedrich W. H. Kossebau
48891b7203
ui.rc files: consistently use <gui> instead of deprecated <kpartgui>
5 years ago
Marat Radchenko
29ed5d1dd7
handle <subtitle> inside <cite> in FictionBook documents
...
(cherry picked from commit 2e3faa0052 )
5 years ago