Skip to content

Commit

Permalink
Rewrite codebase (#101)
Browse files Browse the repository at this point in the history
* Modules for credentials and owa; use better notifications

* Sort contentScripts

* Backport changes done on manifest_v3 branch

* Remove semis

* Add types

* Fix vulns

* Fixing notifications and make them optional

* Reworke forwarding scripts (should fix #63 and fix #98)

* OWA Observer futureproof and hopefully better

* Add Slub and Videocampus forwards (fix #83)

* no-unsed-vars should be no error

* Add new main script for login and sample implementation for hisqis. WIP

* Add hint

* Why do you even work?

* Correct domain

* Small v2 bugfix

* Migrate and update Videocampus

* Forgor bracket

* Migrate selma

* Lint

* Formatting

* Register onClick in function for outside use

* Migrate OWA

* Lint

* Magma is no more

* Migrate idp

* Migrate jexam

* TIL: DOMNodeInserted is deprecated

* Migrate Opal

* Migrate cloudstore

* A bit of typing

* Use notifications for new emails

* Permission page (pls help me I don't know frontend)

* Migrate Med Moodle

* Migrate med eportal

* idp logout

* We don't need this

* Kinda fix #71 - don't try login when an error is shown

* Migrate tex

* usesIdp flag

* Using document_end

* Migrate SLUB

* Migrate Gitlab MN

* This should be enough

* Migrate lsk

* Rework Matrix

* Less errors

* Well we can use this if we already have it

* Sort and rewrite first opal script

* Migrate some opal pdf functionality

* Add opal banners

* Fix popup click count. Will be replaced but whatever...

* Move styles to styles directory

* We probably want to keep the old value

* New CSS paths in manifest

* Parse opal courses

* Migrate pimping hisqis

* Small stuff

* Documentation says this is better

* We now can save the state :3

* Linting

* We are even typesafer now

* In preparation of new onboarding process

* Types everywhere

* Lint

* No more async response when not necessary

* Fixed Firefox detection (and lint errors)

* Fix opal parsing

* Remove redundant redundancy

* Changes color theme of the hisqis table and adds color helpers.

This commit solves the requested color change by @C0ntroller.

It also reimplements the color helpers, which were there in the

old vue version. It also changes the usage of deprecated bgColor

into a call to window.getComputedStyle etc.

* Removes old, unused css declarations.

* To make the linter happy.

* Adds cursor pointer for link on hisqis.

* Remove wrong check (and spelling)

* Adds notification system for first save and update of opal course list.

* Notification bugs fixed.

* Lint stuff

* Notification as module

* More linting

* Remove outdated files

* Add opal banner (and show title ^^')

* Many small fixes and removal of unused stuff

* Reset of gOpal banner is a bit more deterministic

Co-authored-by: Daniel Kluge <[email protected]>
Co-authored-by: Noxdor <[email protected]>
  • Loading branch information
3 people authored Jun 27, 2022
1 parent 5dea7fc commit ad00d64
Show file tree
Hide file tree
Showing 87 changed files with 4,373 additions and 3,248 deletions.
11 changes: 9 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ module.exports = {
jquery: true
},
extends: ['standard'],
plugins: ['promise'],
parser: '@typescript-eslint/parser',
plugins: ['promise', '@typescript-eslint'],
rules: {
'prefer-arrow-callback': 'warn'
'prefer-arrow-callback': 'warn',
'no-unused-vars': 'warn', // This should be no error!
semi: ['warn', 'never'],
quotes: ['warn', 'single', { avoidEscape: true }],
'spaced-comment': 'warn',
'no-multiple-empty-lines': 'warn',
'eol-last': 'warn'
}
}
Loading

0 comments on commit ad00d64

Please sign in to comment.