Commit Graph

5829 Commits (f725998dd83ee3f62958dcd47f418bd6f56b9439)

Author SHA1 Message Date
Raymond Yee 5d3c749a6a let's try creating settings/please.py with ansible 2016-11-29 16:24:31 -08:00
Raymond Yee cd1f2cc244 attempt to create settings/please.py via template 2016-11-29 15:46:11 -08:00
Raymond Yee 5369eb7f32 Merge pull request #649 from Gluejar/nojs-featured-book
add support for no javascript widget
2016-11-23 11:10:51 -08:00
Raymond Yee dba88ba6b3 Merge pull request #648 from Gluejar/doab-covers
Doab covers
2016-11-21 15:55:29 -08:00
Raymond Yee b7f2fb196c print current work and number of covers added so far 2016-11-21 15:51:26 -08:00
eric 19a091f331 add support for no javascript widget 2016-11-21 14:14:30 -05:00
eric 8a73ec6ecf management command to add missing 2016-11-18 13:47:26 -05:00
eric 671017fced pass edition to update_cover_doab 2016-11-18 13:28:59 -05:00
Raymond Yee 1b2109c57b found a way to loop over SECRET_KEYS in constructing the wsgi file -- need to parameterize the settings file. 2016-11-18 09:37:19 -08:00
Raymond Yee 31ddc6a0a9 forgot import os 2016-11-16 17:55:37 -08:00
Raymond Yee 16c78485ea try to build just and please with a setting coming from secrets.yml 2016-11-16 17:21:22 -08:00
Raymond Yee 2b82c6c786 testing templating 2016-11-15 21:02:36 -08:00
Raymond Yee 9e84a0bae9 for ansible 2.1.2, get rid of redundancy in specifying both pip executable and venv. 2016-11-15 15:37:45 -08:00
Raymond Yee 405af3b2e7 Merge pull request #646 from Gluejar/id-facets
Id facets
2016-11-14 11:21:40 -08:00
Raymond Yee cb7eb01786 Merge pull request #645 from Gluejar/fix-deprecation-warnings
Fix deprecation warnings
2016-11-14 10:15:38 -08:00
Raymond Yee 7ceaeba2cd Merge pull request #647 from Gluejar/fix-get-dump
Fix get dump
2016-11-14 07:58:40 -08:00
Raymond Yee 197eb5b628 add a line return to the .sh 2016-11-14 07:55:32 -08:00
Raymond Yee f27ebac6d7 gzip file in dump.sh 2016-11-14 07:52:50 -08:00
eric 59e92b8efc add facets for doab and gtbg 2016-11-10 16:21:57 -05:00
eric ab57985b33 expose gutenberg and doab status on work page
also, refactor id properties on work
2016-11-10 16:21:21 -05:00
eric c393740999 not sure when this slipped in 2016-11-09 16:21:31 -05:00
eric b252d0b7df fix block edit
issues:
1. IPAddressField is deprecated. We can change this without consequence
because the underlying field type is not changed.
2. New admin was not wired up.
3. There was a admin bug when one end of the block is zero.
2016-11-09 15:24:11 -05:00
eric a49be9e61f blank=True, not null=True 2016-11-09 14:55:37 -05:00
Raymond Yee 5572608b39 Merge pull request #641 from Gluejar/improve-doab-import
Improve doab import
2016-11-02 06:06:41 -07:00
eric 60e4994756 remove debugging prints 2016-11-01 13:42:40 -04:00
eric b82b51f358 forgot to re-enable error catching 2016-10-31 22:19:00 -04:00
Raymond Yee 32407a5866 Merge pull request #643 from Gluejar/fix-export-privs
allow filter to manage export access
2016-10-28 12:01:26 -07:00
eric 1c7df5e00e get rid of some loader issues 2016-10-28 14:40:16 -04:00
eric 83d9c7574f new data 2016-10-28 14:39:48 -04:00
Raymond Yee bf6271cde1 Merge pull request #644 from Gluejar/no-control-characters
Handle control characters
2016-10-28 10:45:19 -07:00
Raymond Yee 77e47821f4 a Jupyter notebook in which I've tried the utilities 2016-10-28 10:42:09 -07:00
eric 39cf8c9c0b fix load errors 2016-10-27 20:05:43 -04:00
Raymond Yee 39209c786e use doab.json from 569a7f3557 2016-10-26 11:09:40 -07:00
Raymond Yee 5e82fa81f0 committing doab.json from 441c203baa/doab.json 2016-10-24 10:00:58 -07:00
eric 8697aec989 management command to clean the db 2016-10-20 15:25:09 -04:00
eric d95f81030f add sanitization code to edition form 2016-10-20 15:24:47 -04:00
eric 53d98aff21 allow filter to manage access
the "answer_filter" should limit the scope of answers the user can see.
(just answers for books the user has permission to manage) so the
questionnaire.export permission is only needed for users who need to
see answers for all books.
2016-10-18 23:07:58 -04:00
Raymond Yee 670e13f738 Merge pull request #642 from Gluejar/fix-survey-export
add distinct.
2016-10-17 12:48:02 -07:00
eric e31163164a add distinct.
Needed to test this with multiple landings configured.
2016-10-17 13:37:22 -04:00
eric 182887fdc2 remove async option 2016-10-12 16:19:43 -04:00
eric 167c7fc60a update doab loader 2016-10-12 16:07:54 -04:00
eric d4f47b2a5e handle age_level in merge_works 2016-10-12 13:55:27 -04:00
Raymond Yee 0ecff249cc Merge pull request #640 from Gluejar/harden-opds
work might not have an ebook
2016-10-12 09:38:20 -07:00
Raymond Yee 7180da1f9d I think checking whether updated is None is a bit clearer...other, updated might look like a boolean. 2016-10-12 09:34:46 -07:00
eric a73720daab work might not have an ebook 2016-10-12 11:01:30 -04:00
Raymond Yee 724f6f112e Merge pull request #639 from Gluejar/fix-upload-doi
fix two form bugs
2016-10-11 14:02:32 -07:00
eric 3ac7769656 move doab.py into loaders 2016-10-11 15:46:03 -04:00
Raymond Yee 9a15a1c832 Merge pull request #638 from Gluejar/questionnaire_export
Questionnaire export
2016-10-11 08:26:03 -07:00
Raymond Yee f7338f2276 delete core/models.py because we already have core/__init__.py 2016-10-10 15:07:14 -07:00
eric 41d8f53268 fix two form bugs
1. fix doi regexp
2. supress validation error when file is uploaded, not url
2016-10-05 18:02:03 -04:00