Commit graph

95 commits

Author SHA1 Message Date
Brian Huisman d82ee666c7 Update admin.php
In the edge case where the same query is requested twice in the same second by different IPs, both would appear in the Query Log UI. Add a second GROUP BY to avoid this.
2023-05-08 07:32:39 -04:00
Brian Huisman 8a8623b440 Update config.php
Preliminary code to check for DB version
2023-05-05 12:58:28 -04:00
Brian Huisman 803155547d Rename to sp_punct
Rename sp_smart ("smart" punctuation) to the more general and accurate sp_punct
2023-05-05 11:54:07 -04:00
Brian Huisman 635422b1d6 Punctuation normalization and MIME-type display
Disable Query log download button if query log is empty.
Further database error resiliency.
Add many more punctuation normalization characters; normalize on search as well as storage.
Add count of MIME-types in Search Management UI.
2023-05-05 11:17:39 -04:00
Brian Huisman e6777287d7 Update admin.php
Add scrolling for queries that are too wide for mobile.
2023-05-04 15:06:30 -04:00
Brian Huisman 31421e47bc Update admin.php
Also add same geoip extra check for file download
2023-05-03 11:41:25 -04:00
Brian Huisman 8caf5440d3 Update admin.php
Fix for geolocates that succeed but don't return a country code.
2023-05-03 11:32:24 -04:00
Brian Huisman da235cdc95 Update admin.php
More filter row simplification
2023-05-01 11:40:32 -04:00
Brian Huisman 8a5f5965b0 Update admin.php
Tweak display of Filters row on Page Index
2023-05-01 11:18:49 -04:00
Brian Huisman 9734d0aa5a Update admin.css
Add a box shadow to flags to make white-on-white more visible.
2023-04-28 14:11:31 -04:00
Brian Huisman 83f8fc9ed2 Javascript crawl support enhancement
Don't require reloading the page after a crawl has completed.
Javascript will dynamically update the Crawler Information values if we are on the Crawler Management page.
2023-04-28 13:55:26 -04:00
Brian Huisman ddc601697c Ping server to see if crawl has started
If admin UI is loaded while a crawl is not running, add a ping every 5 seconds to check if one has started. Fix issue where reloading the page while a crawl was running would cause a JS error that would cancel the crawl.
2023-04-28 12:26:58 -04:00
Brian Huisman 0c733426db Update crawler.php
Use the previously crawled page's category value if available.
2023-04-27 13:22:20 -04:00
Brian Huisman 41f6b25f0f Allow specifying Default Category 2023-04-27 13:10:22 -04:00
Brian Huisman 619e5b7f11 Documentation additions 2023-04-26 20:50:37 -04:00
Brian Huisman 8405e903c3 Update admin.php
Line up Page Index links a bit better
2023-04-26 20:25:56 -04:00
Brian Huisman ba04173c29 Daily updates
Keep Page Index pagination page within limits; add UTF-8 BOM to CSV and TXT download output; use utf8mb4_unicode_520_ci collation to remove need for SQL REGEXP; add more latin accent equivalent characters.
2023-04-26 15:16:13 -04:00
Brian Huisman 761491c21a Update admin.php
Make headers responsive too.
2023-04-25 15:14:18 -04:00
Brian Huisman 53e86085bc Update crawler.php
Don't need trim() here. OS_cleanTextUTF8 already does it.
2023-04-25 13:35:22 -04:00
Brian Huisman 46f68d1335 Update config.ini.php
Add double underscore to default prefix so phpMyAdmin shows tables as a group.
2023-04-25 12:58:58 -04:00
Brian Huisman 8d091c8195 Update crawler.php
Add error condition for empty PDF, don't index.
2023-04-25 12:46:38 -04:00
Brian Huisman a444d383da Update admin.js
Disable "grep" when Run Crawler modal is raised. It will be re-enabled if the crawler is currently running.
2023-04-25 11:05:01 -04:00
Brian Huisman 2665cff354 Change If-Modified-Since calculation
Use the last_modified date of the individual file for the If-Modified-Since header instead of the date of the last successful crawl.
2023-04-25 10:01:53 -04:00
Brian Huisman b3b40a9194 Implement filetype: searching 2023-04-24 16:31:27 -04:00
Brian Huisman fc968ae460 Simplify, add titles to Download buttons 2023-04-24 13:47:18 -04:00
Brian Huisman 150f98883d $_SDATA['pages'] is always at least 1 2023-04-24 13:37:44 -04:00
Brian Huisman 0a1c1a52e1 Search for latin accents explicitly via SQL REGEXP 2023-04-24 13:04:44 -04:00
Brian Huisman 8edc94b550 Allow search.php to unstick stuck crawls 2023-04-24 10:42:29 -04:00
Brian Huisman 0f69a2d2c8 Enable ligature / alternate-spelling matching 2023-04-24 09:52:05 -04:00
Brian Huisman a6304d2f5d Testing ligature search changes 2023-04-24 08:27:45 -04:00
Brian Huisman ab7ad64ac1 Remove 'Allowed' lol 2023-04-22 21:50:07 -04:00
Brian Huisman fed2b979e1 Add query length limit option 2023-04-22 21:48:43 -04:00
Brian Huisman 57ef2a6599 fclose 2023-04-21 16:25:28 -04:00
Brian Huisman 8d99e4fd41 Enable downloading Query Log CSV 2023-04-21 11:27:46 -04:00
Brian Huisman b93c75e132 Merge branch 'main' of https://github.com/GreyWyvern/orcinus-search 2023-04-20 22:35:35 -04:00
Brian Huisman daaf934e33 REGEXP_REPLACE
Use REGEXP_REPLACE to capture all leading punctuation, not just ' and "
2023-04-20 22:35:32 -04:00
Brian Huisman d0b2bbb7f8
Update README.md 2023-04-20 20:30:41 -04:00
Brian Huisman 47e0173a1d Maybe let Mustache do the work here 2023-04-20 16:18:51 -04:00
Brian Huisman 2013f64a39 Use raw title for JSON (typeahead) output 2023-04-20 16:11:56 -04:00
Brian Huisman 1d5204caeb Also trim ' from queries for ordering 2023-04-20 14:59:37 -04:00
Brian Huisman c81e043e7f Minor admin.php tweaks 2023-04-20 14:45:48 -04:00
Brian Huisman 9b552f74a8
Update README.md 2023-04-20 13:35:51 -04:00
Brian Huisman 5b4263e963
Update README.md 2023-04-20 13:30:17 -04:00
Brian Huisman 72edb553d8 Merge branch 'main' of https://github.com/GreyWyvern/orcinus-search 2023-04-20 12:10:01 -04:00
Brian Huisman b4ef2827ae Fix test for 'geo' key 2023-04-20 12:09:55 -04:00
Brian Huisman cab7d75c1d
Update example.php
Add a helpful PHP comment
2023-04-20 11:30:17 -04:00
Brian Huisman c1b4349b21
Update example.html
Add a helpful HTML comment
2023-04-20 11:28:06 -04:00
Brian Huisman 8768cae733 Fresh install update 2023-04-20 11:20:10 -04:00
Brian Huisman cac7e90930 Change $_TEMPLATE to $_ORCINUS 2023-04-20 11:03:08 -04:00
Brian Huisman 747a7029b6 Merge branch 'main' of https://github.com/GreyWyvern/orcinus-search 2023-04-20 10:47:27 -04:00