aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy.py (unfollow)
Commit message (Collapse)AuthorLines
2018-05-08LintingGravatar Gareth Coles-1/+1
2018-05-08Move bot API key to a constantGravatar Gareth Coles-3/+5
2018-05-07[Wiki] Fix an editor dumb: `not not`Gravatar Gareth Coles-3/+4
2018-05-07Update the code jams info pageGravatar Gareth Coles-9/+10
2018-05-06[Wiki] Case-insensitive searchingGravatar Gareth Coles-3/+3
2018-05-06[Wiki] Misc improvements, plus a beta search featureGravatar Gareth Coles-15/+212
2018-05-06I linted that, I swearGravatar Gareth Coles-2/+2
2018-05-06[Wiki] Move page functionGravatar Gareth Coles-18/+143
2018-05-05Use Discord embed image for index page buttonGravatar Gareth Coles-2/+2
2018-05-05Update README.mdGravatar Gareth Coles-1/+1
2018-05-04[Wiki] 7.1rem wasn't quite enough for the sidebarGravatar Gareth Coles-1/+1
2018-05-02upgrades alpine and adds docker commands to pipenv (#65)Gravatar Christopher Baklid-1/+5
2018-05-02[Wiki] 7rem wasn't quite enough for the sidebarGravatar Gareth Coles-1/+1
2018-05-02[Wiki] Implement page deletions and improve sidebar constructionGravatar Gareth Coles-36/+146
2018-05-02[All Pages] Fix linksGravatar Gareth Coles-1/+1
2018-05-02[All Pages] Fix the other half of that dumbGravatar Gareth Coles-0/+3
2018-05-02[All Pages] Account for pages without a title when sortingGravatar Gareth Coles-3/+1
2018-05-02Add special pages and an "all pages" special pageGravatar Gareth Coles-10/+88
2018-05-01Fixed those pesky rapper names. (#66)Gravatar biskette-2/+2
2018-05-01[Bug Fix] Fix the Edit & Source links on Wiki revision viewerGravatar Joseph-1/+3
2018-05-01[Wiki] Fix image spacingGravatar Gareth Coles-1/+5
2018-04-30restructure dockerGravatar Christopher Baklid-2/+4
2018-04-30[Wiki] Add Minecraft to the sidebarGravatar Gareth Coles-0/+3
2018-04-30[Wiki] Icons should all be the same widthGravatar Gareth Coles-1/+1
2018-04-30[Wiki] This should completely make headers uniformGravatar Gareth Coles-2/+6
2018-04-30[Wiki] Header icons need a space afterwardsGravatar Gareth Coles-2/+13
2018-04-30[Wiki] Small template fixesGravatar Gareth Coles-3/+2
2018-04-30[Wiki] In-page headers may have iconsGravatar Gareth Coles-2/+2
2018-04-29Fix for wiki.history.show with slashes in URLGravatar Joseph-1/+1
2018-04-29pipenv and dockerfile (#62)Gravatar Christopher Baklid-34/+746
pipenv and dockerfile
2018-04-27[Wiki] Dumb CSS typoGravatar Gareth Coles-1/+1
2018-04-27Minor adjustments to payment icon alignment and margins (#60)Gravatar Leon Sandøy-8/+24
2018-04-27[Wiki] Fix left sidebar width on some devicesGravatar Gareth Coles-2/+6
2018-04-27Added books and courses (#59)Gravatar Leon Sandøy-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.
2018-04-27Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy-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)
2018-04-24Make the nickname policy officialGravatar Gareth Coles-1/+29
2018-04-20[#1eeu1] Hiphopify (#54)Gravatar Leon Sandøy-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.
2018-04-19Added image URLs for each of these famous rappers. (#55)Gravatar biskette-1297/+5188
2018-04-18Delete wiki_revisions.jsonGravatar Joseph-1/+0
2018-04-18Adding Pinkie Pie to the hiphoppers listGravatar Leon Sandøy-0/+1
2018-04-18Pass can_edit into revisions listGravatar Joseph-1/+1
2018-04-18Pass `can_edit` into history templatesGravatar Joseph-1/+34
2018-04-18Fix sidebar routesGravatar Joseph-6/+25
2018-04-17Fix JS againGravatar Joseph-1/+1
2018-04-17Fix for previous commit, did not realise view names were namespacedGravatar Joseph-1/+1
2018-04-17Fix revision list JS & add menu item for revisionsGravatar Joseph-2/+7
2018-04-17Add wiki audit logs (#52)Gravatar Joseph-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
2018-04-16JSON file had the wrong name. I should be incarcerated.Gravatar Leon Sandøy-1/+1
2018-04-16I guess we were testing for log level handling. Removed these tests. We ↵Gravatar Leon Sandøy-18/+1
always want TRACE level logging, we can filter in datadog.
2018-04-16We don't really need this env var anymore. We always want TRACE logging.Gravatar Leon Sandøy-3/+1