3ff7043 More CSP fixes

Authored and Committed by pingou 4 years ago
60 files changed. 827 lines added. 661 lines removed.
pagure/static/issue_ev.js
file modified
+3 -3
pagure/static/pagure.css
file modified
+139 -8
pagure/templates/_formhelper.html
file modified
+5 -5
pagure/templates/_render_issues.html
file modified
+5 -5
pagure/templates/_render_pullrequests.html
file modified
+2 -2
pagure/templates/_render_repo.html
file modified
+10 -11
pagure/templates/_repo_renderdiff.html
file modified
+2 -1
pagure/templates/activity.html
file modified
+7 -7
pagure/templates/add_deploykey.html
file modified
+2 -2
pagure/templates/add_group_project.html
file modified
+10 -10
pagure/templates/add_user.html
file modified
+10 -10
pagure/templates/blame.html
file modified
+6 -5
pagure/templates/comment_update.html
file modified
+1 -1
pagure/templates/commit.html
file modified
+18 -17
pagure/templates/commits.html
file modified
+6 -10
pagure/templates/docs.html
file modified
+1 -2
pagure/templates/edit_file.html
file modified
+4 -2
pagure/templates/edit_group.html
file modified
+5 -5
pagure/templates/file.html
file modified
+8 -7
pagure/templates/group_info.html
file modified
+7 -5
pagure/templates/group_list.html
file modified
+5 -3
pagure/templates/index.html
file modified
+5 -3
pagure/templates/issue.html
file modified
+91 -81
pagure/templates/issues.html
file modified
+27 -12
pagure/templates/master.html
file modified
+9 -10
pagure/templates/new_issue.html
file modified
+24 -30
pagure/templates/patchfile.html
file modified
+9 -8
pagure/templates/pull_request_comment.html
file modified
+2 -2
pagure/templates/pull_request_title.html
file modified
+16 -19
pagure/templates/releases.html
file modified
+2 -2
pagure/templates/repo_comparecommits.html
file modified
+6 -7
pagure/templates/repo_info.html
file modified
+2 -2
pagure/templates/repo_master.html
file modified
+6 -8
pagure/templates/repo_milestone.html
file modified
+19 -3
pagure/templates/repo_new_pull_request.html
file modified
+28 -35
pagure/templates/repo_pull_request.html
file modified
+45 -42
pagure/templates/repo_roadmap.html
file modified
+23 -9
pagure/templates/repo_stats.html
file modified
+4 -4
pagure/templates/requests.html
file modified
+7 -6
pagure/templates/settings.html
file modified
+29 -19
pagure/templates/settings_api_keys.html
file modified
+2 -2
pagure/templates/settings_block_users.html
file modified
+3 -3
pagure/templates/settings_milestones.html
file modified
+2 -2
pagure/templates/settings_options.html
file modified
+2 -2
pagure/templates/settings_repospanner.html
file modified
+1 -2
pagure/templates/user_info.html
file modified
+9 -10
pagure/templates/user_list.html
file modified
+5 -3
pagure/templates/user_settings.html
file modified
+8 -9
pagure/templates/userdash_activity.html
file modified
+19 -24
pagure/templates/userdash_forks.html
file modified
+0 -4
pagure/templates/userdash_groups.html
file modified
+0 -4
pagure/templates/userdash_master.html
file modified
+5 -3
pagure/templates/userdash_projects.html
file modified
+20 -25
pagure/templates/userdash_template.html
file modified
+10 -10
pagure/templates/userdash_watchlist.html
file modified
+0 -4
pagure/templates/userprofile_groups.html
file modified
+1 -1
pagure/templates/userprofile_issues.html
file modified
+26 -26
pagure/templates/userprofile_macros.html
file modified
+37 -37
pagure/templates/userprofile_pullrequests.html
file modified
+28 -28
pagure/templates/waiting_post.html
file modified
+39 -39
    More CSP fixes
    
    - Be consistent on how we call javascript and css files, always use a
    nonce even when not really needed.
    - Drop all the inline style="" in favor of CSS class and ID and sometime
    with a little JS magic
    - Remove all the href="javascrip:void(0)"
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+3 -3
file modified
+139 -8
file modified
+10 -10
file modified
+6 -5
file modified
+18 -17
file modified
+6 -10
file modified
+1 -2
file modified
+8 -7
file modified
+5 -3
file modified
+91 -81
file modified
+27 -12
file modified
+9 -10
file modified
+24 -30
file modified
+29 -19