| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Add wiki audit logs (#52) | 2018-04-17 | -7/+126 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add wiki audit logs * Flake8 issues * Forgot to remove debug prints * Removed print but forgot to remove `.text` * Futile attempt to increase coverage * Reading up on API docs asks us to send User-Agent with our info in it * Add tests for wiki * Well played, Travis * Nothing in my local env is working on travis lol * Why does it appear it can't decide between 200 & 302 :thinking: * Flake8 * Post route * Same issue with local env working differently from Travis env * Add page to show page is being edited * Lock page when it is being edited * Add JS to keep refreshing lock on article * Add compare route to render diff * Add revision table to database * Add revision storage * Add revision list route * JS for Revision list radio buttons * Add revision comparison template * Add revision list template * flak8 my ass * [Unit Tests] New unit tests for history routes :sparkles: * Does this fix things? * Address gdude's reviews * Noticed a bug in the diff generation route which meant that empty posts could potentially error * Flake 8 * Audit logs were logging after change, meaning it was comparing after & after, which didn't work * Change table name * Remove whitespace from line to fix flake8 issue * Address reviews * Git hook made me do something wrong, apologies * Switch from werkzeug redirect to flask one * Address Apertures reviews | |||
| * | Initial data for tables and refactoring the dev-mode database handling to be ↵ | 2018-04-15 | -2/+0 | |
| | | | | | | | | | | | 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. | |||
| * | [Wiki] Fix pages being wiped when saved without edits | 2018-04-12 | -0/+5 | |
| | | ||||
| * | [Wiki] Some excellent shitcode for document TOCs | 2018-04-12 | -1/+4 | |
| | | ||||
| * | Abstract rst away and add icon directive | 2018-04-09 | -4/+2 | |
| | | ||||
| * | Allow helpers to edit pages also | 2018-04-07 | -3/+3 | |
| | | ||||
| * | Display improvements | 2018-04-07 | -1/+3 | |
| | | ||||
| * | Considerable progress on the wiki | 2018-04-07 | -8/+17 | |
| | | ||||
| * | Flake8 | 2018-04-06 | -7/+7 | |
| | | ||||
| * | Updated wiki editing system with live-previewing | 2018-04-06 | -1/+8 | |
| | | ||||
| * | Flake8 | 2018-04-05 | -1/+1 | |
| | | ||||
| * | More work towards the wiki | 2018-04-05 | -2/+2 | |
| | | ||||
| * | More work towards the wiki | 2018-04-05 | -2/+12 | |
| | | ||||
| * | Flake8 | 2018-04-04 | -1/+1 | |
| | | ||||
| * | Early wiki work including a WS test route for RST parsing | 2018-04-04 | -3/+15 | |
| | | ||||
| * | Basic wiki routes | 2018-04-03 | -0/+13 | |