-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Allow users to save expression functions in QGIS project file #43
Commits on Sep 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 59ef0e5 - Browse repository at this point
Copy the full SHA 59ef0e5View commit details -
Make sure project functions are correctly loaded from the project (al…
…ways at the top of the list in the 'Function editor' tab) and never stored in a user profile file
Configuration menu - View commit details
-
Copy full SHA for 72da31b - Browse repository at this point
Copy the full SHA 72da31bView commit details -
[gui] Introduce dialog to add function files, allowing users to choos…
…e whether to store functions in a .py file (current behavior) or in the QGIS project
Configuration menu - View commit details
-
Copy full SHA for 37724a6 - Browse repository at this point
Copy the full SHA 37724a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c20dd5 - Browse repository at this point
Copy the full SHA 3c20dd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c62746d - Browse repository at this point
Copy the full SHA c62746dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7406ec - Browse repository at this point
Copy the full SHA c7406ecView commit details -
Address review (don't expose to public API, remove const to a by valu…
…e param, tr, string literals)
Configuration menu - View commit details
-
Copy full SHA for 939dac9 - Browse repository at this point
Copy the full SHA 939dac9View commit details -
Make sure python expression functions from project are only loaded if…
… users allow it, just like we do with macros
Configuration menu - View commit details
-
Copy full SHA for 8f0ab84 - Browse repository at this point
Copy the full SHA 8f0ab84View commit details -
[expressions] Unload expression functions from project on project clo…
…se and reload user expressions (from profile) to avoid any potential overwrite from unloaded project functions
Configuration menu - View commit details
-
Copy full SHA for f91fadf - Browse repository at this point
Copy the full SHA f91fadfView commit details -
[tests] Add test for unloading Expression Functions from projects (on…
… project close) and reloading user ones, specifically to restore overwritten user functions when opening a project with expressions inside
Configuration menu - View commit details
-
Copy full SHA for 053e95e - Browse repository at this point
Copy the full SHA 053e95eView commit details -
[core] Address review: Move loadFunctionsFromProject and cleanFunctio…
…nsFromProject to QgsProject::read and ::clear, respectively. Introduce function pythonEmbeddedInProjectAllowed to ask for permissions to load both macros and expression functions, with a parameter enum and rename existing enum for macros. Sort includes. Drop not needed file. Add python/expressions/ to gitignore, to get rid of files produced by the introduced Python test.
Configuration menu - View commit details
-
Copy full SHA for c5286e4 - Browse repository at this point
Copy the full SHA c5286e4View commit details