File tree 4 files changed +8
-3
lines changed
4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
## [ Known Issues]
7
7
- None. Please feel free to submit an issue via [ GitHub] ( https://github.com/ryanblenis/MeshCentral-DevTools ) if you find anything.
8
8
9
+ ## [ 0.0.2] - 2020-03-07
10
+ ### Fixed
11
+ - Prevent race condition with conflicting plugins changing the app views directory by using absolute paths
12
+
9
13
## [ 0.0.1] - 2019-11-24
10
14
### Added
11
15
- Released initial version
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Dev Tools" ,
3
3
"shortName" : " devtools" ,
4
- "version" : " 0.0.1 " ,
4
+ "version" : " 0.0.2 " ,
5
5
"author" : " Ryan Blenis" ,
6
6
"description" : " Tools for plugin developers to make testing easier." ,
7
7
"hasAdminPanel" : true ,
Original file line number Diff line number Diff line change @@ -11,11 +11,12 @@ module.exports.devtools = function (parent) {
11
11
var obj = { } ;
12
12
obj . parent = parent ;
13
13
obj . meshServer = parent . parent ;
14
+ obj . VIEWS = __dirname + '/views/' ;
14
15
15
16
obj . handleAdminReq = function ( req , res , user ) {
16
17
if ( ( user . siteadmin & 0xFFFFFFFF ) == 0 ) { res . sendStatus ( 401 ) ; return ; }
17
18
var vars = { } ;
18
- res . render ( 'admin' , vars ) ;
19
+ res . render ( obj . VIEWS + 'admin' , vars ) ;
19
20
} ;
20
21
21
22
obj . serveraction = function ( command , myparent , grandparent ) {
Original file line number Diff line number Diff line change 1
1
# MeshCentral-DevTools
2
2
3
- * Released: 2019-11-24 *
3
+ * Released: 2020-03-07 *
4
4
5
5
Tools to aid plugin developers for the [ MeshCentral2] ( https://github.com/Ylianst/MeshCentral ) Project.
6
6
You can’t perform that action at this time.
0 commit comments