eric
0b91017dd5
Did what edso told me not to do- re-architected db to use generic ids
2012-01-09 13:55:22 -05:00
eric
eeb594588e
Merge branch 'master' into generic_id
2012-01-07 17:46:29 -05:00
Raymond Yee
eb147b3cd4
Added support for incomplete and completed payments in the PaymentManger query function
2012-01-03 14:49:37 -05:00
Raymond Yee
7c018687d0
Add a simple comment to list the possible states of a Campaign
2012-01-03 10:20:17 -05:00
eric
e1cc56a163
added Identifier model
2012-01-02 17:22:25 -05:00
Andromeda Yelton
fb6d715429
user now sees pledged indicator rather than remove-wishlist option for pledged works
2012-01-02 10:59:00 -05:00
eric
9d6066c929
catch IndexErrors to fix HermanCain bug; there is a work with zero editions
2011-12-31 13:48:54 -05:00
Ed Summers
6952cbde52
require googlebooks_id to be unique on Edition. this may cause errors to pop up elsewhere when we have a race to add an edition
2011-12-20 12:57:17 -05:00
eric
f81a4e8e6d
removed isbn_10 column and fixed many isbn13 non-compliance issues
...
apply migrations!
2011-12-19 23:26:55 -05:00
Ed Summers
2417886169
removing 0014_populate_subjects migration since it is problematic to run with South ORM, instead have people run add_openlibrary management command
2011-12-19 02:20:24 -05:00
Ed Summers
55656e2d3d
now getting subjects from openlibrary instead of from googlebooks. You will need to APPLY MIGRATIONS!
2011-12-19 01:33:13 -05:00
eric
7bfc4849a4
added a column to track amount remaining on a campaign; updated by the Transaction change signal
2011-12-14 00:53:03 -05:00
eric
10ed085c29
corrected percent calculation in work.percent_unglued
2011-12-14 00:53:03 -05:00
eric
deabe01385
moved as-yet unsaid campaign actions into their own table. Apply migrations!
2011-12-13 16:24:56 -05:00
Ed Summers
e8339697f6
works are mono-lingual now. language is now a property of Work instead of Edition. YOU WILL NEED TO APPLY MIGRATIONS!
2011-12-13 09:55:26 -05:00
eric
5695aea5da
restored missing "through" to model
2011-12-09 08:07:44 -05:00
eric
167dccf574
Wishlists are now filled using the Wishes intermediate table. It's named the same as previous intermediate table, and I've edited the migration so data is not lost.
...
Also, I've added methods od Wishlists to add and remove Works. There
are "source" and created columns on the Wishes table
2011-12-08 18:22:20 -05:00
eric
e603f5a3c6
updated tests to match new campaign model
2011-12-06 10:36:20 -05:00
eric
b2eda1f562
added status column to Campaign model, wrote a South data migration
...
As always, it's not a bad idea to backup you database before doing a
migration!
2011-12-06 10:36:20 -05:00
Ed Summers
411a254ee6
got librarything, goodreads and openlibrary links working when ids are available, with fallbacks to isbn routing and canned search urls
2011-12-05 00:56:24 -05:00
Ed Summers
1d1a8e16ed
order wishlist results alphabetically
2011-12-03 18:04:53 -05:00
Ed Summers
641e4904d9
link to googlebooks
2011-12-02 23:07:55 -05:00
Ed Summers
5a02fb4ec5
persist goodreads and librarything identifiers when loading wishlists from there
2011-12-02 22:16:11 -05:00
Raymond Yee
b8cebfa0dd
Refining the interaction of Premium choice and pledge amount
2011-11-30 08:58:26 -08:00
eric
1fc644aacd
implemented a minimum campaign term; other campaign management tweaks
2011-11-29 10:48:37 -05:00
eric
d5bae40c00
refactored launchable into campaign model. fixed date camparison bug. moved target and deadline limits to settings file
2011-11-23 21:41:06 -05:00
Andromeda Yelton
14a008421d
refactored search.html to use book_panel.html. required altering labels of some data sources so that they have the same names when they hit book_panel regardless of where it's included from
2011-11-23 12:28:59 -05:00
Raymond Yee
5512f221db
I think we need to change _last_change to something like _last_change_ so that the variable doesn't alreay exist in Work. Also return None if there are no campaigns.
2011-11-22 12:55:05 -08:00
eric
43d3f3f553
halfway through implementation of campaign management. can't launch campaigns yet. migrate schemas!
2011-11-20 22:23:51 -05:00
eric
1189ab02c4
switched to using is_staff set by django admin to determine website "staff" (also fixed a bug from last commit)
2011-11-20 14:22:51 -05:00
eric
a6bf130b24
Andromeda von Rightsholder can now open campaigns from her rightsholder tools page; apply migrations!
2011-11-19 21:22:54 -05:00
Ed Summers
b798ef9912
added __unicode__ for wishlist
2011-11-19 12:07:44 -05:00
Ed Summers
7dd821fccb
enabling admin, and added created column on models that did not have them
2011-11-19 11:55:35 -05:00
Ed Summers
bb4bf65a9d
disable admin until we can figure out why it overrides /accounts/password/change/
2011-11-18 17:03:52 -05:00
Ed Summers
9d43fd89a5
need to add as a list
2011-11-18 16:40:31 -05:00
Ed Summers
8c92495a03
trying to enable some more models in admin
2011-11-18 16:26:13 -05:00
Ed Summers
267d3c5aef
tried to speed up some queries
2011-11-17 22:11:40 -05:00
eric
a720089525
unglue it admin users can now approve rightsholder claims!
2011-11-17 14:35:41 -05:00
eric
d5a2b88768
Awesome Unglue.it Administration page added; will require a migration to add claim status
2011-11-16 14:45:37 -05:00
eric
2cc4d718a1
Added claim list on rh-tools. omitted claim display for non-rightsholders. fixed related name on claim model
2011-11-16 12:20:19 -05:00
eric
354b46085f
Approved rights holders get a claim form on work pages; still need to make a view that does the actual claiming
2011-11-15 18:20:29 -05:00
Raymond Yee
20b0ede3fc
make the function_args nullable in the model for CeleryTask
2011-11-15 13:35:50 -08:00
Raymond Yee
45f58ae955
Merge branch 'master' of github.com:Gluejar/regluit into goodreads
...
Conflicts:
frontend/urls.py
2011-11-15 10:37:19 -08:00
eric
5211e774a8
fixed librarything username length. migrate your schemas!
2011-11-14 10:17:31 -05:00
eric
db3163b01b
added twitter account association and profile image acquisiton
...
also added goodreads association url to UI for good measure
2011-11-12 16:36:31 -05:00
eric
f2ecff619f
added pic_url to user profile. migrate your schemas! connect to facebook adds your facebook profile pic
2011-11-12 15:02:47 -05:00
eric
2e00f6bbd0
added facebook association
2011-11-12 13:58:31 -05:00
eric
bc3b8333b6
added librarything_id and facebook_id to profile model, wired to supporter template; started faq
2011-11-11 22:51:22 -05:00
Ed Summers
08053cc4ba
added my goodreads api key for please.unglueit.com
2011-11-11 17:33:58 -05:00
Raymond Yee
374196d763
Refined model for CeleryTask
2011-11-10 09:33:22 -08:00
Raymond Yee
a959d00508
Experiments with creating tasks and seeing how to manage them, especially how to create a custom state to track status of tasks.
2011-11-09 17:31:31 -08:00
Andromeda Yelton
2b063e78d1
merge conflicts
2011-11-07 16:16:36 -05:00
Andromeda Yelton
abf3ec131e
wiring supporter and search icons and percent unglued to live data
2011-11-07 16:12:53 -05:00
eric
b644b062de
added models for Claim and Rightsholder - be sure to migrate!
2011-11-07 15:42:03 -05:00
Ed Summers
110b996769
added logic to display ebooks, badly for now
2011-11-07 15:39:02 -05:00
Ed Summers
45045b4e44
Merge branch 'master' of github.com:Gluejar/regluit
2011-11-06 16:33:17 -05:00
Ed Summers
22d904f1bf
added ebook model and add_b_oclc
2011-11-06 16:33:04 -05:00
Andromeda Yelton
96a3039434
fixing bugs resulting from am addition of last_campaign method
2011-11-06 15:24:16 -05:00
Ed Summers
dcc87644ab
jiggering things around so that the premium fixture works
2011-11-06 14:58:51 -05:00
Raymond Yee
be44e36c61
Another syntax error fixed
2011-11-06 14:43:10 -05:00
Raymond Yee
02de354ae2
syntax error fix
2011-11-06 14:41:14 -05:00
thatandromeda
6e81dce947
we need both last_campaign and last_campaign_status after all; template can't handle all the logic for status in event of last_campaign = None
2011-11-06 14:31:08 -05:00
thatandromeda
773789dc99
percent_unglued function should handle case where last_campaign returns None
2011-11-06 14:24:54 -05:00
thatandromeda
c1db972208
last_campaign should return None when there's no campaign rather than a string of text only relevant in one place
2011-11-06 14:16:29 -05:00
eric
92b91d2dbe
model for premiums
2011-11-06 14:04:39 -05:00
Andromeda Yelton
f428634bf7
adding campaign page with live data; working on ability to switch between list and panel views on supporter page
2011-11-06 14:02:29 -05:00
Andromeda Yelton
2dcf1dfbee
Merge branch 'master' of github.com:Gluejar/regluit
2011-11-03 16:30:36 -04:00
Andromeda Yelton
2c6a7e6f94
book panel view of supporter page now half-done; visible at /supporter2/username
2011-11-03 16:28:53 -04:00
Raymond Yee
ed4ea516c2
Storing goodreads info in user.profile
2011-10-29 15:40:00 -07:00
Raymond Yee
a4dd33b047
Displaying some of the books from user shelf.
2011-10-25 16:07:44 -07:00
Raymond Yee
260a8ffa4d
Merge branch 'master' of github.com:Gluejar/regluit into goodreads
2011-10-25 07:11:50 -07:00
eric
559ff63aa3
added homepage url and twitter id to user profile model and form; reverted signalling
...
relying on signals to ensure that there's always a profile record
turned out to be a bad idea; django social auth signals are poorly
architected for this; and so it doesn't work. Catching exceptions
worked just fine, so I went back to that. Homepage and twitter buttons
now show only if they've been entered in settings. Twitter handle works
with or without '@' entered.
2011-10-24 23:32:32 -04:00
Raymond Yee
809517e99a
Ooops...forgot other files I had actually changed.
2011-10-24 18:29:01 -07:00
Andromeda Yelton
246924c03f
still merging changes after internet librarian
2011-10-21 15:35:31 -04:00
Andromeda Yelton
c7a760b4d3
added last campaign method to Work class to help with status display in frontend
2011-10-21 14:47:23 -04:00
Andromeda Yelton
e41e1e7b6d
just merging my local codebase post-internet librarian...
2011-10-21 12:51:07 -04:00
Ed Summers
0c1411f2e8
added celery async task for add_related that gets exercised when a book is added to a wishlist. includes new settings for the djkombu celery backend
2011-10-19 23:31:16 -04:00
Raymond Yee
0d21e77fd3
Merge branch 'master' of github.com:Gluejar/regluit into payment_integration
2011-10-17 07:23:59 -07:00
Ed Summers
491914a531
trying to fix campaign constraints with a migration
2011-10-14 19:37:22 +00:00
Raymond Yee
d79b228d39
Merge branch 'master' of github.com:Gluejar/regluit into payment_integration
...
Conflicts:
core/tests.py
2011-10-14 07:42:33 -07:00
thatandromeda
b045f9388a
typo fix
2011-10-14 11:28:41 -03:00
Ed Summers
93404d42ff
when a user views another users contributor page, works they already have on their wishlist show up that way instead of as "add to wishlist"
2011-10-14 14:18:38 +00:00
Andromeda Yelton
a468012270
created methods to allow front end to see last campaign and percent unglued
2011-10-14 09:43:30 -04:00
Ed Summers
ffe84fa46a
got bookloader.add_related working w/ some tests. also added Edition.language because it looks like it will be useful to know.
2011-10-14 00:02:19 -04:00
Raymond Yee
319906774c
Merge branch 'master' of github.com:Gluejar/regluit into payment_integration
2011-10-13 14:25:51 -07:00
Raymond Yee
c0bd998732
First attempt to write out transactions associated with Campaign
2011-10-13 10:28:23 -07:00
Andromeda Yelton
da905147d9
added related_name to UserProfile to facilitate display of profile info
2011-10-13 12:22:38 -04:00
Ed Summers
5e9439b965
reduced number of queries needed when displaying when a book is already on a user wishlist
2011-10-10 18:08:53 -04:00
Ed Summers
1b54ba5f6b
make sure there are some hits when adding a book by isbn
2011-10-10 17:26:38 -04:00
Raymond Yee
67a5731592
I had forgotten the migrations for fields to support Campaign.status -- they are included here.
...
Now, Campaign.current_total is a property holding current amount of $ pledged/authorized.
2011-10-10 13:56:53 -07:00
Ed Summers
461d813f6a
Merge branch 'master' of github.com:Gluejar/regluit
2011-10-10 20:40:28 +00:00
Ed Summers
89277a5e34
use textfield instead of charfield(10000) since Amazon RDS does not like them
2011-10-10 20:40:19 +00:00
Raymond Yee
ca2fc9afdc
I've wrapped Campaign.status with a property decorator -- access campaign status as campaign.status not campaign.status() now.
2011-10-10 13:35:22 -07:00
Ed Summers
c0f4ad11c3
merged upstream changes
2011-10-10 13:09:00 -04:00
Ed Summers
70a620b27f
moved to using googlebooks api for data. required moving authors and subjects to be associated to editions, since we google books does not have a notion of a work
2011-10-10 12:57:10 -04:00
Ed Summers
90859811a9
simplified some things since the database schema does not allow for campaigns that lack a name, description or work
2011-10-09 14:27:27 -04:00
Raymond Yee
711546f414
First pass at incorporating status into Campaign
2011-10-07 20:11:57 -07:00
Raymond Yee
68b94f768f
Changes in progress to the model
2011-10-07 14:17:54 -07:00
Raymond Yee
d67d77a9a0
Changed currency amounts to DecimalField in core and payment
...
Added south migrations to payment
Changed print statements to logger.info in payment
Added primitive paymentcomplete page in payment
2011-10-05 17:56:20 -07:00
eric
a4344e0afa
didn't need django-profiles at all, Sorry!
2011-10-03 17:39:54 -04:00
eric
73c4ebde29
allow username setting and tagline in profile
...
started work on user profiles, with "tagline" field
the first a user signs in this google, they are redirected to a page
where they can set their username
2011-10-03 12:36:22 -04:00
Ed Summers
76e3b193d7
fixed failing tests related to interplay between django_extensions and south
2011-09-29 21:57:12 -04:00
Ed Summers
409df080ce
got search passably working and a somewhat functional ajax add to list
2011-09-29 02:23:50 -04:00
Ed Summers
f8095e9513
added and used Campaign.cover_image_small
2011-09-27 09:27:47 +00:00
Ed Summers
6d6af629f4
added some api unit tests
2011-09-15 22:05:47 -04:00
Ed Summers
7720a73fb0
beginnings of a user wishlist display...
2011-09-12 01:53:54 -04:00
Ed Summers
67ef77a757
added management command to create random campaigns for any works that lack a campaign
2011-09-12 00:04:22 -04:00
Ed Summers
1b5472f819
extra space
2011-09-10 11:41:36 +00:00
Ed Summers
2c7f858125
handle duplicates using openlibrary ids for edition, work and author
2011-09-10 11:36:38 +00:00
Ed Summers
c30d37064d
fall back to isbn-13 lookup on open library if isbn-10 is not there
2011-09-09 18:27:29 +00:00
Ed Summers
0f5ff789ff
lots of changes to support dynamically loading from openlibrary based on an isbn...which still needs some work to prevent duplication
2011-09-09 01:38:28 -04:00
Ed Summers
0ce0369792
small style changes, and signal to update email if available from facebook
2011-09-06 03:50:38 +00:00
Ed Summers
79f9f88213
added wishlist model, and a simplistic module books.py for looking up books by isbn at googlebooks and openlibrary
2011-09-02 00:10:54 -04:00
Ed Summers
139a866bf6
setup api, core and frontend apps, also added initial homepage template from stefan
2011-08-30 23:46:55 -04:00