Josh Williams [Fri, 4 Oct 2013 14:06:21 +0000 (10:06 -0400)]
Add a orange highlight to number of notes
Josh Williams [Fri, 4 Oct 2013 13:59:48 +0000 (09:59 -0400)]
Re-enable HTML santize, only run if 'html' present
Josh Williams [Fri, 4 Oct 2013 13:27:16 +0000 (09:27 -0400)]
Switch back import to "secrets" for now
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.
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.
Josh Williams [Mon, 30 Sep 2013 21:36:38 +0000 (17:36 -0400)]
Fix slug generation to prevent collisions.
Josh Williams [Mon, 30 Sep 2013 20:16:34 +0000 (16:16 -0400)]
Fix Note view breadcrumbs linking back to Course
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
Josh Williams [Thu, 26 Sep 2013 22:17:27 +0000 (18:17 -0400)]
Clean up PPT converted PDF to save properly
Josh Williams [Thu, 26 Sep 2013 19:27:29 +0000 (15:27 -0400)]
Detect and display PDF and PPT note files
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.
Josh Williams [Tue, 24 Sep 2013 21:13:07 +0000 (17:13 -0400)]
Adding the delete button has changed field offsets
Josh Williams [Tue, 24 Sep 2013 20:00:58 +0000 (16:00 -0400)]
Minor name adjustments
Andrew Magliozzi [Tue, 24 Sep 2013 19:29:53 +0000 (15:29 -0400)]
slight change
Andrew Magliozzi [Tue, 24 Sep 2013 19:27:18 +0000 (15:27 -0400)]
added a console.log
Andrew Magliozzi [Tue, 24 Sep 2013 19:26:17 +0000 (15:26 -0400)]
slight adjustment to foundation columns
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
Andrew Magliozzi [Tue, 24 Sep 2013 17:08:19 +0000 (13:08 -0400)]
fixed save button alignment in filepicker partial
Andrew Magliozzi [Tue, 24 Sep 2013 17:05:15 +0000 (13:05 -0400)]
prelim changes to foundation grid in filepicker partial
Josh Williams [Tue, 24 Sep 2013 16:40:12 +0000 (12:40 -0400)]
Adjust the styles of the filepicker Save button
Andrew Magliozzi [Tue, 24 Sep 2013 16:21:52 +0000 (12:21 -0400)]
comment to an unused partial
Andrew Magliozzi [Tue, 24 Sep 2013 16:19:58 +0000 (12:19 -0400)]
incremental changes to the filepicker form partial
Andrew Magliozzi [Tue, 24 Sep 2013 16:02:59 +0000 (12:02 -0400)]
removing drag-drop zone from filepicker partial
Andrew Magliozzi [Tue, 24 Sep 2013 15:53:31 +0000 (11:53 -0400)]
small fix
Andrew Magliozzi [Tue, 24 Sep 2013 15:50:36 +0000 (11:50 -0400)]
adjusting requirement for django filepicker version
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
Seth Woodworth [Tue, 24 Sep 2013 13:51:01 +0000 (13:51 +0000)]
add djcelery to the wsgi interface
Seth Woodworth [Tue, 24 Sep 2013 13:50:44 +0000 (13:50 +0000)]
production by default
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
Seth Woodworth [Wed, 28 Aug 2013 21:51:09 +0000 (17:51 -0400)]
fix depricated import bug
Seth Woodworth [Wed, 28 Aug 2013 21:39:20 +0000 (21:39 +0000)]
Merge remote-tracking branch 'origin/fabric' into fp.io
Seth Woodworth [Wed, 28 Aug 2013 21:22:49 +0000 (17:22 -0400)]
add the opentip html template (oops)
Seth Woodworth [Wed, 28 Aug 2013 20:50:08 +0000 (16:50 -0400)]
checking in forgotten files for the document conversion
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
Seth Woodworth [Wed, 28 Aug 2013 17:45:23 +0000 (13:45 -0400)]
change file upload directory structure
Seth Woodworth [Wed, 28 Aug 2013 17:45:07 +0000 (13:45 -0400)]
cleanup CBV for document_upload
Seth Woodworth [Wed, 28 Aug 2013 16:47:16 +0000 (12:47 -0400)]
refactor RawDocument model
Seth Woodworth [Wed, 28 Aug 2013 16:46:52 +0000 (12:46 -0400)]
cleanup for Note.draft >> is_hidden
Seth Woodworth [Wed, 28 Aug 2013 16:46:27 +0000 (12:46 -0400)]
we can now create RawDocuments
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
Seth Woodworth [Tue, 27 Aug 2013 17:47:02 +0000 (13:47 -0400)]
moving to the sethwoodworth fork of django-filepicker
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
Seth Woodworth [Tue, 27 Aug 2013 13:37:14 +0000 (09:37 -0400)]
Merge branch 'master' of github.com:FinalsClub/karmaworld
Seth Woodworth [Tue, 27 Aug 2013 13:37:00 +0000 (09:37 -0400)]
front end changes for filepicker integration
Seth Woodworth [Tue, 27 Aug 2013 13:36:26 +0000 (09:36 -0400)]
back out dropbox changes
Seth Woodworth [Tue, 27 Aug 2013 13:35:35 +0000 (09:35 -0400)]
whitespacebot
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
Andrew Magliozzi [Wed, 17 Jul 2013 18:43:38 +0000 (14:43 -0400)]
changed from .rst to .md
Andrew Magliozzi [Wed, 17 Jul 2013 18:41:31 +0000 (14:41 -0400)]
Rename README.rst to README.md
bobcall [Mon, 15 Jul 2013 19:33:37 +0000 (15:33 -0400)]
Working supervisord configs + celeryd
bobcall [Mon, 15 Jul 2013 18:44:43 +0000 (14:44 -0400)]
More silly changes
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
Seth Woodworth [Fri, 12 Jul 2013 19:26:38 +0000 (15:26 -0400)]
first draft of the dropbox via ajaxuploader functionality for testing
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
Seth Woodworth [Fri, 12 Jul 2013 17:01:19 +0000 (13:01 -0400)]
whitespacebot
Seth Woodworth [Fri, 12 Jul 2013 13:50:48 +0000 (09:50 -0400)]
Merge branch 'master' of github.com:FinalsClub/karmaworld
bobcall [Tue, 9 Jul 2013 17:31:33 +0000 (13:31 -0400)]
syntax issues
Seth Woodworth [Tue, 9 Jul 2013 15:33:03 +0000 (11:33 -0400)]
whitespacebot
Seth Woodworth [Tue, 9 Jul 2013 15:18:17 +0000 (11:18 -0400)]
Adding 'careers', 'adults', 'hospital', 'childcare' to RESTRICTED_WORDS
Robert Call [Tue, 9 Jul 2013 13:57:41 +0000 (09:57 -0400)]
Update os-install.rst
Changed postgresql-server to postgresql-9.1
bobcall [Tue, 9 Jul 2013 13:19:44 +0000 (09:19 -0400)]
more fabfile changes
Seth Woodworth [Mon, 8 Jul 2013 19:20:48 +0000 (15:20 -0400)]
cleanup and comment sanitize script
Seth Woodworth [Mon, 8 Jul 2013 18:43:34 +0000 (14:43 -0400)]
adding a management command to santize schools from the usde database
bobcall [Wed, 3 Jul 2013 17:23:23 +0000 (13:23 -0400)]
Latest changes to fabfile.py and confs/prod/supervisord.conf
Seth Woodworth [Tue, 2 Jul 2013 20:48:44 +0000 (16:48 -0400)]
disabling Note.sanitize_html in gdrive processing as a workaround
Seth Woodworth [Tue, 2 Jul 2013 19:51:10 +0000 (12:51 -0700)]
Merge pull request #134 from FinalsClub/found4
Migration to Foundation v4
Seth Woodworth [Tue, 2 Jul 2013 19:43:49 +0000 (15:43 -0400)]
more changes to footer for foundation 4 migration
Seth Woodworth [Tue, 2 Jul 2013 19:31:30 +0000 (15:31 -0400)]
port site-wide footer to foundation 4
Seth Woodworth [Tue, 2 Jul 2013 19:19:04 +0000 (15:19 -0400)]
fix very-small view of dates on the frontpage for foundation
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
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
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
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
Seth Woodworth [Mon, 1 Jul 2013 21:57:50 +0000 (17:57 -0400)]
migrate add course form to foundation
Seth Woodworth [Mon, 1 Jul 2013 21:57:32 +0000 (17:57 -0400)]
migrate front page to foundation4, works on ipads
Seth Woodworth [Mon, 1 Jul 2013 21:56:30 +0000 (17:56 -0400)]
migrate about html and css to foundation4, working for iphones
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
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
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
bobcall [Mon, 1 Jul 2013 05:46:10 +0000 (01:46 -0400)]
indentation issue
bobcall [Mon, 1 Jul 2013 05:44:04 +0000 (01:44 -0400)]
Fixed syntax error and missing '--daemon'
bobcall [Mon, 1 Jul 2013 05:32:28 +0000 (01:32 -0400)]
Added the ability to start gunicorn
bobcall [Mon, 1 Jul 2013 00:46:51 +0000 (20:46 -0400)]
more changes to fab file
bobcall [Sun, 30 Jun 2013 18:58:52 +0000 (14:58 -0400)]
fleshed out fabfile, still needs work, but conceptually works
bobcall [Sat, 29 Jun 2013 11:08:31 +0000 (07:08 -0400)]
Added remote support and the ability to pull code
bobcall [Fri, 28 Jun 2013 22:14:40 +0000 (18:14 -0400)]
Added new fabfile.py to branch fabric
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
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
Seth Woodworth [Wed, 26 Jun 2013 20:34:12 +0000 (20:34 +0000)]
refactor functions out of gdrive
Seth Woodworth [Wed, 26 Jun 2013 20:33:00 +0000 (16:33 -0400)]
more tests for gdrive
Seth Woodworth [Wed, 26 Jun 2013 19:52:33 +0000 (15:52 -0400)]
remove ocr for ppt
Seth Woodworth [Wed, 26 Jun 2013 19:46:06 +0000 (15:46 -0400)]
adding some test changes to ppt handling for testing on beta
Seth Woodworth [Wed, 26 Jun 2013 17:15:14 +0000 (13:15 -0400)]
add amazon donation button to about page
Seth Woodworth [Wed, 26 Jun 2013 16:59:04 +0000 (12:59 -0400)]
make fontsizes smaller in school autocomplete to fit more schools
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
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
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
Seth Woodworth [Sat, 15 Jun 2013 00:41:11 +0000 (20:41 -0400)]
simplify and future proof pdf specific template variables
Seth Woodworth [Sat, 15 Jun 2013 00:40:19 +0000 (20:40 -0400)]
update url routes with nicer .format()ing
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