completed member export and removed some "breaking" bugs, still work to be done on the XML output

This commit is contained in:
2026-02-26 16:19:24 -07:00
parent c74563be51
commit 344562c55c
10 changed files with 141 additions and 23 deletions
+12
View File
@@ -195,6 +195,18 @@ lists:
- "Community.Member"
- "UnrestrictedUser"
- "Community.Cohost"
- name: "Community.AllUserlevels"
roles:
- "NotInList"
- "Global.Anonymous"
- "Global.Unverified"
- "Global.Normal"
- "Community.Member"
- "UnrestrictedUser"
- "Community.Cohost"
- "Community.Host"
- "Global.PFY"
- "Global.BOFH"
- name: "Conference.Read"
roles:
- "Global.Anonymous"
+3 -3
View File
@@ -100,7 +100,7 @@ func (p *UserPrefs) Localizer() lctime.Localizer {
func (p *UserPrefs) LanguageTag() *language.Tag {
lt, err := language.Parse(p.ReadLocale())
if err != nil {
log.Fatalf("BOGUS LANGUAGE TAG %s in user prefs for uid %d", p.LocaleID, p.Uid)
log.Errorf("BOGUS LANGUAGE TAG %s in user prefs for uid %d", p.LocaleID, p.Uid)
return nil
}
return &lt
@@ -115,7 +115,7 @@ func (p *UserPrefs) MessagePrinter() *message.Printer {
func (p *UserPrefs) Location() *time.Location {
rc, err := time.LoadLocation(p.TimeZoneID)
if err != nil {
log.Fatalf("BOGUS TIMEZONE TAG %s in user prefs for uid %d", p.TimeZoneID, p.Uid)
log.Errorf("BOGUS TIMEZONE TAG %s in user prefs for uid %d", p.TimeZoneID, p.Uid)
return time.Local
}
return rc
@@ -669,7 +669,7 @@ func crackAuthString(authString string) (int32, string, error) {
* Parameters:
* ctx - Standard Go context value.
* authString - The stored cookie authentication string.
* remoteIP - The remote IP address wheter trhe user is logging in from.
* remoteIP - The remote IP address where the user is logging in from.
* Returns:
* Pointer to the authenticated User, or nil.
* Standard Go error status.