Giter VIP home page Giter VIP logo

Comments (5)

inducer avatar inducer commented on May 28, 2024

Generally, Relate has no problems with arbitrary Unicode characters. The two situations you mention are special, for the following reasons:

  • For my own application, I've designed Relate to use email-based sign-in for most of the users. In this case, there is no password, and students sign in by receiving a link in their email and clicking it. Their user name is thus equal to their email address, and email addresses put strict limits on what characters may appear where. I prefer this over letting the students set a password, because many of them would just use their university credentials, which in turn makes my Relate instance a more valuable hacking target. This can be changed though, and I'd be happy to make this configurable at some point. How urgently do you need this?
  • Event IDs (as well as page IDs) are currently forced consist of roman letters and underscores. Note that these IDs are completely independent of how these events are shown to the user however. In the file events.yml, you can customize user presentation:
event_kinds:
    lecture:
        title: Lecture {nr}
        color: blue

    exam:
        title: Exam {nr}
        color: red

http://documen.tician.de/relate/content.html#calendar-and-events

If it helps your use case, more general characters could be allowed.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

Thank you for your reply and your patience! I am going to open the course in about a week. And I will be appreciated if you can make username based sign-in available.

from relate.

hsingh23 avatar hsingh23 commented on May 28, 2024

As a user of the system - having to log in once from a browser is very easy and I prefer it to username based sign-in. Could you please explain why you require username password login?

from relate.

inducer avatar inducer commented on May 28, 2024

User/pw auth is now available.

Use

STUDENT_SIGN_IN_VIEW = "course.auth.sign_in_by_email"

to enable it.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

inducer, thank you very much.

hsingh23, i am trying to ask student to upload their assignments to the server which require to login via api, and I think the user/pw way might be better.

from relate.

Related Issues (20)

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.