| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Log to .json file in debug mode, with textual stdout
* Log to .txt in production, with JSON stdout
* No more Papertrail
|
|
|
|
| |
this is the default encoding. Encoding declarations are only useful in py3 if you want to declare it to be something _other_ than utf-8. This was, however, a very useful convention in py2. (#56)
|
|
|
|
| |
always want TRACE level logging, we can filter in datadog.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
similar to prod-mode. (#53)
* Changed the dev-mode logic to be the same as prod for creating new tables if they don't exist. Also added a new feature where a table can be initialized with data if you create a JSON file in the pysite/database/table_init/ folder and fill it with a list of dicts where each dict represents a row in your table. Included a hiphoppers json so that I can actually test if it works in production. It will only init the table if the table is empty.
* Not sure if this will solve it, but I think so.
* Renamed the tables and primary keys, and alphabetized the dict. Now complies with the gdudes holy wishes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Simple logging. I don't know if this will show up in the docker logs like inver wanted, so it probably needs testing in prod.
* log level via hasattr/getattr, basicConfig instead of custom handlers
* removing the empty string log call
|
| |
|
|
|
|
| |
This reverts commit 57abb43
|
|
|
|
| |
Signed-off-by: martmists <[email protected]>
|
|
|
|
| |
This reverts commit 80a1ab5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Switch to Japronto
- More linters
- Rewrite route handling
- Rewrite error handling
- Rewrite static handling
- Error when no `Index` propery is found
- Probably some more stuff? idk
Code needs testing; Maybe we could use pytest?
Signed-off-by: martmists <[email protected]>
|
|
Also fixed flake8-imports getting the other wrong
|