44 Commits

Author SHA1 Message Date
Nyall Dawson
aaf4b90911
Fix malformed docstrings (#59244)
* Fix malformed docstrings

Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/188

* Fix malformed docstrings

* Fix more malformed docs
2024-10-28 14:29:21 +01:00
Nyall Dawson
f61e33da4e Doxygen comments should use "NULLPTR", not "NULL"
NULLPTR will get correctly formatted in both c++ and Python docs
2024-09-19 09:55:44 +10:00
Alessandro Pasotti
987c38eda6
[auth][api] QgsAuthConfigurationStorage classes and tests (#57992)
Implementation of QEP 
Authentication System: allow Database storage for authentication DB
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/248
2024-09-12 09:18:15 +02:00
Nyall Dawson
be5877d517 pass is a reserved keyword in python, use password instead 2024-09-04 13:54:39 +10:00
Nyall Dawson
ef0289f3ec Fix formatting of Python ..deprecated annotations in docstrings
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
6d829ff7b4 Drop some more no value documentation 2024-07-25 04:02:55 +10:00
Nyall Dawson
d28be7db98
Fix docs format 2024-07-04 07:56:37 +10:00
Alessandro Pasotti
61067a7054
[tests][auth] Fix unreported issue with auth tests skipped
Test were silently skipped since 5ac17746de (lazy init of
auth manager).

The error message was also misleading:
"QCA's qca-ossl plugin is missing, skipping test case"
because the plugin was actually installed but the auth
system wasn't initialized.
2024-07-04 07:55:57 +10:00
Even Rouault
a68422b982 Various typo fixes
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Nyall Dawson
5ac17746de Lazy initialize authentication framework
QCA and SSL certificate initialize can be costly -- so defer
startup of authentication framework until it is actually required.

This has no effect on QGIS desktop, as the news feed request
and other startup network requests will immediately trigger
an initialization of the framework. The use case here is improving
the core application startup time to benefit non-app based clients,
eg. qgis_process.
2024-01-08 17:21:07 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Nyall Dawson
c8156b0106 Add c++20 todo for replacing equality operators with default implementations 2021-07-02 12:19:58 +10:00
Denis Rouzaud
8915a0751a put back virtual methods 2021-06-24 16:10:33 +02:00
Denis Rouzaud
cfb4241767 fix auth manager bindings without gui 2021-06-24 15:27:42 +02:00
Denis Rouzaud
144098b905 fix SIP condition 2021-06-24 13:43:16 +02:00
Denis Rouzaud
1851e379d1 fix bindings with core only 2021-06-24 11:24:18 +02:00
Denis Rouzaud
e02d341197 fix bindings again 2021-06-23 15:05:18 +02:00
Denis Rouzaud
e25ff6f370 fix dox 2021-06-23 14:53:40 +02:00
Denis Rouzaud
b0b22bb6bf fix bindings 2021-06-23 14:30:28 +02:00
Denis Rouzaud
a42df3b856 allow to build auth methods statically 2021-06-23 12:52:26 +02:00
nirvn
8513b8051f [authentication manager] Allow configurations to be overwritten when importing 2021-05-15 17:25:02 +07:00
nirvn
ad1c94c227 Address review, export config string map as DOM element (eases editability) 2021-05-13 08:58:22 +07:00
nirvn
3d70259fe4 Fix dox 2021-05-12 17:52:24 +07:00
nirvn
f916c06a8e [authentication] Add a pair of APIs to export and import configurations to/from XML 2021-05-12 16:05:38 +07:00
Matthias Kuhn
e94d9bc024 [qt6] Use RecursiveMutex instead of QMutex( QMutex::Recursive )
QMutex::Recursive will be gone.
The replacement only entered the stage with Qt 5.14
2021-03-27 10:17:45 +01:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Alessandro Pasotti
faed480a73 mxe -> fedora mingw64 from Sourcepole
Replace MXE with fedora mingw64 cross build recipe with python.

Thanks to Sandro Mani!
2021-02-19 08:54:18 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
561a8326c5 Modernize language
And avoid insensitive/trigger words (as far as possible -- some are
coming from Qt or other external APIs)
2020-06-13 16:48:38 +10:00
Nyall Dawson
78a606188c Expose some more auth manager methods to Python
These methods either
- only wrap QSettings values (so there's no added security gained
by not exposing them -- it's currently easily possible to achieve
the same results via direct QSettings manipulation)

OR

- are required to allow fully automated QGIS deployment/startup
scripts which rely on auth manager functionality
2019-06-14 08:54:44 +10:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Denis Rouzaud
4b7da692d6 run sipify all 2018-09-10 11:41:57 -04:00
Nyall Dawson
9115d7f2f2 Add note to use QgsApplication::authManager() 2018-06-03 15:50:23 +10:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
38850bdb94 [pyqgis] Ensure that multiline param tags are indented for additional lines 2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
8bb45b935a Typo 2018-05-25 15:09:00 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00