Resource icon

Standard Library by Xon 1.20.0

No permission to download
  • XF2.2.10 compat fix for "view template modifications" link not rendering
  • Move quick_filter template/js which dynamically updates body/pagenav in an overlay from SV/WhoReplied into SV/StandardLib
    • See Who Replied v2.2.0+ or User Mention Improvements v2.8.0+ for examples of usage
  • Fix type-error when a collection is passed to the removeValue templater filter function
  • Remove outdated comment in EarlyJoinFinderTrait
  • Add isPermissionInUse install helper
  • Add SV\StandardLib\Behavior\Cacheable behavior, to help automate calling rebuildCache (or a defined function) on a repository which matches the entity's name
  • Use templater_setup code event to inject various filters/functions into multiple templater types.
    • Adds the extendable class SV\StandardLib\TemplaterHelper to help add filters/functions to templates without manualy extending every templater type
  • Add new template filters/functions
    • parse_less_func
    • abs
    • array_diff
    • sv_array_reverse => array_reverse
    • Backport phrase_dynamic function to XF2.1
  • Fix for using SqlJoinTrait and EarlyJoinFinderTrait together
    • Resolves compatibility issue when using Bump Thread and Optimized List Queries add-ons together
  • Update EarlyJoinFinderTrait to add support tables with compound primary keys
  • Document using InstallerHelper
  • Add InstallerHelper::getReversedAlterTables (with example usage in README.md), to hopefully simplify uninstaller code.
    • Takes the result of getAlterTables (array of table alters) and reverses simple column adds, renames and index adds.
    • Thanks @TickTackk
  • Fix 32bit support when detecting early-join behaviour (ie Optimize List Queries add-on)
  • Move helper features for extending forum/prefix filters into Standard Lib from a number of other add-ons
  • Fix triggering an error on /forums/1/page-9223372036854775807 when Optimized Query List add-on is used and php7+ type hinting is used
  • Fix "DevTools failed to load source map: Could not load content for .../js/sv/vendor/moment/moment.min.js.map"
  • When viewing a template, always show the 'view template modifications' link to allow viewing compiled code
  • Add an addValue template filter, to complement removeValue filter, and related phrases
Top Bottom