Commit Graph

1799 Commits

Author SHA1 Message Date
Damien Elmes
724513ca91 clarify 'delete unused' button, and don't show when n/a 2018-03-01 14:00:05 +10:00
Damien Elmes
0fce9fba9d don't convert quotes to entities on import
https://anki.tenderapp.com/discussions/ankidesktop/26926-bug-report-exporting-than-re-importing-messes-up-quotes
2018-03-01 13:38:06 +10:00
Damien Elmes
c87b9be73a ignore delete key if card list is not focused
https://anki.tenderapp.com/discussions/beta-testing/1004-ctrl-delete-erases-my-cards
2018-03-01 13:31:52 +10:00
Damien Elmes
88fe45b1bb normalize to NFC on all platforms
APFS is normalization-preserving, which results in spurious changes
being detected if we assume we'll receive NFD from file listings

this needs to be ported to 2.0.x as well
2018-02-28 16:22:06 +10:00
Damien Elmes
3cccae7a1f increase default rev limit to 200 2018-02-27 12:58:24 +10:00
Damien Elmes
9902e21cba fix error when unsetting browser appearance 2018-02-26 11:21:12 +11:00
Damien Elmes
012d63f882 remove unused httplib2 from requirements 2018-02-26 11:20:55 +11:00
Damien Elmes
9a23f0958d load add-ons in consistent order
if ANKIREVADDONS env var is defined, reverse order for debugging

partially addresses pull req #225
2018-02-24 13:23:15 +11:00
Damien Elmes
db161c4f19 Merge branch 'master' of github.com:dae/anki 2018-02-22 17:04:29 +11:00
Damien Elmes
3b29bf6cba change sibling burying to default to off
causes too much confusion for new users
2018-02-22 17:00:11 +11:00
Damien Elmes
29608c37c8 clarify add notes option in browser 2018-02-22 16:58:32 +11:00
Damien Elmes
288c63694d
Merge pull request #226 from andrewsanchez/master
Provide details regarding pyqt5 version
2018-02-22 16:57:32 +11:00
Andrew Sanchez
0d352faa2d Provide details regarding pyqt5 version
Following instructions as they were on mac osx resulted in the "5.10 is buggy"
exception
2018-02-21 12:48:18 -07:00
Damien Elmes
c8f6c3dff8 Merge branch 'master' of github.com:dae/anki 2018-02-08 10:06:32 +10:00
Damien Elmes
1505c71eb3
Merge pull request #223 from Rom1deTroyes/patch-1
'bzr clone' deprecated (use 'bzr branch' instead)
2018-02-08 10:05:23 +10:00
Romain
acd5a05d6c
'bzr clone' deprecated (use 'bzr branch' instead)
Using bazaar I get this advice :

```
$ bzr clone lp:anki i18n
The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr branch' instead.

$ bzr --version
Bazaar (bzr) 2.8.0dev1
  Python interpreter: /usr/bin/python 2.7.13
  Python standard library: /usr/lib/python2.7
  Platform: Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
  bzrlib: /usr/lib/python2.7/dist-packages/bzrlib
```
2018-02-07 18:57:25 +01:00
Damien Elmes
730d444164 give hard a 1.5x interval when there's only one (re)learning step
otherwise we end up with two buttons that do the same thing
2018-02-06 15:41:56 +10:00
Damien Elmes
cc26d32431 misleading spacing 2018-02-06 11:47:28 +10:00
Damien Elmes
a1c02e8177 bump version 2018-02-05 16:10:29 +10:00
Damien Elmes
8a15bc897b fix importing of v2 colpkg files 2018-02-05 15:30:57 +10:00
Damien Elmes
5cd063a8bd check shift key when paste starts; avoid progress dlg for local file
https://anki.tenderapp.com/discussions/ankidesktop/26661-conot-paste-image-and-text-together-from-word-into-anki
2018-02-05 13:40:56 +10:00
Damien Elmes
b08e25dafb fix temp folder msg 2018-02-05 12:34:38 +10:00
Damien Elmes
275af7e9b5 catch more problems with corrupt collections
if collapseTime is missing from col.conf, the initial load was
succeeding, but then the UI was getting stuck in moveToState()
2018-02-05 12:34:31 +10:00
Damien Elmes
e7046ba398 Revert "workaround for some drags not being accepted"
This reverts commit 99009be1ca.

didn't fix user's problem, and has introduced issues with the cursor
disappearing
2018-02-05 11:27:14 +10:00
Damien Elmes
a617be1779 prevent find duplicates scrolling to top on link click 2018-02-03 17:11:32 +10:00
Damien Elmes
1dccd7c8d7 rename _restoreFromFiltered
and use same logic as restoreQueueSnippet
2018-02-02 19:10:35 +10:00
Damien Elmes
3b0c5b2fe9 remove _cidsByDid()
no longer necessary
2018-02-02 16:55:53 +10:00
Damien Elmes
01942cd076 fix is:buried in v2 scheduler 2018-02-02 16:17:26 +10:00
Damien Elmes
264e7c8ce9 simplify rev card answering 2018-02-02 15:19:41 +10:00
Damien Elmes
0b42787ffc fix no relearn steps case in v2 sched 2018-02-02 14:30:53 +10:00
Damien Elmes
ebe420b440 v2 sched cleanups 2018-02-02 12:44:56 +10:00
Damien Elmes
1b7a7df4f0 raise profile window on macos
otherwise profile manager opens without focus
2018-02-01 12:14:04 +10:00
Damien Elmes
6d7dd08e1e include average answer time for today 2018-01-31 17:35:22 +10:00
Damien Elmes
3d71d6873e bump version 2018-01-31 15:34:04 +10:00
Damien Elmes
cdb9c07dc0 make sure we don't import v1 scheduling into a v2 collection 2018-01-31 15:33:58 +10:00
Damien Elmes
8e0b009173 experiment with counting learning cards instead of learning steps
When studying, the learning count now indicates the number of
learning cards due within the learn ahead limit, instead of the total
number of learning steps required to complete that day.

Also fix the ineffective limit clauses in the learning counts.
2018-01-31 14:50:17 +10:00
Damien Elmes
49d1d8f9fd fix check for nesting under filtered deck 2018-01-31 11:40:16 +10:00
Damien Elmes
bbccc4fd6b enable syncing w/ v2 scheduler, and bump sync version
any client using a sync version of 9 must be able to handle
the V2 scheduler
2018-01-30 17:52:03 +10:00
Damien Elmes
99009be1ca workaround for some drags not being accepted
https://anki.tenderapp.com/discussions/ankidesktop/26688-drag-and-drop-not-always-working
2018-01-30 11:06:46 +10:00
Damien Elmes
0cce540d83 enforce schema version; allow importing+exporting v2 scheduler
To avoid all sorts of problems, we need to ensure cards scheduled with
the V2 scheduler are not studied in older clients. Unfortunately we
can't just bump the file's schema version, as the existing clients will
freely import files created with newer versions. This patch changes
that, so things should be a bit easier in the future.

In the mean time, we need a way to prevent older clients from importing
files created with the V2 scheduler. To do this, we switch to using a
'collection.anki21' file in the archive, and include a dummy collection
.anki2 file.

The code has been tested with both deck and collection packages, but
exporting deck packages w/ scheduling info will remain disabled until
the V2 scheduler has had more testing.
2018-01-29 14:12:04 +10:00
Damien Elmes
ea3ad655a7 no parallel processing in travis run
can lead to race conditions
2018-01-27 19:06:49 +10:00
Damien Elmes
21284355be remove unused bundled certs 2018-01-27 16:08:31 +10:00
Damien Elmes
135aced882 bump version 2018-01-27 15:48:27 +10:00
Damien Elmes
15df699479 preserve ordered lists 2018-01-27 15:26:41 +10:00
Damien Elmes
4dce1befa5 re.escape leaves _ alone in python 3 2018-01-27 15:15:07 +10:00
Damien Elmes
8cceb24857 preserve newlines when pasting plain text 2018-01-26 19:18:24 +10:00
Damien Elmes
ed9110d530 fix unbury op w/ v1 scheduler 2018-01-26 19:05:08 +10:00
Damien Elmes
a6ccae95b6 remove missed format literals 2018-01-24 21:07:06 +10:00
Damien Elmes
2564dd75ee fix error on final step of lapsed card
https://anki.tenderapp.com/discussions/beta-testing/968-experimental-scheduler-in-anki-210beta31#comment_44552449
2018-01-22 12:10:39 +10:00
Damien Elmes
a81932e62c bump version 2018-01-22 11:25:09 +10:00