Commit graph

1391 commits

Author SHA1 Message Date
Brett Smith
58e22337b0 static: Errors return proper HTTP response code. 2016-12-05 21:15:01 -05:00
Brett Smith
3fe5f09d18 static: Remove hardcoded path. 2016-12-05 21:14:45 -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
993f4bc72f settings: Don't FORCE_CANONICAL_HOSTNAME when DEBUG. 2016-12-02 22:17:59 -05:00
Brett Smith
6f540a0e3f Remove hardcoded references to /var/www.
This makes it easier to run the code elsewhere, like a development
environment.
2016-12-02 22:17:42 -05:00
Brett Smith
9822895971 supporter: Fix JS syntax to check donation upgrade amount. 2016-12-02 15:26:36 -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
552bc6b1ca supporter: Route URLs to new submodule. 2016-12-02 12:52:32 -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
d28ffd68ca supporter: HTML5 improvements to form.
* Use "number" type for a better prompt.
* Use new standard "min" attribute for richer validation.
2016-12-02 12:35:19 -05:00
Brett Smith
4afce1eadc appeal: Fix object structure passed into $().multiprogressbar. 2016-12-02 10:13:25 -05:00
Brett Smith
2c5a5f3a95 appeal: Fix jQuery chaining that didn't work. 2016-12-02 10:11:21 -05:00
Brett Smith
6908c135f2 appeal: Progress bar emphasizes current match program. 2016-12-02 10:09:12 -05:00
Brett Smith
dd8d159fcb css: Add styles for blog pictures. 2016-12-01 15:04:55 -05:00
Brett Smith
4cbf566e31 contractpatch: Page layout adjustments.
Try to make sections clearer and avoid the "big monolith of text"
feeling.
2016-11-30 16:24:28 -05:00
Brett Smith
a1ec899670 css: Start a separate stylesheet for "big screen" styles.
I'm about to add more and I *suspect* this will be easier to maintain
in the long term, rather than duplicating the conditional many times.
2016-11-30 16:18:06 -05:00
Brett Smith
d0e3ad782e contractpatch: Mark up page sections.
I'm going to do some styling on these but I'm not sure what yet.
2016-11-30 15:14:13 -05:00
Brett Smith
8b1a03ede2 supporter: Add Chinese translation of Principles as accomplishment. 2016-11-29 13:53:23 -05:00
Brett Smith
26674d8c5a supporter: Link to main ContractPatch site. 2016-11-29 13:53:08 -05:00
Brett Smith
1637a36dfe js: Fix math again.
I misunderstood how multiprogressbar works.  Values aren't expected to
progressively grow larger; it takes care of the summing itself.
2016-11-29 13:45:44 -05:00
Brett Smith
52bcf1152a js: Set default noCommaSiteMiddleGoal. 2016-11-29 13:29:12 -05:00
Brett Smith
05290a6352 js: Fix needProgress math. 2016-11-29 13:25:53 -05:00
Brett Smith
d663bcabdc appeal: Another syntax fix. 2016-11-29 13:23:31 -05:00
Brett Smith
400ddf3969 appeal: Again. 2016-11-29 13:19:07 -05:00
Brett Smith
2a618a8830 appeal: Fix template syntax. 2016-11-29 13:16:13 -05:00
Brett Smith
5bd39ff315 appeal: Enhance progress text. 2016-11-29 13:14:53 -05:00
Brett Smith
8cb1f3f685 js: Use three-part progressbar when no middle goal defined.
Since our current fundraiser doesn't have a "middle goal," this makes
it a little easier to maintain the template and do the math.
2016-11-29 13:13:40 -05:00
Brett Smith
df52029777 contractpatch: Fix syntax for previous silly commit. 2016-11-29 12:23:42 -05:00
Brett Smith
273be60679 contractpatch: Silly commit for testing. 2016-11-29 12:18:21 -05:00
Brett Smith
f0d9b1caec appeal: Fundraising bar notes match. 2016-11-29 10:52:04 -05:00
Brett Smith
8fec6023e9 contractpatch: Add page. 2016-11-28 15:23:58 -05:00
Brett Smith
d359dc690a copyleft: English Principles link to Chinese translation. 2016-11-28 12:14:44 -05:00
Bradley M. Kuhn
a2e1eda555 Various wordsmith and formatting changes.
You should feel free to revert these if you feel them incorrect.
2016-11-22 10:25:30 -08:00
Bradley M. Kuhn
1ae1aeca02 Add additional space.
I'm quite sure reimbursementrequests, despite how often we do them,
cannot be turned into one word just yet -- at least in English anyway.
2016-11-22 10:00:34 -08:00
Tony Sebro
01fa72ba1e remove spurious word "source".
bkuhn committing on behalf of Tony:

<tony> bkuhn: if you're making edits, please change "free and open
       source society" to "free and open society".  My Kallithea set up
       is still giving me problems (even after I uploaded my SSH key).
       I'll connect w/ Brett to fix next week.
2016-11-22 09:59:39 -08:00
b37026be4d Rewrite of paragraph pasted into XMPP.
bkuhn committed this on behalf of Karen.  She pasted this into an XMPP
chat before boarding a plane.
2016-11-22 09:58:41 -08:00
Brett Smith
c7fb837aba appeal: Add missing Oxford comma. 2016-11-22 09:52:27 -08:00
Brett Smith
52ed68053d appeal: Minor layout cleanups.
Forward port of e303e2776d from Brett.
2016-11-22 09:51:03 -08:00
Bradley M. Kuhn
232310f75d A few additional changes, apparently from Brett.
Step 4 in backport of unversioned changes from Brett done in
01ab5892ba.
2016-11-22 09:45:30 -08:00
Bradley M. Kuhn
368fc07f6f Switch link to be all blog posts on ContractPatch
Step 3 in backport of unversioned changes from Brett done in
01ab5892ba.
2016-11-22 09:39:33 -08:00
Bradley M. Kuhn
99059c2b6f Various editorial changes, apparently from Brett.
Step 2 in backport of unversioned changes from Brett done in
01ab5892ba.
2016-11-22 09:38:36 -08:00
Bradley M. Kuhn
20f778565b Switch to unicode alt's for imgs
Step 1 in backport of unversioned changes from Brett done in
01ab5892ba.
2016-11-22 09:27:36 -08:00
Bradley M. Kuhn
1d83205723 Two small formatting changes.
Step 0 in backport of unversioned changes from Brett done in
01ab5892ba.
2016-11-22 09:24:53 -08:00
Bradley M. Kuhn
4b2ac8402b Remove https?://sfconservancy.org/ for this site.
This is for deployment on sfconservancy.org, and as such, nothing should
begin with http://sfconservancy.org/ https://sfconservancy.org/.

Brett did this change before committing the initial version of the 2016
appeal.
2016-11-22 08:56:17 -08:00
Bradley M. Kuhn
6802f6a78e Revert back 2016 appeal to Karen's version.
Something was wrong with the version Brett committed.  It seemed to
merge text from Karen's 2016 version and the original 2015 version in
odd ways, particularly at the beginning.  This commit reverts back to
the version as Karen wanted it last night.  I will next forward-port
patches from Brett and those Karen gave this morning.
2016-11-22 08:54:02 -08:00
Brett Smith
210745ab10 appeal: Add missing Oxford comma. 2016-11-22 09:00:43 -05:00
Brett Smith
e303e2776d appeal: Minor layout cleanups. 2016-11-22 08:53:52 -05:00
Brett Smith
d0202d6b42 appeal: Restore middle goal to banner. 2016-11-22 08:44:10 -05:00
Brett Smith
01ab5892ba appeal: Update for 2016. 2016-11-22 08:31:27 -05:00