aboutsummaryrefslogtreecommitdiff
path: root/backend/server.py
AgeCommit message (Collapse)Author
2022-08-20Use argparse in python scriptsTerry Truong
2022-07-11Update backend documentationTerry Truong
2022-07-11Make backend dev server script serve the image filesTerry Truong
Previously, image files in backend/data/img were moved to, or symlinked from, public/. This needed to be changed before each build, otherwise vite would end up copying gigabytes of images.
2022-07-09Replace CGI script with WSGI script and dev serverTerry Truong
2022-06-28Convert server code to CGI scriptTerry Truong
Also adjust server-client API, for clarity/consistency
2022-06-27Enable client directly using server URL, while avoiding CORS restrictionsTerry Truong
2022-06-27Exclude compound names from search suggestionsTerry Truong
2022-06-26Refactor TileInfoModalTerry Truong
Also change server info-response format to include sub-node common-names
2022-06-23Make suggestion-limit client-configurableTerry Truong
2022-06-23Clean up server.py codeTerry Truong
2022-06-23Remove hard-coded root-name from App.vueTerry Truong
2022-06-22Refactor backend scriptsTerry Truong
2022-06-20Increase type-consistency via server-classes and client-typesTerry Truong
2022-06-20Make server order children by num-tipsTerry Truong
2022-06-19Enable gzipped server responsesTerry Truong
2022-06-19Fix search-result-repeats bugTerry Truong
2022-06-19Add fallback substring-searchTerry Truong
2022-06-19Fix linked_imgs table compound-img representation bugTerry Truong
2022-06-17Make reduced-tree a bit more inclusiveTerry Truong
2022-06-16Fix client-requesting-0.jpg bugTerry Truong
2022-06-15Separate node-wiki_id association from 'descs' tableTerry Truong
2022-06-15Adjust 'node_imgs' table to use node name, not idTerry Truong
2022-06-11Adapted linked-images code to handle merged image setsTerry Truong
2022-06-11Adjust server+client code to handle merged image setsTerry Truong
2022-06-04Add tile-info otol linksTerry Truong
2022-05-28Convert from python "...".format() to f"..."Terry Truong
2022-05-24Fix None-indexing bug in server.pyTerry Truong
2022-05-24Fix small sql-param mismatch bugTerry Truong
2022-05-23Display 'compound images'Terry Truong
Adjust genLinkedImgs.py to associate multiple images to compound-nodes. Adjust server to send multiple image filenames for such nodes. Adjust Tile and TileInfoModal to display those compound-images.
2022-05-22Display multiple descriptions for compound-nodesTerry Truong
2022-05-22Up-propgate images for usage in parents without imagesTerry Truong
Also adjust vite config to avoid apparent redundant processing when images are being downloaded.
2022-05-18Add wikipedia-link to tile-info displayTerry Truong
Add 'wiki_id' and 'from_dbp' columns to 'descs' table, adjust dbpedia data to include wikipedia IDs, adjust data generations scripts, make server send extra data, and make TileInfo display it.
2022-05-17Make search suggestions include non-alt-namesTerry Truong
2022-05-15Converted nodes+r_nodes tables into nodes+edges+r_nodes+r_edgesTerry Truong
Conversion avoids encoding node children as JSON strings, and allows for easier querying of edge data. Adjusted server to use new format. Also added some table indexes for common operations.
2022-05-14Add desc-resolution special-case for root nodeTerry Truong
2022-05-13Fix info-modal not display image for composite-nodesTerry Truong
2022-05-13Fix inaccurate tile-info data when using reduced treeTerry Truong
2022-05-12Enable info-display for search suggestionsTerry Truong
Add info-icon to SearchModal, sending event when clicked. Change App to allow info-modal display on top of search-modal. Also make info-icon-click events send a node name instead of a LayoutNode, and make TileInfoModal and server get/send additional node info, seeing as the client might not have info about the node's common name, tips, etc, anymore.
2022-05-12Add reduced-tree data generation+serving+querying+settingTerry Truong
Add genReducedTreeData.py, which generates a reduced_nodes table. Adjust server to serve that data for queries with a tree=reduced query param. Adjust client to query for that data depending on a useReducedTree variable. Add a SettingsPane setting to change that useReducedTree variable.
2022-05-11Do minor code cleanupTerry Truong
2022-05-11Use prefix-search with ranking-by-lengthTerry Truong
2022-05-06Make server bulk-query eol-ids when image-findingTerry Truong
2022-05-05Make '... [N]' duplicate node name assignment prefer nodes with less tipsTerry Truong
Adjust genOtolData.py to use int ids instead of names, reducing memory usage. Small fix for server.py commented-out substring-search code.
2022-05-05Display common namesTerry Truong
Also add capitalizeWords() in util.ts, for more capitalization control
2022-05-05Make image copyright/link info retrieved upon info-modal openTerry Truong
2022-05-05Simplify nodeNameToFile() callsTerry Truong
2022-05-05Make server bulk-query for child nodesTerry Truong
Also remove /data/children queries, and query-depth functionality.
2022-05-04Make search-enter use user input, instead of first matchTerry Truong
2022-05-04Add scripts for obtaining/sending/displaying wikipedia descriptionsTerry Truong
Add backend/data/enwiki/ directory containing scripts and instructive READMEs. Adjust some other scripts to generate 'eol_ids' sqlite table separate from 'names'. Make server respond to /data/desc requests, and have client TileInfo component display response data. Also adjust .gitignore entries to be root-relative.
2022-05-01Add fuzzy-search via sqlite extension spellfix1Terry Truong
Also add delay between client search-suggestion requests when search input undergoes multiple quick changes