aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* LintingGravatar Gareth Coles2018-05-08-1/+1
|
* Move bot API key to a constantGravatar Gareth Coles2018-05-08-3/+5
|
* [Wiki] Fix an editor dumb: `not not`Gravatar Gareth Coles2018-05-07-3/+4
|
* Update the code jams info pageGravatar Gareth Coles2018-05-07-9/+10
|
* [Wiki] Case-insensitive searchingGravatar Gareth Coles2018-05-06-3/+3
|
* [Wiki] Misc improvements, plus a beta search featureGravatar Gareth Coles2018-05-06-15/+212
|
* I linted that, I swearGravatar Gareth Coles2018-05-06-2/+2
|
* [Wiki] Move page functionGravatar Gareth Coles2018-05-06-18/+143
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-05-05-52/+247
|\
| * Update README.mdGravatar Gareth Coles2018-05-05-1/+1
| |
| * [Wiki] 7.1rem wasn't quite enough for the sidebarGravatar Gareth Coles2018-05-04-1/+1
| |
| * upgrades alpine and adds docker commands to pipenv (#65)Gravatar Christopher Baklid2018-05-02-1/+5
| |
| * [Wiki] 7rem wasn't quite enough for the sidebarGravatar Gareth Coles2018-05-02-1/+1
| |
| * [Wiki] Implement page deletions and improve sidebar constructionGravatar Gareth Coles2018-05-02-36/+146
| |
| * [All Pages] Fix linksGravatar Gareth Coles2018-05-02-1/+1
| |
| * [All Pages] Fix the other half of that dumbGravatar Gareth Coles2018-05-02-0/+3
| |
| * [All Pages] Account for pages without a title when sortingGravatar Gareth Coles2018-05-02-3/+1
| |
| * Add special pages and an "all pages" special pageGravatar Gareth Coles2018-05-02-10/+88
| |
| * Fixed those pesky rapper names. (#66)Gravatar biskette2018-05-01-2/+2
| |
| * [Bug Fix] Fix the Edit & Source links on Wiki revision viewerGravatar Joseph2018-05-01-1/+3
| |
* | Use Discord embed image for index page buttonGravatar Gareth Coles2018-05-05-2/+2
|/
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-05-01-297/+1177
|\ | | | | | | | | # Conflicts: # static/style.css
| * restructure dockerGravatar Christopher Baklid2018-04-30-2/+4
| |
| * [Wiki] Add Minecraft to the sidebarGravatar Gareth Coles2018-04-30-0/+3
| |
| * [Wiki] Icons should all be the same widthGravatar Gareth Coles2018-04-30-1/+1
| |
| * [Wiki] This should completely make headers uniformGravatar Gareth Coles2018-04-30-2/+6
| |
| * [Wiki] Header icons need a space afterwardsGravatar Gareth Coles2018-04-30-2/+13
| |
| * [Wiki] Small template fixesGravatar Gareth Coles2018-04-30-3/+2
| |
| * [Wiki] In-page headers may have iconsGravatar Gareth Coles2018-04-30-2/+2
| |
| * Fix for wiki.history.show with slashes in URLGravatar Joseph2018-04-29-1/+1
| |
| * pipenv and dockerfile (#62)Gravatar Christopher Baklid2018-04-29-34/+746
| | | | | | pipenv and dockerfile
| * [Wiki] Dumb CSS typoGravatar Gareth Coles2018-04-27-1/+1
| |
| * Minor adjustments to payment icon alignment and margins (#60)Gravatar Leon Sandøy2018-04-27-8/+24
| |
| * [Wiki] Fix left sidebar width on some devicesGravatar Gareth Coles2018-04-27-2/+6
| |
| * Added books and courses (#59)Gravatar Leon Sandøy2018-04-27-190/+374
| | | | | | | | | | | | * Added books and courses * Alphabetized all the things, but maintained groupings of free, optional, paid within each section, and still have Tutorials on the top, since it's probably the most relevant category.
| * Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy2018-04-27-55/+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)
* | [Wiki] Fix image spacingGravatar Gareth Coles2018-05-01-1/+5
|/
* Make the nickname policy officialGravatar Gareth Coles2018-04-24-1/+29
|
* [#1eeu1] Hiphopify (#54)Gravatar Leon Sandøy2018-04-20-196/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. * Almost done with the initial build for this. Implemented GET and DELETE, in order to finish POST I need to expand the database.py interface class. * Alphabetized database convenience wrappers. * Fixed a few typehints and added the sample convenience wrapper to the database class. * Finishing up the POST method and adding a duration parser to the utils folder so we can handle strings like 2w3d and turn them into a timestamp. * Fixed API blueprint loading, which was broken by the setup method in the DBMixIn. I'd forgotten to remove the check for table_name attribute. Also adde some logging and got the DELETE route working. * Added timezone-sensitivity to the duration parser so it will work with rethink. renamed the json and fixed some bugs in the hiphopify API. * Added a utility to test if rdb timestamps are expired, and only returning data from the GET calls if it isn't expired. * changed some log wording * Setting up Lil Joseph as default image. Adding some rappers to the list. * Adding a bunch of logging * These tests no longer apply. New tests must be written in the long run, removing them for now. * Addressing review comments left by Volcyy * Fixed misleading comment.
* Added image URLs for each of these famous rappers. (#55)Gravatar biskette2018-04-19-1297/+5188
|
* Delete wiki_revisions.jsonGravatar Joseph2018-04-18-1/+0
|
* Merge branch 'master' of github.com:discord-python/siteGravatar Leon Sandøy2018-04-18-10/+445
|\
| * Pass can_edit into revisions listGravatar Joseph2018-04-18-1/+1
| |
| * Pass `can_edit` into history templatesGravatar Joseph2018-04-18-1/+34
| |
| * Fix sidebar routesGravatar Joseph2018-04-18-6/+25
| |
| * Fix JS againGravatar Joseph2018-04-17-1/+1
| |
| * 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
* | Adding Pinkie Pie to the hiphoppers listGravatar Leon Sandøy2018-04-18-0/+1
|/