Chris Smith
2c2e7d6a6b
Make migrator use Path properly.
Finish unit tests.
Change-Id: I5dba46bccd147283d8389dcc3d2a4aadf4d827be
Reviewed-on: http://gerrit.dmdirc.com/4002
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 9 roky
Chris Smith
3e75d1029f
Allow injecting Paths not Files.
Make the ActionAliasMigrator use a Path, and add a basic
unit test. Need to make ConfigFile use paths to do anything
sensible.
Also refresh gradle libs in idea so JimFs shows up.
Change-Id: I0cb2692083d0fe117b91edce63d8417ddd74e288
Reviewed-on: http://gerrit.dmdirc.com/3999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 9 roky
Chris Smith
5f5889887a
Strip prefixes from multi-line aliases.
When migrating make sure that existing multi-line aliases get
command chars (and any following silence chars) removed, rather
than just doing it from the first line.
Change-Id: I08b7081cd3f582901909001586048b209acbfa31
Fixes-Issue: CLIENT-512
Reviewed-on: http://gerrit.dmdirc.com/3645
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 10 roky
Greg Holmes
b03e2560fc
Move CoreAliasDialogModel classes.
Depends-On: I2905dd1596fad47d0c7beaa669331063b48bd305
Change-Id: I7ee9ec39fce785b8e374e50fd05f0ef824097ab0
Reviewed-on: http://gerrit.dmdirc.com/3587
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Greg Holmes
70c1e29036
Improve CoreAliasdialogModel.
Depends-On: I7ed08f0738e581840b28851d080b06657299d55b
Change-Id: Ic9c0091441d4f7d87ddc96a327f5e5b12b4cf803
Reviewed-on: http://gerrit.dmdirc.com/3571
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Chris Smith
13c09d7b10
Add a factory for creating aliases
Also statically import precondition methods randomly.
Depends-On: I49ec46315f1366d27c12d1b4cc2ac92cd479d46d
Change-Id: I2285d5b886d49841c3e5e6645da14a1c880e6745
Reviewed-on: http://gerrit.dmdirc.com/3535
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 10 roky
Greg Holmes
8f8e5d1ca2
Make setSelectedAlias take an optional.
Change-Id: Ia2274c427b1635578d470e7321364f7e28298971
Reviewed-on: http://gerrit.dmdirc.com/3530
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Greg Holmes
dad7b6d865
Dont require UI to create aliases.
Change-Id: I01e8bbd9beb0dfd76827455d2939a9e6ff7d74ec
Reviewed-on: http://gerrit.dmdirc.com/3527
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Greg Holmes
44911486b0
Add renamealias to corealiasdialogmodel
Change-Id: I3a6f219279f8c0a6a8a0f7471114b371a7039ef7
Reviewed-on: http://gerrit.dmdirc.com/3524
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Greg Holmes
fca2f139ae
Add unit tests for CoreAliasDialogModel
Change-Id: I40a3cd040855b53ec87fd476690ddf65c2e3d080
Reviewed-on: http://gerrit.dmdirc.com/3523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 10 roky
Chris Smith
cf8b7365d1
Add a manager for aliases.
Change-Id: Icdf50211d4b42e4014678f76a69a4c1ad089784a
Reviewed-on: http://gerrit.dmdirc.com/3517
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 10 roky
Chris Smith
da525f87b6
Add Command implementation for aliases.
Change-Id: Id9e68a94dc0b42b3fc4450154e2e2e71807a88c1
Reviewed-on: http://gerrit.dmdirc.com/3516
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 10 roky