40602 Commits

Author SHA1 Message Date
Nyall Dawson
952b494256 Show Python identifier for processing parameters in tooltip
over widgets

Hopefully helps Python processing users match the parameters
in the gui to the parameter names to use when calling via
API

(Blender style!)
2017-08-07 17:24:22 +10:00
Nyall Dawson
b0cac0bd04 Remove debugging code 2017-08-07 17:13:07 +10:00
Denis Rouzaud
518ffe3f62 fix doxygen test on Travis
it seems that doxygen 1.18.13 is not behaving the same as 1.1811 (Travis one).
one might need to remove some spaces in the signature as they are different depending on Doxygen's version
2017-08-06 23:57:14 +02:00
Nyall Dawson
7946908224 Merge pull request #4424 from nyalldawson/osx_tests
Add some mask images, adjust test results for OSX
2017-08-07 07:39:42 +10:00
Nyall Dawson
ecafb494a8 Add some mask images, adjust test results for OSX 2017-08-07 07:38:19 +10:00
Nyall Dawson
80d53e4f59 Merge pull request #4466 from arnaud-morvan/test_python_qgsfields_getitem
Add test for python QgsFields [] operator
2017-08-07 07:33:21 +10:00
Harrissou Sant-anna
54007ef584 Delete context help dialogs that are replaced by online links. 2017-08-06 23:27:01 +02:00
Nyall Dawson
37bc07a8d4 Merge pull request #4991 from marioba/fix_processing_parameters
Protect processing parameters from segfault
2017-08-07 07:07:39 +10:00
Nyall Dawson
f6bc74c631 Merge pull request #4952 from nyalldawson/otf_transform_upgrade
When upgrading 2.x projects to 3.0, default to enabling a valid project projection instead of defaulting to no CRS
2017-08-07 07:07:14 +10:00
Nyall Dawson
c5f6af7508 Merge pull request #4989 from nyalldawson/icon_size
Fix various icon size issues
2017-08-07 06:52:08 +10:00
Nyall Dawson
5b9d7cf331 Fix doxygen test whitelist 2017-08-07 06:35:50 +10:00
Juergen E. Fischer
f34848ae3a ts scripts: pass languages from pull_ts.sh and push_ts.sh 2017-08-06 22:10:26 +02:00
Juergen E. Fischer
80dd8f3310 use star in spelling.dat instead of \> 2017-08-06 22:10:26 +02:00
Nyall Dawson
88e00d67d5 Revert "[FEATURE] QGIS - GeoNode Integration: Integrate with QGIS Browser Panel (#4816)"
This reverts commit 5f66f36ff6dd911ba3fca8ec9580e50812f404a0.

Some outstanding issues need to be addressed before this can be merged
2017-08-07 05:53:14 +10:00
Nyall Dawson
b808c5647a When upgrading 2.x projects to 3.0, default to enabling a valid
project projection instead of defaulting to no CRS

Fixes #16965
2017-08-07 05:41:58 +10:00
Nyall Dawson
2d88a4d73a Fix failing tests 2017-08-07 05:40:13 +10:00
Mario Baranzini
558b8d3395 Protect processing parameters from segfault 2017-08-06 21:40:12 +02:00
Nyall Dawson
b5c2253f0d Merge pull request #4926 from nyalldawson/coverity_158026
Fix coverity identical code for different branches warning
2017-08-07 05:29:20 +10:00
Nyall Dawson
d6e2985c08 Fix invalid icon sizes in processing model builder
While the toolbar buttons were shown in the correct size, the
actual icon image in the buttons was not correctly scaling to
match the button size.

Hardcoding the svg icons in the py file seems to be the only
way to avoid this.
2017-08-07 05:24:12 +10:00
Muhammad Yarjuna Rohmat
5f66f36ff6 [FEATURE] QGIS - GeoNode Integration: Integrate with QGIS Browser Panel (#4816)
* add Geonode connection menu to the toolbar

* add header files for geonode-qgis client

* add action to launch geonode connection dialog from menubar

* Move to proper directory

* Add geonodeconnection class.

* Add unit test for geonode connection.

* Use const static to avoid typo.

* Get list layers from geonode.

* Add get maps method.

* Geonode connection dialog (#13)

* add new geonode connection dialog

* apply functionality to the geonode connection manager dialog

* add save and load geonode connection functionality

* edit baseKey and credentialBaseKey

* remove auto-connect slots

* Add unit test for geonode connection.

* Add wms url getter.

* Add uuid and layer name in the table.

* Add handler for the list layer clicked. WIP.

* Use new style connect, better hacky to get wms url.

* update gitignore

* Make QGIS able to add WMS layer from geonode. With hacky code.

* Fix Docstring.

* Show web service type (WMS/WFS) in layer table.

* fix http and toolbar menu

* add geonode data item to the browser panel as an extention of ows provider

* [WIP] Add WFS.

* Add geonode get service url.

* combobox functionality and test geonode connection

* Add WFS.

* Disable add button if it's a map. Currently we can't do anything for map.

* Add busy cursor when add layer.

* get service uri capabilitites

* add available layers to the geonode browser panel

* remove debugging footprint and replace old style connect

* add actions (new, edit, delete) to geonode browser panel

* fix getLayers by WMS url

* add Geonode connection menu to the toolbar

* Filter out invalid layer / map.

* Fix service url method.

* Add service url for XYZ for GeoNode QGIS Server backend.

* Add XYZ url to geonode connection  dialog.

* Add XYZ layer to QGIS.

* fix double geonode submenu

* add wfs/wms layers from browser panel using its native provider

* comply with qgis3 new class naming

* Handle different prefix for layer in GeoNode QGIS Server backend.

* base class for cms connection

* make geonode connection as a derived class from cms connection

* update cmakelists

* move geonode connection to geocms dir

* update CMakeLists

* Handle geonode 2.7 with new API.

* Handle multiple geoserver url in one geonode.

* Fix add xyz for qgis server. Fix add wms, wfs, xyz for geoserver in geonode 2.7

* Refactor serviceURL to return QStringList.

* add 'add geonode layer' icon

* add geonode to the data source manager dialog

* [GeoNode-Client] Fix add WFS layer.

* fix wms url parameter

* add xyz dataitems

* Use new style connect.

* [GeoNode Client] Handle qgis server specific typename to make add WFS works.

* Code improvement.

* [GeoNode Client] Make geonode dialog in add universal layer can add layer.

* Open universal add layer when click Add GeoNode layer.

* Make sure the geonode url has protocol.

* Handle geonode version in a better way.

* make sure the serviceUrl method has scheme in its urls

* add services option to the dialog

* remove version label if not wfs

* construct wms url with parameters for geonode connection

* handle layer from multi service urls for every wfs, wms, & xyz services

* fix new style connect using static_cast

* hode close button if dialog is in embedded mode

* fix xyz layer naming in the browser tree

* create base class for geocms dataitems

* fix compiling warning

* Use struct instead QVariantMap.

* tidy up code

* Tidy up code, use QgsStringMap instead QVariantMap.

* Add spellok for catalogue.

* update sip

* update sip

* Use naming convention for QgsGeoCmsConnection and use QUuid.

* Async by using GeoNodeRequest class.

* Move geonode to src/gui.

* Use stack not heap.

* Remove unused includes.

* Use signal to handle request.

* Use QStringLiteral.

* Switch to use Q_FOREACH.

* Use Q_FOREACH and addressing PR's review.

* Set private for data members.

* update sip

* Update sip.

* Update sip.

* Fix sip problem to make it buildable again.

* Remove geocms

* Tidy up code.

* Use QgsSetting Scope::Provider.

* Fix missing zip.h
2017-08-06 21:24:12 +02:00
Nyall Dawson
cad54f2cea Fix incorrect icon sizes in Python console
Console was not respecting application icon size setting
2017-08-07 05:24:12 +10:00
Harrissou Sant-anna
139fe68a4a Update broken links to documentation
Because links to doc are based on plain hyperlinks, changes in doc
structure affect these relations. This PR fixes the broken links.
2017-08-06 21:21:43 +02:00
Nyall Dawson
434bda725f Merge pull request #4982 from nyalldawson/drop_file_drop_file_drop_file_drop_file_drop
Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
2017-08-07 05:14:28 +10:00
andreasneumann
42d7e0b898 renamed parameter names of array_slice, ran prepare-commit.sh 2017-08-06 19:11:32 +02:00
andreasneumann
89784691b1 [FEATURE] array_slice expression function 2017-08-06 19:11:32 +02:00
Juergen E. Fischer
5bd2e88a7c cancelled => canceled etc. //#spellok 2017-08-06 18:10:58 +02:00
Nyall Dawson
c3b62ad4ca Customise->Customize 2017-08-07 01:37:19 +10:00
Juergen E. Fischer
487a7a00b7 fix 'allows to/allows one to' spell errors and enhance to our spellchecker to deal with those 2017-08-06 17:34:22 +02:00
Nyall Dawson
771bcebc5e Merge pull request #4986 from nyalldawson/console_imports
Import gui, analysis, processing and Qt classes on console startup
2017-08-07 01:25:46 +10:00
Juergen E. Fischer
5f87bd8643 msvc: suppress some warnings 2017-08-06 16:29:54 +02:00
Juergen E. Fischer
177a017afe prepare-commit.sh: when run as pre-commit hook use /dev/tty. And don't
generally complain about trailing whitespaces as we have cases where
that's fine (and hence are excluded from astyle).
2017-08-06 16:29:54 +02:00
Nyall Dawson
05a039b173 [needs-docs] Remove python console "import class" action
Since these classes are always imported by default, there's no
need for a toolbar action to manually import them
2017-08-06 23:52:52 +10:00
Andreas Neumann
4e9dda237e Merge pull request #4983 from raymondnijssen/master
new contributor Raymond Nijssen
2017-08-06 15:52:05 +02:00
Nyall Dawson
069fadfc53 Import all qgis.gui, analysis, processing, and Qt classes by default
in Python console

Because it's a PITA to remember to manually import these all the time
2017-08-06 23:48:53 +10:00
Andreas Neumann
c9e754cf7b Merge pull request #4985 from raymondnijssen/patch-1
Update CONTRIBUTORS
2017-08-06 15:47:58 +02:00
Raymond Nijssen
9ba2d7b5c2 Update CONTRIBUTORS
added contributor Raymond to CONTRIBUTORS too
2017-08-06 15:46:24 +02:00
Andreas Neumann
78e1026c21 Add myself as a contributor 2017-08-06 15:42:59 +02:00
Raymond Nijssen
6823d1f5f9 new contributor 2017-08-06 15:28:09 +02:00
Nyall Dawson
b1a6c790cf Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
It makes no sense to have two classes covering this use case, with
partial functionality in each. Smash the two together so we can
safely use QgsFileWidget for all use cases in future.
2017-08-06 23:26:46 +10:00
Nyall Dawson
10968aeb25 Improve appearance of QgsFileWidget
Fix vertical alignment of widgets so that they are always
in line
2017-08-06 23:26:46 +10:00
Tim Sutton
6f7ef8ac2e [FEATURE] Colourblind preview modes now work on OSX (#4971)
* [FEATURE] Colourblind preview modes now work on OSX

* Enable colour picker widgets on Mac OS and colour preview modes in composer in Mac OS
2017-08-06 14:31:36 +02:00
Denis Rouzaud
06f9842637 rename symbology-ng to symbology 2017-08-06 14:18:57 +02:00
Juergen E. Fischer
302614008e fix windows build (followup acead27197; that went through travis ;)) 2017-08-06 12:49:51 +02:00
Martí ANgelats i Ribera
789a838346 Fixed the FALLTHROUGH macro. 2017-08-06 11:01:53 +02:00
Alessandro Pasotti
a55b6f421b Fix QgsFileWidget remember the folder functionality 2017-08-06 10:51:44 +02:00
Alessandro Pasotti
e397c69c27 Merge pull request #4975 from boundlessgeo/openvectorlayer-removal
Removed QgsOpenVectorLayer that is now the source select widget for '…
2017-08-06 10:48:08 +02:00
Alessandro Pasotti
06f4c396ad Removed QgsOpenVectorLayer that is now the source select widget for 'ogr' provider 2017-08-06 09:55:55 +02:00
Denis Rouzaud
0ebc1315d0 reenable spelling and sipify tests 2017-08-06 09:54:56 +02:00
Denis Rouzaud
a58b1a386c increase timeouts for code layouts 2017-08-06 09:54:56 +02:00
Nyall Dawson
3d425feff6 Merge pull request #4973 from nyalldawson/std_reverse
Use std::reverse instead of custom array reverse
2017-08-06 17:16:43 +10:00