Commit Graph

62 Commits

Author SHA1 Message Date
Scoder12 b60a027225 Switch regular string to fstring, reorder imports 2020-08-04 16:44:56 -07:00
Scoder12 9cf5c102ca Overhaul async and sync code
Add new _async2sync function to copy async code into a sync class
2020-08-04 16:30:26 -07:00
Scoder12 b0bce695cd Initial code for switch to async 2020-08-04 13:25:26 -07:00
Codemonkey51 ab597c4ec3 fix liniting
fix as much lining as i can
2020-08-03 17:50:18 -07:00
Codemonkey51 a6c4d7aad0 one other commit 2020-08-03 16:59:58 -07:00
Codemonkey51 b90db79f96 added async :D 2020-08-03 16:59:36 -07:00
Scoder12 ba08aff346 Add flask proxies and local_redirect function 2020-08-03 15:34:21 -07:00
Scoder12 850e3aa29b Change make_response to Response to fix bug 2020-07-30 13:00:22 -07:00
Scoder12 9beecd1311 Pass missing args to view function
Used by static files
2020-07-29 12:52:57 -07:00
Scoder12 f45c760d83 Don't pass unexpected args to loginwall handler 2020-07-29 12:42:30 -07:00
Scoder12 a05dc35e0d Use request.args instead of non-existant request.query 2020-07-29 11:39:04 -07:00
Scoder12 e1e9a77d25 Handle src paramater correctly 2020-07-29 11:37:27 -07:00
Scoder12 2ad93fed96 Add default for needs_params src 2020-07-29 11:26:38 -07:00
Scoder12 936bf12db9 Add src paramater to needs_params 2020-07-29 11:22:23 -07:00
Scoder12 7da2a97832 Fix bad annotation 2020-07-29 11:09:45 -07:00
Scoder12 f175159e97 Import needs_params in maqpy init 2020-07-29 11:06:44 -07:00
Scoder12 d1cadd7f37 Add code for needs_params 2020-07-29 10:57:57 -07:00
Scoder12 f595fa94ba Remove unused import 2020-07-28 17:46:18 -07:00
Scoder12 3d4bf9fb98 Remove call referencing old class 2020-07-28 17:40:05 -07:00
Scoder12 5cba0a7517 Delete FileCache in favor of simple dict 2020-07-28 17:38:35 -07:00
Scoder12 b67d1d4e27 Fix type annotations in needs_params again 2020-07-28 17:37:21 -07:00
Scoder12 8e8da86391 Fix type annotations in needs_params 2020-07-28 17:36:24 -07:00
Scoder12 0cdea584d8 Fix file load bug 2020-07-28 17:30:35 -07:00
Scoder12 04cb0f6d23 Remove trailing whitespace 2020-07-28 17:16:35 -07:00
Scoder12 6bab22c596 Import files module 2020-07-28 17:16:18 -07:00
Scoder12 e2d5e55ca3 Initial code for needs_params 2020-07-28 17:11:39 -07:00
Scoder12 9249c4f2b5 Finish rename and rearrange imports 2020-07-28 16:59:04 -07:00
Scoder12 c08b64d3ec Fix bug in decorator: actually return handler 2020-07-28 16:33:13 -07:00
Scoder12 55234c2ab5 Rename kwarg in needs_signin, fix import order 2020-07-28 16:30:17 -07:00
Scoder12 3d5c6de37f Import needs_signin in maqpy init 2020-07-28 16:28:12 -07:00
Scoder12 6ebabbc51c Feat: Add needs_sigin decorator 2020-07-28 16:17:14 -07:00
Scoder12 a51b95a4ba Fix type annotation on items method 2020-07-28 16:08:25 -07:00
Scoder12 855274e322 Add items method to database client 2020-07-28 16:05:24 -07:00
Scoder12 dcbef77b75 Add missing space before HTML attributes 2020-07-28 12:52:52 -07:00
Scoder12 df795e35c9 Pass arguments to super properly 2020-07-28 12:42:33 -07:00
Scoder12 29e1b71e61 Pass rule to _request_handler 2020-07-28 12:39:18 -07:00
Scoder12 bcd7b1ade5 Fix loginwall and typo in module description 2020-07-28 12:36:53 -07:00
Scoder12 a9026f77e8 Switch to shorter login_wall
all_pages_sign_in was too long
2020-07-28 12:21:27 -07:00
Scoder12 03535d3e8d Add docstrings 2020-07-28 12:12:15 -07:00
Scoder12 b53503cb95 Rearrange imports 2020-07-28 12:07:39 -07:00
Scoder12 b27e2b8354 Import new HTML class 2020-07-28 12:05:52 -07:00
Scoder12 4395f30290 Refactor maqpy.html and make it easy to use 2020-07-28 12:04:43 -07:00
Scoder12 338471b53e Feat: add all_pages_sign_in 2020-07-28 11:26:24 -07:00
Scoder12 1b26d1a8f8 Rename all instances of maqpi to maqpy 2020-07-27 17:50:24 -07:00
Scoder12 4c6a7ec0bb Import maqpi in init 2020-07-27 17:22:12 -07:00
Scoder12 d535da8977 Import database relatively 2020-07-27 17:21:50 -07:00
Scoder12 dd4ea94021 Copy maqpi code 2020-07-27 17:12:47 -07:00
Scoder12 55b82ab1c0 Switch docstring to triple quotes 2020-07-27 17:04:03 -07:00
Scoder12 b6124e35a1 Fix missing docstring data 2020-07-27 15:03:48 -07:00
Scoder12 b936e413ec Remove clear function from audio, already in main 2020-07-27 14:52:16 -07:00