Hornwitser
85111e233e
Move linebreak to be after + operator
2020-11-07 18:19:50 +01:00
Hornwitser
5337280eec
Remove usage of ++ outside of for loops update
...
The usage of postfix ++ is somewhat obscure in its meaning. It's better
to be explicit here.
2020-11-07 18:16:24 +01:00
Hornwitser
f67f56e6de
Refactor web interface
...
Reimplement the pages of the web interface in order to make them
prettier and more easily amended by plugins.
2020-11-06 23:08:43 +01:00
Hornwitser
0c0626564a
Add login flow
...
Present user with a login form to input token when connection fails or
the token is not present in local storage. Replaces the settings page.
2020-10-29 19:11:10 +01:00
Hornwitser
8586dfb95f
Fix capitalization of constructors
...
Enforce new-cap rule and fix capitalization and mistakes related to
constructors.
2020-10-23 21:22:45 +02:00
Hornwitser
00a1f6aea7
Remove variable shadowing
...
Refactor to remove all no-shadow warnings.
2020-10-23 21:22:45 +02:00
Hornwitser
fbbaf3dd3a
Alter no-mixed-operators rule
...
Change the rule for mixed operators to allow basic arithmetic and
boolean logic.
2020-10-23 19:05:12 +02:00
Hornwitser
a84f2d5eb6
Use strict equality checking
...
Remove usage of == and != in favour of === and !==.
2020-10-23 19:05:12 +02:00
Hornwitser
bccc89fa0b
Finish linting web interface
...
Fix remaining linter errors detected in web interface code.
2020-09-28 05:52:31 +02:00
Hornwitser
84450b83b4
Implement adminlist, whitelist and banlist sync
...
Add integration of the server adminlist, whitelist and banlist into
clusterio. Membership is stored as booleans in the user acconuts and
changes are synchronized live to slaves which pass it on to instances
which in turn will update the running server's lists with RCON commands.
2020-09-01 18:17:40 +02:00
Hornwitser
efd759bec5
Add code linting using ESLint
...
Add ESLint as a dev dependency and configure it to match the preferred
style for the project. The config options set to warn are tentative and
may not be sensible as they haven't been fully investigated yet.
2020-06-17 20:53:18 +02:00