justicenation / slashclock

/clock concept as a new Slack app
GNU General Public License v3.0
0 stars 0 forks source link

Submit app to Slack app directory #7

Open martyychang opened 7 years ago

martyychang commented 7 years ago

Do whatever it takes to submit the slashClock app to the Slack app directory, so that the app can be installed by other teams.

Conditions of satisfaction

The slashClock app is listed in the Slack app directory, and it can be installed and used by other Slack teams.

martyychang commented 6 years ago

To legitimize the listing, the following URLs should work to at least redirect the user to a valid page.

In addition, the following criteria should be met.

martyychang commented 6 years ago

Looking into setting up the certificates using another domain as a test. Found docs on naked domains for communities in Salesforce Help.

First, going to add a domain indicated I needed to create some CA-signed certs. I believe last time I tried this I used Comodo, so I'll try again with this CA. Domain control validation is a bit of a p...rocess. However, using the CNAME CSR Hash method seems to have succeeded without manual intervention. All that was needed was waiting for the DNS change to propagate.

But... what A records do I need to add to my DNS? The docs say the following.

If you use the Salesforce to serves this as an HTTPS site using Salesforce's cloud option with a certificate, the IP addresses that you can use in “A” DNS records are enumerated in the Certificate IP Addresses related list on the domain’s certificate. If you change the domain to use another certificate, the IP addresses are not the same IP addresses that the previous certificate used.

Another issue is that Comodo seems to treat the naked domain and the subdomain as a single trial, meaning I cannot get two SSL free certs from Comodo this way. Let's Encrypt seems to be the only other option. However, Let's Encrypt seems to require server access, which isn't available with Salesforce.

I was able to get a naked domain working with both http:// and https:// using a Comodo certificate. The insecure protocol request is automatically forwarded to the secure protocol. For the subdomain, I tried setting up a subdomain forward in Google Domains, but the forwarding only worked for the insecure protocol.

Perhaps this is good enough?

martyychang commented 6 years ago

Styling the community in the BYO template takes a bit of template-specific know-how. It looks like the same effect of having full-width background changes is not really possible based on the way the template is laid out.

martyychang commented 6 years ago

I'm just going to stick with the standard white background, and I made the screenshot look less ugly by replacing it with a full window screenshot taken in Mac OS X. The Mac screenshot looks a bit nicer with the automatic all-sides shadow.

martyychang commented 6 years ago

I'm going to move this back to to-do until such time as #54 and #48 are complete and a permanent Salesforce org is procured, so that I won't have to deal with a data migration once real customers start using the service