Commit graph

2189 commits

Author SHA1 Message Date
9e8cdb2edf add rick and pauls bios to site 2023-11-20 14:28:44 -08:00
70087dbe1a update fundraiser goal to cy2023-end-year-match 2023-11-20 14:13:20 -08:00
8fe9ac71d5 update outreachy 2022/23 numbers for YIR 2023-11-20 09:28:31 -08:00
1eca20cd95 update YearInReview for 2023 fundraiser 2023-11-20 07:33:07 -08:00
e3d5037c60 usethesource: Simplify the promissory wording 2023-11-11 12:46:43 +11:00
90e8b51b61 usethesource: Require agreement to download 2023-11-10 16:35:46 +11:00
fb559c7669 add vizio pdfs to gitignore, they are on webserver 2023-11-02 11:37:41 -07:00
d874bfc1ac usethesource: Remove "tirelessly" 2023-11-02 08:40:41 +11:00
92b26e7a28 Apparently, someone moved the files from here without documenting it? Hopefully in right place now 2023-11-01 07:57:52 -07:00
193af46104 Comments for Copyright Office Docket 2023-6 2023-11-01 07:40:09 -07:00
731ec4f502 congrats to Allison and Laura for title upgrades :) 2023-10-31 10:13:50 -07:00
a15fd3c4b3 usethesource: Add "ordering" field to determine candidate sort order 2023-10-31 09:31:28 +11:00
00305750f9 usethesource: Emphasize "Use the Source" 2023-10-31 09:19:26 +11:00
b8f8b573bf usethesource: Updating landing page intro text 2023-10-31 09:09:55 +11:00
744c47334c Update to-dos 2023-10-26 13:24:17 +11:00
76128ca8f3 Extend docs for local development and production deploy 2023-10-26 13:22:45 +11:00
39feaa95b9 Provide a default for DEBUG
This avoid having to specify it in the production environment config at all -
shorter config.
2023-10-26 13:19:11 +11:00
19179d018f Remove CONSERVANCY_SECRET_KEY
Use SECRET_KEY instead to minimise use of non-standard settings.
2023-10-26 13:09:50 +11:00
39d599cd55 Add .dockerignore to ignore everything except requirements.txt 2023-10-26 12:44:23 +11:00
f7d529b5a7 Add to-do file
This allows me to track improvements we'd like to make, but not necessarily
straight away.
2023-10-26 12:33:29 +11:00
d9f41f5598 Update and document Dockerfile 2023-10-26 12:31:52 +11:00
fbbdc69392 Simplify settings and move some standard settings into settings.py
These were previously in djangocommonsettings.py, but don't ever vary between
development and production environments.
2023-10-26 12:28:29 +11:00
4e06014a82 usethesource: Fix header image path 2023-10-25 23:04:59 +11:00
f2e1186bdc Apply directory changes to update script 2023-10-25 22:56:44 +11:00
01f77f8ee1 usethesource: Add stars banner image 2023-10-25 22:51:45 +11:00
5da20144d5 Update .gitignore to reflect directory structure changes
Also removed some unused ignore lines.
2023-10-25 16:55:40 +11:00
8aecb7f98f Update wsgi.py to reflect directory structure changes 2023-10-25 16:28:57 +11:00
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
fa7f227318 Eliminate "conservancy" and "apps" subdirectories
The directory nesting is unnecessary here and confusing to navigate. I've moved
all apps to the project subdirectory, currently called "www", but soon to be
renamed "conservancy".

I've also moved manage.py to the top-level directory.
2023-10-25 12:36:39 +11:00
6055cf536d usethesource: Add data models, admin and frontend comment editing 2023-10-25 00:00:14 +11:00
b75139c025 Add Use the Source mockup pages
This doesn't include any data models yet.
2023-10-25 00:00:14 +11:00
49b3e46615 Allow "outercontent" template block to use full page width
This allows us to create full-width layouts for specific campaigns.
2023-10-25 00:00:14 +11:00
1016e64ecb Add Apache proxy and proxy-http modules 2023-10-24 13:55:19 +11:00
3faf3beaf6 Remove unused conservancy_wrapper files 2023-10-20 17:37:17 +11:00
74fc688dbf Remove unused modpythoncustom.py
We have used mod-wsgi for many years.
2023-10-20 17:34:07 +11:00
22eb13bbb1 Fix podjango migrations
Required an updated following code restructuring.
2023-10-20 17:05:35 +11:00
2b5364f4f7 Move fundraising goal banner into a template include 2023-10-20 12:47:58 +11:00
6c1aec16c8 Fix indentation in settings and urls modules 2023-10-20 12:47:30 +11:00
0a5383c28d Further switch to relative imports 2023-10-20 09:54:35 +11:00
024b6e1122 Sort Python imports with isort 2023-10-20 09:52:39 +11:00
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
9a5410c307 update frontpage featured term language 2023-10-19 06:54:06 -07:00
1cd1cfcd58 podjango: Factor out credits, feedback and license info
This makes it easier to keep up-to-date across multiple templates.
2023-10-19 17:52:48 +11:00
e66899982a podjango: Link up "The Corresponding Source" title
This helps with navigating back to the home page.
2023-10-19 17:49:57 +11:00
90ad65f568 Merge podjango.apps.cast into main podjango module
It's much simpler if "podjango" is the name of the Django app with a single
urls.py etc. The reason this is required is because podjango was originally a
fully-blown Django website and now it's become a Django app within the
Conservancy website.
2023-10-19 17:21:53 +11:00
41c83091ff Remove www/conservancy/static/admin
These files are copies from an old version of Django, causing display issues in
the newer Django admin. With the "staticfiles" app enabled, the recent versions
of these files are copied to /var/www/website/collected-static/ when you run the
"collectstatic" management command. For example:

sudo -u www-data /var/www/venv-website/bin/python manage.py collectstatic --link
2023-10-19 17:03:48 +11:00
b89d2e13f7 Fix links to forms.css, remove links to unused jquery-ui.css 2023-10-19 16:49:13 +11:00
e74cad9276 podjango: Fix duplicate URLconf entry for "all oggasts" 2023-10-19 16:00:17 +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
90e672ffcb Rename cast to "The Corresponding Source", move to URL prefix "/cast/"
Also improved detail view rendering where unclosed <ul> tags in the body
content HTML from the database were affecting the display of footer info.
2023-10-13 13:08:16 +11:00