Skip to content

Commit 760497e

Browse files
authored
added 1.5b support
1 parent 2e03bda commit 760497e

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

src/http_server.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
//
2222

2323
// TODO:
24+
// convert spaces inside <td> to &nbsp; or use CSS td { white-space: pre; } -https://www.voidtools.com/forum/viewtopic.php?p=79828#p79828
25+
// [HIGH] add HEAD requests
2426
// obfuscate the password with base64. (like the Everything Server)
2527
// add support for the date created column.
2628
// a simple path rewrite to hide roots, for example: c:\private\media => /media
@@ -398,8 +400,9 @@ static int http_server_items_per_page = HTTP_SERVER_DEFAULT_ITEMS_PER_PAGE;
398400
static int http_server_show_drive_labels;
399401
static everything_plugin_utf8_t *http_server_strings_filename = NULL;
400402
static everything_plugin_utf8_t *http_server_header = NULL;
401-
static int http_server_allow_query_access = 0; // is-open: online: runcount:
402-
static int http_server_allow_disk_access = 0; // content: and include-filelist:
403+
static int http_server_allow_query_access = 0; // is-open: online: runcount: is-running:
404+
static int http_server_allow_disk_access = 0; // content:
405+
static int http_server_allow_full_access = 0; // include-filelist:
403406
static int http_server_default_sort = HTTP_SERVER_SORT_DATE_MODIFIED;
404407
static int http_server_default_sort_ascending = 0;
405408

@@ -1165,6 +1168,7 @@ __declspec( dllexport) void * EVERYTHING_PLUGIN_API everything_plugin_proc(DWORD
11651168
http_server_header = everything_plugin_get_setting_string(data,(const everything_plugin_utf8_t *)"header",http_server_header);
11661169
http_server_allow_query_access = everything_plugin_get_setting_int(data,(const everything_plugin_utf8_t *)"allow_query_access",http_server_allow_query_access);
11671170
http_server_allow_disk_access = everything_plugin_get_setting_int(data,(const everything_plugin_utf8_t *)"allow_disk_access",http_server_allow_disk_access);
1171+
http_server_allow_full_access = everything_plugin_get_setting_int(data,(const everything_plugin_utf8_t *)"allow_full_access",http_server_allow_full_access);
11681172
http_server_default_sort = everything_plugin_get_setting_int(data,(const everything_plugin_utf8_t *)"default_sort",http_server_default_sort);
11691173
http_server_default_sort_ascending = everything_plugin_get_setting_int(data,(const everything_plugin_utf8_t *)"default_sort_ascending",http_server_default_sort_ascending);
11701174

@@ -1288,6 +1292,7 @@ __declspec( dllexport) void * EVERYTHING_PLUGIN_API everything_plugin_proc(DWORD
12881292
everything_plugin_set_setting_string(data,(const everything_plugin_utf8_t *)"header",http_server_header);
12891293
everything_plugin_set_setting_int(data,(const everything_plugin_utf8_t *)"allow_query_access",http_server_allow_query_access);
12901294
everything_plugin_set_setting_int(data,(const everything_plugin_utf8_t *)"allow_disk_access",http_server_allow_disk_access);
1295+
everything_plugin_set_setting_int(data,(const everything_plugin_utf8_t *)"allow_full_access",http_server_allow_full_access);
12911296
everything_plugin_set_setting_int(data,(const everything_plugin_utf8_t *)"default_sort",http_server_default_sort);
12921297
everything_plugin_set_setting_int(data,(const everything_plugin_utf8_t *)"default_sort_ascending",http_server_default_sort_ascending);
12931298

@@ -5451,7 +5456,7 @@ static void http_server_start_next_query(void)
54515456
0,
54525457
http_server_allow_query_access,
54535458
http_server_allow_disk_access,
5454-
http_server_allow_disk_access,
5459+
http_server_allow_full_access,
54555460
0,
54565461
EVERYTHING_PLUGIN_CONFIG_SIZE_STANDARD_JEDEC,
54575462
0);

src/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#define PLUGINYEAR 2025
22
#define PLUGINMAJOR 1
33
#define PLUGINMINOR 0
4-
#define PLUGINREVISION 3
5-
#define PLUGINBUILD 4
4+
#define PLUGINREVISION 4
5+
#define PLUGINBUILD 5
66

77
#define _PLUGINVERSIONSTR2(x) #x
88
#define _PLUGINVERSIONSTR(x) _PLUGINVERSIONSTR2(x)

0 commit comments

Comments
 (0)