thecodephilic-guy pushed to master at thecodephilic-guy/pravserver 2026年07月01日 14:45:06 +02:00
a96238328d fix:removed debugging log
thecodephilic-guy pushed to master at thecodephilic-guy/pravserver 2026年07月01日 14:39:06 +02:00
b170271fe7 feat: custom username support for new users
thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 17:59:16 +02:00
Feature: Custom Username Support (Issue #2)

Yeah it's more cleaner. I have changed it.

thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 17:58:13 +02:00
Feature: Custom Username Support (Issue #2)
thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 17:42:28 +02:00
Feature: Custom Username Support (Issue #2)

I checked the function signature in the library and you're right, "de" is setting the default region to Germany if no region code is provided in the number itself.

thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 17:31:41 +02:00
Feature: Custom Username Support (Issue #2)

I saw same code pattern in AuthenticationController.java (which I have not touched) there was this exact same code to parse the phone number before sending PIN.

thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 16:53:53 +02:00
Feature: Custom Username Support (Issue #2)

I am changing it to the much softer phrase: "Attempt to claim existing username {} by {}". How does it sound now?

thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 16:52:34 +02:00
Feature: Custom Username Support (Issue #2)

For "undocumented", I agreed that it was slightly confusing terminology. Since the entries table maps a JID to a phone number, if an entry doesn't exist, it is "unmapped". So, I am changing the...

thecodephilic-guy commented on pull request prav/pravserver#28 2026年06月24日 16:38:32 +02:00
Feature: Custom Username Support (Issue #2)

The regex "^(?![0-9]+$)[a-zA-Z0-9]+$" does two things:

thecodephilic-guy created pull request prav/pravserver#28 2026年06月23日 11:04:16 +02:00
Feature: Custom Username Support (Issue #2)
thecodephilic-guy pushed to master at thecodephilic-guy/pravserver 2026年06月23日 10:50:58 +02:00
4a1ee1397c feat: add custom username support for new registrations
thecodephilic-guy created repository thecodephilic-guy/pravserver 2026年06月15日 09:24:32 +02:00