Commit Graph

56 Commits

Author SHA1 Message Date
asymmetric f32d05e229
Fix Docker port mapping
Use 127.0.0.1 for the host side of the mapping (localhost), rather than the incorrect 127.0.0.0.
2021-03-30 21:07:14 +00:00
Justin Abrahms 0fad190801
Update configuring.md
closes #439
2021-01-01 00:31:43 -08:00
Supernova 1b47d439ec Add support for linking an optional custom-style.css file from the user's oasis configuration folder. 2020-12-08 12:37:26 -05:00
Christian Bundy 68acfc833d Merge branch 'master' of github.com:fraction/oasis into add-more-tests 2020-11-22 16:55:37 -08:00
Christian Bundy 65b7df9ea9 Remove comments to disable linters
Problem: Our tests seem to have been disabled in various places, which
means that type errors, typos, and other small problems were introduced.

Solution: Remove the comments and fix the underlying problems without
disabling the linters.
2020-11-22 16:52:12 -08:00
Christian Bundy acf94e2d2e Add note about pre-commit hook 2020-11-22 21:08:47 +01:00
Christian Bundy a5d5e446c7 Refactor Docker example
Problem: The Docker example was using Alpine with the Tini dependency
and some neat custom stuff, but it wasn't super clear to understand
everything that was going on. It was also slow because lots of stuff was
compiling from source.

Solution: Replace neat custom stuff with boring defaults for clarity and
much faster builds.
2020-05-10 13:52:47 -07:00
Christian Bundy 41cf751389
Fix "tpo" typo
Problem: I wrote "tpo". I meant "typo".

Solution: Fix the tpo.
2020-04-13 09:03:37 -07:00
Christian Bundy b01ff74dbc Clean up root of project directory
Problem: Project root has a handful of files that aren't used at all or
could be placed elsewhere.

Solution: Delete unused files and move the changelog to the
documentation directory with the other Markdown files (other than the
readme, of course).
2020-04-01 15:04:57 -07:00
sean billig 974fb7fc07 minor doc fixes; add gh cli instructions 2020-03-28 11:34:04 -07:00
Christian Bundy 3627ce4658 Fix CSpell error in example typo
Problem: The sample typo in `docs/contributing.md` was failing our
spell-check test.

Solution: Disable the spell-chack on that line.
2020-03-27 13:47:50 -07:00
Christian Bundy 927c356303 Add contributing and maintainting documents
Problem: We had our contract in `contributing.md` but that didn't really
give actionable information on how to contribute or how to maintain this
project.

Solution: Move contract to `contract.md` and start documents for
contributing and maintaining.
2020-03-27 12:41:51 -07:00
Cinnamon fd67e212d0
Rename AUTHORS to CONTRIBUTORS and add myself
jump in everyone, the water's fine
2020-03-11 17:11:38 -07:00
Cinnamon 363d4f869b
Add myself to MAINTAINERS 2020-03-11 16:16:36 -07:00
Christian Bundy 2e7cb4ad66 Remove readme and startup focus on configuration
Problem: A big chunk of both the readme and the startup output is
dedicated to configuration, which feels to me to be focused on
developers and advanced users rather than beginners who just want to try
using Oasis.

Solution: Move readme configuration info to its own file and hide all
config output (except one line) behind `--debug`. While doing this I
noticed that we're `require()`ing a few modules that we don't need
before setting `process.env.DEBUG`, which I've reorganized so that we
don't accidentally disable debug mode for those modules.
2020-03-01 11:39:01 -08:00
Christian Bundy 3758bbf636 Simplify installation
Problem: The install instructions in the readme contains quotes because
it has a `*`, but `#semver:` does what we need without the quotes. The
`docs/install.md` file also has some unnecessary complexity, like
cloning via SSH (only useful for maintainers), which I think we can
safely remove.

Solution: Change the install instruction and reorganize
`docs/install.md` to be more relevant to people who are installing from
source.
2020-02-29 08:31:07 -08:00
Jonathan Dahan bbbf3f8808
Merge pull request #247 from christianbundy/add-termux-docs
Add Termux install documentation
2020-02-21 11:04:02 -05:00
Christian Bundy 0bbb4d9bba Remove `--no-optional` to install sodium-native
Problem: I thought `--no-optional` would just ignore our top-level
optional dependencies, but it ends up ignoring deep optionl dependencies
like sodium-native. We really want these dependencies if we can build
them.

Solution: Remove the `--no-optional` suggestion and add a note about
what to do if Sharp doesn't install correctly, which is very likely
since Termux doesn't have libvips available.
2020-02-21 07:43:21 -08:00
Cinnamon 4fb61a3bf6 Add docs/translating.md -- instructions for adding new languages 2020-02-20 15:15:29 -08:00
Christian Bundy cf1a88e2f7 Add Termux install documentation
Problem: The Termux install is new and exciting and there isn't any
documentation on how to experiment with it.

Solution: Add some documentation like we've done with systemd and
Docker so that we can collaborate and figure it out in the repo!
2020-02-20 15:12:38 -08:00
Christian Bundy 9a000800ec Add AUTHORS and MAINTAINERS files
Problem: It's hard to know who has worked on the project and who is
maintaining the project, for security and code of conduct issues.

Solution: Add AUTHORS and MAINTAINERS files to track who has contributed
code and mixed in their copyright (woo!) and keep track of who is
committed to maintaining the project and merging patches.
2020-02-17 16:38:02 -08:00
Christian Bundy 657c6f271d Remove roadmap now that they're all issues
Problem: The roadmap should exist in the issue tracker, not the repo.

Solution: Since all of the roadmap items have been converted into
issues, we're now good to remove the roadmap from the repo.
2020-02-12 11:04:48 -08:00
kawaiipunk 932dbcc43b
Added latest roadmap.md progress
Added ticks for "Content warning" and "Get"
2020-02-12 16:48:15 +00:00
Christian Bundy 800b201552 Replace screenshot with wider screenshot of art
Problem: I didn't really like random text posts from me being in the
readme, and the aspect ratio of the screenshot meant that it ended up
taking up lots of vertical space.

Solution: Use a wide screenshot of some concept art to keep it from
stretching vertically very far while still showing off the absolute
basics of Oasis.
2020-02-10 19:40:21 -08:00
Cinnamon d76e594e3a
Remove duplicate line from security.md 2020-02-06 14:15:03 -08:00
Jonathan Dahan 5be294b89e
Merge pull request #142 from christianbundy/describe-blob-security
Add document describing blob security model
2020-02-02 17:20:45 -05:00
Christian Bundy e92d5adec6 Add document describing blob security model
Problem: I still haven't found any best practices for how to run HTML on
your domain without any security concerns. I feel reasonably confident
that our current security precautions mitigate any potential attacks,
but I want to be very up-front with any security mitigations that aren't
so common that they're boring and predictable.  Resolves https://github.com/fraction/oasis/issues/5.

Solution: Add a document to describe our current security model and
mitigations so that we can point at it when asking friends to review the
model and ensure we don't have any holes.
2020-02-02 14:00:20 -08:00
Christian Bundy 1dd741a381 Replace "must" with "shall" in contributing.md
Problem: The word "shall" is ambiguous and seems pretentious rather than
friendly. More info here: https://www.plainlanguage.gov/guidelines/conversational/shall-and-must/

Solution: Replace "shall" with "must". It has the same semantics with
none of the ambiguity or cultural baggage.
2020-01-30 09:12:58 -08:00
Christian Bundy 04c5e97789 Appease linter with `npm run fix`
Problem: `docs/contributing.md` was failing the Prettier test.

Solution: `npm run fix`
2020-01-29 18:20:06 -05:00
Jonathan Dahan a3c08a6341 Relax MUST to SHOULD for commit message format 2020-01-28 14:33:06 -05:00
Jonathan Dahan a4ff159b94 Thank and explain why we have contributing.md 2020-01-28 14:33:06 -05:00
Jonathan Dahan ffbee28f88 explain that our contributing.md is an implementation of C4 2020-01-28 14:33:06 -05:00
Jonathan Dahan e2dd57be3d remove liquid templates from contributing.md 2020-01-28 14:33:06 -05:00
Jonathan Dahan a3265dc635 add upstream C4/42 contributing document 2020-01-28 14:33:05 -05:00
Jonathan Dahan fed37b1e57 rename contributing to architecture 2020-01-28 12:25:22 -05:00
Christian Bundy b34b04c2c2 Experiment with common-good module 2020-01-21 16:22:19 -08:00
Christian Bundy e1ea520e3b Add documentation on new layer style 2020-01-09 09:35:39 -08:00
Christian Bundy 48cac575e7 Add install-systemd-service.js 2020-01-03 21:06:08 -08:00
Christian Bundy 64154f2eed Change to organize install docs 2020-01-03 15:04:16 -08:00
Jonathan Dahan 8ce7d76df7 Create systemd service install script, fix service
This will check if you have have systemd installed,
copy the service file to your user directory,
and instruct the user how to enable it on login.
2020-01-03 15:03:21 -05:00
Jonathan Dahan 3e764e6d4d Remove unicorn requirement for systemd service 2020-01-03 12:23:58 -05:00
Christian Bundy 826c90b8af
Fix comments and rename 'reply all' to 'comment'
This changes some phrasing for clarity and adds some helpful
explanations when you're publishing a comment or a reply.

This also fixes comments on replies, which were previously just being
added as a sibling reply. This doesn't really matter because it has the
same layout in the UI and it's also very rare, but it allows us to have
separate threads for each reply.
2019-12-28 16:30:49 -08:00
Christian Bundy c27d298081
Add basic search functionality 2019-12-07 15:25:24 -08:00
Christian Bundy 62bd34b553
Add relationship info to author pages 2019-12-07 15:00:53 -08:00
Christian Bundy 514bfb0cdb
Change roadmap to better reflect reality 2019-11-15 10:11:18 -08:00
Christian Bundy 74bf222bd4
Add documentation for security model 2019-10-30 17:14:57 -07:00
Christian Bundy b8691d7671
Add referer check to secure blob URLs without subdomain option 2019-10-29 14:02:28 -07:00
Christian Bundy d42ff0b612
Add install documentation 2019-10-25 07:58:26 -07:00
Christian Bundy 8c48a6a1c5
Fix roadmap to accurately portray current status 2019-09-26 17:26:18 -07:00
Christian Bundy e4b9aefcc0
Add security policy 2019-09-17 07:36:09 -07:00