Commit Graph

5290 Commits (b4a15304e961cf6ab6177d791ea2daa448f91d2d)

Author SHA1 Message Date
Raymond Yee b4a15304e9 ready for a review of this webhook (or push to just.unglue.it to test) 2016-02-23 10:32:51 -08:00
Raymond Yee b72f91862c in process of cleaning up webhook code 2016-02-22 15:03:07 -08:00
Raymond Yee e89af403c3 Merge branch 'master' into travis_webhook 2016-02-22 14:24:10 -08:00
Raymond Yee f4105faccd in progress: working on extracting repository owner and name from the data instead of from headers. (not working yet) 2016-02-22 14:15:24 -08:00
eshellman 5889c66c05 Merge pull request #549 from Gluejar/load_from_yaml_ebook
[#113378215] prevent a duplicate ebooks with exact same metadata by  /api/loader/yaml
2016-02-22 16:36:31 -05:00
Raymond Yee ca43d47397 current progress on webhook 2016-02-22 07:24:59 -08:00
Raymond Yee fb9a2bcd04 skeleton for /api/travisci/webhook 2016-02-18 11:37:35 -08:00
Raymond Yee f9320c6279 recognize that get_or_create returns (ebook, created) in load_from_yaml 2016-02-10 16:23:58 -08:00
Raymond Yee 45cb7d4eac [#113378215] prevent a duplicate ebooks with exact same metadata from being created by /api/loader/yaml
add dedupe_ebooks_with_same_urls.py command for deleting duplicate ebooks
2016-02-10 11:04:06 -08:00
Raymond Yee 4792d03920 Merge pull request #547 from Gluejar/another-pubname-fix
Make pubname and authname unique
2016-01-28 21:59:17 -08:00
Raymond Yee 8cdc5f0d4b Merge pull request #548 from Gluejar/se-update
update to the latest version of selenium
2016-01-28 21:46:54 -08:00
Raymond Yee 72fc7d2981 update to the latest version of selenium and add some delays to help Selenium script run 2016-01-28 20:24:53 -08:00
eric a575de59b6 make pubname and authname unique 2016-01-25 14:08:37 -05:00
eric 2b100ece61 fix pub_id not integet 2016-01-25 13:29:18 -05:00
Raymond Yee 770eeeb0c7 Merge pull request #546 from Gluejar/opds-nit
slash on namespace
2016-01-21 15:05:18 -08:00
eric 573638e23a slash on namespace 2016-01-21 18:03:31 -05:00
Raymond Yee bf8e385cb1 Merge pull request #545 from Gluejar/improve-opds
Improve opds
2016-01-20 17:19:31 -08:00
eric 51f5ac990b fix test 2016-01-19 20:53:55 -05:00
Raymond Yee ef82ff36b5 Merge pull request #544 from Gluejar/update-selenium
update version of selenium
2016-01-19 16:10:05 -08:00
Raymond Yee 310ab01b84 update version of selenium 2016-01-19 16:09:13 -08:00
eric f33cd6e487 revamp sitemap priority, add to opds 2016-01-19 17:28:45 -05:00
eric 21d00f0020 qualify acq link relation in opds 2016-01-19 17:28:05 -05:00
Raymond Yee e0e0b0ac55 Merge pull request #543 from Gluejar/duplicate-pubnames
Duplicate pubnames
2016-01-19 14:28:01 -08:00
eric 561ae6b94a handle the exception 2016-01-18 10:13:43 -05:00
eric 4dc4e2d898 add test to reproduce duplicate pubname
Unglue.it error on January 11, 2016 at 5:02 AM:
Traceback (most recent call last):

 File
"/opt/regluit/ENV/local/lib/python2.7/site-packages/django/core/handlers
/base.py", line 109, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/opt/regluit/frontend/views.py", line 795, in googlebooks
   edition = bookloader.add_by_googlebooks_id(googlebooks_id)

 File "/opt/regluit/core/bookloader.py", line 343, in
add_by_googlebooks_id
   e.set_publisher(d.get('publisher'))

 File "/opt/regluit/core/models.py", line 1827, in set_publisher
   pub_name = PublisherName.objects.get(name=publisher_name)

 File
"/opt/regluit/ENV/local/lib/python2.7/site-packages/django/db/models/man
ager.py", line 131, in get
   return self.get_query_set().get(*args, **kwargs)

 File
"/opt/regluit/ENV/local/lib/python2.7/site-packages/django/db/models/que
ry.py", line 368, in get
   % (self.model._meta.object_name, num, kwargs))

MultipleObjectsReturned: get() returned more than one PublisherName --
it returned 2! Lookup parameters were {'name': u'North-Holland'}
2016-01-18 10:08:58 -05:00
eric 3d3a90941a switch to obscure book for tests 2016-01-18 09:59:52 -05:00
Raymond Yee 72a77e5879 Merge pull request #541 from Gluejar/freeisbn
Freeisbn
2015-12-19 17:23:32 -05:00
Raymond Yee bac02db88a Merge pull request #540 from Gluejar/missing-work-title
fixed work title in templates
2015-12-19 15:32:17 -05:00
Raymond Yee c662da6a32 Merge pull request #538 from Gluejar/fix-merge-ui
Fix merge ui
2015-12-19 15:04:09 -05:00
Raymond Yee 5769c748ba Merge pull request #542 from Gluejar/fix_merge_test
fix failing http://jenkins.unglueit.com/view/All/job/regluit/3436/
2015-12-19 14:12:30 -05:00
Raymond Yee 65b0ded78b fix failing http://jenkins.unglueit.com/view/All/job/regluit/3436/console -- Google books api data change 2015-12-19 14:10:51 -05:00
eric 3de19922c6 more explanation of freeISBN 2015-12-19 13:21:40 -05:00
eric 6c49cd7828 more unused 2015-12-19 13:12:21 -05:00
eric 2ddaea70e0 unused 2015-12-19 13:08:20 -05:00
eric 128883c36e improve api documentation 2015-12-18 20:59:37 -05:00
eric 7efa73697b add freeisbn resource 2015-12-18 20:21:28 -05:00
eric 174f2f076d remove cruft 2015-12-18 20:01:22 -05:00
eric ff5263c185 fix at the core 2015-12-18 14:28:49 -05:00
eric 91d783d6e4 one more 2015-12-18 12:56:14 -05:00
eric a52f7a9ec5 fixed work title in templates
at some point we changed work.__unicode__ causing this issue
2015-12-18 12:53:12 -05:00
eric 2c48bb0547 Mmm, we made the api before thinking privacy 2015-12-18 12:10:59 -05:00
Raymond Yee b687842979 Merge pull request #539 from Gluejar/edit-link-permission
fix edit permissions
2015-12-17 08:07:13 -08:00
eric 5f07c4d87f fix edit permissions
we were letting rightsholders create editions but not edit them, and
the display of the link didn't match the edit permission. now
rightsholders can edit any edition for any work not in a campaign
2015-12-17 10:29:35 -05:00
eric a35c39b96f supply a value for the work selectable
fixes a problem, but I'm mystified why this problem appeared. perhaps
we redefined work.__unicode__() ?
2015-12-14 12:03:38 -05:00
eric deb6fcc322 use local version of ui-lightness css uniformly
this is not fixing a bug, just making the invocation uniform accross
the site.
2015-12-14 11:52:41 -05:00
Raymond Yee 38b16f4f0f Merge pull request #537 from Gluejar/fix-yesterday-users
a little bug I recently noticed
2015-12-08 08:28:24 -08:00
eric 9086cd77ec I little bug I recently noticed 2015-12-08 11:02:26 -05:00
Raymond Yee c316ab2464 Merge pull request #536 from Gluejar/tweaks
Tweaks
2015-11-25 15:22:58 -08:00
eric a9d7608128 update last changed 2015-11-25 15:46:42 -05:00
Raymond Yee 3562c09019 Merge pull request #535 from Gluejar/tweaks
Tweaks
2015-11-18 14:54:49 -08:00