aboutsummaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)Author
2022-05-17Improve enwiki description extractionTerry Truong
Adjust enwiki code to handle single dump file, and add scripts for 'convenient' page-content lookup.
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-14Supplement DBpedia descs with enwiki'sTerry Truong
2022-05-14Use DBpedia data for node descriptionsTerry Truong
Add backend/data/dbpedia/ directory containing scripts and README for obtaining DBpedia data, storing it into a db, converting/adding description data to data.db, and for resolving tol-node DBpedia-node association conflicts (via DBpedia relations, manual listing, etc). Resulted in less (about 3/4 as many) descriptions as with using enwiki, but with notably less mis-associations (eg: node Thor is described as a shrimp instead of a god).
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-12Adjust reviewImgs.py to remove EXIF orientation dataTerry 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-12Commit reduced-tree name-list dataTerry Truong
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-10Add quotes around displayed alt-namesTerry Truong
2022-05-07Add timing info display to reviewImgs.pyTerry Truong
2022-05-07Update README line breaksTerry Truong
2022-05-06Fix typo in data entry codeTerry 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-05Add db table info to data/README.mdTerry Truong
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-04Fix forgetting to commit imagesList.db generator scriptTerry 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-01Fix non-inclusion of canonical-names without english alt-namesTerry Truong
Also fix lack of placeholder-image display in tile-info modal.
2022-05-01Make name data English-specificTerry Truong
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-30Add preferred-alt-name data to db, and use when reviewingTerry 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-27Make generated EOL-names-data have unique eol_id for each tolnode nameTerry Truong
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-26Add small sqrLayout optimisationTerry 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.