Commit Graph
346 Commits
Author SHA1 Message Date
DL6ER a4fc933966 Use silent mode if curl based tests to suppress progress meter display 2017-06-12 20:08:33 +02:00
DL6ER 35a1882e3b Add HTTP server tests 2017-06-12 20:01:54 +02:00
DL6ER 19c54b0e0c Replace sprintf() + swrite() by the new ssend() routine. This enhancement removes the fixed buffer we used before and allows for responses having arbitraty lengths 2017-06-12 19:53:20 +02:00
DL6ER e159b5626e We don't allow caching the responds of FTL 2017-06-12 19:33:23 +02:00
DL6ER 03fc5be4a7 Interpret HEAD request 2017-06-12 19:20:20 +02:00
DL6ER 3b99d828b7 Return error 404 if a browser is asking for favicon.ico 2017-06-12 19:11:53 +02:00
DL6ER 38c706d3ce Merge branch 'development' into new/API 2017-06-12 18:55:12 +02:00
DL6ER abc550375b Merge pull request #70 from pi-hole/new/db
Long-term database backend implementation
2017-06-12 18:54:52 +02:00
DL6ER 941dfb2493 Implement HTTP server into FTL, listening on port 4747 by default 2017-06-12 18:52:08 +02:00
DL6ER 295c6e47d0 Merge pull request #74 from pi-hole/fix/ports
Revamp socket routines
2017-06-12 17:17:24 +02:00
Mcat12 0d561000d3 Spelling 2017-06-12 11:13:42 -04:00
DL6ER 323add3b5e Revamp socket routines 2017-06-12 16:28:30 +02:00
DL6ER 91a722ec6a Adapt tests to new insert statement 2017-06-12 12:34:01 +02:00
DL6ER 494415de30 INT -> INTEGER 2017-06-12 12:30:09 +02:00
DL6ER 9fa2cfbf31 Prnt content of pihole-FTL.log 2017-06-12 12:11:30 +02:00
DL6ER 9c0776340d Print content of pihole.log when testing 2017-06-12 12:09:06 +02:00
DL6ER 94c7f39d6c Merge branch 'development' into new/db
Conflicts:
	Makefile
2017-06-12 12:07:04 +02:00
DL6ER 99a1b75535 Merge pull request #72 from pi-hole/tweak/remove-obj-directory
Remove need for empty obj directory in repo
2017-06-12 12:01:58 +02:00
DL6ER b951b72aa9 Add database content test 2017-06-12 11:59:29 +02:00
DL6ER 15098dca97 Use local path for DB as well 2017-06-12 11:48:39 +02:00
Mcat12 65708e0cc9 Merge pull request #73 from pi-hole/tweak/file-license-header-fixes
Fix some file headers
2017-06-11 21:34:28 -04:00
Mcat12 631947fc71 Fix some file headers 2017-06-11 20:17:41 -04:00
Mcat12 a7ca42ab12 Remove need for empty obj directory in repo 2017-06-11 19:21:25 -04:00
DL6ER 838585e254 Add optimization flags for SQLite3's building process 2017-06-09 14:11:50 +02:00
DL6ER 2f05cec1a3 Add va_end into error catcher routine to be sure to leave the subroutine cleanly 2017-06-09 12:15:22 +02:00
DL6ER d6dde2d09b Don't recompile the sqlite object file when switching branches 2017-06-09 12:02:10 +02:00
DL6ER 05d9c521e7 Actually use the file size from the config file in the DB GC thread 2017-06-09 11:46:51 +02:00
DL6ER 9b0d566724 Update README.md 2017-06-09 11:42:36 +02:00
DL6ER a51501e56c Compile SQLite3 w/o debugging options 2017-06-09 10:53:07 +02:00
DL6ER 692d69947e Add FTL SQLite3 implementation, we compile SQLite3 on-the-fly to become independent of installed libraries
Limit DB filesize, configureable via config file, if set to zero, the DB functionality is disabled altogether
Add ">dbstats" to the telnet interface
2017-06-09 09:47:13 +02:00
DL6ER dae75ec112 Merge pull request #69 from pi-hole/FTLtest
Add test suite to FTL repository
2017-06-05 17:44:38 +02:00
DL6ER 27d48a8cdd Try to connect on port 4711 2017-06-05 15:18:06 +02:00
DL6ER 380aee6689 Add test suite for FTL 2017-06-05 15:12:38 +02:00
DL6ER 66ebdefee6 Merge pull request #67 from pi-hole/tweak/README.md
Use pidof pihole-FTL instead of the .pid file in the simplified debugging instructions
2017-06-03 19:28:27 +02:00
DL6ER 246951381a Use pidof pihole-FTL instead of the .pid file in the simplified debugging instructions 2017-06-03 19:26:46 +02:00
DL6ER aef1f91f2a Merge pull request #66 from pi-hole/tweak/thread_locks
Rework thread locks (since we don't need different kinds anymore)
2017-06-03 19:22:52 +02:00
DL6ER 36230f8e61 Merge branch 'development' into tweak/thread_locks
Conflicts:
	socket.c
2017-06-03 19:16:03 +02:00
DL6ER 1d10c03078 Merge pull request #65 from pi-hole/fix/concurrent_client_threads
Fix concurrent client threads accessing the same memory
2017-06-03 19:14:46 +02:00
DL6ER 2f0f68e4d5 Rework thread locks (since we don't need different kinds anymore) 2017-06-03 19:08:24 +02:00
DL6ER 75cea2c32b Some improvements for getline() 2017-06-03 18:54:05 +02:00
DL6ER 0342e12910 Ensure that we don't launch multiple client threads at the same time (they may want to access (i.e. write to) the same memory at the same time) 2017-06-03 18:52:59 +02:00
DL6ER f91ba17f6c Merge pull request #64 from pi-hole/EUPL1.2
Update license to EUPL v1.2
2017-06-03 16:28:36 +02:00
DL6ER 9fd29b037b Improve formating 2017-06-03 15:05:41 +02:00
DL6ER 5424ee0376 Update license to EUPL v1.2 2017-06-03 14:59:13 +02:00
DL6ER cb02d8c42d Merge pull request #63 from pi-hole/new/hideAAAA
Added AAAA_QUERY_ANALYSIS config flag
2017-06-01 23:21:57 +02:00
DL6ER 81db618568 Added AAAA_QUERY_ANALYSIS config flag for skiping the analysis of AAAA records 2017-06-01 23:09:11 +02:00
DL6ER 7adae527b5 Merge pull request #61 from pi-hole/fix/indices
Fix wrong index in getForwardDestinations
2017-05-27 14:25:50 +02:00
DL6ER 22e50c5a34 Use allocated boolean for free 2017-05-27 14:22:48 +02:00
DL6ER 3bead9d83c Used wrong index in getForwardDestinations 2017-05-27 14:19:53 +02:00
DL6ER ae70c768c2 Merge pull request #58 from pi-hole/fix/detectStatus
Improve memory handling in int detectStatus(const char *domain)
2017-05-15 14:12:17 +02:00