Ben Kurtovic
|
5d1960db81
|
Try Access-Control-Allow-Origin: * for API responses.
|
pirms 10 gadiem |
Ben Kurtovic
|
f2c1d5b853
|
Make cache.langs, cache.projects sorted lists.
|
pirms 10 gadiem |
Ben Kurtovic
|
b116c7e473
|
Try to fix log dump to ~/error.log location.
|
pirms 10 gadiem |
Ben Kurtovic
|
8321a22f05
|
Log user-facing exceptions in app log.
|
pirms 10 gadiem |
Ben Kurtovic
|
190356b444
|
Update sites before doing check.
|
pirms 10 gadiem |
Ben Kurtovic
|
aef27a53a1
|
Cleanup; call update_sites() before API requests.
|
pirms 10 gadiem |
Ben Kurtovic
|
6eed95c761
|
Use a global cache instead of the request-specific one.
|
pirms 10 gadiem |
Ben Kurtovic
|
ddcf2a8963
|
Store what was previously in SQL tables in flask.g.
|
pirms 10 gadiem |
Ben Kurtovic
|
69819ed3f8
|
@catch_errors for api routes.
|
pirms 10 gadiem |
Ben Kurtovic
|
89feddba98
|
Some minor tweaks, plus documentation for API parameters.
|
pirms 10 gadiem |
Ben Kurtovic
|
6639338fa8
|
First version of new API (for #7)
|
pirms 10 gadiem |
Ben Kurtovic
|
55e5a108c6
|
Make sure the CV workers don't spit out tons of logs.
|
pirms 10 gadiem |
Ben Kurtovic
|
8b0c0aa38f
|
Call copyvios.globalize() before requests.
|
pirms 10 gadiem |
Ben Kurtovic
|
9e13ac1c04
|
Increase log message verbosity; fix import.
|
pirms 10 gadiem |
Ben Kurtovic
|
27917a956e
|
Revert last commit; I have no idea what I'm doing.
|
pirms 10 gadiem |
Ben Kurtovic
|
047ddcf75c
|
Allow EarwigBot to save its internal logs for debugging.
|
pirms 10 gadiem |
Ben Kurtovic
|
1e3a61ac52
|
Fix log file rotate time.
|
pirms 10 gadiem |
Ben Kurtovic
|
9a25f97831
|
Connection pooling; cleanup.
|
pirms 10 gadiem |
Ben Kurtovic
|
cb79aa24b4
|
Update/fix index.mako.
|
pirms 10 gadiem |
Ben Kurtovic
|
5552fb8c78
|
Remove /debug.
|
pirms 10 gadiem |
Ben Kurtovic
|
d6bdd3843c
|
Fix cookie setting.
|
pirms 10 gadiem |
Ben Kurtovic
|
e682dbbdda
|
Move application logic around; improve exceptions.
|
pirms 10 gadiem |
Ben Kurtovic
|
246c987f72
|
Fix wrapping.
|
pirms 10 gadiem |
Ben Kurtovic
|
19ad246a12
|
Very basic attempt at exception printing.
|
pirms 10 gadiem |
Ben Kurtovic
|
56a79cc8d1
|
More cleanup; cookie fixes, Flask integration.
|
pirms 10 gadiem |
Ben Kurtovic
|
262ad492f6
|
Can POST to /settings.
|
pirms 10 gadiem |
Ben Kurtovic
|
1344594c33
|
Internal cleanup for Flask.
|
pirms 10 gadiem |
Ben Kurtovic
|
39f3f900e2
|
Attempt to pass arguments correctly.
|
pirms 10 gadiem |
Ben Kurtovic
|
f25f963d22
|
Fix flask-mako registering.
|
pirms 10 gadiem |
Ben Kurtovic
|
c20b7ffeb8
|
Fix import.
|
pirms 10 gadiem |
Ben Kurtovic
|
0ddba712db
|
Fix logs, chmod, paths.
|
pirms 10 gadiem |
Ben Kurtovic
|
f48a566841
|
Begin conversion to Flask; updates.
|
pirms 10 gadiem |