9587 Commits

Author SHA1 Message Date
shamoon
947245a930 Respect add mailaccount perms 2024-10-07 12:51:07 -07:00
shamoon
92b03745aa alphabetical 2024-10-07 12:15:43 -07:00
shamoon
6422aa51c1 Doc 2024-10-07 12:15:09 -07:00
shamoon
608bbfae60 Fix some docs stuff 2024-10-07 12:06:38 -07:00
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
d018ae2ec9
Merge branch 'dev' into feature-4063-oauth-email 2024-10-07 10:59:05 -07:00
shamoon
855543377c Migrate to httpx_oauth 2024-10-07 10:58:47 -07:00
shamoon
facec317ef
Fix: fix auto-dismiss completed tasks on open document (#7869) 2024-10-07 07:25:52 -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
8e3d325938 Update usage.md 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
2c46b5a6b5 Frontend tests, translations 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
d697e74d58 Spaces in links 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
8e7a571097 because icons are pretty 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