compdemocracy / polis

:milky_way: Open Source AI for large scale open ended feedback
https://pol.is
GNU Affero General Public License v3.0
741 stars 173 forks source link

Document setup/config of third-party services (or strip out) #263

Open patcon opened 4 years ago

patcon commented 4 years ago

This issue is for figuring out which services we still want to keep, and track progress in documenting (and testing) their setup. If we don't feel they belong anymore, this can track our stripping out the code paths and comments.

This look ok? Are any of these obviously in need of stripping from codebase?

patcon commented 4 years ago

Did a bit more exploration of what each is used for, and added context. I've got it in rough guess of priority :)

patcon commented 4 years ago

Added docs and minor changes to make Google Translate config work more easily: https://github.com/patcon/polisServer/compare/feature/twitter-login-docs...patcon:feature/doc-google-translate-setup

(Instead of requiring a special command to reformat the credentials key, we just store it as base64.)

Since it built on some docs in FB or Twitter PRs, I branched off that. (Can rebase if the order of merging PRS is untenable.)

EDIT: Confirmed it works fine btw:

Screen Shot 2020-05-20 at 8 54 39 PM
patcon commented 2 years ago

Now that typescript conversion is on its way to being done, I've started working on removing some unused features.

After looking over the required changes, the easiest removals (and proper order) seems to be:

  1. remove intercom https://github.com/compdemocracy/polis/pull/1233
  2. remove slack https://github.com/compdemocracy/polis/pull/1234
  3. remove stripe (incl plans/coupons) https://github.com/compdemocracy/polis/pull/1235
  4. remove canvas LMS routes/tables https://github.com/compdemocracy/polis/pull/1236

Thoughts?