diff --git a/_projects/antlr-v4.md b/_projects/antlr-v4.md index 59f63492..5aa4a30d 100644 --- a/_projects/antlr-v4.md +++ b/_projects/antlr-v4.md @@ -6,7 +6,6 @@ desc: "This project is about integrating ANTLR into the coala bear API. " difficulty: high initiatives: - GSoC - - RGSoC issues: [] markdown: antlr-v4.md mentors: @@ -14,6 +13,7 @@ mentors: - corona10 - aptrishu name: "Integrate ANTLR v4 into coala" +improved_title: "Integrate ANTLR v4 to coala" requirements: - "The participant should have one patch to [coala](https://github.com/coala/coala) accepted." - "Being familiar with the current Bear API and what it provides." diff --git a/_projects/aspects.md b/_projects/aspects.md index c71cf32b..05c5adc1 100644 --- a/_projects/aspects.md +++ b/_projects/aspects.md @@ -7,14 +7,14 @@ difficulty: high status: completed initiatives: - GSoC - - RGSoC issues: [] -markdown: implement-aspects.md +markdown: aspects.md mentors: - userzimmermann - jayvdb - myint name: "Implement Aspects Support" +improved_title: "Implement Aspect" requirements: - "The participant should have one patch to any bear accepted." - "The participant should have one patch to the coala core accepted." diff --git a/_projects/automate-vulture-whitelist.md b/_projects/automate-vulture-whitelist.md index 4f53023f..bddeb82a 100644 --- a/_projects/automate-vulture-whitelist.md +++ b/_projects/automate-vulture-whitelist.md @@ -1,5 +1,6 @@ --- name: "Automate Whitelist creation for vulture" +improved_title: "Improve Whitelisting Infrastructure for Vulture" collaborating_projects: - coala - vulture diff --git a/_projects/commit-content-checks.md b/_projects/commit-content-checks.md index 81fd59ce..b50961df 100644 --- a/_projects/commit-content-checks.md +++ b/_projects/commit-content-checks.md @@ -1,5 +1,6 @@ --- name: "Commit content inspection" +improved_title: "Git Commit Content Inspection" desc: "Verification that the commit message accurately describes the patch" requirements: - "Merged pull requests to a vcs bear, e.g. GitCommitBear." diff --git a/_projects/corobo-enhancement.md b/_projects/corobo-enhancement.md index 33e968bc..d5adc1fb 100644 --- a/_projects/corobo-enhancement.md +++ b/_projects/corobo-enhancement.md @@ -17,6 +17,7 @@ mentors: - gbin - mixih name: "corobo enhancements(security, configurability and tests)" +improved_title: "Corobo Enhancement - Security, Testing And Configurability" requirements: - "At least one patch to corobo should be accepted and merged." status: completed diff --git a/_projects/gitmate-gitlab.md b/_projects/gitmate-gitlab.md index 6da39ffa..93f590aa 100644 --- a/_projects/gitmate-gitlab.md +++ b/_projects/gitmate-gitlab.md @@ -10,7 +10,6 @@ difficulty: medium status: completed initiatives: - GSoC - - RGSoC issues: - "https://gitlab.com/coala/GSoC/GSoC-2017/issues/6" - "https://gitlab.com/coala/GSoC/GSoC-2017/issues/26" @@ -39,6 +38,7 @@ mentors: - seblat - fneu name: "Implement GitLab and Bitbucket Support for GitMate" +improved_title: "Extending GitMatev2.0 to support GitLab and Bitbucket" requirements: - "The participant should have one patch to [GitMate-2](https://gitlab.com/gitmate/gitmate-2) accepted." - "Django knowledge is a big plus." diff --git a/_projects/gitmate-plugins.md b/_projects/gitmate-plugins.md index 4d578a7d..d4283889 100644 --- a/_projects/gitmate-plugins.md +++ b/_projects/gitmate-plugins.md @@ -1,5 +1,6 @@ --- name: "Implement GitMate Plugins for coala" +improved_title: "Implement GitMate automations and plugins for coala" desc: "GitMate.io helps by automating tasks on GitHub and GitLab. There are new plugins that are specific to coala that should be implemented. " requirements: diff --git a/_projects/go-bears-on-bsd.md b/_projects/go-bears-on-bsd.md index 531d220e..db96e3b8 100644 --- a/_projects/go-bears-on-bsd.md +++ b/_projects/go-bears-on-bsd.md @@ -14,6 +14,7 @@ mentors: - xferra - yukiisbored name: "Linter Dependency Management from a Bare-Metal System" +improved_title: "Go Bears on BSD" requirements: - "At least one patch to the coala core should be accepted and merged." - "The proposal needs to show familiarity with coala's dependency management implementation." diff --git a/_projects/optimize-caching.md b/_projects/optimize-caching.md index e6b840cf..621973ae 100644 --- a/_projects/optimize-caching.md +++ b/_projects/optimize-caching.md @@ -5,7 +5,6 @@ desc: "Improve coala's caching and IO for the NextGen-Core" difficulty: medium initiatives: - GSoC - - RGSoC issues: - "https://github.com/coala/coala/issues/3530" - "https://github.com/coala/coala/issues/2912" @@ -17,6 +16,7 @@ mentors: - shreyans800755 - fneu name: "Optimize Caching" +improved_title: "Optimize Caching for the NextGen-Core" requirements: - "At least one patch to the coala core should be accepted and merged." - "The student should be familiar with ongoing technical cEPs especially diff --git a/_projects/vulture.md b/_projects/vulture.md index 5e26c084..17923ec0 100644 --- a/_projects/vulture.md +++ b/_projects/vulture.md @@ -8,12 +8,12 @@ difficulty: medium status: completed initiatives: - GSoC - - RGSoC issues: [] markdown: vulture.md mentors: - jendrikseipp name: "Vulture dead code removal" +improved_title: "Removing dead code with Vulture" requirements: - "The participant should have one patch to [vulture](https://github.com/jendrikseipp/vulture) accepted." - "Being familiar with the current Bear API and what it provides. Fixing an diff --git a/data/projects.liquid b/data/projects.liquid index be375097..e02964bb 100644 --- a/data/projects.liquid +++ b/data/projects.liquid @@ -4,6 +4,7 @@ {% for post in site.projects %} { "name" : "{{ post.name }}", +"title" : "{{ post.improved_title }}", "desc" : "{{ post.desc }}", "requirements" : [{% for req in post.requirements %}"{{ req }}"{% unless forloop.last %},{% endunless %} {% endfor %}], diff --git a/data/reports.liquid b/data/reports.liquid new file mode 100644 index 00000000..a575e015 --- /dev/null +++ b/data/reports.liquid @@ -0,0 +1,13 @@ +--- +--- +[ +{% for report in site.reports %} +{ + "categories": [{% for category in report.categories %}"{{ category }}"{% unless forloop.last %},{% endunless %}{% endfor %}], + "date": "{{ report.date }}", + "student": "{{ report.student }}", + "project": "{{ report.project }}", + "project_link": "{{ report.project_link }}", + "url": "{{ report.url }}" +}{% unless forloop.last %},{% endunless %}{% endfor %} +] diff --git a/partials/tabs/projects.html b/partials/tabs/projects.html index e0b015e9..5636d6fb 100644 --- a/partials/tabs/projects.html +++ b/partials/tabs/projects.html @@ -88,9 +88,13 @@
Filter Projects

  • -
    +
    Initiatives
    {{ initiative }}
    +
    +
    {{ currentProject.report.initiative }}
    + Report +
    Collaborating projects
    {{ project }}
    diff --git a/resources/css/style.css b/resources/css/style.css index 099a157b..0d624a4b 100644 --- a/resources/css/style.css +++ b/resources/css/style.css @@ -34,6 +34,9 @@ .evenly-spread-content { justify-content: space-evenly; } +.gsoc-report { + cursor: pointer; +} .hash_value_dup { position: 'absolute'; left: '-9999px'; diff --git a/resources/js/directives/projects.js b/resources/js/directives/projects.js index 3617f189..231397dc 100644 --- a/resources/js/directives/projects.js +++ b/resources/js/directives/projects.js @@ -1,5 +1,5 @@ angular.module('coala') - .directive('projects', ['$http', '$timeout', '$location', 'Languages', 'orderByFilter', function ($http, $timeout, $location, Languages, orderBy) { + .directive('projects', ['$http', '$timeout', '$location', '$window', 'Languages', 'orderByFilter', function ($http, $timeout, $location, $window, Languages, orderBy) { return { restrict: 'E', templateUrl: '/partials/tabs/projects.html', @@ -221,6 +221,7 @@ angular.module('coala') $scope.projectList = res.data; $scope.allProjects = res.data; $scope.projectRequest(); + $scope.mapReportToProject(); }) } @@ -397,6 +398,36 @@ angular.module('coala') } $scope.getAllFilters(); + $scope.redirectToReport = function () { + $window.open($scope.currentProject.report.url, '_blank'); + } + + $scope.mapReportToProject = function () { + $http.get('data/reports.liquid') + .then(function (res) { + var completedProjects = [] + angular.forEach($scope.projectList, function(project){ + if (project.status.includes('completed') && project.mentors.length > 0) { + completedProjects.push(project) + } + }) + angular.forEach(res.data, function (report) { + var completed_project = report.project.toLowerCase() + angular.forEach(completedProjects, function (project) { + var project_title = project.title.length > 0 ? project.title.toLowerCase() : project.name.toLowerCase() + if (completed_project === project_title) { + angular.forEach(project.initiatives, function (initiative) { + if (report.categories.indexOf(initiative) != -1) { + report.initiative = initiative + project.report = report + return + } + }) + } + }) + }) + }) + } }, controllerAs: 'lc' }