aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/__init__.py (follow)
Commit message (Collapse)AuthorAgeLines
* Rename `pydis_django` to `pysite`.Gravatar Johannes Christ2018-08-11-0/+0
|
* Initial project layout for djangoGravatar Gareth Coles2018-08-07-61/+0
|
* adds log rotation and speeds up buildGravatar Christopher Baklid2018-06-11-2/+11
|
* Don't log DEBUG/TRACEGravatar Gareth Coles2018-06-06-1/+1
|
* Logging changesGravatar Gareth Coles2018-06-06-11/+11
| | | | | | * Log to .json file in debug mode, with textual stdout * Log to .txt in production, with JSON stdout * No more Papertrail
* Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy2018-04-27-1/+0
| | | | 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)
* I guess we were testing for log level handling. Removed these tests. We ↵Gravatar Leon Sandøy2018-04-16-7/+1
| | | | always want TRACE level logging, we can filter in datadog.
* We don't really need this env var anymore. We always want TRACE logging.Gravatar Leon Sandøy2018-04-16-3/+1
|
* Adding the TRACE log level monkey patch from botGravatar Leon Sandøy2018-04-16-1/+20
|
* Initial data for tables and refactoring the dev-mode database handling to be ↵Gravatar Leon Sandøy2018-04-15-1/+1
| | | | | | | | | | 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.
* Fix logging, restrict staff index routeGravatar Gareth Coles2018-04-01-1/+1
|
* Change to PyCharm importsGravatar Gareth Coles2018-03-30-1/+1
|
* Datadog TCP loggingGravatar Gareth Coles2018-03-13-2/+12
|
* Logging fixesGravatar Gareth Coles2018-03-10-1/+1
|
* Logging with PapertrailGravatar Gareth Coles2018-03-10-2/+17
|
* attempt to fix stacktrace when initialising logger (#17)Gravatar Christopher Baklid2018-02-18-2/+1
|
* Simple logging. (#16)Gravatar Leon Sandøy2018-02-18-0/+17
| | | | | | | | * 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
* PffftGravatar Gareth Coles2018-02-08-2/+0
|
* Revert "Finally fix this garbage"Gravatar Gareth Coles2018-02-06-0/+3
| | | | This reverts commit 57abb43
* Finally fix this garbageGravatar martmists2018-02-05-3/+0
| | | | Signed-off-by: martmists <[email protected]>
* Revert "Major update"Gravatar Gareth Coles2018-02-05-0/+3
| | | | This reverts commit 80a1ab5
* Major updateGravatar martmists2018-02-05-3/+0
| | | | | | | | | | | | | | - 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]>
* Dynamic route loader; proper application structureGravatar Gareth Coles2018-02-05-0/+3
Also fixed flake8-imports getting the other wrong