Henrik Giesel
c1cb227c8e
Support languages with day labels larger than one character
2021-01-20 22:07:02 +01:00
Henrik Giesel
483b0e4698
Make weekday labels localizable
2021-01-20 21:49:01 +01:00
Henrik Giesel
a9da524383
Add labels to calendar days
2021-01-20 21:17:36 +01:00
Damien Elmes
35c30e1c9b
try again to improve GitHub's language stats
...
- It seems this only alters the % graph on the front page, and does
not control the options available when drilling down in a search.
- The cargo/remote/*.bzl files were not being ignored; try "vendor" them
instead.
2021-01-20 13:20:45 +10:00
Damien Elmes
fefa178201
try to improve GitHub's language stats
2021-01-20 13:11:52 +10:00
Damien Elmes
601a0bf007
Merge pull request #932 from abdnh/sidebar-filters
...
Add filter remove/rename actions to the sidebar
2021-01-20 11:38:30 +10:00
abdo
5a5b87e733
Add filter remove/rename actions to the sidebar
2021-01-20 03:26:53 +03:00
Damien Elmes
6045f07acb
Merge pull request #931 from hgiesel/reviewsgraph
...
Retouch the reviews graph a little bit
2021-01-20 09:32:42 +10:00
Damien Elmes
33c1e80df0
update translations
2021-01-20 09:25:07 +10:00
Damien Elmes
f2ca0d5c48
Merge pull request #927 from ankitects/simplify-props
...
simplify parse_prop() and associated translations
2021-01-20 09:23:12 +10:00
Damien Elmes
f140ee2041
minor ftl tidy-up before commit
2021-01-20 09:15:09 +10:00
Henrik Giesel
4726579102
Turn Running total box transparent
2021-01-19 12:50:02 +01:00
Henrik Giesel
9d551b20cc
Change colors of Reviews graph
2021-01-19 12:22:13 +01:00
Damien Elmes
4890872c3a
fix context in rated: search error message
2021-01-19 18:33:10 +10:00
Damien Elmes
ed28e2408a
fix ftl check failing in non-utf8 locale
2021-01-19 16:28:13 +10:00
Damien Elmes
2685e641ee
more parsing error tweaks
...
The majority of the error checking can now be delegated to routines
like parse_f32(), parse_negative_i32() and so on, instead of creating
specific error messages for each type.
2021-01-19 15:50:26 +10:00
Damien Elmes
7eb78ecb16
simplify write_props() and associated translations
...
This is a work in progress; see associated PR discussion to follow.
2021-01-19 12:40:16 +10:00
Damien Elmes
57d32c6e4a
have register_tag mutate the tag if it changes it, instead of copying
2021-01-19 12:37:51 +10:00
Damien Elmes
6b07984265
fix deck and tag normalization
...
The issue existed in the deck code as well; I've added a test for it.
2021-01-19 12:36:01 +10:00
Damien Elmes
db3f29ac30
Merge pull request #929 from abdnh/tag-case
...
Make tags match their parents case
2021-01-19 11:56:03 +10:00
Damien Elmes
de16039b48
tweaks to the parent matching behaviour
...
- move logic out of the storage layer - its job is only to read
and write data from the DB
- avoid the Result within a Result
- return the preferred case as an option, so we can avoid a copy
in the unchanged case
- return a Cow when normalizing, so we can avoid copying in the
unchanged case
- add tags directly in clear_unused_tags(), so we avoid doing
lookups for every tag in the tag list
2021-01-19 11:52:24 +10:00
Damien Elmes
026debe308
clarify test running in docs
2021-01-19 10:26:00 +10:00
Damien Elmes
31ada736f1
Merge pull request #928 from hgiesel/sunday2
...
Different first weekday support for Calendar View, Take 2
2021-01-19 09:37:36 +10:00
abdo
ee32ec4d25
Make tags match their parents case
...
https://github.com/ankitects/anki/pull/900/#issuecomment-762018745
2021-01-19 02:29:09 +03:00
Henrik Giesel
9246698d4e
Satisfy formatter
2021-01-19 00:17:30 +01:00
Henrik Giesel
705c437ffd
Use firstWeekday config in graphs data
2021-01-18 23:23:55 +01:00
Henrik Giesel
346b7e7f45
Add firstWeekday to GraphsOut
2021-01-18 23:10:53 +01:00
Damien Elmes
d92ba2c246
Merge pull request #900 from abdnh/tagtree
...
Hierarchical tags
2021-01-18 16:36:22 +10:00
abdo
c4725cc908
Fix wrong tag collapse state being used
2021-01-18 06:50:29 +03:00
Damien Elmes
8e50cfc404
skip the schema warning on template rename
...
https://forums.ankiweb.net/t/unnecessary-full-upload-notification/6611
2021-01-18 12:03:07 +10:00
abdo
a6234d1b66
clear_tag() should be case-insensitive
2021-01-18 03:52:28 +03:00
Damien Elmes
4e6cbe742c
Merge pull request #926 from hgiesel/ratedextension
...
Introduce "prop:rated" and "prop:resched"
2021-01-18 09:09:53 +10:00
Henrik Giesel
232f5b5e79
Adjust unit tests for new InvalidRatedEase
2021-01-18 00:05:20 +01:00
Henrik Giesel
df3995e688
Generalize InvalidRatedEase error for rated and prop:rated
2021-01-17 23:55:05 +01:00
Henrik Giesel
a15ed65b8e
Use explicit unreachable in rust pattern matching
2021-01-17 22:18:12 +01:00
Henrik Giesel
6ace112cad
Add resched to tags
2021-01-17 21:44:56 +01:00
Henrik Giesel
fb497ea2e6
Reintroduce false removed limits
2021-01-16 17:38:02 +01:00
abdo
a96c410c52
Remove unused set_filter()
2021-01-16 18:51:31 +03:00
abdo
4dfaf06308
Use new backend filters in rename_tag()
2021-01-16 18:49:48 +03:00
Henrik Giesel
cb7df2c71f
Change argument order of write_rated to be more in line with the logic
2021-01-16 15:24:22 +01:00
Henrik Giesel
915cde892b
Lift the 365 limit from rated/resched searches
2021-01-16 15:08:15 +01:00
Henrik Giesel
682ab23482
Fix issues after rebasing
2021-01-16 13:07:35 +01:00
Henrik Giesel
216ca28cb2
Being overly correct with the review ids
2021-01-16 12:45:02 +01:00
Henrik Giesel
ac0c5a1d00
Fix formatting
2021-01-16 12:45:02 +01:00
Henrik Giesel
0c71487973
Pass in the the negative offset day to write_rated
2021-01-16 12:44:59 +01:00
Henrik Giesel
401796ffbe
Port prop:rated to EaseKind
2021-01-16 12:44:03 +01:00
Henrik Giesel
c84a75b4a5
Implement functioning prop:rated
2021-01-16 12:42:08 +01:00
Henrik Giesel
6da38dc719
Add nonfunctional "prop:rated" as possible search query
2021-01-16 12:42:06 +01:00
Damien Elmes
b3f57754df
use of 'self' in function name was confusing
2021-01-16 21:14:55 +10:00
Damien Elmes
ff8c8a3bca
simplify unused tags and DB check
...
- backend routines should contain minimal logic, and should call
into a routine on the collection
- instead of copying the giant-string approach the Python code was taking,
we use a HashSet to keep track of seen tags as we loop through the
notes, which should be more efficient
2021-01-16 20:38:16 +10:00