Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1671 commits
Select commit Hold shift + click to select a range
f9b86a8
Version 3.6.1
jzohrab Dec 13, 2024
9343661
Extract function for handling data setup/cleanup during start.
jzohrab Dec 14, 2024
c405900
Move data cleanup to initialization, add progress reporting.
jzohrab Dec 14, 2024
0dac14d
Issue 531: term reference search should handle casing correctly.
jzohrab Dec 14, 2024
8506330
Initial term service tests for bulk set parent.
jzohrab Dec 14, 2024
dc3b7a3
Complete bulk parent tests.
jzohrab Dec 14, 2024
2df78c2
Use service for bulk_set_parent.
jzohrab Dec 14, 2024
a37d8b6
Fix lint.
jzohrab Dec 15, 2024
275b44f
Merge branch 'issue_206_dont_throw_if_missing_parent' into develop
jzohrab Dec 15, 2024
9428fcb
Rename templates.
jzohrab Dec 16, 2024
24739f1
Add bulk update forms, base form.
jzohrab Dec 19, 2024
a2e5b76
Sort tags for test checks.
jzohrab Dec 19, 2024
6843106
Fix term tag removal.
jzohrab Dec 19, 2024
f4c8394
Clean up start_hover_mode().
jzohrab Dec 19, 2024
ff51605
Add bulk term processing.
jzohrab Dec 19, 2024
d728dd6
Add acceptance test.
jzohrab Dec 19, 2024
2966e7d
Support python 3.8 for bulk update struct.
jzohrab Dec 19, 2024
1448779
Extract function.
jzohrab Dec 19, 2024
daaf52e
Fix word clicking.
jzohrab Dec 19, 2024
d8b657c
Bulk term editing save hotkey.
jzohrab Dec 19, 2024
773d2cb
Fix github ci for coverage.
jzohrab Dec 19, 2024
b302d03
Merge branch 'issue_537_bulk_term_actions' into develop
jzohrab Dec 19, 2024
b4b5892
Issue 328: use term filters when table loaded.
jzohrab Dec 19, 2024
98719a2
Beta release 3.7.0b1
jzohrab Dec 19, 2024
26aeb05
Click on parent tag should still show dictionaries.
jzohrab Dec 19, 2024
db7fba9
Beta release 3.7.0b2
jzohrab Dec 19, 2024
c8f271b
Fix term index bulk form.
jzohrab Dec 19, 2024
c43c78b
Remove unused const.
jzohrab Dec 19, 2024
7afa3d8
Remove dup postMessage, form already posts that on document.ready.
jzohrab Dec 19, 2024
dbf6b62
Explicitly hide dictionaries during lute.js methods.
jzohrab Dec 19, 2024
3bc4d3f
page_content rendering shouldn't start hover mode.
jzohrab Dec 19, 2024
d05072b
Beta release 3.7.0b3
jzohrab Dec 19, 2024
93736f9
Reset cursor and window focus on page render.
jzohrab Dec 20, 2024
cef72ae
Beta release 3.7.0b4
jzohrab Dec 20, 2024
a2a93e7
Changelog.
jzohrab Dec 20, 2024
b35dd9d
Version 3.7.0
jzohrab Dec 20, 2024
197124f
Issue 527: track words read in new wordsread table.
jzohrab Dec 21, 2024
6a9e725
Issue 460: Set cascade delete pragma on connect.
jzohrab Dec 22, 2024
1be971d
Always clear Term filters on show/hide.
jzohrab Dec 23, 2024
416dc16
Issue 544: allow show Unknowns in filtered Term listing.
jzohrab Dec 23, 2024
6682349
Fix acceptance tests.
jzohrab Dec 23, 2024
fb5b5ec
Merge branch 'issue_544_include_unknowns_in_term_listing' into develop
jzohrab Dec 23, 2024
2255f42
Render hotkeys to javascript globals.
jzohrab Dec 23, 2024
aafe101
Use event.code for pressed_keys_as_string.
jzohrab Dec 23, 2024
374ffaa
Issue 541: use event.code for hotkey, or fall back to legacy.
jzohrab Dec 23, 2024
799563e
Update hotkey seeding to new event.code style.
jzohrab Dec 23, 2024
fd2337a
Update tests.
jzohrab Dec 23, 2024
eb57218
Merge branch 'issue_541_use_event_code_for_shortcuts' into develop
jzohrab Dec 23, 2024
9eb2c87
Update migration to work for prod.
jzohrab Dec 23, 2024
22d2b81
Issue 546: fix Bing translation lookups.
jzohrab Dec 23, 2024
9e8d39d
Revise rendering of term popup.
jzohrab Dec 23, 2024
ddbd8ef
Issue 540: return more data for popup.
jzohrab Dec 24, 2024
59364ee
Merge branch 'issue_540_term_popup_revisions' into develop
jzohrab Dec 24, 2024
b8c0b09
Only include parent, component in popup if useful.
jzohrab Dec 24, 2024
0bff381
Add tests for image combining on popup.
jzohrab Dec 24, 2024
d735bcb
Beta release 3.8.0b1
jzohrab Dec 24, 2024
d342e4b
Hide multi-word term form.
jzohrab Dec 24, 2024
2a72caf
Shift-drag copy shouldn't close form.
jzohrab Dec 24, 2024
4e9cea5
Add reading/term form interaction acceptance smoke test.
jzohrab Dec 24, 2024
48622ad
Changelog.
jzohrab Dec 25, 2024
0b7e77c
Version 3.8.0
jzohrab Dec 25, 2024
52f6d79
Issue 550: don't check location.href when hiding term form.
jzohrab Dec 26, 2024
a9883e4
Convert popup dict to class.
jzohrab Dec 27, 2024
dc2797f
Add TermPopup.show, clean text.
jzohrab Dec 27, 2024
72809bc
Switch popup template to use class, add smoke test.
jzohrab Dec 27, 2024
061e9fe
Merge branch 'extract_TermPopup_class' into develop
jzohrab Dec 27, 2024
fa5d2e9
Add lint-changed task.
jzohrab Dec 27, 2024
b5bd062
Add Term Popup form and settings.
jzohrab Dec 27, 2024
e2d3bc5
Issue 547: use term popup settings while rendering popup.
jzohrab Dec 27, 2024
54110f4
Merge branch 'issue_547_term_popup_settings' into develop
jzohrab Dec 27, 2024
eb525d6
Beta release 3.8.1b1
jzohrab Dec 27, 2024
3a57d0b
Changelog.
jzohrab Dec 27, 2024
b06c107
Version 3.8.1
jzohrab Dec 27, 2024
b05236e
Add migration.
jzohrab Jan 2, 2025
f99a47b
Issue 543: start reading page sets TxStartDate, also shown in book li…
jzohrab Jan 2, 2025
9e0aac1
Merge branch 'iss_543_text_started_date' into develop
jzohrab Jan 3, 2025
8cdee30
Fix bad comment.
jzohrab Jan 3, 2025
e693c8b
Fix acceptance test browser refresh.
jzohrab Jan 3, 2025
5b0cbe3
Don't set text.start_date if missing when setting text.end_date.
jzohrab Jan 3, 2025
732c8e5
Add acceptance test helpers.
jzohrab Jan 3, 2025
2c19b52
Fix acceptance test object id.
jzohrab Jan 3, 2025
abe11b0
Update acceptance tests due to fixed page reloading.
jzohrab Jan 3, 2025
167ea3a
Issue 556: distinguish starting reading vs refreshing the page.
jzohrab Jan 3, 2025
ddd1474
Rename route only.
jzohrab Jan 3, 2025
ed752de
Reset shouldn't update baseline.
jzohrab Jan 3, 2025
f66b93d
Merge branch 'issue_556_fix_text_start_date_updates' into develop
jzohrab Jan 3, 2025
c46d792
Issue 530: add 'peek' route to display page without tracking it.
jzohrab Jan 3, 2025
fa96d19
Issue 530: sentence links use new 'peek' route.
jzohrab Jan 3, 2025
27e4112
Merge branch 'issue_530_add_peek_page' into develop
jzohrab Jan 3, 2025
c858b62
Enable/disable reading nav buttons.
jzohrab Jan 3, 2025
ca906b2
Extract method from document.ready.
jzohrab Jan 3, 2025
479d9e8
Streamline js.
jzohrab Jan 3, 2025
d556e97
Fix whitespace only.
jzohrab Jan 3, 2025
bd1a46d
Reorganize event listeners.
jzohrab Jan 4, 2025
07e594d
Clean up comments.
jzohrab Jan 4, 2025
70b2ad1
Add ci timing hacks for refreshes.
jzohrab Jan 4, 2025
e00c6c0
Add ci hack workarounds for flaky tests.
jzohrab Jan 4, 2025
e7e866f
Merge branch 'github-ci' into develop
jzohrab Jan 4, 2025
10c4f33
Merge branch 'misc_js_refactoring' into develop
jzohrab Jan 4, 2025
9052d7c
Update lang defs ref only.
jzohrab Jan 4, 2025
87ecf1d
Lang defs reference only.
jzohrab Jan 4, 2025
f3b721d
Add black and white theme.
jzohrab Jan 4, 2025
afabd8a
Don't try to prefill TxStartDate.
jzohrab Jan 4, 2025
8d95324
Use dayjs to show relative times on book listing.
jzohrab Jan 4, 2025
33841df
Re-baseline.
jzohrab Jan 4, 2025
56091ed
Beta release 3.9.0b1
jzohrab Jan 4, 2025
77051f3
Tweak column heading.
jzohrab Jan 4, 2025
f46e06c
Changelog.
jzohrab Jan 6, 2025
710665c
Version 3.9.0
jzohrab Jan 6, 2025
d8f3e27
Bug, declare js var before use.
jzohrab Jan 7, 2025
af41bc5
Simplify acceptance testing task helpers.
jzohrab Jan 7, 2025
73eb685
Add acceptmobile task.
jzohrab Jan 7, 2025
82ed708
Add acceptmobile to ci.
jzohrab Jan 7, 2025
60a9e4b
Fix lint.
jzohrab Jan 7, 2025
13ce045
Less ci acceptance verbosity.
jzohrab Jan 7, 2025
31bd76c
Merge branch 'iss_561_add_mobile_acceptance_test_and_ci' into develop
jzohrab Jan 7, 2025
1733a14
Changelog.
jzohrab Jan 7, 2025
43cec59
Version 3.9.1
jzohrab Jan 7, 2025
11caf9f
Add create_book method to book Service.
jzohrab Jan 8, 2025
aac8af1
Use test helpers in tests.
jzohrab Jan 8, 2025
7e5c449
Use data class for extracting book data from url.
jzohrab Jan 8, 2025
7cabfff
Remove pylint disable.
jzohrab Jan 8, 2025
7dacdf2
Use service.create_book.
jzohrab Jan 8, 2025
ba83720
Remove redundant tests.
jzohrab Jan 8, 2025
a9a9440
Remove unused Book.create_book.
jzohrab Jan 8, 2025
39f602f
Move SentenceGroupIterator where used.
jzohrab Jan 8, 2025
3e48499
Fix lint.
jzohrab Jan 8, 2025
e0dfd87
Replace repeated pybdd scenarios with parameterized.
jzohrab Jan 8, 2025
1dc758c
Standardize all text extraction methods, use streams only.
jzohrab Jan 8, 2025
2eafc42
Move book text splitting into repo, test utils use db objects.
jzohrab Jan 8, 2025
654f56f
New service method and tests to import a book with files or streams.
jzohrab Jan 8, 2025
90bfb75
Use service import_book in routes.
jzohrab Jan 9, 2025
c9c62e6
Extract helper class.
jzohrab Jan 9, 2025
ba7cd16
Reduced helper class surface area.
jzohrab Jan 9, 2025
be3f020
Fix lint.
jzohrab Jan 9, 2025
fbb51c2
Merge branch 'iss_562_refactor_book_creation' into develop
jzohrab Jan 9, 2025
251c6b8
Replace iterator class with generator.
jzohrab Jan 9, 2025
aaca094
Fix Python 3.10 SpooledTemporaryFile inconsistency.
jzohrab Jan 9, 2025
68f9f2f
Fix lint.
jzohrab Jan 9, 2025
b6252a7
Issue 475: allow split by sentences or by paragraphs.
jzohrab Jan 9, 2025
880d03a
Centralized store of hotkey data.
jzohrab Jan 9, 2025
861d3f6
Use centralized data for loading initial settings.
jzohrab Jan 9, 2025
cb166e4
Use central hotkey info in routes.
jzohrab Jan 9, 2025
4cc4140
Add smoke check of shortcuts.
jzohrab Jan 9, 2025
6528beb
Merge branch 'iss_565_refactor_hotkey_data' into develop
jzohrab Jan 9, 2025
cb035a4
Issue 555: add page navigation hotkeys.
jzohrab Jan 10, 2025
9c38cd9
Beta release 3.9.2b1
jzohrab Jan 10, 2025
9e06a15
Changelog.
jzohrab Jan 10, 2025
3d4bef9
Version 3.9.2
jzohrab Jan 10, 2025
094ae7e
Parameterize test only.
jzohrab Jan 11, 2025
cb14494
Remove unused fixture.
jzohrab Jan 11, 2025
27279aa
Disable plugin tests during lute ci.
jzohrab Jan 11, 2025
4a4953c
Add mobile option: tap Unknown word to set it to status 1.
jzohrab Jan 16, 2025
d54666a
Move and change label of checkmark per feedback.
jzohrab Jan 16, 2025
493d571
Use css to hide toggle, similar to Focus mode.
jzohrab Jan 16, 2025
f91c429
Merge branch 'add_tap_sets_status_mobile_option' into develop
jzohrab Jan 16, 2025
855661f
Move reading menu mobile css to that css section.
jzohrab Jan 16, 2025
7cd2965
Increase menu width, decrease font size.
jzohrab Jan 16, 2025
7d2d1bc
Position subitems under menu items.
jzohrab Jan 16, 2025
2fa7bf4
Fix bookmark link ids and css.
jzohrab Jan 16, 2025
7e0dc65
Show/hide submenus for on top-level menu item click.
jzohrab Jan 16, 2025
ec8dd91
Clean up menu state on close.
jzohrab Jan 16, 2025
38376ab
Merge branch 'fix_mobile_menu_css' into develop
jzohrab Jan 16, 2025
5d7b331
Beta release 3.9.3b1
jzohrab Jan 17, 2025
a1200ae
Data fix for subsequent migration script.
jzohrab Jan 18, 2025
122227b
Re-baseline.
jzohrab Jan 18, 2025
cb83df1
Changelog.
jzohrab Jan 18, 2025
4ed230b
Version 3.9.3
jzohrab Jan 18, 2025
39562c6
Add tagify utils for creating parent and term tag tagify controls.
jzohrab Jan 22, 2025
103d196
Use tagify utility methods in term form, bulk edit form.
jzohrab Jan 22, 2025
5c5a181
Add term service apply_ajax_update method, route, and tests.
jzohrab Jan 22, 2025
02a130a
Issue 573: make term listing editable.
jzohrab Jan 22, 2025
49e3e57
Fix tagify hooks for pasting parents.
jzohrab Jan 22, 2025
7efb957
Inherit status from parent in ajax call.
jzohrab Jan 22, 2025
3c273c8
Redraw term listing after ajax post.
jzohrab Jan 22, 2025
1e66ee6
Add filtTermIDs to term datatables query.
jzohrab Jan 22, 2025
86df747
Handle ?termids=... param in term listing.
jzohrab Jan 22, 2025
662972a
Add reading menu link to show term list.
jzohrab Jan 22, 2025
105cd86
Clarify term-parent status updates in ajax updates.
jzohrab Jan 22, 2025
d4f4d1f
Fix lint.
jzohrab Jan 22, 2025
5fdafcb
Fix playwright ambiguity.
jzohrab Jan 22, 2025
78782a5
Merge branch 'iss_573_editable_term_listing' into develop
jzohrab Jan 22, 2025
c73c91b
Beta release 3.9.4b1
jzohrab Jan 22, 2025
e3965b5
Include immediate parents in page term listing.
jzohrab Jan 23, 2025
ff826b3
Don't change current term listing page on ajax edit.
jzohrab Jan 23, 2025
42632db
Update status during term listing changes.
jzohrab Jan 23, 2025
bfb2dcc
Differentiate datatables saved state depending on use case.
jzohrab Jan 23, 2025
7fdf6f0
Add image in same way as div.
jzohrab Jan 23, 2025
8adc2e1
Use model for ajax updates, better data consistency.
jzohrab Jan 23, 2025
bad9c2c
Make test run more distinguishable.
jzohrab Jan 24, 2025
4781bad
Strengthen domain model for status syncs.
jzohrab Jan 24, 2025
4669ed5
Rely on domain model.
jzohrab Jan 24, 2025
d68ba6d
Fix lint.
jzohrab Jan 24, 2025
0b39353
Beta release 3.9.4b2
jzohrab Jan 24, 2025
0b445a4
Add hotkey_PageTermList.
jzohrab Jan 26, 2025
2092887
Changelog.
jzohrab Jan 27, 2025
f7bc53a
Version 3.9.4
jzohrab Jan 27, 2025
17f16d9
Make Bing search async with separate search_page
parradam Jan 16, 2025
cf13194
wordimages.WiSource data cleanup job.
jzohrab Jan 31, 2025
69cd37e
Update term listing to use new data.
jzohrab Jan 31, 2025
bdfe586
Remove strip_jpeg hack from Term.
jzohrab Jan 31, 2025
36d2c3a
Fix term image set and upload to use new format.
jzohrab Jan 31, 2025
ddc481e
Fix term popup image url.
jzohrab Jan 31, 2025
de2c00d
Fix popup test.
jzohrab Jan 31, 2025
c089d77
Merge branch 'iss_582_fix_term_image_data' into develop
jzohrab Jan 31, 2025
a15796e
Merge branch 'develop' into make-bing-search-async
jzohrab Jan 31, 2025
4887c7a
Add note re searching, report failures to UI.
jzohrab Jan 31, 2025
ddbe680
Merge branch 'make-bing-search-async' into develop
jzohrab Jan 31, 2025
6479b84
Code comment only.
jzohrab Feb 2, 2025
4ae403b
Extract ReferencesRepository class.
jzohrab Feb 2, 2025
68026f0
Tests pass, fix lint.
jzohrab Feb 2, 2025
083d6b5
Merge branch 'iss_583_lookup_sentence_by_term_id' into develop
jzohrab Feb 2, 2025
7d765b3
Suppress console cruft.
jzohrab Feb 2, 2025
bf27bef
Fix lint.
jzohrab Feb 16, 2025
79bf2a8
Changelog.
jzohrab Feb 16, 2025
8fb40a7
Version 3.9.5
jzohrab Feb 16, 2025
7e85173
Issue 579: add flexible Anki export.
jzohrab Feb 16, 2025
64016d5
Re-baseline.
jzohrab Feb 16, 2025
7466abe
Beta release 3.10.0b1
jzohrab Feb 16, 2025
7f40795
Downgrade pyparsing version req for python 3.8.
jzohrab Feb 16, 2025
7c1974a
Beta release 3.10.0b2
jzohrab Feb 16, 2025
4ea5f05
Remove hovered term popup when anki post completes.
jzohrab Feb 18, 2025
92f4113
Collect sentences to send from reading pane.
jzohrab Feb 18, 2025
50a5712
Add SentenceLookup class and tests.
jzohrab Feb 18, 2025
e1141ec
Use sentence lookup for field mapping.
jzohrab Feb 18, 2025
ed42ad8
Use SentenceLookup in anki Service.
jzohrab Feb 18, 2025
187c0c5
Pass termid sentences map to anki calls.
jzohrab Feb 18, 2025
2821352
Smoke integration test.
jzohrab Feb 18, 2025
22d63ac
Merge branch 'iss_579_anki_export_beta_tweaks' into develop
jzohrab Feb 18, 2025
6a2cac2
Beta release 3.10.0b3
jzohrab Feb 18, 2025
87306c4
Add pronunciation to field mappings.
jzohrab Feb 20, 2025
ee95c3b
Add parent to anki test only.
jzohrab Feb 20, 2025
ede8636
Don't post on click Cancel for settings.
jzohrab Feb 20, 2025
ee24e78
Beta release 3.10.0b4
jzohrab Feb 20, 2025
c6ee66d
Fix reading pop-up title when copying sentences.
jzohrab Feb 21, 2025
52b0567
Fix button styling.
jzohrab Feb 21, 2025
a5ce3a7
Add parents.tags field mapping output.
jzohrab Feb 22, 2025
eda3f6e
Beta release 3.10.0b5
jzohrab Feb 22, 2025
9692031
Bump language defs ref.
jzohrab Feb 23, 2025
eb559b8
Changelog.
jzohrab Feb 23, 2025
9d75082
Version 3.10.0
jzohrab Feb 23, 2025
3b94978
Add AAC, FLAC and WebM support
imamcr Mar 7, 2025
b831749
Merge pull request #589 from imamcr/add_aac_flac_and_webm_support
jzohrab Mar 9, 2025
30072f7
Iss 592: Fix html spacing.
jzohrab Mar 9, 2025
542d732
Update language defs submodule ref.
jzohrab Mar 9, 2025
e716872
Issue 594: add parents.pronunciation to anki mapping.
jzohrab Mar 10, 2025
d426241
Changelog.
jzohrab Mar 10, 2025
74af19a
Version 3.10.1
jzohrab Mar 10, 2025
b5dbbe8
Add Tibetan font fallback and preserve theme stacks.
tomer-gom Dec 5, 2025
6c76810
Tests for Tibetan font fallback and Playwright check
tomer-gom Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ dist/
htmlcov/
tests/
utils/
data/
data/

**/__pycache__
*.pyc
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/add_language.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Add a language
about: Fill in a form with data to request adding a new language to Lute's demos
title: 'Add language: [name]'
labels: 'enhancement'
assignees: ''

---

**NOTE: this form is for you to share your language settings with other new users. If you're a GitHub user, it would be super if you could instead create a Pull Request with your language settings, using the files in this repo's `lute/db/demo/language` and `/stories` as references. Thanks!**

If your language settings are working well for you, please share them with other new users by providing the following data:

* name: <language-name>
* show_romanization: <true or false>
* right_to_left: <true or false>
* parser_type: spacedel or mecab (probably "spacedel" is the correct one, "space delimited")
* split_sentences: characters to split sentences on, if the defaults aren't good
* split_sentence_exceptions:
* word_chars:
* character_substitutions: (if there are any special characters)

Dictionaries. A list of one or more entries:

* use_for: terms or sentences
* type: embedded or popup
* url

It's good to have a short demonstration story available as well. Please paste a family-friendly (!) story below:

```
Title: [story-title]
Source: [url source or similar]

[content here]
```
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ assignees: ''

**Description**

Brief description of documentation edit/creation requirement for https://jzohrab.github.io/lute-manual/.
Brief description of documentation edit/creation requirement for https://luteorg.github.io/lute-manual/.

**For broken/incorrect documentation:**

* specify page in https://jzohrab.github.io/lute-manual/, section, and link
* specify page in https://luteorg.github.io/lute-manual/, section, and link
* Take a first shot at correcting the issue. I'll edit it for tone/consistency.

**For new documentation:**
Expand Down
Loading