<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dome-key-web/license-generator/src, branch master</title>
<subtitle>DomeKey website</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/'/>
<entry>
<title>Add `brew services` commands to thank-you &amp; fulfillment instructions</title>
<updated>2018-11-22T22:24:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-22T22:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=fac3ea6e4f7ac6abc2e2ff7cbe3ed42fa22fa8b1'/>
<id>fac3ea6e4f7ac6abc2e2ff7cbe3ed42fa22fa8b1</id>
<content type='text'>
Include the new step 2 of installation, starting the program with `brew
services`.

After the license has been added, the daemon must be restarted in order
for the license to be recognised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the new step 2 of installation, starting the program with `brew
services`.

After the license has been added, the daemon must be restarted in order
for the license to be recognised.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (mostly GNU AGPLv3+)</title>
<updated>2018-11-21T19:48:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-21T19:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=d924cca39802b2629312a5629625ce41f664b2b3'/>
<id>d924cca39802b2629312a5629625ce41f664b2b3</id>
<content type='text'>
License the software with the GNU AGPLv3+ with the exception of the
'aquatic-prime' and 'paddle' libraries and 'aquatic-prime' binary, which
are licensed under the GNU GPLv3+.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
License the software with the GNU AGPLv3+ with the exception of the
'aquatic-prime' and 'paddle' libraries and 'aquatic-prime' binary, which
are licensed under the GNU GPLv3+.
</pre>
</div>
</content>
</entry>
<entry>
<title>zip: Update test to pass a mutable reference to the file</title>
<updated>2018-11-21T08:41:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-21T08:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=f3bc1129f133cccd592a54f53c8ff9e0da85cd23'/>
<id>f3bc1129f133cccd592a54f53c8ff9e0da85cd23</id>
<content type='text'>
Forgot to change this when I changed the function signature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forgot to change this when I changed the function signature.
</pre>
</div>
</content>
</entry>
<entry>
<title>license-generator: Use compile-time environment variables</title>
<updated>2018-11-20T06:20:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-20T06:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=7d7ac8d747be198088664e45e5423919d9876651'/>
<id>7d7ac8d747be198088664e45e5423919d9876651</id>
<content type='text'>
For whatever reason, the environment variables in my `.htaccess` weren't
getting passed to my FastCGI executables on my production server.

Wasn't sure how to get them passed to the programs, so decided instead
to compile the env variables into the binaries.

To do that, we source the environment file before building the release
builds in the Docker container.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For whatever reason, the environment variables in my `.htaccess` weren't
getting passed to my FastCGI executables on my production server.

Wasn't sure how to get them passed to the programs, so decided instead
to compile the env variables into the binaries.

To do that, we source the environment file before building the release
builds in the Docker container.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `bin/license-generator.rs` to bin/fulfillment.rs`</title>
<updated>2018-11-19T19:36:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T19:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=51be07e58a4978614d71101545ffe3099dd99552'/>
<id>51be07e58a4978614d71101545ffe3099dd99552</id>
<content type='text'>
Renames the binary. The name "license-generator" no longer seems apt at
this point. That binary doesn't actually generate a license, it serves
as the webhook endpoint for Paddle's license fulfillment. Our `license`
binary handles the actual license generation.

The URL I'll be using for the webhook is `/fulfillment`, so this also
makes sense from that perspective.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renames the binary. The name "license-generator" no longer seems apt at
this point. That binary doesn't actually generate a license, it serves
as the webhook endpoint for Paddle's license fulfillment. Our `license`
binary handles the actual license generation.

The URL I'll be using for the webhook is `/fulfillment`, so this also
makes sense from that perspective.
</pre>
</div>
</content>
</entry>
<entry>
<title>/license: Add install &amp; license instructions</title>
<updated>2018-11-19T19:29:35+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T19:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=2ea1c642d07bef0cd9e4b09a28b2f012cf50e511'/>
<id>2ea1c642d07bef0cd9e4b09a28b2f012cf50e511</id>
<content type='text'>
Add the instructions we put in the fulfillment email to the
thank-you/license download page. Want to make sure buyers know how to
license the software after purchasing it.

Rephrase the install text to be simpler and more to the point.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the instructions we put in the fulfillment email to the
thank-you/license download page. Want to make sure buyers know how to
license the software after purchasing it.

Rephrase the install text to be simpler and more to the point.
</pre>
</div>
</content>
</entry>
<entry>
<title>license-generator: Add instructions to fulfillment email</title>
<updated>2018-11-19T19:18:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T19:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=24c85246f4a6d554aa13d32c1fb1741035681476'/>
<id>24c85246f4a6d554aa13d32c1fb1741035681476</id>
<content type='text'>
Include install and license instructions in the purchase fulfillment
email.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include install and license instructions in the purchase fulfillment
email.
</pre>
</div>
</content>
</entry>
<entry>
<title>license-generator: Respond with text for fulfillment email</title>
<updated>2018-11-19T18:58:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T18:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=027fe4276a79a453f27ed9048bb32cc928f3e29b'/>
<id>027fe4276a79a453f27ed9048bb32cc928f3e29b</id>
<content type='text'>
Paddle will take the text from the response of this endpoint and include
it in the purchase fulfillment email to a customer.

Include the URL for the purchaser to download their license. Use the
'url' crate's parser to build the URL in order to URL-escape special
characters.

Honestly I'd rather have had a system where the license file gets
included in the receipt email. Unfortunately, with the Paddle
fulfillment mechanism I'm using, we can only send text. I learned after
building the download endpoint that I could manage fulfillment myself.
This would require me to listen to an "alert"-type Paddle webhook, and
send the email myself (which would include the license file). Since I
already built the license download page, I decided to just use it
instead of doing the emailing. Also, my web host limits my SMTP usage,
so there could be issues there. I'd have to do the emailing in a
separate batch process instead of in the webhook handler to ensure that
no emails would get dropped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Paddle will take the text from the response of this endpoint and include
it in the purchase fulfillment email to a customer.

Include the URL for the purchaser to download their license. Use the
'url' crate's parser to build the URL in order to URL-escape special
characters.

Honestly I'd rather have had a system where the license file gets
included in the receipt email. Unfortunately, with the Paddle
fulfillment mechanism I'm using, we can only send text. I learned after
building the download endpoint that I could manage fulfillment myself.
This would require me to listen to an "alert"-type Paddle webhook, and
send the email myself (which would include the license file). Since I
already built the license download page, I decided to just use it
instead of doing the emailing. Also, my web host limits my SMTP usage,
so there could be issues there. I'd have to do the emailing in a
separate batch process instead of in the webhook handler to ensure that
no emails would get dropped.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add purchase flow thank-you page</title>
<updated>2018-11-19T15:57:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T15:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=74dc8dc04d31b26987e510941472ab239c1af31f'/>
<id>74dc8dc04d31b26987e510941472ab239c1af31f</id>
<content type='text'>
Move the existing thank-you page to `thank-you-license-download.html`.

Use `thank-you.html` as the final page of the purchase flow. Paddle will
redirect to this page at the end of purchase. Allows us to retain some
branding during purchase.

Using the existing HTML file for a better URL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the existing thank-you page to `thank-you-license-download.html`.

Use `thank-you.html` as the final page of the purchase flow. Paddle will
redirect to this page at the end of purchase. Allows us to retain some
branding during purchase.

Using the existing HTML file for a better URL.
</pre>
</div>
</content>
</entry>
<entry>
<title>license: Remove TODO</title>
<updated>2018-11-19T05:33:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-19T05:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-web/commit/?id=304406237dfb3708795b3820a10682b67d8e69e9'/>
<id>304406237dfb3708795b3820a10682b67d8e69e9</id>
<content type='text'>
Done already.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Done already.
</pre>
</div>
</content>
</entry>
</feed>
