Commit graph

106 commits

Author SHA1 Message Date
7f7be02379 Switch to relative imports
The relative imports make it clearer what code is within the project and where
it's coming from.
2023-10-20 09:45:53 +11:00
60ae457e45 assignment: Prevent unhandled error when fields not provided
This typically happens when a bot is submitting the form. This should be a
validation error rather than an unhandled exception.
2023-10-19 11:52:04 +11:00
b59f9c60a5 Add support for Debian Bookworm 2023-09-13 13:33:27 +10:00
8058d768fb Add support for Debian Bullseye
Added `on_delete` attributes, updated ForceCanonicalHostnameMiddleware for
compatibility and added Dockerfile for Bullseye.
2023-09-12 10:59:45 +10:00
82d513b5b7 Apply pyupgrade --py36-plus (but skip f-strings as we're on Python 3.5) 2023-09-07 23:15:48 +10:00
98fcf8e35d Remove use of python3-future 2023-09-07 22:59:23 +10:00
5ecbc4c55f Fix whitespace 2023-02-11 17:22:32 +11:00
4975f29b41 Update wording and fields for FOSSY community track form 2023-01-31 11:22:26 +11:00
a2df8d81ea Add initial fossy app 2023-01-31 11:22:26 +11:00
5491a74757 use utf-8 encoding to get local testing working
also patched urls.py for easier changing of static locations for
local testing
2022-07-06 11:21:07 -07:00
a91f370711 Correct email addresses for copyright assignment form. 2022-05-02 08:23:24 -07:00
013123c3e4 assignment: pluralize copyrights, assign right for existing claims. 2022-02-02 09:31:25 +11:00
48e32eab87 Rename __unicode__ methods to __str__ following Django upgrade. 2022-01-11 09:13:46 +11:00
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