47a30a750a
Sort Python imports with isort
2023-10-20 09:52:39 +11:00
b7e2ce2a4d
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
05c7ed6647
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
cf3d7c6100
Add support for Debian Bookworm
2023-09-13 13:33:27 +10:00
05323a307d
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
9e39d7eadc
Apply pyupgrade --py36-plus
(but skip f-strings as we're on Python 3.5)
2023-09-07 23:15:48 +10:00
60010999d2
Remove use of python3-future
2023-09-07 22:59:23 +10:00
4ceb4b4ae2
Fix whitespace
2023-02-11 17:22:32 +11:00
d2174000e6
Update wording and fields for FOSSY community track form
2023-01-31 11:22:26 +11:00
6cb46c61d1
Add initial fossy app
2023-01-31 11:22:26 +11:00
79e6860776
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
cf36479427
Correct email addresses for copyright assignment form.
2022-05-02 08:23:24 -07:00
ec5d1a0ff0
assignment: pluralize copyrights, assign right for existing claims.
2022-02-02 09:31:25 +11:00
adf2229720
Rename __unicode__ methods to __str__ following Django upgrade.
2022-01-11 09:13:46 +11:00
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