oweals/karmaworld.git
10 years agoUse libmagic to extract the file's creation year
Josh Williams [Fri, 4 Oct 2013 13:01:09 +0000 (09:01 -0400)]
Use libmagic to extract the file's creation year

NOTE: This adds a new Python module requirement.
The added function can of course be expanded to return anything else
the libmagic routine could provide in the future.

10 years agoAdd on-success action to file upload save - #158
Josh Williams [Tue, 1 Oct 2013 21:14:06 +0000 (17:14 -0400)]
Add on-success action to file upload save - #158

Currently, show a 'thank you' message showing the user which files were
uploaded, and automatically refresh the page 15 seconds later.

10 years agoFix slug generation to prevent collisions.
Josh Williams [Mon, 30 Sep 2013 21:36:38 +0000 (17:36 -0400)]
Fix slug generation to prevent collisions.

10 years agoFix Note view breadcrumbs linking back to Course
Josh Williams [Mon, 30 Sep 2013 20:16:34 +0000 (16:16 -0400)]
Fix Note view breadcrumbs linking back to Course

10 years agoAdd missing .txt file type
Josh Williams [Mon, 30 Sep 2013 19:41:54 +0000 (15:41 -0400)]
Add missing .txt file type

... Though we don't seem to use it at the moment, instead leaning on
GDrive for the handling of the type.

Also include same import fix as gdrive.py

10 years agoClean up PPT converted PDF to save properly
Josh Williams [Thu, 26 Sep 2013 22:17:27 +0000 (18:17 -0400)]
Clean up PPT converted PDF to save properly

10 years agoDetect and display PDF and PPT note files
Josh Williams [Thu, 26 Sep 2013 19:27:29 +0000 (15:27 -0400)]
Detect and display PDF and PPT note files

10 years agoMark document as is_processed=True to avoid loop
Josh Williams [Tue, 24 Sep 2013 21:18:11 +0000 (17:18 -0400)]
Mark document as is_processed=True to avoid loop

The .save() immediately following this checked is_processed, found it to
be False, and kicked off a whole new processing task; lather, rinse,
repeat.  We may want to refactor something else, but this fixes that for
now.

10 years agoAdding the delete button has changed field offsets
Josh Williams [Tue, 24 Sep 2013 21:13:07 +0000 (17:13 -0400)]
Adding the delete button has changed field offsets

10 years agoMinor name adjustments
Josh Williams [Tue, 24 Sep 2013 20:00:58 +0000 (16:00 -0400)]
Minor name adjustments

10 years agoslight change
Andrew Magliozzi [Tue, 24 Sep 2013 19:29:53 +0000 (15:29 -0400)]
slight change

10 years agoadded a console.log
Andrew Magliozzi [Tue, 24 Sep 2013 19:27:18 +0000 (15:27 -0400)]
added a console.log

10 years agoslight adjustment to foundation columns
Andrew Magliozzi [Tue, 24 Sep 2013 19:26:17 +0000 (15:26 -0400)]
slight adjustment to foundation columns

10 years agofirst pass at the X to remove files from the upload form
Andrew Magliozzi [Tue, 24 Sep 2013 19:24:12 +0000 (15:24 -0400)]
first pass at the X to remove files from the upload form

10 years agofixed save button alignment in filepicker partial
Andrew Magliozzi [Tue, 24 Sep 2013 17:08:19 +0000 (13:08 -0400)]
fixed save button alignment in filepicker partial

10 years agoprelim changes to foundation grid in filepicker partial
Andrew Magliozzi [Tue, 24 Sep 2013 17:05:15 +0000 (13:05 -0400)]
prelim changes to foundation grid in filepicker partial

10 years agoAdjust the styles of the filepicker Save button
Josh Williams [Tue, 24 Sep 2013 16:40:12 +0000 (12:40 -0400)]
Adjust the styles of the filepicker Save button

10 years agocomment to an unused partial
Andrew Magliozzi [Tue, 24 Sep 2013 16:21:52 +0000 (12:21 -0400)]
comment to an unused partial

10 years agoincremental changes to the filepicker form partial
Andrew Magliozzi [Tue, 24 Sep 2013 16:19:58 +0000 (12:19 -0400)]
incremental changes to the filepicker form partial

10 years agoremoving drag-drop zone from filepicker partial
Andrew Magliozzi [Tue, 24 Sep 2013 16:02:59 +0000 (12:02 -0400)]
removing drag-drop zone from filepicker partial

10 years agosmall fix
Andrew Magliozzi [Tue, 24 Sep 2013 15:53:31 +0000 (11:53 -0400)]
small fix

10 years agoadjusting requirement for django filepicker version
Andrew Magliozzi [Tue, 24 Sep 2013 15:50:36 +0000 (11:50 -0400)]
adjusting requirement for django filepicker version

10 years agoLarge in-progress checkin for filepicker integration.
Seth Woodworth [Tue, 24 Sep 2013 13:53:16 +0000 (13:53 +0000)]
Large in-progress checkin for filepicker integration.
includes model form view js and html changes across the board. Also includes a lot of debug print statements

10 years agoadd djcelery to the wsgi interface
Seth Woodworth [Tue, 24 Sep 2013 13:51:01 +0000 (13:51 +0000)]
add djcelery to the wsgi interface

10 years agoproduction by default
Seth Woodworth [Tue, 24 Sep 2013 13:50:44 +0000 (13:50 +0000)]
production by default

10 years agoMerge branch 'filepick.io' of https://github.com/FinalsClub/karmaworld into fp.io
Seth Woodworth [Wed, 28 Aug 2013 21:51:17 +0000 (21:51 +0000)]
Merge branch 'filepick.io' of https://github.com/FinalsClub/karmaworld into fp.io

10 years agofix depricated import bug
Seth Woodworth [Wed, 28 Aug 2013 21:51:09 +0000 (17:51 -0400)]
fix depricated import bug

10 years agoMerge remote-tracking branch 'origin/fabric' into fp.io
Seth Woodworth [Wed, 28 Aug 2013 21:39:20 +0000 (21:39 +0000)]
Merge remote-tracking branch 'origin/fabric' into fp.io

10 years agoadd the opentip html template (oops)
Seth Woodworth [Wed, 28 Aug 2013 21:22:49 +0000 (17:22 -0400)]
add the opentip html template (oops)

10 years agochecking in forgotten files for the document conversion
Seth Woodworth [Wed, 28 Aug 2013 20:50:08 +0000 (16:50 -0400)]
checking in forgotten files for the document conversion

10 years agoadd polymorphism to RawDocument and super() save to register a celery task
Seth Woodworth [Wed, 28 Aug 2013 20:16:49 +0000 (16:16 -0400)]
add polymorphism to RawDocument and super() save to register a celery task

10 years agochange file upload directory structure
Seth Woodworth [Wed, 28 Aug 2013 17:45:23 +0000 (13:45 -0400)]
change file upload directory structure

10 years agocleanup CBV for document_upload
Seth Woodworth [Wed, 28 Aug 2013 17:45:07 +0000 (13:45 -0400)]
cleanup CBV for document_upload

10 years agorefactor RawDocument model
Seth Woodworth [Wed, 28 Aug 2013 16:47:16 +0000 (12:47 -0400)]
refactor RawDocument model

10 years agocleanup for Note.draft >> is_hidden
Seth Woodworth [Wed, 28 Aug 2013 16:46:52 +0000 (12:46 -0400)]
cleanup for Note.draft >> is_hidden

10 years agowe can now create RawDocuments
Seth Woodworth [Wed, 28 Aug 2013 16:46:27 +0000 (12:46 -0400)]
we can now create RawDocuments

10 years agoRefactor Note > Document, an Abstract Base Class
Seth Woodworth [Tue, 27 Aug 2013 17:51:53 +0000 (13:51 -0400)]
Refactor Note > Document, an Abstract Base Class
Here I have refactored all of the shared content of the Note model
to the Document model so I can base Note and RawDocument on it
I've also cleanedup .save() validation and generation

10 years agomoving to the sethwoodworth fork of django-filepicker
Seth Woodworth [Tue, 27 Aug 2013 17:47:02 +0000 (13:47 -0400)]
moving to the sethwoodworth fork of django-filepicker

10 years agoadd django-filepicker and a document_upload app for the new document upload workflow
Seth Woodworth [Tue, 27 Aug 2013 13:39:12 +0000 (09:39 -0400)]
add django-filepicker and a document_upload app for the new document upload workflow

10 years agoMerge branch 'master' of github.com:FinalsClub/karmaworld
Seth Woodworth [Tue, 27 Aug 2013 13:37:14 +0000 (09:37 -0400)]
Merge branch 'master' of github.com:FinalsClub/karmaworld

10 years agofront end changes for filepicker integration
Seth Woodworth [Tue, 27 Aug 2013 13:37:00 +0000 (09:37 -0400)]
front end changes for filepicker integration

10 years agoback out dropbox changes
Seth Woodworth [Tue, 27 Aug 2013 13:36:26 +0000 (09:36 -0400)]
back out dropbox changes

10 years agowhitespacebot
Seth Woodworth [Tue, 27 Aug 2013 13:35:35 +0000 (09:35 -0400)]
whitespacebot

10 years agoMIGRATION add Note.draft and set it to True until user submits form, closes #142
Seth Woodworth [Wed, 17 Jul 2013 20:28:14 +0000 (16:28 -0400)]
MIGRATION add Note.draft and set it to True until user submits form, closes #142

10 years agochanged from .rst to .md
Andrew Magliozzi [Wed, 17 Jul 2013 18:43:38 +0000 (14:43 -0400)]
changed from .rst to .md

10 years agoRename README.rst to README.md
Andrew Magliozzi [Wed, 17 Jul 2013 18:41:31 +0000 (14:41 -0400)]
Rename README.rst to README.md

10 years agoWorking supervisord configs + celeryd
bobcall [Mon, 15 Jul 2013 19:33:37 +0000 (15:33 -0400)]
Working supervisord configs + celeryd

10 years agoMore silly changes
bobcall [Mon, 15 Jul 2013 18:44:43 +0000 (14:44 -0400)]
More silly changes

10 years agomore minor changes to fabfile and changed location of beta configs from stag
bobcall [Mon, 15 Jul 2013 18:33:50 +0000 (14:33 -0400)]
more minor changes to fabfile and changed location of beta configs from stag

11 years agofirst draft of the dropbox via ajaxuploader functionality for testing
Seth Woodworth [Fri, 12 Jul 2013 19:26:38 +0000 (15:26 -0400)]
first draft of the dropbox via ajaxuploader functionality for testing

11 years agoadding dropbox file-picker to new template and to the add_note partial
Seth Woodworth [Fri, 12 Jul 2013 17:02:38 +0000 (13:02 -0400)]
adding dropbox file-picker to new template and to the add_note partial

11 years agowhitespacebot
Seth Woodworth [Fri, 12 Jul 2013 17:01:19 +0000 (13:01 -0400)]
whitespacebot

11 years agoMerge branch 'master' of github.com:FinalsClub/karmaworld
Seth Woodworth [Fri, 12 Jul 2013 13:50:48 +0000 (09:50 -0400)]
Merge branch 'master' of github.com:FinalsClub/karmaworld

11 years agosyntax issues
bobcall [Tue, 9 Jul 2013 17:31:33 +0000 (13:31 -0400)]
syntax issues

11 years agowhitespacebot
Seth Woodworth [Tue, 9 Jul 2013 15:33:03 +0000 (11:33 -0400)]
whitespacebot

11 years agoAdding 'careers', 'adults', 'hospital', 'childcare' to RESTRICTED_WORDS
Seth Woodworth [Tue, 9 Jul 2013 15:18:17 +0000 (11:18 -0400)]
Adding 'careers', 'adults', 'hospital', 'childcare' to RESTRICTED_WORDS

11 years agoUpdate os-install.rst
Robert Call [Tue, 9 Jul 2013 13:57:41 +0000 (09:57 -0400)]
Update os-install.rst

Changed postgresql-server to postgresql-9.1

11 years agomore fabfile changes
bobcall [Tue, 9 Jul 2013 13:19:44 +0000 (09:19 -0400)]
more fabfile changes

11 years agocleanup and comment sanitize script
Seth Woodworth [Mon, 8 Jul 2013 19:20:48 +0000 (15:20 -0400)]
cleanup and comment sanitize script

11 years agoadding a management command to santize schools from the usde database
Seth Woodworth [Mon, 8 Jul 2013 18:43:34 +0000 (14:43 -0400)]
adding a management command to santize schools from the usde database

11 years agoLatest changes to fabfile.py and confs/prod/supervisord.conf
bobcall [Wed, 3 Jul 2013 17:23:23 +0000 (13:23 -0400)]
Latest changes to fabfile.py and confs/prod/supervisord.conf

11 years agodisabling Note.sanitize_html in gdrive processing as a workaround
Seth Woodworth [Tue, 2 Jul 2013 20:48:44 +0000 (16:48 -0400)]
disabling Note.sanitize_html in gdrive processing as a workaround

11 years agoMerge pull request #134 from FinalsClub/found4
Seth Woodworth [Tue, 2 Jul 2013 19:51:10 +0000 (12:51 -0700)]
Merge pull request #134 from FinalsClub/found4

Migration to Foundation v4

11 years agomore changes to footer for foundation 4 migration 134/head
Seth Woodworth [Tue, 2 Jul 2013 19:43:49 +0000 (15:43 -0400)]
more changes to footer for foundation 4 migration

11 years agoport site-wide footer to foundation 4
Seth Woodworth [Tue, 2 Jul 2013 19:31:30 +0000 (15:31 -0400)]
port site-wide footer to foundation 4

11 years agofix very-small view of dates on the frontpage for foundation
Seth Woodworth [Tue, 2 Jul 2013 19:19:04 +0000 (15:19 -0400)]
fix very-small view of dates on the frontpage for foundation

11 years agosplit course_list_entry into new template, and refactor for foundation4 mobile
Seth Woodworth [Tue, 2 Jul 2013 18:47:54 +0000 (14:47 -0400)]
split course_list_entry into new template, and refactor for foundation4 mobile

11 years agoport course_detail and note_detail pages to foundation 4, override some foundation...
Seth Woodworth [Tue, 2 Jul 2013 15:24:48 +0000 (11:24 -0400)]
port course_detail and note_detail pages to foundation 4, override some foundation behavior for breadcrumbs

11 years agoport the course_detail page and the add_note form to foundation 4
Seth Woodworth [Tue, 2 Jul 2013 14:43:39 +0000 (10:43 -0400)]
port the course_detail page and the add_note form to foundation 4

11 years agostart migrating the base template and header, start bringing in new foundation files
Seth Woodworth [Mon, 1 Jul 2013 21:59:09 +0000 (17:59 -0400)]
start migrating the base template and header, start bringing in new foundation files

11 years agomigrate add course form to foundation
Seth Woodworth [Mon, 1 Jul 2013 21:57:50 +0000 (17:57 -0400)]
migrate add course form to foundation

11 years agomigrate front page to foundation4, works on ipads
Seth Woodworth [Mon, 1 Jul 2013 21:57:32 +0000 (17:57 -0400)]
migrate front page to foundation4, works on ipads

11 years agomigrate about html and css to foundation4, working for iphones
Seth Woodworth [Mon, 1 Jul 2013 21:56:30 +0000 (17:56 -0400)]
migrate about html and css to foundation4, working for iphones

11 years agooops, fix generating conditional is_pdf and is_ppt in raw PDFView class
Seth Woodworth [Mon, 1 Jul 2013 18:06:07 +0000 (14:06 -0400)]
oops, fix generating conditional is_pdf and is_ppt in raw PDFView class

11 years agomaking assorted changes for ppt file_type marking on the Note model
Seth Woodworth [Mon, 1 Jul 2013 16:50:00 +0000 (12:50 -0400)]
making assorted changes for ppt file_type marking on the Note model

11 years agowhen uploading files to gdrive, ppt files will mark themselves as ppt files
Seth Woodworth [Mon, 1 Jul 2013 16:48:18 +0000 (12:48 -0400)]
when uploading files to gdrive, ppt files will mark themselves as ppt files

11 years agoindentation issue
bobcall [Mon, 1 Jul 2013 05:46:10 +0000 (01:46 -0400)]
indentation issue

11 years agoFixed syntax error and missing '--daemon'
bobcall [Mon, 1 Jul 2013 05:44:04 +0000 (01:44 -0400)]
Fixed syntax error and missing '--daemon'

11 years agoAdded the ability to start gunicorn
bobcall [Mon, 1 Jul 2013 05:32:28 +0000 (01:32 -0400)]
Added the ability to start gunicorn

11 years agomore changes to fab file
bobcall [Mon, 1 Jul 2013 00:46:51 +0000 (20:46 -0400)]
more changes to fab file

11 years agofleshed out fabfile, still needs work, but conceptually works
bobcall [Sun, 30 Jun 2013 18:58:52 +0000 (14:58 -0400)]
fleshed out fabfile, still needs work, but conceptually works

11 years agoAdded remote support and the ability to pull code
bobcall [Sat, 29 Jun 2013 11:08:31 +0000 (07:08 -0400)]
Added remote support and the ability to pull code

11 years agoAdded new fabfile.py to branch fabric
bobcall [Fri, 28 Jun 2013 22:14:40 +0000 (18:14 -0400)]
Added new fabfile.py to branch fabric

11 years agofinish off changes to google drive to allow for ppt > pdf and pdf.js
Seth Woodworth [Wed, 26 Jun 2013 21:10:44 +0000 (21:10 +0000)]
finish off changes to google drive to allow for ppt > pdf and pdf.js

11 years agoMerge branch 'ppt-gdrive' of https://github.com/FinalsClub/karmaworld into ppt-gdrive
Seth Woodworth [Wed, 26 Jun 2013 20:35:10 +0000 (20:35 +0000)]
Merge branch 'ppt-gdrive' of https://github.com/FinalsClub/karmaworld into ppt-gdrive

Conflicts:
karmaworld/apps/notes/gdrive.py

11 years agorefactor functions out of gdrive
Seth Woodworth [Wed, 26 Jun 2013 20:34:12 +0000 (20:34 +0000)]
refactor functions out of gdrive

11 years agomore tests for gdrive
Seth Woodworth [Wed, 26 Jun 2013 20:33:00 +0000 (16:33 -0400)]
more tests for gdrive

11 years agoremove ocr for ppt
Seth Woodworth [Wed, 26 Jun 2013 19:52:33 +0000 (15:52 -0400)]
remove ocr for ppt

11 years agoadding some test changes to ppt handling for testing on beta
Seth Woodworth [Wed, 26 Jun 2013 19:46:06 +0000 (15:46 -0400)]
adding some test changes to ppt handling for testing on beta

11 years agoadd amazon donation button to about page
Seth Woodworth [Wed, 26 Jun 2013 17:15:14 +0000 (13:15 -0400)]
add amazon donation button to about page

11 years agomake fontsizes smaller in school autocomplete to fit more schools
Seth Woodworth [Wed, 26 Jun 2013 16:59:04 +0000 (12:59 -0400)]
make fontsizes smaller in school autocomplete to fit more schools

11 years agomodify the autocomplete ajax method to return School.alias matches before name matches
Seth Woodworth [Wed, 26 Jun 2013 16:58:25 +0000 (12:58 -0400)]
modify the autocomplete ajax method to return School.alias matches before name matches

11 years agoadd priority and alias models to School model, change default sort to use priority
Seth Woodworth [Wed, 26 Jun 2013 16:57:13 +0000 (12:57 -0400)]
add priority and alias models to School model, change default sort to use priority

11 years agopass a JS variable to viewer.js to load pdf.js workers from
Seth Woodworth [Sat, 15 Jun 2013 01:07:20 +0000 (21:07 -0400)]
pass a JS variable to viewer.js to load pdf.js workers from

11 years agosimplify and future proof pdf specific template variables
Seth Woodworth [Sat, 15 Jun 2013 00:41:11 +0000 (20:41 -0400)]
simplify and future proof pdf specific template variables

11 years agoupdate url routes with nicer .format()ing
Seth Woodworth [Sat, 15 Jun 2013 00:40:19 +0000 (20:40 -0400)]
update url routes with nicer .format()ing

11 years agoupdate the pdf view to create the correct path to pdf media
Seth Woodworth [Sat, 15 Jun 2013 00:39:49 +0000 (20:39 -0400)]
update the pdf view to create the correct path to pdf media

11 years agoadd comment to note model
Seth Woodworth [Sat, 15 Jun 2013 00:39:00 +0000 (20:39 -0400)]
add comment to note model

11 years agoadd media route for pdf handling
Seth Woodworth [Thu, 13 Jun 2013 19:00:48 +0000 (15:00 -0400)]
add media route for pdf handling

11 years agofix relative path to pdf worker
Seth Woodworth [Thu, 13 Jun 2013 19:00:17 +0000 (15:00 -0400)]
fix relative path to pdf worker