Code Monkey home page Code Monkey logo

kursausschreibung's People

Contributors

aramloosman avatar cravay avatar dependabot[bot] avatar ember-tomster avatar fbufbi avatar schefbi avatar ursbraem avatar

Watchers

 avatar

kursausschreibung's Issues

Filter by EventCategory in addition to HostId

We want to allow different lists than only by HostId.
Most importanty, lists filtered by EventCategoryIds.

Or, in German:

Im Moment ist es nur möglich, nach der HostId (Veranstalter) zu filtern, das werden die obigen Begriffe sein wie Kurs WB Zebra.
Wir möchten aber mindestens nach "EventCategory" (Kategorie) filtern können, damit ihr – nur als Beispiel – eine Liste mit allen Sprachkursen (EventCategory 1023) auf einer Seite anzeigen könnt.

Authenticate via PHP

We will use the plugin in many different forms on various pages.
But the authentication is for one URL only. ERZ can't add all pages' URLs to their auth list.
So they recommended we disable autologin completely in appConfig.js

// set this to true if you want to use autologin on your page
"useAutoLogin": false,

If we would use the auto login with the domain only, then there would be a redirect to ` "webBaseUrl": "https://evento.stubr-dev.ch". I still don't really understand why the redirect is needed,

What I do understand is that it's a security issue to authenticate via JS, because JS can't keep a secret.

The recommendation is that we get the token ourselves via PHP (oAuth) and send it to the browser. As long as the token is valid, it's fine, it doesn't have to be recreated at each visit.

We have to see if this works with Litespeed Cache, which would be a pity if we couldn't use it.

The token is in LocalStorage:

image

URL contains %20

In some slugs, there will be whitespace and thus sometimes %20 signs:

http://www.bffbern.ch/de/weiterbildung_erziehung_und_soziales_kurse_und_zertifikatslehrgaenge_info#/weiterbildung/kurs%20wb%20erziehung%2Fsoziales

https://www.bzemme.ch/kurseweiterbildung/#/weiterbildung/informatik%20(wb)

  • On one hand, maybe the URL should be created more robustly, with UIDs?
  • On the other hand, this maybe the whitespace can be replaced with a _?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.