aboutsummaryrefslogtreecommitdiff
path: root/backend/server.py
AgeCommit message (Collapse)Author
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
2022-05-01Order search suggestions by num tipsTerry Truong
2022-05-01Make node data in db not collapsed-in-jsonTerry Truong
2022-05-01Use substring searchTerry Truong
Also display common-name in search suggestions, and add more-results indicator.
2022-05-01Enable search-suggestion sending/displaying/selectionTerry Truong
2022-04-30Make TileInfoModal display more dataTerry Truong
2022-04-30Add scripts for downloading/reviewing/cropping_and_resizing imagesTerry Truong
Also adjust client code to handle new format, and add backend/data/README.md explaining image production process.
2022-04-27Use EOL vernacular-names data for searchingTerry Truong
Add data/eolNamesToSqlite.py to read EOL vernacular-names data and add to sqlite db. Adjust server.py to handle search requests, and adjust SearchModal to make them.
2022-04-26Change data URL path formatTerry Truong
2022-04-26Have tol data in sqlite db, and add server script that accesses itTerry Truong
Adapt otol-data-converting script to generate otol.db, add server.py script that provides access to that db, and adapt the app to query the server for tol data when needed.