Compare commits

..

37 Commits

Author SHA1 Message Date
Swapnil 87fcc243e6
app: update dummy.env 2024-02-01 16:33:13 +05:30
Swapnil ff8a34afd5
app: fix user_info error 2024-02-01 16:29:39 +05:30
Swapnil ab44ad09f6
app: minor improvements 2024-02-01 16:25:04 +05:30
Swapnil 86c51478da
db: Table and apis for last annotation time 2024-02-01 16:24:55 +05:30
Swapnil 73260297ef
job: get/update last annotation time from database 2024-02-01 16:24:16 +05:30
Swapnil d9c5225a63
added dummy.env for reference 2024-01-31 12:01:28 +05:30
Swapnil 4c022a6080
job: Run job for all active tokens
- check, deactivate, & refresh token
- better logging
2024-01-31 11:49:27 +05:30
Swapnil faed583490
db: API to deactivate token & fixes 2024-01-31 11:47:11 +05:30
Swapnil 55a1b643d4
app: Comments - inoreader user-info 2024-01-31 11:46:41 +05:30
Swapnil be4500796c
app: fix None readwise_api_key 2024-01-30 23:06:16 +05:30
Swapnil 3d85fce4eb
db: api to get all entires 2024-01-30 22:31:49 +05:30
Swapnil a20231769c
app: fix logic to save/create token 2024-01-30 22:17:08 +05:30
Swapnil 48564e1461
db: new columns & APIs 2024-01-30 22:16:40 +05:30
Swapnil 84fd7d46d5
app: minor fixes 2024-01-30 21:55:47 +05:30
Swapnil e3ec9e7915
app: fix 2024-01-30 21:51:11 +05:30
Swapnil ca0fc6e866
app: fix error 2024-01-30 21:46:20 +05:30
Swapnil 9ed80f6b4d
app: fix error 2024-01-30 21:45:08 +05:30
Swapnil b098f0b145
fixes 2024-01-30 21:15:57 +05:30
Swapnil 49bca30c88
fixes 2024-01-30 21:15:49 +05:30
Swapnil 386cb0725a
app: fixed bug and better error message 2024-01-30 21:10:04 +05:30
Swapnil e89eaa5d08
app: try better error in app 2024-01-30 21:00:30 +05:30
Swapnil 673141dd87
db-service: fix required fields checking 2024-01-30 20:54:03 +05:30
Swapnil a181602e85
app-service: Updated templates and login logic 2024-01-30 20:35:39 +05:30
Swapnil 6a4c3b23b9
db-service: Updated table schema & exposed new APIs 2024-01-30 20:35:02 +05:30
Swapnil 715cb7d046
fix logout method 2024-01-30 11:41:58 +05:30
Swapnil e489685196
use app.secret_key to enable session 2024-01-30 11:38:58 +05:30
Swapnil 12db644751
fix database api 2024-01-30 11:34:44 +05:30
Swapnil c96c36f175
implement logout 2024-01-30 11:32:03 +05:30
Swapnil a26f76d34b
test with github auth 2024-01-30 10:55:52 +05:30
Swapnil 401fc11aee
fix: app - import datetime 2024-01-24 19:25:17 +05:30
Swapnil b948bce784
fix: database - timestamp 2024-01-24 19:22:08 +05:30
Swapnil d824ea6f7b
fix: app - expose on 0.0.0.0 2024-01-24 19:11:56 +05:30
Swapnil 187b177b63
fix: database check 2024-01-24 18:59:37 +05:30
swapnil cf3167514c Merge pull request 'feature/separate-services' (#2) from feature/separate-services into main
Reviewed-on: #2
2024-01-24 13:27:17 +00:00
swapnil fec1929d72 Merge pull request 'fix: with app.app_context()' (#1) from PeterSurda/inoreader2readwise:feature/separate-services into feature/separate-services
Reviewed-on: #1
2024-01-24 12:18:24 +00:00
Swapnil 6ad03b120c
fix: with app.app_context() 2024-01-24 17:42:45 +05:30
Swapnil a17303347f
Separate micro services 2024-01-24 16:59:35 +05:30
5 changed files with 0 additions and 63 deletions

View File

@ -1,9 +0,0 @@
<html>
<head>
<title>Logging in</title>
<meta http-equiv="refresh" content="0; url="https://www.inoreader.com/oauth2/auth?client_id={%inoreader_client_id%}"&redirect_uri={%siteurl%}/processoauth2&response_type=code&scope=read&state={%csrf_protection_string%}/">
</head>
<body>
Redirecting ...
</body>
</html>

View File

@ -1,9 +0,0 @@
<html>
<head>
<title>Logout</title>
<meta http-equiv="refresh" content="0; url="{%siteurl%}/">
</head>
<body>
Redirecting ...
</body>
</html>

View File

@ -1,21 +0,0 @@
<html>
<head>
<title>Inoreader 2 Readwise main screen
</head>
<body>
Hello {% inoreader_username %}
<p/>
<form action="setapikey">
API key:
<input type="text" id="apikey">{% readwise_apikey %}</input>
<submit>Change</submit>
</form>
<br/>
Last time sync: {%lastsync%} {%syncstatus%}}
<br/>
Next time sync: {%nextsync%}
<form action="logout">
<submit>Logout</submit>
</form>
</body>
</html>

View File

@ -1,15 +0,0 @@
<html>
<head>
<title>Processing oauth2</title>
{%if login_success%}
<meta http-equiv="refresh" content="0; url="{%siteurl%}/">
{%endif%}
</head>
<body>
{%if login_success%}
Redirecting ...
{%else%}
Login failed.
{%endif%}
</body>
</html>

View File

@ -1,9 +0,0 @@
<html>
<head>
<title>Changing API key</title>
<meta http-equiv="refresh" content="0; url="{%siteurl%}/">
</head>
<body>
Redirecting ...
</body>
</html>