hslu-simple-mep-results
                                
                                
                                
                                    hslu-simple-mep-results copied to clipboard
                            
                            
                            
                        :bar_chart: A browser add-on that adds essential features to the HSLU MyCampus website
HSLU simple MEP results
This browser add-on extends the page 'Meine Anmeldungen' on the HSLU MyCampus website.
Contributors
This project is maintained by @Lextum and @eddex.
Thanks to everyone who contributed to this project in the form of code or reporting issues!
Want to add some missing modules, fix a bug or add a new, awesome feature? That's great. But please read CONTRIBUTING.md first!
Features

The browser add-on extends the page with the following features:
- A simple table with all your modules, credits and grades
 - An overview of how many modules of each type have been done / are still needed.
 - An overview of your grades including grade distribution and average.
 - A chart to visualize your credit progress.
 
Installation
You only have to install the extension once. After this you'll get automatic updates!
Firefox
Releases (recommended)
- Download the 
.xpifile from the latest release - Firefox should prompt you to install the extension, if not..
- Open Firefox and open the URL 
about:addons - Press the gear-button and select Install Add-on from File...
 - Select the downloaded 
.xpifile 
 - Open Firefox and open the URL 
 
From sources
- Clone / download this repo (and unzip it)
 - Open 
about:debugging - On the Add-ons tab click 
<Load Temporary Add-on..> - Select any file in the downloaded folder
 - Open https://mycampus.hslu.ch/de-ch/stud-i/mein-studium/meine-anmeldungen/
 
Chrome
Releases (recommended)
- Install the extension from the chrome web store
 
Google might remove the extension from the store again, so stay tuned.
From sources
- Clone / download this repo (and unzip it)
 - Open 
chrome://extensions/ - Enable developer mode
 - Click 
<Load unpacked> - Select the downloaded folder of this repo
 - Open https://mycampus.hslu.ch/de-ch/stud-i/mein-studium/meine-anmeldungen/
 
Development
:warning: For maintainers only :warning:
Creating new releases is done exclusively by the maintainers of this repository. Contributors must not change the version number and can't publish a new release as described below.
Create a new release
- Update the version number in 
src/manifest.json. - Add everything from 
src/to a.zipfile: 
_locales/directorycomponents/directorydata/directoryicons/directorylib/directorypopup/directorytemplates/directoryLICENSEfilemain.jsfilemanifest.jsonfile
- Update Firefox Release
 
- Login to https://addons.mozilla.org/en-US/developers/
 - HSLU simple MEP results > Edit product page > Upload new version.
 - Download the generated 
.xpifile. - Change the end of the filename form 
-fx.xpito-firefox.xpi. - Update 
updates.jsonwith the new release.- To get the 
update_hashgenerate the sha256 hash of the file. - e.g. 
Get-FileHash hslu_simple_mep_results-2.0.8-firefox.xpiin PowerShell. 
 - To get the 
 - Create a branch (e.g. 
release/2.0.15), push your changes and create a pull request. 
- Update Chrome Release
 
- Login to https://chrome.google.com/webstore/devconsole
 - Items > HSLU simple MEP results > Package > Upload new package
 - Update anything that's need updating
 - Save the changes and klick publish
 
- AFTER(!) the pull request is merged, create a new release in this repo and attach the 
.xpifile.