Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit f294e124 authored by Rob Swindell's avatar Rob Swindell 💬

Display list of file recipients ("Uploaded to") when relevant

for the user-to-user file transfer directory
parent e0a055f1
Pipeline #1936 passed with stage
in 10 minutes and 48 seconds
...@@ -66,6 +66,8 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc) ...@@ -66,6 +66,8 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc)
char* p = f->hdr.attr&MSG_ANONYMOUS ? text[UNKNOWN_USER] : f->from; char* p = f->hdr.attr&MSG_ANONYMOUS ? text[UNKNOWN_USER] : f->from;
if(p != NULL && *p != '\0') if(p != NULL && *p != '\0')
bprintf(P_TRUNCATE, text[FiUploadedBy], p); bprintf(P_TRUNCATE, text[FiUploadedBy], p);
if(f->to_list != NULL && *f->to_list != '\0')
bprintf(P_TRUNCATE, text[FiUploadedTo], f->to_list);
bprintf(P_TRUNCATE, text[FiDateUled],timestr(f->hdr.when_imported.time)); bprintf(P_TRUNCATE, text[FiDateUled],timestr(f->hdr.when_imported.time));
if(getfiletime(&cfg, f) > 0) if(getfiletime(&cfg, f) > 0)
bprintf(P_TRUNCATE, text[FiFileDate],timestr(f->time)); bprintf(P_TRUNCATE, text[FiFileDate],timestr(f->time));
......
...@@ -337,7 +337,7 @@ enum { ...@@ -337,7 +337,7 @@ enum {
,FiTimesDled ,FiTimesDled
,FiTransferTime ,FiTransferTime
,FiTags ,FiTags
,Unused327 ,FiUploadedTo
,FiChecksum ,FiChecksum
,HappyBirthday ,HappyBirthday
,TimeToChangePw ,TimeToChangePw
......
...@@ -519,7 +519,7 @@ const char * const text_defaults[TOTAL_TEXT]={ ...@@ -519,7 +519,7 @@ const char * const text_defaults[TOTAL_TEXT]={
,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x73\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x65\x64\x20\x3a\x01\x68\x20\x25\x75" // 324 FiTimesDled ,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x73\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x65\x64\x20\x3a\x01\x68\x20\x25\x75" // 324 FiTimesDled
,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x20\x74\x6f\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x20\x3a\x01\x68\x20\x25\x73" // 325 FiTransferTime ,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x20\x74\x6f\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x20\x3a\x01\x68\x20\x25\x73" // 325 FiTransferTime
,"\x0d\x0a\x01\x6e\x01\x67\x54\x61\x67\x73\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 326 FiTags ,"\x0d\x0a\x01\x6e\x01\x67\x54\x61\x67\x73\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 326 FiTags
,"\x55\x4e\x55\x53\x45\x44\x33\x32\x37" // 327 Unused327 ,"\x0d\x0a\x01\x6e\x01\x67\x55\x70\x6c\x6f\x61\x64\x65\x64\x20\x74\x6f\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 327 FiUploadedTo
,"\x0d\x0a\x01\x6e\x01\x67\x46\x69\x6c\x65\x20\x25\x2d\x36\x2e\x36\x73\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 328 FiChecksum ,"\x0d\x0a\x01\x6e\x01\x67\x46\x69\x6c\x65\x20\x25\x2d\x36\x2e\x36\x73\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 328 FiChecksum
,"\x07\x07\x0d\x0a\x01\x68\x01\x72\x48\x01\x62\x61\x01\x67\x70\x01\x79\x70\x01\x63\x79\x20\x01\x6d\x42\x01\x77\x69\x01\x72\x72\x01" ,"\x07\x07\x0d\x0a\x01\x68\x01\x72\x48\x01\x62\x61\x01\x67\x70\x01\x79\x70\x01\x63\x79\x20\x01\x6d\x42\x01\x77\x69\x01\x72\x72\x01"
"\x67\x74\x01\x62\x68\x01\x63\x64\x01\x6d\x61\x01\x79\x79\x20\x01\x77\x74\x01\x72\x6f\x20\x01\x67\x79\x01\x62\x6f\x01\x63\x75\x0d" "\x67\x74\x01\x62\x68\x01\x63\x64\x01\x6d\x61\x01\x79\x79\x20\x01\x77\x74\x01\x72\x6f\x20\x01\x67\x79\x01\x62\x6f\x01\x63\x75\x0d"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment