aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix for previous commit, did not realise view names were namespacedGravatar Joseph2018-04-17-1/+1
|
* Fix revision list JS & add menu item for revisionsGravatar Joseph2018-04-17-2/+7
|
* Add wiki audit logs (#52)Gravatar Joseph2018-04-17-10/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* JSON file had the wrong name. I should be incarcerated.Gravatar Leon Sandøy2018-04-16-1/+1
|
* I guess we were testing for log level handling. Removed these tests. We ↵Gravatar Leon Sandøy2018-04-16-18/+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
|
* Adding some trace logging to the table init to figure out what's going wrong.Gravatar Leon Sandøy2018-04-16-0/+9
|
* Fixed the weird navbar sizingGravatar Jeremiah Boby2018-04-15-0/+5
| | | | Increased the navbar image max-width to 110%
* Initial data for tables and refactoring the dev-mode database handling to be ↵Gravatar Leon Sandøy2018-04-15-21/+1373
| | | | | | | | | | 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.
* Added an About category with Partners view (#1pv7h) (#50)Gravatar Jeremiah Boby2018-04-14-18/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Partners view, and Navbar item * Moved info/rules to about/rules and fixed references * Added Partner images, and populated the partners page * Fixed responsiveness on smaller displays Added like 2 characters to the column tag, to enable stacking of columns if the display width is lower than 960 pixels. * Fixed indentation * Updated Code Monkeys Banner Added the shiny new CM Banner, and rearranged the partner cards. * Fixed newlines at end of HTML files * Partners page updated to generate from JSON file • The templates/main/about/partners.html file now uses the static/partners.json file to generate the Partner cards. • Flexboxes are nice. * Rearranged containers on Partners page I have no idea how flexboxes work :DDD * Updated Partners page to fix styling issues * Moved tag styling to the appropriate CSS file * Changed code style of stylesheet :D * Addresses Lemon's code style issues • Partner cards now have id="partner-card", which is selected with a CSS selector for styling, rather than styling all card objects. • Removed nonbreaking spaces that PyCharm didn't tell me about • Indented conditional HTML content to match Jinja conditionals • Fixed unclosed image tag * Removed div bloating, and increased specifity of CSS selection
* [Wiki] Fix wiki page interpreted text roleGravatar Gareth Coles2018-04-13-17/+11
| | | | Page slugs may contain slashes after all
* Small styling fix for RST listsGravatar Gareth Coles2018-04-13-0/+8
|
* oops, what are you doing here?Gravatar Leon Sandøy2018-04-12-1/+1
|
* [Wiki] Fix contents shown on pages with no headersGravatar Gareth Coles2018-04-12-1/+1
|
* [Wiki] Fix pages being wiped when saved without editsGravatar Gareth Coles2018-04-12-1/+13
|
* [Wiki] TOC divider should be inside conditionalGravatar Gareth Coles2018-04-12-1/+1
|
* [Wiki] Lower initial header level to 3Gravatar Gareth Coles2018-04-12-1/+3
|
* [Wiki] Some excellent shitcode for document TOCsGravatar Gareth Coles2018-04-12-5/+96
|
* [Wiki] Fix dodgy staff edit redirect query paramGravatar Gareth Coles2018-04-12-1/+1
|
* [Wiki] Rearrange sidebarGravatar Gareth Coles2018-04-12-24/+24
|
* [Wiki] Fix sidebar edit linkGravatar Gareth Coles2018-04-12-1/+2
|
* Add page source view to wikiGravatar Gareth Coles2018-04-12-6/+149
|
* Update resources page with new icons and formatting.Gravatar Gareth Coles2018-04-11-44/+179
| | | | NOTE: This does change the JSON!
* Fix unit testsGravatar Gareth Coles2018-04-10-2/+2
|
* Snowflakes should be handled as stringsGravatar Gareth Coles2018-04-10-10/+12
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-04-10-6/+18
|\
| * oops, forgot to update the testGravatar Leon Sandøy2018-04-10-3/+3
| |
| * Merge branch 'master' of github.com:discord-python/siteGravatar Leon Sandøy2018-04-10-1/+38
| |\
| * | Moved all redirects into a folder and added one for github.Gravatar Leon Sandøy2018-04-10-3/+15
| | |
* | | Allow contribs to edit wiki pagesGravatar Gareth Coles2018-04-10-1/+2
| |/ |/|
* | Whoops, Flake8Gravatar Gareth Coles2018-04-10-1/+1
| |
* | Wiki page text roleGravatar Gareth Coles2018-04-10-1/+38
|/
* padding should be on the nav, not the container. my bad.Gravatar Leon Sandøy2018-04-10-4/+3
|
* Merge branch 'master' of github.com:discord-python/siteGravatar Leon Sandøy2018-04-10-8/+129
|\
| * [Wiki] Improve editor previewGravatar Gareth Coles2018-04-10-5/+11
| | | | | | | | Also, Flake8.
| * [Wiki] Prevent page saving if there's an errorGravatar Gareth Coles2018-04-10-1/+5
| |
| * [Wiki] Add url_for text roleGravatar Gareth Coles2018-04-10-1/+39
| |
| * [Wiki] Add code highlightingGravatar Gareth Coles2018-04-10-1/+74
| |
| * [Wiki] Blurple sidebarGravatar Gareth Coles2018-04-09-1/+1
| |
* | Flash of Unstyled Content fixGravatar Leon Sandøy2018-04-10-3/+63
|/
* Forces the sidebar and the rest of that container div to fill the pageGravatar Leon Sandøy2018-04-09-2/+2
|
* Abstract rst away and add icon directiveGravatar Gareth Coles2018-04-09-12/+68
|
* [Wiki] Fix editorGravatar Gareth Coles2018-04-09-1/+1
|
* Revert unnecessary changeGravatar Gareth Coles2018-04-09-2/+2
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-04-09-0/+42
|\
| * Update CONTRIBUTING.mdGravatar Gareth Coles2018-04-09-1/+2
| |
| * Create CONTRIBUTING.mdGravatar Gareth Coles2018-04-09-0/+41
| |
* | Add font-awesome pro, and default to port 80Gravatar Gareth Coles2018-04-09-4/+4
|/
* Bamboozled again!Gravatar Gareth Coles2018-04-09-3/+3
|