Shane Mc Cormack
5a4f00d7ba
Satisfy Codacy.
7 vuotta sitten
Shane Mc Cormack
a1d0ef7497
Allow specifying a window for DisplayableEvents in format.yml (Issue #459)
I'm sure this will be changed/redone, but this is at least a start by allowing
certain events to go to all windows (eg ServerNotices)
Ideally it would be possible for some events to only be displayed in the window
that generated them (eg if I do /notice foo bar the ">-{{target}}-> {{message}}"
message only appears in the window I ran the command in, not either just the
server window or all the windows, but this would need changes to a bunch of
events to make them include a source window.
7 vuotta sitten
Shane Mc Cormack
8f55973df2
Fix things.
7 vuotta sitten
Shane Mc Cormack
9bd5d126a4
Remove more unused things.
7 vuotta sitten
Shane Mc Cormack
82165a222a
Remove unused things.
7 vuotta sitten
Shane Mc Cormack
0f3bd81d55
Remove unused imports.
7 vuotta sitten
Shane Mc Cormack
b90696a3b7
Add /reloadformat command. Issue #742
7 vuotta sitten
Greg Holmes
ad5f908505
Merge pull request #774 from csmith/master
Fix some unused imports/fields/etc.
7 vuotta sitten
Chris Smith
99f60d43b0
Fix some unused imports/fields/etc.
7 vuotta sitten
Greg Holmes
66fc67a0da
Merge pull request #773 from csmith/master
Move config provider tests to the right place.
7 vuotta sitten
Chris Smith
0c4a027b42
Move config provider tests to the right place.
7 vuotta sitten
Greg Holmes
93eaa6b7b4
Merge pull request #772 from csmith/master
Remove legacy default colour behaviour.
7 vuotta sitten
Chris Smith
ab84f1d094
Remove legacy default colour behaviour.
We now specify the default colour using display properties, not
by ascribing special value to the first colour code in a message.
Closes #741
7 vuotta sitten
Greg Holmes
c7d0276b80
Merge pull request #771 from csmith/master
First pass at a style guide.
7 vuotta sitten
Chris Smith
f57adb00fc
First pass at a style guide.
7 vuotta sitten
Greg Holmes
b515700546
Merge pull request #768 from csmith/master
Remove config dependency on ClientInfo.
7 vuotta sitten
Chris Smith
94e90ae542
Remove config dependency on ClientInfo.
7 vuotta sitten
Greg Holmes
e75257a9af
Merge pull request #767 from csmith/master
Move Migrator and LifecycleController to bundles.
7 vuotta sitten
Chris Smith
e2a7803809
Move Migrator and LifecycleController to bundles.
7 vuotta sitten
Greg Holmes
39d01cdcd9
Merge pull request #766 from csmith/master
Add some more bundles
7 vuotta sitten
Chris Smith
cde252191b
Merge remote-tracking branch 'origin/master'
7 vuotta sitten
Chris Smith
d8a352aaf7
Add bundle for config providers.
7 vuotta sitten
Greg Holmes
3450cdd485
Merge pull request #765 from csmith/master
Move config bindings into a bundle.
7 vuotta sitten
Chris Smith
76735c2d01
Add com.dmdirc.util.system bundle.
7 vuotta sitten
Chris Smith
a0f167a7df
Fix visibility of invocation.invoke().
7 vuotta sitten
Chris Smith
eba7d85b03
Move config bindings into a bundle.
Issue #750
7 vuotta sitten
Greg Holmes
8f4bedb32a
Merge pull request #764 from csmith/master
Apply OSGI plugin.
7 vuotta sitten
Chris Smith
68c13bc08e
Apply OSGI plugin.
7 vuotta sitten
Greg Holmes
ab60be00cb
Merge pull request #763 from csmith/master
Move Yaml utils to com.dmdirc.util.io.yaml bundle.
7 vuotta sitten
Chris Smith
39ba4c7707
Move Yaml utils to com.dmdirc.util.io.yaml bundle.
Issue #750
7 vuotta sitten
Greg Holmes
0c5f2807c8
Merge pull request #762 from csmith/master
Move event bus code to a bundle.
7 vuotta sitten
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 vuotta sitten
Greg Holmes
484ebba8ae
Merge pull request #760 from csmith/master
Add "unstyled" formatter func to strip control codes.
7 vuotta sitten
Chris Smith
65174b6ca6
Add "unstyled" formatter func to strip control codes.
Closes #755
7 vuotta sitten
Greg Holmes
bd00c557f2
Merge pull request #759 from csmith/master
Add OSGI dependency, activator.
7 vuotta sitten
Chris Smith
3f657ce1dd
Add OSGI dependency, activator.
This won't affect normal use of the client, other than it having
a few extra unused classes and some additional lines in the
manifest.
Issue #750
7 vuotta sitten
Greg Holmes
dbd9766955
Merge pull request #758 from csmith/master
Fix getStyledText() scrubbing underline and stop chars.
7 vuotta sitten
Chris Smith
08f54bad9f
Fix getStyledText() scrubbing underline and stop chars.
Closes #757
7 vuotta sitten
Greg Holmes
435d2ae032
Merge pull request #754 from csmith/master
showrawwindow isn't a setting.
7 vuotta sitten
Chris Smith
9092402a3f
showrawwindow isn't a setting.
Issue #753
7 vuotta sitten
Greg Holmes
be3be8a1ff
Merge pull request #752 from csmith/master
Fix stripping nickname control codes.
7 vuotta sitten
Chris Smith
5161aa8861
Fix stripping nickname control codes.
Closes #751
7 vuotta sitten
Greg Holmes
21ed8810d3
Merge pull request #749 from csmith/master
Update copyright.
7 vuotta sitten
Chris Smith
4c35da850d
Update copyright.
7 vuotta sitten
Shane Mc Cormack
4f52ff4ff6
Merge pull request #748 from csmith/master
Apply object display properties when formatting events.
7 vuotta sitten
Chris Smith
bc63c527ef
Apply object display properties when formatting events.
If an object in a formatter tag ({{foo.bar.baz}}) is Displayable,
then we will modify the output based on its display properties.
Currently only supports user links and foreground colours.
This also changes the internal format of nickname links to be
`\u16<nick to link to>\u16<text to show>\u16`, allowing the
link and text to differ. This means if you formatted users
by showing their realname, you could still click them to
open a query.
Closes #424
Closes DMDirc/Plugins#507
7 vuotta sitten
Greg Holmes
bac4b9da04
Merge pull request #747 from csmith/master
Add a display property for linking to users.
7 vuotta sitten
Chris Smith
407d8b00fa
Add a display property for linking to users.
Issue #424
7 vuotta sitten
Chris Smith
da4b1df3ea
Merge pull request #746 from csmith/master
Add base interface for objects with display properties.
7 vuotta sitten
Chris Smith
d2987cf4de
Add base interface for objects with display properties.
This will allow the formatter to check if strings coming from
(for example) users in channels should be formatted specially,
such as by colouring or linking them.
Issues #424 and DMDirc/Plugins#507
7 vuotta sitten