Commit graph

93 commits

Author SHA1 Message Date
b18bf9ff22 Merge branch 'ben/copyright-assignment' 2021-12-18 09:24:30 +11:00
8165b51f52 assignment: Fix typo noted by Pam. 2021-12-18 09:22:21 +11:00
127d5aa962 Fix URLconfs causing Django check warnings. 2021-12-17 18:14:50 +11:00
35f4f6d3ea Remove URL slash prefix. 2021-12-17 17:27:26 +11:00
be7bbf964c Remove unnecessary null=True on ManyToManyFields. 2021-12-17 17:25:38 +11:00
3021e0d326 assignment: Accept current date anywhere on earth. 2021-12-17 10:54:47 +11:00
ecdfd87ffb assignment: Apply further wording updates from Pam/Denver. 2021-12-17 09:53:13 +11:00
944a69c0e7 assignment: Allow today's date. 2021-12-11 11:29:13 +11:00
4355253e6c assignment: Fix period ends in email. 2021-12-11 10:25:57 +11:00
56bcbd1e00 assignment: Validate that end date is provided if you didn't choose open-ended. 2021-12-10 18:37:13 +11:00
d3f3074f38 assignment: Apply Denver's requested changes. 2021-12-10 11:33:37 +11:00
fbef5db8ce Fix validation. 2021-12-07 17:49:57 +11:00
2ef3d7638f Remove redundant call to super(). 2021-12-07 17:06:37 +11:00
58b38e93c2 Update the assignment form with feedback from Pam/Denver. 2021-12-07 16:55:45 +11:00
9bf3e2d03a Add assignment date range. 2021-12-07 09:59:40 +11:00
d71f38a457 Add migration. 2021-12-07 09:59:40 +11:00
6a27ad74fe Add assignment thanks page. 2021-12-07 09:59:38 +11:00
6e2fda8b01 Prototype copyright assignment form. 2021-12-07 09:58:47 +11:00
79169f3d86 Add missing forms.py. 2021-12-03 11:58:26 +11:00
9cad57457a Remove type annotation. 2021-12-03 11:43:01 +11:00
93fb48e3e3 Add simple CCS upload (no JavaScript). 2021-12-03 11:38:21 +11:00
ef02ed4052 Apply futurize --stage-2 Python 2/3 compatibility transformations.
These changes specifically require the use of the "future" library.
2021-11-30 07:55:45 +11:00
4ea27f1407 Add unique constraint to Staff.username.
Previously had some duplicates for "pono" which were causing
MultipleObjectsReturned errors. A username is generally considered to be unique.
2021-11-29 14:31:26 +11:00
4fe75a874f Add a missed "object" change. 2021-11-26 14:03:24 +11:00
49eff7af79 Apply "object" changes only from futurize --stage2. 2021-11-26 13:49:40 +11:00
a3626b18fb Apply futurize --stage1 (safe) Python 2/3 compatibility changes. 2021-11-26 13:00:20 +11:00
ab35f7b8f9 Move fundraising goal end times into database. 2021-11-19 17:56:44 +11:00
Bradley M. Kuhn
7f694b2bf9 Correct & update hard-coded domain names from legacy codebase. 2020-01-24 09:26:59 -08:00
Brett Smith
f23020f384 supporter banners: New page. 2018-12-17 16:15:11 -05:00
Brett Smith
4fd27245d6 fundgoal: Add provider convenience methods to FundraisingGoal. 2018-11-18 14:42:47 -05:00
Brett Smith
2461bc19b1 fundgoal: Remove unnecessary import. 2018-11-18 14:39:18 -05:00
Brett Smith
621ace8488 fundgoal: Add goal providers. 2018-11-18 14:39:18 -05:00
Brett Smith
e952e2b26a fundgoal: Start supporting migrations. 2018-11-18 14:39:18 -05:00
Brett Smith
3b2ed8397d blog/news: Add Open Graph metadata to entry pages.
This helps other social media sites generate nice previews for these pages.
2017-11-07 11:17:33 -05:00
Brett Smith
87961c6cee templatetags: Add fill_url.
This gives templates an easy way to generate full URLs using host_url.
2017-11-07 10:13:48 -05:00
Brett Smith
66dbfac066 Migrate RequestContext users to render() calls.
This was necessary because render_to_response no longer takes a
context_instance.  We were always using this to pass in a RequestContext,
which the render shortcut can already do, so switch to that.
2017-11-07 09:00:48 -05:00
Brett Smith
b2a006f49c urls: Migrate from patterns strings to plain lists of urls. 2017-11-07 09:00:48 -05:00
Brett Smith
0160f03c25 blog: Remove unnecessary kwargs manipulation from custom_index.
I don't know if this code is left over from previous versions or what, but
it's not doing anything now.  custom_index doesn't pass kwargs to anything
else, so there's no need to fiddle with the dict so much.
2017-02-03 11:02:33 -05:00
Brett Smith
8115cb27e2 blog: Fix variable name typo in views code. 2017-02-03 10:31:51 -05:00
Brett Smith
ce1b4b2528 Remove noop conservancy.context_processors imports.
You'll note this source doesn't exist in Git.
There's a reason for that.
2016-12-02 22:21:40 -05:00
Brett Smith
501b4b05fc supporter: Fix format string syntax error. 2016-12-02 15:15:49 -05:00
Brett Smith
4fa0f8343c supporter: Use proper float formatting for parameter validation. 2016-12-02 15:07:35 -05:00
Brett Smith
6fe13959a3 supporter: Support donors upgrading to supporters.
With a valid URL, a past donor can upgrade to a supporter by donating
the rest of the amount.  Django validates the data and, if it passes,
puts it in the form.  The JavaScript does most of the work from there.
2016-12-02 12:50:21 -05:00
Brett Smith
8fec6023e9 contractpatch: Add page. 2016-11-28 15:23:58 -05:00
Bradley M. Kuhn
d305f5103f Implement min filter. 2015-11-30 20:33:14 -08:00
Bradley M. Kuhn
99d3325e33 Create subtract filter. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
5c4cc1e2e1 Add sitefundgoal to top level view context.
The base template now has access to the fund-raising goal that will be
displayed site-wide.  The view here must provide it in the context for
access everywhere.

Furthermore, we need a local context processor to make sure it's in
context everywhere, and we have to make sure that context is properly
passed along.

This code is a bit cargo-culted in, based on what I read in various
places about adding the Request context.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
30b1a3d23d Correct attr in lookup as well. 2015-05-09 17:34:49 -07:00
Bradley M. Kuhn
97ab9c7541 Correct lookup of attribute. 2015-05-09 17:33:51 -07:00
Bradley M. Kuhn
4d4f520900 Correct keys to be the code name of the fundraiser 2015-05-09 17:31:47 -07:00