oweals/karmaworld.git
9 years agoremoving unused variable
Bryan [Tue, 24 Feb 2015 07:07:24 +0000 (02:07 -0500)]
removing unused variable

9 years ago#404 handling line breaks in markdown tags
Bryan [Sat, 21 Feb 2015 01:53:40 +0000 (20:53 -0500)]
#404 handling line breaks in markdown tags

9 years agostatic note download migration appears to work.
Bryan [Fri, 20 Feb 2015 04:33:08 +0000 (23:33 -0500)]
static note download migration appears to work.

9 years agoremoving obsolete management call to upload notes to S3
Bryan [Fri, 20 Feb 2015 01:48:06 +0000 (20:48 -0500)]
removing obsolete management call to upload notes to S3

9 years agomissed requirement for PIL
Bryan [Fri, 20 Feb 2015 01:23:57 +0000 (20:23 -0500)]
missed requirement for PIL

9 years ago#396 pull static s3 html into NoteMarkdown.html
Bryan [Sun, 1 Feb 2015 01:45:04 +0000 (20:45 -0500)]
#396 pull static s3 html into NoteMarkdown.html

9 years agopulling wysihtml5 out of compress to stop key errors for #397
Bryan [Wed, 18 Feb 2015 21:15:07 +0000 (16:15 -0500)]
pulling wysihtml5 out of compress to stop key errors for #397

9 years agoUpdates to sanitizer; all-in with inline HTML
Charlie DeTar [Sat, 14 Feb 2015 23:27:17 +0000 (16:27 -0700)]
Updates to sanitizer; all-in with inline HTML

 - Remove iframe and "static hosting" as a strategy for showing a note.
   Only show inline HTML.
 - Add a "format preserving" sanitizer that does XSS filtering and prep
   for inline HTML, but doesn't remove visual markup.
 - Remove javascript pertinent to PDF viewing. Handle zoom buttons using
   CSS transforms on the HTML container.
 - Add notion of "editability" for Notes.  Notes will save with an
   "editable" sanitizer that strips to markdown-caliber HTML which the
   client side WYSIWYG can handle if the note is an editable type, and
   renders with a "format preserving" sanitizer that uses complex ugly
   junk as the HTML if it's not meant to be edited.
 - Add and improve tests for this stuff.

9 years agoTranslate data-uri's to files stored on Amazon s3
Charlie DeTar [Sun, 1 Feb 2015 01:38:30 +0000 (18:38 -0700)]
Translate data-uri's to files stored on Amazon s3

9 years agoWIP supporting data-uris
Charlie DeTar [Sat, 31 Jan 2015 23:27:06 +0000 (16:27 -0700)]
WIP supporting data-uris

9 years agoCorrect comments and method sigs for sanitizer
Charlie DeTar [Sat, 31 Jan 2015 19:34:00 +0000 (12:34 -0700)]
Correct comments and method sigs for sanitizer

9 years agoImplement note editing and saving
Charlie DeTar [Sat, 31 Jan 2015 19:26:28 +0000 (12:26 -0700)]
Implement note editing and saving

 - Refactor HTML sanitization into separate file, based primarily on
   bleach rather than BeautifulSoup.  BS makes it hard to sanitize
   fragments of html without retaining ``<html><body>`` etc wrappers.
   Move canonical link setting into a separate function, as these only
   make sense where the HTML fragment has a ``<head>`` in it.
 - Update FontAwesome to 4.3.
 - Refactor ``NoteDetailView``, ``NoteSaveView``, and ``NoteView`` into
   a single class inheriting from ``UpdateView``, greatly simplifying
   that code.

TODO: Simplify NoteKeywordsView and NoteQuizView in a similar fashion,
if it makes sense to do so.  Explore removing html2text from workflow
now that we have the aggressive cleaning from ``bleach``, and test
results with various document types.

9 years agoWIP: Note editing, markdown to html
Charlie DeTar [Sat, 10 Jan 2015 01:14:36 +0000 (18:14 -0700)]
WIP: Note editing, markdown to html

9 years agofound some variables defined on Heroku missing from env release-20150214
Bryan [Sat, 14 Feb 2015 21:27:00 +0000 (16:27 -0500)]
found some variables defined on Heroku missing from env

9 years agoupdating README while running through local install.
Bryan [Sat, 14 Feb 2015 21:26:27 +0000 (16:26 -0500)]
updating README while running through local install.

9 years ago#391 force change() on reload to trigger filtering release-20150131
Bryan [Sat, 31 Jan 2015 17:09:16 +0000 (12:09 -0500)]
#391 force change() on reload to trigger filtering

9 years ago#393 properly checking if user is anonymous
Bryan [Tue, 27 Jan 2015 19:09:39 +0000 (14:09 -0500)]
#393 properly checking if user is anonymous

9 years agoreplacing abstraction HIT with KeywordExtractionHIT
Bryan [Tue, 27 Jan 2015 18:03:43 +0000 (13:03 -0500)]
replacing abstraction HIT with KeywordExtractionHIT

9 years agoslight copy change for homepage
Andrew Magliozzi [Tue, 27 Jan 2015 18:00:20 +0000 (13:00 -0500)]
slight copy change for homepage

9 years agoregularly schedule file count updates for #377
Bryan [Fri, 9 Jan 2015 22:33:10 +0000 (17:33 -0500)]
regularly schedule file count updates for #377

9 years agopossible fix for #392
Bryan [Sat, 24 Jan 2015 07:37:23 +0000 (02:37 -0500)]
possible fix for #392

9 years ago#388 ensure self.slug is not the empty string
Bryan Bonvallet [Tue, 13 Jan 2015 19:27:19 +0000 (14:27 -0500)]
#388 ensure self.slug is not the empty string

9 years agolisten on correct port for Heroku
Bryan [Fri, 9 Jan 2015 23:59:24 +0000 (18:59 -0500)]
listen on correct port for Heroku

9 years agoschool note counts now parse through departments
Bryan Bonvallet [Fri, 9 Jan 2015 22:31:36 +0000 (17:31 -0500)]
school note counts now parse through departments

for #377

9 years agoupdating for heroku production version of taggit
Bryan Bonvallet [Fri, 9 Jan 2015 22:02:15 +0000 (17:02 -0500)]
updating for heroku production version of taggit

older version was causing a problem

9 years agoMerge branch 'master' of github.com:FinalsClub/karmaworld
Charlie DeTar [Fri, 9 Jan 2015 21:06:25 +0000 (14:06 -0700)]
Merge branch 'master' of github.com:FinalsClub/karmaworld

9 years agoDon't give points when downloading own doc
Charlie DeTar [Fri, 9 Jan 2015 21:05:26 +0000 (14:05 -0700)]
Don't give points when downloading own doc

Fixes #383.  Add tests for this.

9 years agoAdd missing migration for EmailParsingHIT
Charlie DeTar [Fri, 9 Jan 2015 21:05:07 +0000 (14:05 -0700)]
Add missing migration for EmailParsingHIT

9 years agonoting RabbitMQ for local dev
Bryan Bonvallet [Fri, 9 Jan 2015 20:04:21 +0000 (15:04 -0500)]
noting RabbitMQ for local dev

9 years agoslapping some version locking.
Bryan Bonvallet [Fri, 9 Jan 2015 17:53:31 +0000 (12:53 -0500)]
slapping some version locking.

These versions are not entirely precise but are sufficient.

9 years agoCreate README.md
Bryan Bonvallet [Fri, 9 Jan 2015 17:44:26 +0000 (12:44 -0500)]
Create README.md

9 years agoadding comment about 7zip requirement
Bryan Bonvallet [Fri, 9 Jan 2015 17:25:44 +0000 (12:25 -0500)]
adding comment about 7zip requirement

9 years agoadding clarification about USDE school handling.
Bryan Bonvallet [Fri, 9 Jan 2015 17:22:38 +0000 (12:22 -0500)]
adding clarification about USDE school handling.

9 years agoupdating readme to note .env file
Bryan Bonvallet [Fri, 9 Jan 2015 17:03:34 +0000 (12:03 -0500)]
updating readme to note .env file

9 years agofiltering out more fluff schools. closes #326
Bryan Bonvallet [Wed, 3 Dec 2014 00:04:47 +0000 (19:04 -0500)]
filtering out more fluff schools. closes #326

10 years agocloses #376 adjust min length before autocompleting schools
Bryan [Sun, 12 Oct 2014 17:26:38 +0000 (13:26 -0400)]
closes #376 adjust min length before autocompleting schools

10 years agoShuffle answers in multiple choice questions
Charles Connell [Sat, 14 Jun 2014 22:34:27 +0000 (18:34 -0400)]
Shuffle answers in multiple choice questions

10 years agoGotta get it running again
Charles Connell [Sat, 14 Jun 2014 22:34:09 +0000 (18:34 -0400)]
Gotta get it running again

10 years agomoved Heroku buildpack, added config for it, referenced external docs
Bryan Bonvallet [Wed, 11 Jun 2014 16:03:22 +0000 (12:03 -0400)]
moved Heroku buildpack, added config for it, referenced external docs

10 years agoWIP on more HIT tracking
Charles Connell [Tue, 10 Jun 2014 22:27:37 +0000 (17:27 -0500)]
WIP on more HIT tracking

10 years agoTweaks to HIT
Charles Connell [Sun, 8 Jun 2014 01:16:45 +0000 (21:16 -0400)]
Tweaks to HIT

10 years agoWIP on mail box
Charles Connell [Fri, 6 Jun 2014 20:56:55 +0000 (16:56 -0400)]
WIP on mail box

10 years agoTrack HITs locally
Charles Connell [Tue, 3 Jun 2014 20:00:16 +0000 (16:00 -0400)]
Track HITs locally

10 years agoActually take out approval code
Charles Connell [Tue, 3 Jun 2014 16:18:53 +0000 (12:18 -0400)]
Actually take out approval code

10 years agoOptional additional keywords, wait for manual approval, don't dispose
Charles Connell [Tue, 3 Jun 2014 16:00:01 +0000 (12:00 -0400)]
Optional additional keywords, wait for manual approval, don't dispose

10 years agoDocument celery change
Charles Connell [Tue, 27 May 2014 17:00:11 +0000 (13:00 -0400)]
Document celery change

10 years agocelery queue name setting
Charles Connell [Tue, 27 May 2014 16:10:32 +0000 (12:10 -0400)]
celery queue name setting

10 years agonew relic support
Charles Connell [Sat, 24 May 2014 22:24:34 +0000 (18:24 -0400)]
new relic support

10 years agoMake ssl redirection a separate config
Charles Connell [Sat, 24 May 2014 15:29:00 +0000 (11:29 -0400)]
Make ssl redirection a separate config

10 years agoImprove celery wrapper script
Charles Connell [Fri, 23 May 2014 19:06:23 +0000 (15:06 -0400)]
Improve celery wrapper script

10 years agoexperiment with celery
Charles Connell [Fri, 23 May 2014 18:26:40 +0000 (14:26 -0400)]
experiment with celery

10 years agoAlways allow staff to edit notes
Charles Connell [Tue, 20 May 2014 23:07:27 +0000 (19:07 -0400)]
Always allow staff to edit notes

10 years agoSSL redirect
Charles Connell [Mon, 19 May 2014 22:44:24 +0000 (18:44 -0400)]
SSL redirect

10 years agoClarifications and corrections to README
Charles Connell [Mon, 19 May 2014 20:56:31 +0000 (16:56 -0400)]
Clarifications and corrections to README

10 years agomanage commented out variables properly
Bryan Bonvallet [Mon, 19 May 2014 19:11:57 +0000 (15:11 -0400)]
manage commented out variables properly

10 years agoMerge branch 'master' of github.com:FinalsClub/karmaworld
Bryan Bonvallet [Mon, 19 May 2014 18:49:57 +0000 (14:49 -0400)]
Merge branch 'master' of github.com:FinalsClub/karmaworld

10 years agoreplacing test code with proper code
Bryan Bonvallet [Mon, 19 May 2014 18:49:48 +0000 (14:49 -0400)]
replacing test code with proper code

10 years agoToss CLOUDFRONT_URL
Charles Connell [Sun, 18 May 2014 22:49:52 +0000 (18:49 -0400)]
Toss CLOUDFRONT_URL

10 years agoupdated documentation to streamline bootstrap for new users
Bryan Bonvallet [Sun, 18 May 2014 20:07:51 +0000 (16:07 -0400)]
updated documentation to streamline bootstrap for new users

10 years agofixing typo
Bryan Bonvallet [Sun, 18 May 2014 17:49:22 +0000 (13:49 -0400)]
fixing typo

10 years agoChange mturk text
Charles Connell [Sat, 17 May 2014 22:29:04 +0000 (18:29 -0400)]
Change mturk text

10 years agodummy commit
Charles Connell [Sat, 17 May 2014 20:55:02 +0000 (16:55 -0400)]
dummy commit

10 years agoBack to old way of doing scheduled tasks
Charles Connell [Fri, 16 May 2014 19:20:58 +0000 (15:20 -0400)]
Back to old way of doing scheduled tasks

10 years agoExport user info as a CSV, fixes #368
Charles Connell [Fri, 16 May 2014 19:05:07 +0000 (15:05 -0400)]
Export user info as a CSV, fixes #368

10 years agoUndo that
Charles Connell [Fri, 16 May 2014 14:58:20 +0000 (10:58 -0400)]
Undo that

10 years agonew process types, restore a migration that went missing somehow
Charles Connell [Fri, 16 May 2014 14:47:51 +0000 (10:47 -0400)]
new process types, restore a migration that went missing somehow

10 years agoMake management commands for periodic tasks
Charles Connell [Fri, 16 May 2014 14:41:52 +0000 (10:41 -0400)]
Make management commands for periodic tasks

10 years agoIndicate mturk keywords
Charles Connell [Fri, 16 May 2014 00:57:22 +0000 (20:57 -0400)]
Indicate mturk keywords

10 years agoDelete Vagrant related things, and supervisord related things. Update README
Charles Connell [Thu, 15 May 2014 23:34:18 +0000 (19:34 -0400)]
Delete Vagrant related things, and supervisord related things. Update README

10 years agodummy commit
Charles Connell [Thu, 15 May 2014 22:32:30 +0000 (18:32 -0400)]
dummy commit

10 years agodummy commit
Charles Connell [Thu, 15 May 2014 22:21:01 +0000 (18:21 -0400)]
dummy commit

10 years agoDoes it not like dashes?
Charles Connell [Thu, 15 May 2014 18:37:24 +0000 (14:37 -0400)]
Does it not like dashes?

10 years agodummy commit
Charles Connell [Thu, 15 May 2014 18:24:22 +0000 (14:24 -0400)]
dummy commit

10 years agodummy commit
Charles Connell [Thu, 15 May 2014 18:17:10 +0000 (14:17 -0400)]
dummy commit

10 years agoAdd celery beat
Charles Connell [Thu, 15 May 2014 18:12:26 +0000 (14:12 -0400)]
Add celery beat

10 years agoTrying adding a pdf2htmlex binary
Charles Connell [Wed, 14 May 2014 23:24:54 +0000 (19:24 -0400)]
Trying adding a pdf2htmlex binary

10 years agoadd celery worker to procfile
Charles Connell [Wed, 14 May 2014 22:23:24 +0000 (18:23 -0400)]
add celery worker to procfile

10 years agobroker pool limit
Charles Connell [Wed, 14 May 2014 22:05:14 +0000 (18:05 -0400)]
broker pool limit

10 years agobeginning heroku documentation
Bryan Bonvallet [Thu, 15 May 2014 03:07:48 +0000 (23:07 -0400)]
beginning heroku documentation

10 years agoexample .env file
Charles Connell [Wed, 14 May 2014 21:58:58 +0000 (17:58 -0400)]
example .env file

10 years agoDrop closure-compiler
Charles Connell [Wed, 14 May 2014 20:57:57 +0000 (16:57 -0400)]
Drop closure-compiler

10 years agoWill this work for a non-java app?
Charles Connell [Wed, 14 May 2014 19:58:54 +0000 (15:58 -0400)]
Will this work for a non-java app?

10 years agoBring closure compiler into repo
Charles Connell [Wed, 14 May 2014 19:49:32 +0000 (15:49 -0400)]
Bring closure compiler into repo

10 years agothis affects heroku after all
Charles Connell [Wed, 14 May 2014 19:45:39 +0000 (15:45 -0400)]
this affects heroku after all

10 years agoProperly enable compression?
Charles Connell [Wed, 14 May 2014 19:39:24 +0000 (15:39 -0400)]
Properly enable compression?

10 years agoMore playing with buildpacks
Charles Connell [Wed, 14 May 2014 18:54:32 +0000 (14:54 -0400)]
More playing with buildpacks

10 years agoplaying with buildpacks
Charles Connell [Wed, 14 May 2014 18:47:14 +0000 (14:47 -0400)]
playing with buildpacks

10 years agoWe need dj-static
Charles Connell [Wed, 14 May 2014 18:35:28 +0000 (14:35 -0400)]
We need dj-static

10 years agothis is not used any more
Charles Connell [Wed, 14 May 2014 18:32:22 +0000 (14:32 -0400)]
this is not used any more

10 years agoMigrate secrets to environment variables
Charles Connell [Wed, 14 May 2014 18:26:21 +0000 (14:26 -0400)]
Migrate secrets to environment variables

10 years agoTry this...
Charles Connell [Wed, 14 May 2014 16:57:53 +0000 (12:57 -0400)]
Try this...

10 years agoAvoid the problem for the moment
Charles Connell [Wed, 14 May 2014 16:48:53 +0000 (12:48 -0400)]
Avoid the problem for the moment

10 years agotry this?
Charles Connell [Wed, 14 May 2014 16:47:22 +0000 (12:47 -0400)]
try this?

10 years agoHeroku conversion step 2
Charles Connell [Wed, 14 May 2014 16:44:58 +0000 (12:44 -0400)]
Heroku conversion step 2

10 years agoheroku conversion step 1
Charles Connell [Wed, 14 May 2014 16:33:20 +0000 (12:33 -0400)]
heroku conversion step 1

10 years agoFix question scoring bugs
Charles Connell [Wed, 14 May 2014 15:26:30 +0000 (11:26 -0400)]
Fix question scoring bugs

10 years agoMatching-style quiz questions
Charles Connell [Wed, 14 May 2014 15:05:04 +0000 (11:05 -0400)]
Matching-style quiz questions

10 years agoFix backup script
Charles Connell [Tue, 13 May 2014 18:57:00 +0000 (14:57 -0400)]
Fix backup script

10 years agoKarma point for creating a new keyword
Charles Connell [Tue, 13 May 2014 18:26:23 +0000 (14:26 -0400)]
Karma point for creating a new keyword

10 years agoMobile chrome renders this off by 1 pixel
Charles Connell [Tue, 13 May 2014 18:21:52 +0000 (14:21 -0400)]
Mobile chrome renders this off by 1 pixel