Commit graph

30 commits

Author SHA1 Message Date
Brian Huisman dee454cb8c Update Bootstrap and jQuery
Bootstrap => v5.3.2
jQuery => v3.7.1
2023-09-28 11:37:46 -04:00
Brian Huisman 6c961d44a3 Add Query Log row display limit 2023-09-25 11:53:20 -04:00
Brian Huisman f8bed73c26 Responsive pagination bar on Page Index 2023-09-15 10:32:59 -04:00
Brian Huisman 873a18fbc9 Add text fragments flag and functionality 2023-09-14 13:18:33 -04:00
Brian Huisman da52e0f7bf Add header image and link
Add a nice Orcinus header image with a link to https://greywyvern.com/orcinus/ Eventually this might link to online documentation or something?

Move the show-page-titles checkbox from being created by javascript to actually being in the HTML. Unnecessary JS complexity removed. Add a popper tooltip
2023-09-14 10:33:59 -04:00
Brian Huisman d4e0e409fe Show Page Titles checkbox on Page Index
Add a checkbox to enable and disable showing page titles along with the URLs in the Page Index. The status of this checkbox is saved during the admin session. Defaults to 'off'.
2023-09-11 13:32:45 -04:00
Brian Huisman 511207e0b2 Add PDF Last Modified multiplier 2023-09-08 15:11:27 -04:00
Brian Huisman 47562e0a71 Add 'online' value for Mustache template
Provide an 'online' value to the Search Result Mustache template. This will, for example, allow you to put things in your Search Result template that will show up when your site is displayed live (PHP), but will not be output when your site is displayed using the offline Javascript, and vice versa.

eg.
{{#online}}
  This will only display in your template if it's online.
{{/online}}
{{^online}}
  This will only display in your template it it's offline.
{{/online}}
2023-06-22 09:57:33 -04:00
Brian Huisman eda57224d9 Remove need for 'jw_depth' value
By using the location of the search.js script file, we can determine the root URL of an offline installation as long as the online script has been installed at https://example.com/orcinus/js/search.js
2023-06-21 15:07:57 -04:00
Brian Huisman b17a68c175 Update template.offline.js
Quote jw_depth string.
2023-06-21 12:09:28 -04:00
Brian Huisman e9c0654295 Update search.js
Tweak the comment
2023-06-16 14:47:51 -04:00
Brian Huisman 54bbbb6a65 Log clicked search suggestions
If the search UI is using typeahead and the user selects a suggested option to go right to a page, then a search is never logged as a search query; it's like the search never happened. Add a fetch request to log the search query just before sending the user on their way to the page.
2023-06-16 14:38:24 -04:00
Brian Huisman e440babc38 Directly reference jw_depth
Don't depend on the id="os_results" element existing in the user template, just use os_odata.jw_depth directly.
2023-06-15 09:48:28 -04:00
Brian Huisman a489fb1b8e sp_smart => sp_punct
Change sp_smart to sp_punct also in the offline javascript template.
2023-06-14 15:39:30 -04:00
Brian Huisman 1ce34d9e41 Offline javascript output
Make the javascript output text into a Mustache template.
Add the jw_depth variable.
2023-06-14 14:43:55 -04:00
Brian Huisman c069e44765 Unique IPs in modal
Add a listing for "Unique IPs" in the modal popup on the Query Log page.
2023-06-14 10:27:54 -04:00
Brian Huisman 49ff8d6e4e Stop the crawl time JS counter on crawl complete 2023-05-17 09:52:43 -04:00
Brian Huisman d8e9d5dc91 Admin UI edits for when crawl is in progress
Automatically encode/decode json when saving/reading ODATA config values.
Remove 'sp_links_crawled' config table value, now stored in 'sp_progress'.
Update Crawl Information window in real-time while crawler is running. Be more aggressive at reloading the page to get the latest data once a crawl has finished.
Time the setting of certain config values while crawling in a more sensible way.
2023-05-16 12:00:28 -04:00
Brian Huisman f16c4f9e0a Refactor character nomalization
Refactor the whitespace and punctuation normalization arrays.
2023-05-12 13:41:36 -04:00
Brian Huisman 4bb28031b6 Enable downloading Page Index
Allow downloading of the page index as a csv.
Remove unnecessary database columns url_base and status_noindex
Store list of domains at crawl so we don't need to request them every page-load; you will need to reinstall fresh because of this change
2023-05-12 10:06:57 -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 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 8d99e4fd41 Enable downloading Query Log CSV 2023-04-21 11:27:46 -04:00
Brian Huisman 84e38a5663 Re-upload 3rd party libraries 2023-04-20 10:47:11 -04:00
Brian Huisman 17fa8fae05 Tighten up file headings 2023-04-13 08:27:41 -04:00
Brian Huisman f37a732ee9 ARIA search updates 2023-04-12 21:08:53 -04:00
Brian Huisman 062f009829 Updates for the day 2023-04-12 19:08:00 -04:00
Brian Huisman 595740962e Update name to Orcinus 2023-04-12 08:28:29 -04:00
Brian Huisman bffa144421 move os3/ to orcinus/ 2023-04-12 08:08:11 -04:00