GSoC/2020/StatusReports/AnujBansal: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2020‎ | StatusReports
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 47: Line 47:
# Added the ability to comment on proposals
# Added the ability to comment on proposals
# Added functionality to generate certificates
# Added functionality to generate certificates
== Screenshots ==
[[File:Season-new.png|thumb|center|New timeline and UI for SoK Website]]
[[File:Season-old.png|thumb|center|Old homepage for SoK website]]
[[File:Sok-markdown.png|thumb|center|New markdown editor (side-by-side mode)]]
[[File:Sok-comments.jpg|thumb|center|New comment section to provide feedback]]
[[File:Sok-certificate.png|thumb|center|Generated Sample Certificate PDF]]


== Work Left ==
== Work Left ==
Line 55: Line 62:
# [https://ab63.github.io/2020-06-29-gsoc1/ Part 1]
# [https://ab63.github.io/2020-06-29-gsoc1/ Part 1]
# [https://ab63.github.io/2020-07-29-gsoc2/ Part 2]
# [https://ab63.github.io/2020-07-29-gsoc2/ Part 2]
# [https://ab63.github.io/2020-08-30-gsoc3/ Part 3]


== Link to branches ==
== Link to Merge Requests ==
* [https://invent.kde.org/websites/kde-org/-/tree/work/hugo-script Kde.org hugo port]
* [https://invent.kde.org/websites/kde-org/-/merge_requests/14 Kde.org hugo port]
* [https://invent.kde.org/websites/season-kde-org/-/tree/symfony Season of KDE Symfony]
* [https://invent.kde.org/websites/season-kde-org/-/merge_requests/5 Season of KDE Symfony]


== About Me ==
== About Me ==

Latest revision as of 19:22, 1 September 2020

Project Overview

KDE has a vast web infrastructure. Some KDE websites have not been upgraded in a long time and use dated technologies.

The first part of this project involves porting KDE's main website kde.org to Hugo - A Go based static site generator. This would allow for ease of development, faster load times and more security.

KDE websites also currently use OpenLDAP and a PHP application to authenticate and manage users (identity.kde.org). OpenLDAP is an old and complex method of authenticating and managing user identity and several modern approaches are available. Moreover many services do not support OpenLDAP authentication (Eg. discourse). One of the newer approaches is to use OAuth2. OAuth2 is a modern approach to authentication and fixes the various issues with LDAP. So, the project also involves migrating season.kde.org to OAuth and giving it a much needed visual overhaul at the same time.

Work Report

Community Bonding

I spent the community bonding period exploring groups and projects within the community. I also familiarised myself more with the technologies I was going to work with. The rest of the community bonding period I worked on fixing some bugs on MyKDE - KDE's new identity system.

Week 1

  1. Ported announcements upto KDE 4.0
  2. Added support for translations
  3. Some minor layout changes
  4. Added hugo shortcode to supporting including files in markdown

Week 2 & 3

  1. Ported announcements upto 2012
  2. Maintained responsiveness of site
  3. Replaced html with hugo shortcodes where possible (youtube iframe)
  4. Cleaned up code

Week 4 & 5

  1. Automated majority of the conversion using regex
  2. Finished porting the announcements

Week 6, 7 & 8

  1. Finalised the hugo port for kde.org
  2. Removed a lot of redundant code
  3. Update pages that were changed recently
  4. Setup Season of KDE Website Project
  5. Discuss some UI Improvements with #kde-www

Week 9, 10, 11 & 12

  1. UI updates to Season of KDE
  2. Added the ability to view accepted projects from each year
  3. Added a page for each project
  4. Added support for markdown editor to edit proposals
  5. Added the ability to comment on proposals
  6. Added functionality to generate certificates

Screenshots

New timeline and UI for SoK Website
Old homepage for SoK website
New markdown editor (side-by-side mode)
New comment section to provide feedback
Generated Sample Certificate PDF

Work Left

The only work left is to test both the websites. The hugo port has been deployed to KDE's staging area for testing.

Link to Blog posts

  1. Community Bonding
  2. Part 1
  3. Part 2
  4. Part 3

Link to Merge Requests

About Me

Name: Anuj Bansal

Mentors: Carl Schwan, Niccolò Venerandi and Alexander Saoutkin

Invent: invent.kde.org/anujbansal

IRC Nick & Telegram: anuj63