summaryrefslogtreecommitdiffstats
path: root/src/WebAdmin.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added a warning if the webadmin is enabled without any users. (#5499)NiLSPACE2023-05-251-0/+24
|
* Removed all Printf-family functions from StringUtils.Mattes D2023-05-161-4/+4
| | | | | Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
* Remove old Android leftovers (#4722)Mat2020-05-071-5/+5
|
* Fix directory traversal bug (#4341)Wilhem Barbier2019-06-111-9/+8
| | | Refuse to serve an URL containing `../`.
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-24/+0
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-0/+24
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-24/+0
|
* Remove smart pointer macrospeterbell102017-07-211-1/+1
|
* Removed development plugins from settings filemathiascode2017-03-191-0/+1
|
* WebAdmin: Renamed two neighboring locks for better clarity / style.Mattes D2017-01-181-2/+2
|
* Webadmin: Added a missing CS lock.Mattes D2017-01-181-0/+1
| | | | This fixes an assert when accessing the login-page and the plugin-failure pages in the webadmin.
* Refactored to put URL Encoding / Decoding in a single place. (#3491)Mattes D2016-12-251-24/+1
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-06-271-211/+204
|
* Revert "Lua callback"Mattes D2016-03-211-204/+211
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-03-171-211/+204
|
* WebAdmin: Finish HTTP responses.Mattes D2016-03-031-0/+1
|
* Renamed HTTPResponse to HTTPOutgoingResponse.Mattes D2016-03-011-4/+4
|
* WebAdmin uses the new HTTP parser framework.Mattes D2016-03-011-27/+47
|
* Renamed HTTPServer folder to HTTP.Mattes D2016-03-011-2/+2
| | | | It contains client code as well.
* Moved cHTTPRequest to a separate file, renamed to cHTTPRequestParser.Mattes D2016-03-011-7/+7
|
* Renamed the HTTP classes to indicate they're for server.Mattes D2016-03-011-7/+7
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Namechange to CuberiteMattes D2015-09-251-5/+5
|
* Fix commentstycho2015-05-281-2/+2
|
* Made -Weverything an error.tycho2015-05-241-3/+3
|
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-1/+1
|
* Added URL member to the HTTPRequest API class.Mattes D2015-04-211-1/+2
|
* Refactored cWebPlugin for C++11 style and proper WebTab clearing.Mattes D2015-04-191-2/+2
|
* Split the plugin names and plugin folders to avoid confusing them.Mattes D2015-04-191-8/+20
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877
* WebAdmin uses the new cNetwork API.Mattes D2015-01-271-32/+43
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-5/+5
|
* Webadmin: Added default ports to auto-generated ini file.Mattes D2014-09-071-2/+6
| | | | Fixes #1382.
* [WebAdmin] Code improvements.Howaner2014-09-021-59/+91
|
* WebAdmin: Stop webadmin if template can't load.Howaner2014-08-311-1/+3
|
* WebAdmin: Added "files" folder and load the login template from login_template.htmlHowaner2014-08-311-10/+96
|
* Fixed shadowing variableTycho2014-08-131-5/+5
|
* Removed unused methodTycho2014-08-131-22/+0
|
* WebAdmin: Added GetURLEncodedString().madmaxoft2014-08-091-0/+32
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-3/+3
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-1/+1
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Fixed spaces around single-line comments.madmaxoft2014-07-171-1/+1
| | | | There should be at least two spaces in front and one space after //-style comments.
* Nullify deleted pointers.archshift2014-06-191-0/+1
|
* If webadmin.ini doesn't exist, example one is written immediately.madmaxoft2014-04-301-0/+1
|
* Removed old unused codeTycho2014-04-271-5/+0
|
* Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-3/+3
|
* Rewritten HTTPServer to use size_t for data lengths.madmaxoft2014-04-011-2/+2
|
* Moved Lua API registering into a separate function.madmaxoft2014-03-121-0/+1
| | | | This will allow us to use Lua as lite-config files as well, should we want to.
* WebAdmin is stopped properly on server shutdown / restart.madmaxoft2014-02-071-11/+27
| | | | Fixes #272.
* fixed warnings in webadmin.cppTycho Bickerstaff2013-12-311-0/+3
|
* Fixed getting configure button going to port 0.STRWarrior2013-12-241-3/+3
|
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-3/+3
| | | | Ref.: #407
* Moved source to srcAlexander Harkness2013-11-241-0/+527