aboutsummaryrefslogtreecommitdiff
path: root/backend/tests
AgeCommit message (Collapse)Author
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-06Implement filtering by event categoriesTerry Truong
Filter events in display and search suggestions. Make server queries allow specification of multiple categories. Make settings modal avoid disabling all categories.
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-03Query server when zoomed in enough even if within an already queried rangeTerry Truong
For server query parameter range=date1.date2, exclude date2 Fix unnecessary calendar-to-year date conversion when building sql query For frontend DateRangeTree class, rename has() to contains()
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-20Add gcal to client-side HistDatesTerry Truong
Add YearDate and CalDate Restrict non-calendar HistDates to years before 4713 BC
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-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 unit tests for Wikipedia extractionTerry Truong
2022-10-01Add unit tests for wikidata extractionTerry Truong