| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2022-10-30 | Frontend: Change OSSE component into a struct component | Baitinq | 1 | -76/+88 | |
| I think this improves readability for components with state. | |||||
| 2022-10-29 | Crawler+Indexer+Frontend: Rename structs to follow logical relations | Baitinq | 3 | -24/+31 | |
| Now Resource is CrawledResource as it is created by the crawler, and the previous CrawledResource is now IndexedResource as its created by the indexer. | |||||
| 2022-10-29 | Frontend: Use ResultComponent to display search results | Baitinq | 1 | -3/+14 | |
| 2022-10-29 | Indexer: Implement basic priority calculation of words in a site | Baitinq | 1 | -7/+6 | |
| We just calculate priority to be the number of occurences of the word in the site. This is very basic and should be changed:)) | |||||
| 2022-10-28 | Frontend: Show results in reverse order with priority | Baitinq | 1 | -2/+2 | |
| 2022-10-28 | Frontend: Show result website's title and description | Baitinq | 1 | -2/+4 | |
| 2022-10-28 | Crawler: Only accept HTTP_STATUS_CODE: 200 as success in crawl_url() | Baitinq | 1 | -3/+4 | |
| 2022-10-28 | Indexer: Add website title and description to the CrawledResource | Baitinq | 3 | -1/+26 | |
| We now parse the HTML and extract the title and description of the site. | |||||
| 2022-10-28 | Frontend: Refactor search_word_in_db() to not need explicit lifetimes | Baitinq | 1 | -6/+6 | |
| 2022-10-28 | Frontend: Improve responsive layout | Baitinq | 1 | -34/+37 | |
| We now kinda use flexbox i think? Needs lots of work regarding centering the search box. Kind of functional for now:) | |||||
| 2022-10-28 | Frontend: Make the results state Optional | Baitinq | 1 | -15/+27 | |
| We now return "No result!" if the user has actually searched for something and no results were found. | |||||
| 2022-10-28 | Misc: Add TODOs | Baitinq | 3 | -1/+3 | |
| 2022-10-28 | Frontend: Html: Set footer at the bottom of the page | Baitinq | 1 | -36/+38 | |
| 2022-10-28 | Frontend: Logically structure html | Baitinq | 1 | -35/+39 | |
| 2022-10-28 | Frontend: Add local bootstrap files | Baitinq | 3 | -5/+18 | |
| 2022-10-27 | Fronted: Order search results by priority | Baitinq | 3 | -2/+20 | |
| We do this by implementing the PartialOrd and Ord traits into the CrawledResource struct and then using Itertools::sorted() on the display iterator. | |||||
| 2022-10-27 | Frontend: Use display_results() function for rendering CrawledResources | Baitinq | 1 | -5/+14 | |
| 2022-10-27 | Frontend: Fetch results from indexer | Baitinq | 3 | -33/+53 | |
| 2022-10-27 | Crawler: Abstract database word fetching with search_word_in_db() | Baitinq | 1 | -2/+10 | |
| 2022-10-27 | Indexer: Add /search with no query endpoint | Baitinq | 1 | -0/+6 | |
| Just returns []. | |||||
| 2022-10-27 | Crawler: Replace String::from with .to_string() | Baitinq | 1 | -3/+6 | |
| 2022-10-27 | Indexer: Setup permissive CORS | Baitinq | 3 | -1/+21 | |
| 2022-10-27 | Indexer: Return json from the /search endpoint | Baitinq | 3 | -7/+6 | |
| 2022-10-26 | Frontend: Add results field to the state and set dummy results | Baitinq | 1 | -2/+46 | |
| 2022-10-26 | Frontend: Add basic search_query state | Baitinq | 3 | -8/+158 | |
| 2022-10-26 | Frontend: Add basic layout | Baitinq | 2 | -1/+43 | |
| 2022-10-25 | Frontend: Update index.html to include boostrap | Baitinq | 1 | -3/+16 | |
| Also setup viewport and title. | |||||
| 2022-10-25 | Crawler: Fix bad error handling with match handling | Baitinq | 1 | -6/+9 | |
| 2022-10-25 | Crawler: Use async Client | Baitinq | 4 | -48/+152 | |
| 2022-10-25 | Indexer: Use CrawledResource structure as values in the reverse index db | Baitinq | 3 | -11/+45 | |
| This will allow us to integrate priorities and other improvements. | |||||
| 2022-10-25 | Indexer: Add "correct" error handling | Baitinq | 1 | -7/+7 | |
| 2022-10-25 | Crawler: Shuffle crawled urls | Baitinq | 3 | -4/+5 | |
| 2022-10-25 | Crawler: Add "correct" error handling | Baitinq | 1 | -21/+23 | |
| 2022-10-25 | Crawler: Parse urls with the "url" crate | Baitinq | 3 | -25/+26 | |
| This fixes relative urls, makes url filtering and validation better, and many other improvements. | |||||
| 2022-10-24 | Crawler: Add crawled url filter | Baitinq | 1 | -1/+8 | |
| This filters hrefs such as "/", "#" or "javascript:" | |||||
| 2022-10-24 | Flake: Add rust-analyzer package | Baitinq | 1 | -0/+1 | |
| 2022-10-24 | Crawler: Set queue size to 2222 | Baitinq | 1 | -1/+1 | |
| 2022-10-24 | Misc: Update build/run instructions | Baitinq | 1 | -2/+4 | |
| Now show how to run each module + yew frontend | |||||
| 2022-10-24 | Client->Frontend: Create yew frontend skeleton | Baitinq | 8 | -14/+238 | |
| We have replaced the client with a yew frontend. | |||||
| 2022-10-23 | Crawler+Indexer: Rust cleanup | Baitinq | 2 | -14/+6 | |
| Getting more familiar with the language so fixed some non optimal into_iter() usage, unnecessary .clone()s and unnecessary hack when we could just get a &mut for inserting into the indexer url database. | |||||
| 2022-10-23 | Crawler: Replace println! with dbg! | Baitinq | 1 | -7/+7 | |
| 2022-10-23 | Crawler: Remove prepending of https:// to each url | Baitinq | 2 | -1006/+1006 | |
| We now prepend it to the top-1000-urls list. This fixes crawled urls having two https:// | |||||
| 2022-10-23 | Crawler: Only crawl 2 urls per url | Baitinq | 1 | -0/+6 | |
| This makes it so that we dont get rate limited from websites. | |||||
| 2022-10-23 | Crawler: Change blockingqueue to channels | Baitinq | 3 | -19/+45 | |
| We now use the async-channel channels implementation. This allows us to have bounded async channels. | |||||
| 2022-10-23 | Indexer: Listen on 0.0.0.0 | Baitinq | 1 | -1/+1 | |
| 2022-10-22 | Indexer: Implement basic reverse index searching and adding | Baitinq | 3 | -15/+163 | |
| Very inefficient but kind of functional:::))))))) | |||||
| 2022-10-22 | Crawler: Implement basic async functionality | Baitinq | 3 | -93/+285 | |
| 2022-10-21 | Crawler: Add basic indexer communication | Baitinq | 2 | -11/+48 | |
| 2022-10-21 | Indexer: Add skeleton http rest endpoint functionality | Baitinq | 3 | -1/+539 | |
| /search and /resource endpoint. | |||||
| 2022-10-20 | Crawler: Add Err string in the craw_url method | Baitinq | 1 | -3/+3 | |