e3e9493944
Merge branch 'ben/copyright-assignment'
2021-12-18 09:24:30 +11:00
9b7e412a40
assignment: Fix typo noted by Pam.
2021-12-18 09:22:21 +11:00
b2e952f3b8
Fix URLconfs causing Django check warnings.
2021-12-17 18:14:50 +11:00
97899caf78
Remove URL slash prefix.
2021-12-17 17:27:26 +11:00
e9df3a0d7e
Remove unnecessary null=True on ManyToManyFields.
2021-12-17 17:25:38 +11:00
7374c9f915
assignment: Accept current date anywhere on earth.
2021-12-17 10:54:47 +11:00
6e380dba29
assignment: Apply further wording updates from Pam/Denver.
2021-12-17 09:53:13 +11:00
26ac00e864
assignment: Allow today's date.
2021-12-11 11:29:13 +11:00
c9a76ea17f
assignment: Fix period ends in email.
2021-12-11 10:25:57 +11:00
b0263491a0
assignment: Validate that end date is provided if you didn't choose open-ended.
2021-12-10 18:37:13 +11:00
530890f6ad
assignment: Apply Denver's requested changes.
2021-12-10 11:33:37 +11:00
c6b329f0cf
Fix validation.
2021-12-07 17:49:57 +11:00
3272a25a8d
Remove redundant call to super().
2021-12-07 17:06:37 +11:00
0565f9b308
Update the assignment form with feedback from Pam/Denver.
2021-12-07 16:55:45 +11:00
2b1fd9ab90
Add assignment date range.
2021-12-07 09:59:40 +11:00
e1481ce55e
Add migration.
2021-12-07 09:59:40 +11:00
780e0b8dbf
Add assignment thanks page.
2021-12-07 09:59:38 +11:00
a2675ee029
Prototype copyright assignment form.
2021-12-07 09:58:47 +11:00
2a1e00eee2
Add missing forms.py.
2021-12-03 11:58:26 +11:00
889dbcf38c
Remove type annotation.
2021-12-03 11:43:01 +11:00
9a06def0e7
Add simple CCS upload (no JavaScript).
2021-12-03 11:38:21 +11:00
2d078b0004
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
457e5739f7
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
7b981fcb52
Add a missed "object" change.
2021-11-26 14:03:24 +11:00
31e51a7742
Apply "object" changes only from futurize --stage2
.
2021-11-26 13:49:40 +11:00
05bee8b3c3
Apply futurize --stage1
(safe) Python 2/3 compatibility changes.
2021-11-26 13:00:20 +11:00
1ddcb2e4ba
Move fundraising goal end times into database.
2021-11-19 17:56:44 +11:00
Bradley M. Kuhn
c564f15511
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