| Age | Commit message (Collapse) | Author |
|
Having separate event counts for events with images resolves some
redundant server querying, and makes event count indicators moree
representative.
|
|
Remove script for deleting events in db without images
|
|
|
|
Add setting for showing such events
Fix searches not always avoiding filtered categories
|
|
Make desc field of EventInfo optional
Don't require desc in type=info result
Fix image not showing in info modal
|
|
|
|
Filter events in display and search suggestions.
Make server queries allow specification of multiple categories.
Make settings modal avoid disabling all categories.
|
|
Use a 'searchTarget' prop of Timeline to trigger jumping to a search result.
Make TimeLine prioritise search result in layout.
When querying for events in App, check for a search target, and use incl= to retrieve it.
On server, for the incl= query param, don't include the event if outside specified range.
|
|
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.
|
|
|
|
Add InfoModal.vue, SCollapsible.vue, and icons.
Update Timeline.vue, App.vue, lib.ts, and store.ts to display modal.
For testing, send/use dummy EventInfo from server (still waiting on image downloads).
|
|
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
|
|
|
|
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.
|
|
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()
|
|
For testing while waiting for images to download
|
|
|
|
|
|
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
|
|
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
|
|
|
|
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
|
|
|
|
Add 'dist' and 'scores' db tables
Add 'scale' server query parameter (and remove 'excl')
Disregard event-end when querying database
|
|
|
|
Install vitest, happy-dom, and @testing-library/vue
Add lib.ts and rbtree.ts tests in tests/
Modularise some date-range-managing code from App.vue into lib.ts
|
|
Add YearDate and CalDate
Restrict non-calendar HistDates to years before 4713 BC
|
|
|
|
- Fixes 'saved is null' errors
- De-lint rbtree.ts
- Add rbtree_shallow_copy(), for triggering changes upon modifying the
eventTree (using triggerRef doesn't work)
|
|
|
|
Add unit test, update README
|
|
Add histplorer.py, implementing the http query interface
Add unit test
Add server.py as a simple backend dev server
Update documentation
|
|
Add unit test
Update READMEs and .gitignore
|
|
|
|
|
|
|
|
|
|
|
|
Add unit test, update README
|
|
Add package.json, for using npm package smartcrop-cli
Add unit test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|