Commit Graph

1124 Commits (6c1b14c3ccdff40285208f46cba2b93fb39dcc51)

Author SHA1 Message Date
Raymond Yee a9d4a71912 fixed an incorrect reference, uncovered by the tests! 2015-02-03 15:41:38 -08:00
eric 53b62642cd more idiomatic increment 2015-02-02 13:31:10 -05:00
eric c714de0d67 also for doab records 2015-01-30 11:39:48 -05:00
eric 7cb0f473de remove many-commas subjects, prevent their addition 2015-01-30 11:33:22 -05:00
Raymond Yee 32ec6b0a03 Merge pull request #449 from Gluejar/improve_gifts
Improve gifts
2015-01-28 11:59:27 -08:00
eric ea5adba871 add notifications for unredeemed gifts 2015-01-23 13:11:19 -05:00
Raymond Yee 61c0de3fbc add a command to delete subjects with non-xml characters 2015-01-22 15:48:04 -08:00
eric aa14bcb5c9 fix github matcher 2015-01-19 12:10:07 -05:00
Raymond Yee 1be246586c Merge pull request #443 from Gluejar/edit_kw
Edit kw
2015-01-16 09:17:11 -08:00
eric 154701bea5 show most common keywords first 2015-01-16 08:56:36 -05:00
Raymond Yee 50fae7d544 Running into validation problems with OPDS because "image/image" mime-type for
urls like https://github.com/Gluejar/open_access_ebooks_ebook/blob/master/open_access_ebooks/EPUB/cover.120.jpg?raw=true

Fix by looking at the ending of the path of a url, not the fragement, parameter, or query string
2015-01-14 18:29:17 -08:00
eric 4f0cc87b48 temp add kw 2015-01-14 15:07:54 -05:00
eric ea4e489213 fix the odds implementation of kw facet
mostly, fixing missing url encoding
2015-01-12 12:03:47 -05:00
Raymond Yee 134988f082 modify migration to handle situation in which a subject does not exist (e.g., Selenium tests) 2015-01-11 12:44:31 -08:00
Raymond Yee 684c518324 add comments to clarify intention of parts of facets.py, based on Eric's answers to Raymond's questions 2015-01-11 12:18:30 -08:00
eric 62daa67880 coming together! (needs migration) 2015-01-09 17:05:34 -05:00
Raymond Yee f08c721d2e Merge pull request #434 from Gluejar/give_btu
Give btu updates: gift table revamp, add gift admin
2014-12-22 15:31:50 -05:00
eric 5e4b7a7b89 fix wrong field type in model 2014-12-22 13:49:39 -05:00
eric 6fc3eb8703 turns out we can't send notifications to inactive accounts
I had intended that gift redemption would activate the account, but
that doesn't work. Need to figure out the downside to having unverified
active accounts.
2014-12-22 13:24:22 -05:00
Raymond Yee 642653c4f8 Merge pull request #433 from Gluejar/give_btu
bug fix in give_btu
2014-12-22 11:50:18 -05:00
eric c85fd340d8 how did that sneak through? 2014-12-22 11:47:34 -05:00
Raymond Yee 05686ffaec Merge pull request #432 from Gluejar/give_btu
Give btu updates
2014-12-22 09:04:08 -05:00
eric ae208286f0 handle case of double gifts
also make gift redemption experience uniform
2014-12-21 16:02:02 -05:00
Raymond Yee 20c3ffe12e Merge pull request #430 from Gluejar/give_btu
As requested by Eric, I'm now going to do the merge to get this PR on just.  Then I'll test downloads.  Noting the current commit on master in case we need to revert: 25dcb06f46
2014-12-20 15:42:00 -05:00
eric 5719f7f90c forgot to actually test the code 2014-12-20 13:14:05 -05:00
eric b01562b630 Properly handle gifts to existing users 2014-12-20 12:47:15 -05:00
eric f18acfc091 notify the giver when the gift is redeemed
migration needed
2014-12-19 15:13:54 -05:00
eric 2c44a29aa7 regifting 2014-12-18 13:37:28 -05:00
eric 1c651f2458 everything more or less works except resifting 2014-12-18 01:07:59 -05:00
eric 41163d81a2 purchase and provisioning the gift 2014-12-16 14:18:51 -05:00
Raymond Yee ac39075ccd a comment to explain logic of reset_free_flag 2014-12-15 11:46:59 -08:00
eric 7b5174aca6 ui and model for buy as a gift 2014-12-15 00:56:08 -05:00
eric be0ab46872 use is_free in query sets 2014-12-14 10:00:10 -05:00
eric b54b21fdfe keep is_free up to date 2014-12-13 12:37:35 -05:00
eric c9270b154a Merge branch 'master' into free_flag 2014-12-13 11:55:02 -05:00
Raymond Yee 19dd7eadcb Merge pull request #425 from Gluejar/opds_facets
Opds facets [deliver #82001456]
2014-12-12 11:42:04 -08:00
eric 7ceaffd124 add is_free flag 2014-12-11 23:01:13 -05:00
Raymond Yee 6c824e38af Added another clarifying comment 2014-12-11 14:34:04 -08:00
Raymond Yee f24478d641 Add a comment to explain logic KeywordFacetGroup.has_facet in response to explanation in https://github.com/Gluejar/regluit/pull/427#discussion_r21712785 2014-12-11 14:08:19 -08:00
eric 8c9bccc1f0 keyword facets!
for example, /free/kw.Fiction/
2014-12-10 17:14:28 -05:00
Raymond Yee e76b1feccc Merge branch 'master' into opds_facets 2014-12-08 16:06:44 -08:00
Raymond Yee f7b796c6a6 Merge pull request #421 from Gluejar/facets
Facets [deliver #70680500]
2014-12-08 15:21:49 -08:00
Raymond Yee 95958847ed Since http://jenkins.unglueit.com/job/regluit/2912/console, the cover images from Google Books api are now starting with http and not https, which is strange.
This fix allows the test to pass for http or https book covers
2014-12-08 10:09:05 -08:00
eric badf8e4b0e bring back descriptions, use them 2014-12-05 20:38:08 -05:00
eric ab6eb0eed5 revise the top level feeds 2014-12-05 20:37:51 -05:00
eric 5246bd1a1c add new facet machinery to olds 2014-12-05 18:38:04 -05:00
eric 70d4506365 move path parsing to facets 2014-12-05 18:36:45 -05:00
eric f689bcf6bd I learned something 2014-12-05 09:39:48 -05:00
Raymond Yee 0e3b0468c3 rewrite some classes in facets.py to use instance variables instead of class variables...will matter if we have more than one Facet/FacetGroup at a time 2014-12-04 14:40:30 -08:00
eric 08408dae79 adjust display for ebook rights form 2014-12-03 13:25:01 -05:00