-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Count user defined js , adapt message when js exception #4776
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice addition !
I got a few ideas, I will have a look after if you want :
- Include a link to the maps management page ? similar https://github.com/3liz/lizmap-web-client/blob/a051777969cd2a6e12f32d7a93a4e47f1e9e23fc/lizmap/modules/view/templates/main.tpl#L44C1-L44C118
- Include a link to the same map, but with a kind of flag
&no_user_defined_js=true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great !
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release_3_7 release_3_7
# Navigate to the new working tree
cd .worktrees/backport-release_3_7
# Create a new branch
git switch --create backport-4776-to-release_3_7
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick ec7587f83391d815ae00bfc55709a6aecbaa4fa0,71037ddb6c824475181af59ecfbbbb39b5c881cf,ff494e8e029f264cb18010b315ec4ef8ec8db94f
# Push it to GitHub
git push --set-upstream origin backport-4776-to-release_3_7
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release_3_7 Then, create a pull request where the |
…xception and user is kind of admin
…tion and user is kind of admin (#4786)
When user is session is kind of admin , and if some user defined script are loaded, the javascript exception catcher add info about user scripts.
edit : updated screenshot
it adds a new parameter in the URL
no_user_defined_js=1
Funded by 3Liz