Damien Elmes
45ed97c56c
rspy -> pylib/rsbridge
2020-11-02 15:21:12 +10:00
Damien Elmes
ef5cd9f551
test caching; disable broken Windows build for now
...
edit to re-run tests
2020-11-01 20:08:08 +10:00
Damien Elmes
3c428fe336
update CI
2020-11-01 16:33:40 +10:00
Damien Elmes
d36162bd49
clippy lint
2020-11-01 16:19:08 +10:00
Damien Elmes
5e602c553f
enforce eol normalization in gitattributes
2020-11-01 15:24:25 +10:00
Damien Elmes
f61b6c0359
drop 3.7 support in CI
2020-11-01 15:05:28 +10:00
Damien Elmes
0cf964b16d
trailing newline .ftl check can happen at build time
...
Removes the need to build ripgrep for CI
2020-11-01 14:59:45 +10:00
Damien Elmes
b17d537a9e
remove old makefiles
2020-11-01 14:41:01 +10:00
Damien Elmes
99140f6023
always return str in aqt_data_folder()
2020-11-01 14:38:13 +10:00
Damien Elmes
aea0a6fcc6
initial Bazel conversion
...
Running and testing should be working on the three platforms, but
there's still a fair bit that needs to be done:
- Wheel building + testing in a venv still needs to be implemented.
- Python requirements still need to be compiled with piptool and pinned;
need to compile on all platforms then merge
- Cargo deps in cargo/ and rslib/ need to be cleaned up, and ideally
unified into one place
- Currently using rustls to work around openssl compilation issues
on Linux, but this will break corporate proxies with custom SSL
authorities; need to conditionally use openssl or use
https://github.com/seanmonstar/reqwest/pull/1058
- Makefiles and docs still need cleaning up
- It may make sense to reparent ts/* to the top level, as we don't
nest the other modules under a specific language.
- rspy and pylib must always be updated in lock-step, so merging
rspy into pylib as a private module would simplify things.
- Merging desktop-ftl and mobile-ftl into the core ftl would make
managing and updating translations easier.
- Obsolete scripts need removing.
- And probably more.
2020-11-01 14:26:58 +10:00
Damien Elmes
6b0b3fcd6a
Merge pull request #803 from RumovZ/fix-completer-focus
...
Work around Qt's focus bug (fix help-wanted#22)
2020-10-29 21:44:13 +10:00
RumovZ
5e949d19fe
Space for author check
2020-10-29 12:30:40 +01:00
Damien Elmes
8ef6420cdb
Merge pull request #804 from hgiesel/mime
...
Set MIME type for javascript files
2020-10-29 20:54:03 +10:00
Henrik Giesel
70aed820da
Set MIME type for javascript files
2020-10-26 23:32:38 +01:00
RumovZ
a1b7768ee2
Add author to CONTRIBUTORS
2020-10-24 11:02:18 +02:00
RumovZ
aaf5770db9
Work around Qt's focus bug (fix help-wanted#22)
...
Manually hide the editor's completer popup before accepting a short cut which changes the focus widget. Thus, work around the bug in PyQt 5.15 where a QLineEdit with open QCompleter popup won't get notified about focus changes handled by the Main Window, leading to inconsistent focus.
2020-10-24 10:47:25 +02:00
Damien Elmes
c86711e2d6
Merge pull request #802 from abdnh/ensure-non-empty-names
...
Ensure non-empty names in the backend
2020-10-23 07:14:06 +10:00
abdo
97ea14449f
Ensure non-empty names
...
https://github.com/ankitects/anki/pull/801/
2020-10-22 16:11:06 +03:00
abdo
6d68bfa594
Use replace instead of strip
...
https://github.com/ankitects/anki/pull/801
2020-10-22 15:21:30 +03:00
Damien Elmes
87770db7f1
Merge pull request #801 from abdnh/strip-quotes
...
Strip double quotes from names
2020-10-22 21:47:30 +10:00
abdo
55f1d3773f
Strip double quotes from names
...
Strip double quotes from all kinds of names
https://github.com/ankitects/anki/pull/798
2020-10-21 21:48:49 +03:00
Damien Elmes
3d95d9e3c6
Merge pull request #799 from hgiesel/cal
...
Introduce Browser.search_for and Browser.update_search
2020-10-21 21:31:21 +10:00
Damien Elmes
fe5c4a2593
Merge pull request #798 from abdnh/escape-quotes-in-search
...
Escape double quotes in search
2020-10-21 21:28:51 +10:00
Damien Elmes
930c264399
Merge pull request #797 from abdnh/importing-fix
...
Fix notes being imported to the wrong deck in some cases
2020-10-21 21:22:33 +10:00
Damien Elmes
73dd7a11ef
Merge pull request #796 from Arthur-Milchior/comment_test
...
NF: uses consts and update comment according to code
2020-10-21 21:20:52 +10:00
Damien Elmes
669769a5a2
Merge pull request #795 from abdnh/reviewer-cleanup
...
Set card to None in reviewer cleanup
2020-10-21 21:19:43 +10:00
Damien Elmes
f947a65ac5
Merge pull request #794 from abdnh/tagedit-enter-fix
...
Don't apply suggestion when no suggestion list is shown in tagedit
2020-10-21 21:19:05 +10:00
Damien Elmes
5fc841de85
Merge pull request #791 from abdnh/sidebar-context-menu
...
help-wanted#6: continue work on new browser sidebar (based on #590 )
2020-10-21 21:13:32 +10:00
Henrik Giesel
9e44b2be7f
Turn update_search into its own method
2020-10-19 21:07:29 +02:00
Henrik Giesel
450e85d36d
Add search prompt for setupSearch
2020-10-19 20:57:19 +02:00
Henrik Giesel
54dc97825e
Add uses of search_for
2020-10-19 20:51:36 +02:00
Henrik Giesel
2d65e81b13
Add search_for method
2020-10-19 20:37:17 +02:00
abdo
5677a67025
Escape double quotes in search
2020-10-19 01:06:41 +03:00
abdo
d91f2a27b2
Remove unused code
2020-10-15 16:14:14 +03:00
abdo
236a6071d4
Save importing model in any case
...
https://forums.ankiweb.net/t/bug-notes-are-imported-to-the-wrong-deck-in-certain-cases/4318
2020-10-15 15:14:55 +03:00
Arthur Milchior
d6dd1849cf
NF: uses consts and update comment according to code
2020-10-15 08:22:23 +02:00
abdo
3531ae089a
Set card to None in reviewer cleanup
2020-10-14 12:56:47 +03:00
abdo
44e3ef690f
Don't apply suggestion when no suggestion list is shown
2020-10-14 05:00:24 +03:00
Damien Elmes
06292a45f3
formatting fix
...
formatting fix
2020-10-14 10:35:57 +10:00
Damien Elmes
73f2042bde
Merge pull request #792 from nwwt/skip-addons-argument
...
Add command-line argument to skip addons
2020-10-14 09:45:59 +10:00
Damien Elmes
02ceab55c0
Update __init__.py
2020-10-14 09:45:34 +10:00
Andreas Reis
21f072a666
Add command-line argument to skip addons
...
Shift doesn't work for me occasionally, for whatever reason. So just add an -s to skip it that way.
(Also, update my github nick)
2020-10-14 01:31:07 +02:00
Damien Elmes
5bc37f242b
Merge pull request #786 from contribs-w4b-co-uk/readme-development
...
added notes for running Anki from PyCharm with dev profile
2020-10-14 09:22:53 +10:00
lukkea
c8d2163a79
moved dev profile advise to general notes and, hopefully, improved wording
2020-10-12 12:20:38 +01:00
abdo
cd0523712f
Fix typing warning
2020-10-12 11:01:15 +03:00
abdo
7c1b855709
Do sidebar switch check in browser init
...
https://github.com/ankitects/help-wanted/issues/6#issuecomment-706880794
2020-10-12 10:28:21 +03:00
abdo
82993d16fd
Merge branch 'sidebar-context-menu' of https://github.com/abdnh/anki into sidebar-context-menu
2020-10-12 10:15:23 +03:00
Damien Elmes
1e37e6cabd
formatting fix
2020-10-12 12:37:51 +10:00
Damien Elmes
f75e3e6486
Merge pull request #790 from hgiesel/fields
...
Add fields_did_rename_field and fields_did_remove_field hooks
2020-10-12 12:36:39 +10:00
Damien Elmes
1aa29f2e79
Merge pull request #789 from abdnh/editor-decode-urls
...
Decode pasted URLs for nicer display
2020-10-12 12:33:52 +10:00