aboutsummaryrefslogtreecommitdiff
path: root/backend/hist_data
AgeCommit message (Collapse)Author
2023-01-21Do more minor refactoringTerry Truong
Document some variables coupled between client and server. Add more term consistency ('unit', 'event density'). Make console messages more consistent.
2023-01-21Adjust backend coding styleTerry Truong
Increase line spacing, add section comments, etc
2023-01-20Make gen_picked_data.py update event distribution tablesTerry Truong
2023-01-20Enable gen_picked_events.py to modify and delete eventsTerry Truong
2023-01-18Adjust backend docs after another db regenerationTerry Truong
2023-01-17Remove EXCL_PROPS from gen_events_data.pyTerry Truong
2023-01-16Fix some wikidata processing bugsTerry Truong
Interpret 'estimated age' event data relative to 1 AD. Exclude fictional characters/etc. Use category-specific time-indicative properties.
2023-01-14Add img_dist and img_disp db tablesTerry Truong
Having separate event counts for events with images resolves some redundant server querying, and makes event count indicators moree representative.
2023-01-14Add 'imgonly' server query paramTerry Truong
Remove script for deleting events in db without images
2023-01-13Re-enable imagesTerry Truong
2023-01-05Add partially-complete search modalTerry Truong
For now, use placeholder code for jumping to a search result. Add db index for case-insensitive event title searching. Make type=info requests accept title instead of ID (for looking up a searched-for title). Make EventInfo contain an Event field (for showing info in search suggestions). Add titleToEvent map in App, for use by SearchModal to look up searched-for titles. Add keyboard shortcuts to open/close search and info modals.
2023-01-04Fix out-of-date docs and tests after adding 'unit' to 'event_disp'Terry Truong
2023-01-04Add 'unit' column to event_disp tableTerry Truong
Use 'unit' to narrow search of 'event_disp' values Simplify SQL queries to use 'unit' instead of 'start' and 'fmt' Fix minor HistDate documentation error
2023-01-04Add database index events_id_start_idxTerry Truong
2023-01-04Remove server-side conversion of YearDates >4713 BC to CalDatesTerry Truong
The conversion was originally intended to simply the code. But, as events may span years before and after 4713 BC, the conversion introduces the possibility of having both YearDates and CalDates in the same event, which is unhelpful.
2023-01-03Extend gen_pageview_data.py to handle problematic linesTerry Truong
2023-01-02Only generate square imagesTerry Truong
2023-01-02Adjust wikidata event specifiersTerry Truong
Do minor refactors: - Swap fmt=1 and fmt=2 in 'events' table - Make documentation consistently use BC and AD - import argparse at start of scripts
2022-12-30Generate event_disp data before image-generationTerry Truong
Make gen_disp_data.py delete non-displayable events Make reduce_event_data.py also delete from 'dist' and 'event_disp' Remove MAX_IMGS_PER_CTG from enwiki/gen_img_data.py Make gen_desc_data.py include events without images
2022-12-29Show event-count data on timelineTerry Truong
Backend: Send event-count data to client in EventResponse instance Fix certain usages of gregorian calendar instead of julian Move HistDate, SCALES, etc, into cal.py Frontend: Make App update a unitCountMaps object using event-count data from server Make TimeLine show visual indication of unit counts Add showEventCounts option to store Update unit tests
2022-12-28Convert 'scores' table to 'events_disp', removing 'scores' columnTerry Truong
2022-12-28Use scale-associated event scores for uniform spreadTerry Truong
Add 'dist' and 'scores' db tables Add 'scale' server query parameter (and remove 'excl') Disregard event-end when querying database
2022-10-05Add reduce_event_data.pyTerry Truong
Add unit test, update README
2022-10-05Add data serving scriptsTerry Truong
Add histplorer.py, implementing the http query interface Add unit test Add server.py as a simple backend dev server Update documentation
2022-10-04Add gen_picked_data.pyTerry Truong
Add unit test Update READMEs and .gitignore
2022-10-04Replace jdcal package with cal.pyTerry Truong
2022-10-04Add correction for jdcal treating year 0 as 1 BCETerry Truong
2022-10-03Tweak gen_imgs.py outputTerry Truong
2022-10-03Add exponential-backoff download optionTerry Truong
2022-10-03Add gen_desc_data.pyTerry Truong
Add unit test, update README
2022-10-02Add gen_imgs.pyTerry Truong
Add package.json, for using npm package smartcrop-cli Add unit test
2022-10-02Add title column to img_data.dbTerry Truong
2022-10-02Add gen_pop_data.pyTerry Truong
2022-10-02Add per-event-category image limitTerry Truong
2022-10-01Update READMEs and .gitignoreTerry Truong
2022-10-01Add scripts for Wikipedia dump extractionTerry Truong
2022-10-01Add unit tests for wikidata extractionTerry Truong
2022-10-01Add conversions for wikidata time dataTerry Truong
2022-09-30Add basic data extraction from wikidataTerry Truong