3241 Commits

Author SHA1 Message Date
shamoon
c5e6a75f55 Fix the failed refresh mock 2024-10-07 11:50:41 -07:00
shamoon
9b8d9b2270 You do need this to get refresh_token 2024-10-07 11:38:55 -07:00
shamoon
1eb185e7c7 mock httpx_oauth refresh to actually test paperless one 2024-10-07 11:25:37 -07:00
shamoon
f9671ccbd8 Fix some test comments 2024-10-07 11:13:03 -07:00
shamoon
0e5c8a39fa Remove a couple un-needed things 2024-10-07 11:06:46 -07:00
shamoon
855543377c Migrate to httpx_oauth 2024-10-07 10:58:47 -07:00
shamoon
ad483b49a1 IsAuthenticated 2024-10-06 21:15:08 -07:00
shamoon
2fe8e4a0d9 Last of it I hope 2024-10-06 19:44:42 -07:00
shamoon
a097144949 Coverage for rest of oauth module 2024-10-06 19:44:42 -07:00
shamoon
6cdc884261 Update test_api_uisettings.py 2024-10-06 19:44:42 -07:00
shamoon
28a24c6aeb Some more backend coverage 2024-10-06 19:44:42 -07:00
shamoon
54df10dc78 Docs 2024-10-06 19:44:42 -07:00
shamoon
cbecbcb7d8 Finally proper callback and redirect urls 2024-10-06 19:44:42 -07:00
shamoon
3cd6183ab3 Once and for all 2024-10-06 19:44:42 -07:00
shamoon
63e0eac4cb Update test_mail.py 2024-10-06 19:44:42 -07:00
shamoon
4924cdd7fa Update test_mail.py 2024-10-06 19:44:42 -07:00
shamoon
01ff1ef091 Ok maybe fix this last one 2024-10-06 19:44:42 -07:00
shamoon
74a2afcfcf Trying again to fix these 2024-10-06 19:44:42 -07:00
shamoon
63c524937d Maybe fix tests again 2024-10-06 19:44:42 -07:00
shamoon
471fbcb78e More refactoring 2024-10-06 19:44:42 -07:00
shamoon
f8ef338c86 Fix tests, refactoring 2024-10-06 19:44:42 -07:00
shamoon
be970396b3 Refactoring 2024-10-06 19:44:42 -07:00
shamoon
843ad5bdd6 Refactor account type names 2024-10-06 19:44:42 -07:00
shamoon
5911e59a27 Dont include refresh_token from API 2024-10-06 19:44:42 -07:00
shamoon
d76b0ead44 Backend coverage 2024-10-06 19:44:42 -07:00
shamoon
3d5b5f1acb Fix random stuff I broke 2024-10-06 19:44:42 -07:00
shamoon
2b1087d837 Actually leave it to refresh on test, just make sure we dont overwrite 2024-10-06 19:44:42 -07:00
shamoon
a4fd5fa7f5 Revert "Separate token refresh"
This reverts commit 9fa69175024bfe29c0c633afa51730aeb205f81c.
2024-10-06 19:44:42 -07:00
shamoon
b0f9ed2cf6 Separate token refresh 2024-10-06 19:44:42 -07:00
shamoon
ea3df01040 Fix refresh outside class 2024-10-06 19:44:42 -07:00
shamoon
f07170a82f Account type 2024-10-06 19:44:42 -07:00
shamoon
c798083eb5 Some refactoring, refresh from test 2024-10-06 19:44:42 -07:00
shamoon
6a1253fea1 Fix token refresh 2024-10-06 19:44:42 -07:00
shamoon
61723528f2 Fix tests 2024-10-06 19:44:42 -07:00
shamoon
3386eaee6d Basic refresh 2024-10-06 19:44:42 -07:00
shamoon
a4215f76dd That's really all it was 2024-10-06 19:44:42 -07:00
shamoon
6b5fcce222 Update views.py 2024-10-06 19:44:42 -07:00
shamoon
c3052dd8ca Some tweaks 2024-10-06 19:44:42 -07:00
shamoon
5d86c8d6ab Fix outlook 2024-10-06 19:44:42 -07:00
shamoon
1c58e15783 Microsoft you are the worst 2024-10-06 19:44:42 -07:00
shamoon
1610bab0d8 Tweak google, unify callback endpoint 2024-10-06 19:44:42 -07:00
shamoon
9cef15313e Starting to mess with it, this basically works for Google 2024-10-06 19:44:42 -07:00
Trenton H
7c11a37150
Feature: Enhanced templating for filename format (#7836)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-10-06 12:54:01 -07:00
shamoon
e49ed58f1a Fix: skip accounts without enabled rules 2024-10-04 23:59:31 -07:00
shamoon
54293bedb1
Enhancement: management list button improvements (#7848) 2024-10-03 23:00:28 -07:00
Martin Richtarsky
b3487f1843
Enhancement: check for mail destination directory, log post-consume errors (#7808)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-10-02 20:21:35 -07:00
shamoon
f8d79b012f
Feature: custom fields queries (#7761) 2024-10-03 00:15:42 +00:00
Trenton H
2ab71137b9
Chore: Upgrades OCRMyPDF to v16 (#7815) 2024-10-01 02:53:44 +00:00
shamoon
991c9b0ca4
Enhancement: disable-able mail rules, add toggle to overview (#7810) 2024-09-30 19:42:19 -07:00
shamoon
56e1365b4b Fix page_count migration 2024-09-27 21:47:30 -07:00