|
|
|
@ -500,14 +500,16 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,5,parsed[3],-1);
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,5,parsed[3],-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (cur_size>4&&!yon_char_is_empty(parsed[4])){
|
|
|
|
if (cur_size>4&&!yon_char_is_empty(parsed[4])){
|
|
|
|
char *hash = yon_char_divide_search(parsed[4],"|",-1);
|
|
|
|
if (!strcmp(parsed[5],"sha256")||!strcmp(parsed[5],"sha512")){
|
|
|
|
if (!strcmp(hash,"sha256")||!strcmp(hash,"sha512")){
|
|
|
|
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,7,"******",-1);
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,7,"******",-1);
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,6,hash,-1);
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[5],-1);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,6,"******",-1);
|
|
|
|
if (strlen(parsed[4])==128||strlen(parsed[4])==64)
|
|
|
|
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[4],-1);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,7,"******",-1);
|
|
|
|
if (cur_size>5&&!yon_char_is_empty(parsed[5])){
|
|
|
|
if (cur_size>5&&!yon_char_is_empty(parsed[5])){
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1);
|
|
|
|
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[5],-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -1260,8 +1262,8 @@ void on_web_publish_accept(GtkWidget *, dictionary *dict){
|
|
|
|
enable_browser?"listing":"",":",
|
|
|
|
enable_browser?"listing":"",":",
|
|
|
|
port_enabled?port:"",":",
|
|
|
|
port_enabled?port:"",":",
|
|
|
|
username_check?username:"",":",
|
|
|
|
username_check?username:"",":",
|
|
|
|
username_check?yon_char_is_empty(encryption)? user_password:encryption:"",":",
|
|
|
|
username_check?!yon_char_is_empty(user_password)?user_password:"":"",
|
|
|
|
username_check?!yon_char_is_empty(encryption)?user_password:"":"",
|
|
|
|
username_check?yon_char_is_empty(encryption)?"":encryption:"",":",
|
|
|
|
NULL);
|
|
|
|
NULL);
|
|
|
|
if (!yon_char_is_empty(window->name)&&strcmp(final_name,window->name)){
|
|
|
|
if (!yon_char_is_empty(window->name)&&strcmp(final_name,window->name)){
|
|
|
|
yon_config_remove_by_key(REPOPUBLIC_WEB_full(window->name));
|
|
|
|
yon_config_remove_by_key(REPOPUBLIC_WEB_full(window->name));
|
|
|
|
|