~cedric/freshermeat

7974b086ad2a6201f00d17eabc5358017e3ea314 — C├ędric Bonhomme 19 days ago 8648183
replaced cve.circl.lu by cvepremium.circl.lu
M freshermeat/templates/project.html => freshermeat/templates/project.html +1 -1
@@ 185,7 185,7 @@ function loadCVEs() {
            })
            .map(function(cve){
                var cardHTML = cveTemplate({
                    'cve_url': 'http://cve.circl.lu/cve/' + cve.cve_id,
                    'cve_url': 'http://cvepremium.circl.lu/cve/' + cve.cve_id,
                    'cve_id': cve.cve_id,
                    'published_at': moment(cve.published_at).fromNow(),
                    'cve_summary': cve.summary

M freshermeat/web/views/project.py => freshermeat/web/views/project.py +1 -1
@@ 199,7 199,7 @@ def recent_cves(project_name=None):
        fe.id(cve.cve_id)
        fe.title("{} - {}".format(cve.project.name, cve.cve_id))
        fe.description(cve.summary)
        fe.link(href="https://cve.circl.lu/cve/" + cve.cve_id)
        fe.link(href="https://cvepremium.circl.lu/cve/" + cve.cve_id)
        fe.updated(cve.published_at.replace(tzinfo=timezone.utc))
        fe.published(cve.published_at.replace(tzinfo=timezone.utc))
    atomfeed = fg.atom_str(pretty=True)

M freshermeat/web/views/views.py => freshermeat/web/views/views.py +1 -1
@@ 127,7 127,7 @@ def recent_cves():
        fe.id(cve.cve_id)
        fe.title("{} - {}".format(cve.project.name, cve.cve_id))
        fe.description(cve.summary)
        fe.link(href="https://cve.circl.lu/cve/" + cve.cve_id)
        fe.link(href="https://cvepremium.circl.lu/cve/" + cve.cve_id)
        fe.updated(cve.published_at.replace(tzinfo=timezone.utc))
        fe.published(cve.published_at.replace(tzinfo=timezone.utc))
    atomfeed = fg.atom_str(pretty=True)

M instance/development.py => instance/development.py +1 -1
@@ 47,4 47,4 @@ MAIL_DEFAULT_SENDER = ""
GITHUB_CLIENT_ID = ""
GITHUB_CLIENT_SECRET = ""

CVE_SEARCH_INSTANCE = "https://cve.circl.lu"
CVE_SEARCH_INSTANCE = "https://cvepremium.circl.lu"