summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-06all: various changesShulhan
* Add function to search and remove non-local caches * Refactoring no how to create and remove record from hosts file
2020-09-05all: various fixes and clean upsShulhan
* Trim dot "." suffix on RR.Name before creating new one * Decrease the notification from default (5 seconds) to 3 seconds * Use the phrase "zone file" instead of "master file" * Update the SOA fields information to be less technical.
2020-09-04_www: update node modules dependenciesShulhan
2020-09-04_www: reorder the create record fields on Zone interfaceShulhan
Previously, the fields to create new record is name, type, and value. This commit move the type field to the top so when the type changes, the fields below it also changes according to its type. This is to simplify the field format for PTR record.
2020-09-04_www: make the hosts.d page has the same width with master.d pageShulhan
2020-09-04httpd: fix error return value when handling delete RRShulhan
2020-09-04_www: create separate form for handling create/update/delete SOA recordShulhan
Since each zone file only allow one SOA record, the form for creating, updating, or deleting the SOA record should be separated from others resource record.
2020-09-02all: handle saving the PTR record on Zone file editorShulhan
2020-09-02Makefile: set DIR_BIN, DIR_MAN, and DIR_RESCACHED on uninstall-macosShulhan
While at it, remove unused, OS specific, "coverbrowse" task.
2020-09-02resolverbench: check all answers value before printing unmatched responseShulhan
2020-09-02go.mod: update with latest share moduleShulhan
Fix hostname not converted to lowercase when parsing hosts files.
2020-09-02all: include the generated man pagesShulhan
This is to minimize user to install additional tools to build and install this software.
2020-08-25go.mod: update with latest share packageShulhan
Add second parameter to method PopulateCachesByXxx for clearity.
2020-08-25cmd/resolverbench: update with latest changes on lib/dnsShulhan
2020-08-23all: replace the internal hosts file with dns.HostsFileShulhan
2020-08-23.ignore: ignore the web UI public buildShulhan
2020-08-23all: replace hosts with dns.ResourceRecordShulhan
Both type hold the same fields, so use one from dns library.
2020-08-23_www: show notification on failed or successful responseShulhan
2020-08-23go.mod: update dependenciesShulhan
Fix multiple empty lines generated when environment saved on file.
2020-08-23httpd: move the api path to constsShulhan
2020-08-22.ignore: list of ignore files for ripgrepShulhan
2020-08-22Makefile: generate static file only when one of build files changesShulhan
2020-08-22generate_memfs: include png file to be embeddedShulhan
The only one png file is the favicon file.
2020-08-22all: change "Master" word to "Zone"Shulhan
While at it, * update code with latest dns library * check for empty name servers when updating environment
2020-08-22_www: refactoring web UI with wui.svelte v0.2.0Shulhan
2020-08-18httpd: implement functions to create and delete master fileShulhan
2020-08-17_www: update packagesShulhan
2020-08-17all: implement web UI to manage master zone filesShulhan
Currently, it allow user to add or remove new resource record from the master zone file.
2020-07-26all: rename hostsblock to hosts_blockShulhan
2020-07-26httpd: fetch the hosts block file if its not exist when enabledShulhan
While at it, return an error when doing update on hosts block.
2020-07-26_www: simplify setting new environment from response of APIShulhan
2020-07-26all: make enabling and disabling hosts block without restartShulhan
2020-07-26_www: fix indentation, use tab instead of spacesShulhan
2020-07-26wui: update the hosts block last-updated formatShulhan
Use the format "Year-month-day hour:minute:second TZ" for last updated value.
2020-07-26wui: simplify the layoutShulhan
Make the Environment menu is the home menu.
2020-07-26_www: update packages.jsonShulhan
2020-07-26_www: include the generated bundlesShulhan
This is to minimize steps on user when building the software.
2020-07-26cmd/rescached: add option to set address of web user interfaceShulhan
2020-07-26all: implement UI to create, update, delete hosts file in hosts.dShulhan
The UI will update (insert or remove) the records on cache on the fly.
2020-07-26_AUR: update with latest releaseShulhan
2020-07-26all: rename rescached_httpd.go to httpd.goShulhan
2020-07-26go.mod: update dependencyShulhan
2020-07-26all: store the loaded hosts and master filesShulhan
To be able to edit the hosts or master file through web UI, we need to store it some where. This changes is premilinary commit before we add the actual UI to edit hosts file.
2020-07-26cmd/rescached: add ": " to the log prefixShulhan
2020-07-26all: use log.SetPrefix to prefix the log outputShulhan
2020-07-26_www: update style, minimize main paddingShulhan
2020-07-26all: remove unused hosts.block fileShulhan
2020-07-26all: add user interface to configure source of hosts blockShulhan
The user interface, which can be accessed at http://127.0.0.1:5380/#hostsblock, contains list of hosts block sources that can be enabled or disabled using check box. If enabled and the file is outdated, it will fetch the latest list and store it at /etc/rescached/hosts.d/<name>, where name is the domain name of source.
2020-07-26_www: update dependenciesShulhan
2020-07-26all: make host and master directory staticShulhan
Previously, user can change the location where the hosts files and master file using "rescached::dir.host" and "rescached::dir.master" options. This change disallow chaning both options and make them static.