Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit fb772f9

Browse files
committed
Explicitly add SOA type to list, also reorder list into alphabetical order. increase javascript ajax timeout to 5 minutes
1 parent aa9ab1e commit fb772f9

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

pydat/extras/www/static/js/domain_advanced.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ function process_query(query){
227227
$("#results").append(res);
228228
}
229229
}
230-
}
230+
},
231+
timeout: 60000
231232
});
232233
}
233234

pydat/pydat/pdns_sources/dnsdb/dnsdb.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@
5151
('a', 'A'),
5252
('aaaa', 'AAAA'),
5353
('cname', 'CNAME'),
54-
('txt', 'TXT'),
5554
('mx', 'MX'),
5655
('ns', 'NS'),
57-
('ptr', 'PTR')
56+
('ptr', 'PTR'),
57+
('soa', 'SOA'),
58+
('txt', 'TXT'),
5859
]})
5960

6061
fields.addReverseField("type", "ChoiceField", "ip",

pydat/pydat/static/js/domain_advanced.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ function process_query(query){
227227
$("#results").append(res);
228228
}
229229
}
230-
}
230+
},
231+
timeout: 60000
231232
});
232233
}
233234

0 commit comments

Comments
 (0)