~aleteoryx

Trackers

~aleteoryx/tclircc

Last active a month ago

~aleteoryx/scrobble.observer

Last active 2 months ago

~aleteoryx/tpl

Last active 3 months ago

~aleteoryx/foo

Last active 4 months ago

#9 literally why doesnt this goob work for me 2 months ago

bug added by ~aleteoryx on ~aleteoryx/scrobble.observer

#9 literally why doesnt this goob work for me 2 months ago

Ticket created by ~aleteoryx on ~aleteoryx/scrobble.observer

#8 cleanup the api code 2 months ago

optimization added by ~aleteoryx on ~aleteoryx/scrobble.observer

#8 cleanup the api code 2 months ago

Ticket created by ~aleteoryx on ~aleteoryx/scrobble.observer

it just needs a refactor with more solid error recovery.

#7 replace empty image URLs with the default one 3 months ago

bug added by ~aleteoryx on ~aleteoryx/scrobble.observer

#7 replace empty image URLs with the default one 3 months ago

Ticket created by ~aleteoryx on ~aleteoryx/scrobble.observer

could've sworn this was fixed

#6 Reduce external crates 4 months ago

optimization added by ~aleteoryx on ~aleteoryx/scrobble.observer

#6 Reduce external crates 4 months ago

Ticket created by ~aleteoryx on ~aleteoryx/scrobble.observer

Of the crates currently relied on, the following appear too feature-packed should be replaced with simpler internal code, to reduce binary size and external dependency count.

  • duration-str
  • urlencoding

#5 Watermarking 4 months ago

feature - user added by ~aleteoryx on ~aleteoryx/scrobble.observer

#5 Watermarking 4 months ago

Ticket created by ~aleteoryx on ~aleteoryx/scrobble.observer

Support for a limited form of (optional) watermaking. It would be up to the themes to include it.

#Query Parameters

  • ?watermark - specifies opting-in/out to the watermark.

#Config Entries

  • LFME_WATERMARK_DEFAULT: 0|1 - enables the watermark if 1. If 1, ?watermark disables the watermark.
  • LFME_WATERMARK_TEXT: string - should contain the name of the specific instance, or a tagline.
  • LFME_WATERMARK_IMG: string - should contain a link to an image. The rendered size of this image is at the discretion of a given theme, but it should be around 32x32-64x64, and have an aspect ratio no greater than 1:2.
  • LFME_WATERMARK_URL: string - should contain a link to the host, or whoever else the admin wishes.

#Context Members

  • watermark: object - null, unless (LFME_WATERMARK_TEXT || LFME_WATERMARK_IMG || LFME_WATERMARK_URL) && (?watermark XOR LFME_WATERMARK). Should be interpreted as whether to render a watermark.
  • watermark.text = LFME_WATERMARK_TEXT - defaults to lfm_embed.
  • watermark.img = LFME_WATERMARK_IMG - defaults to null.
  • watermark.url = LFME_WATERMARK_URL - defaults to null.

All that is guaranteed if watermark != null is the presence of watermark.text, so all themes should be able to fallback to text. Image support should be considered optional for themes. Linking support is mandatory for themes.

It is not an error to specify a default-enabled watermark with no possible contents, as the watermark object will simply not be present. A warning should be output on startup.