framework/js/lib/helpers
Toby Zerner eb72307a54 User display names (#1246)
* Introduce user display names

It is not uncommon for forums to be intergrated with sites where users
don't have a unique "handle" - they might just have their first name,
or a full name, which is not guaranteed to be unique.

This commit introduces the concept of "display names" for users. By
default display names are the same as usernames, but extensions may
override this and set them to something different. The important thing
is that all code should use `display_name` whenever intending to output
a human-readable name - `username` is reserved for cases where you want
to output a unique identifier (which may or may not be human-friendly).

The new "GetDisplayName" API is probably sub-optimal, but I didn't worry
too much because we can come up with something better in `next-back`.

ref #557

* Apply fixes from StyleCI

[ci skip] [skip ci]
2017-09-20 16:42:18 +09:30
..
avatar.js Major CSS revamp 2015-07-17 14:47:49 +09:30
fullTime.js Massive JavaScript cleanup 2015-07-15 14:01:11 +09:30
highlight.js Massive JavaScript cleanup 2015-07-15 14:01:11 +09:30
humanTime.js Massive JavaScript cleanup 2015-07-15 14:01:11 +09:30
icon.js Remove fa-fw class from all icons 2017-07-22 11:45:42 +09:30
listItems.js Avoid JSX to workaround Mithril 0.1.x weirdness. closes flarum/core#975 2016-08-27 23:33:34 +09:30
punctuateSeries.js Add third tier to key namespacing 2015-10-20 13:04:43 +09:00
username.js User display names (#1246) 2017-09-20 16:42:18 +09:30
userOnline.js Fixed name to camel case 2015-12-26 13:06:58 +01:00