eddex / hslu-simple-mep-results

:bar_chart: A browser add-on that adds essential features to the HSLU MyCampus website
MIT License
39 stars 16 forks source link
browser-addon browser-extension chrome firefox hochschule-luzern hslu

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

screenshot

The browser add-on extends the page with the following features:

Installation

You only have to install the extension once. After this you'll get automatic updates!

Firefox

Releases (recommended)

From sources

Chrome

Releases (recommended)

Google might remove the extension from the store again, so stay tuned.

From sources

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

  1. Update the version number in src/manifest.json.
  2. Add everything from src/ to a .zip file:
    • _locales/ directory
    • components/ directory
    • data/ directory
    • icons/ directory
    • lib/ directory
    • popup/ directory
    • templates/ directory
    • LICENSE file
    • main.js file
    • manifest.json file
  3. 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 .xpi file.
    • Change the end of the filename form -fx.xpi to -firefox.xpi.
    • Update updates.json with the new release.
    • To get the update_hash generate the sha256 hash of the file.
    • e.g. Get-FileHash hslu_simple_mep_results-2.0.8-firefox.xpi in PowerShell.
    • Create a branch (e.g. release/2.0.15), push your changes and create a pull request.
  4. Update Chrome Release
  5. AFTER(!) the pull request is merged, create a new release in this repo and attach the .xpi file.