GSoC/2020/StatusReports/AnujBansal: Difference between revisions
Anujbansal (talk | contribs) Created page with " == Project Overview == KDE websites currently use OpenLDAP and a PHP application to authenticate and manage users (https://identity.kde.org/). OpenLDAP is an old and complex..." |
Anujbansal (talk | contribs) No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Project Overview == | == 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 == | ||
== Link to | ==== 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 ==== | |||
# Ported announcements upto KDE 4.0 | |||
# Added support for translations | |||
# Some minor layout changes | |||
# Added hugo shortcode to supporting including files in markdown | |||
==== Week 2 & 3 ==== | |||
# Ported announcements upto 2012 | |||
# Maintained responsiveness of site | |||
# Replaced html with hugo shortcodes where possible (youtube iframe) | |||
# Cleaned up code | |||
==== Week 4 & 5 ==== | |||
# Automated majority of the conversion using regex | |||
# Finished porting the announcements | |||
==== Week 6, 7 & 8 ==== | |||
# Finalised the hugo port for kde.org | |||
# Removed a lot of redundant code | |||
# Update pages that were changed recently | |||
# Setup Season of KDE Website Project | |||
# Discuss some UI Improvements with #kde-www | |||
==== Week 9, 10, 11 & 12 ==== | |||
# UI updates to Season of KDE | |||
# Added the ability to view accepted projects from each year | |||
# Added a page for each project | |||
# Added support for markdown editor to edit proposals | |||
# Added the ability to comment on proposals | |||
# 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 == | |||
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 == | |||
# [https://ab63.github.io/2020-05-29-gsoc0/ Community Bonding] | |||
# [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-08-30-gsoc3/ Part 3] | |||
== Link to Merge Requests == | |||
* [https://invent.kde.org/websites/kde-org/-/merge_requests/14 Kde.org hugo port] | |||
* [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
- Ported announcements upto KDE 4.0
- Added support for translations
- Some minor layout changes
- Added hugo shortcode to supporting including files in markdown
Week 2 & 3
- Ported announcements upto 2012
- Maintained responsiveness of site
- Replaced html with hugo shortcodes where possible (youtube iframe)
- Cleaned up code
Week 4 & 5
- Automated majority of the conversion using regex
- Finished porting the announcements
Week 6, 7 & 8
- Finalised the hugo port for kde.org
- Removed a lot of redundant code
- Update pages that were changed recently
- Setup Season of KDE Website Project
- Discuss some UI Improvements with #kde-www
Week 9, 10, 11 & 12
- UI updates to Season of KDE
- Added the ability to view accepted projects from each year
- Added a page for each project
- Added support for markdown editor to edit proposals
- Added the ability to comment on proposals
- Added functionality to generate certificates
Screenshots
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
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