GoToSocial/web/gotosocial-styling
Forest Johnson 6ed368cbeb
[feature] add authorization to the already-existing authentication (#365)
* add ensureUserIsAuthorizedOrRedirect to /oauth/authorize

* adding authorization (email confirm, account approve, etc) to TokenCheck

* revert un-needed changes to signin.go

* oops what happened here

* error css

* add account.SuspendedAt check

* remove redundant checks from oauth util Authed function

* wip tests

* tests passing

* stop stripping useful information from ErrAlreadyExists

* that feeling of scraping the dryer LINT off the screen

* oops I didn't mean to get rid of this NewTestRouter function

* make tests work with recorder

* re-add ConfigureTemplatesWithGin to handle template path err

Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-02-07 12:04:31 +01:00
..
templates [feature] add authorization to the already-existing authentication (#365) 2022-02-07 12:04:31 +01:00
.eslintrc.js Thread views on the web (#207) 2021-09-13 14:45:33 +02:00
.gitignore Thread views on the web (#207) 2021-09-13 14:45:33 +02:00
LICENSE Thread views on the web (#207) 2021-09-13 14:45:33 +02:00
README.md Thread views on the web (#207) 2021-09-13 14:45:33 +02:00
colors.css Thread views on the web (#207) 2021-09-13 14:45:33 +02:00
index.js Goreleaser (#241) 2021-09-24 13:14:20 +02:00
package.json Goreleaser (#241) 2021-09-24 13:14:20 +02:00
yarn.lock Bump nanoid from 3.1.25 to 3.2.0 in /web/gotosocial-styling (#364) 2022-01-30 15:01:04 +01:00

README.md

GoToSocial Styling

Common package for the PostCSS styling of GoToSocial (related) pages.

Bundle

Source in src/style.css is bundled by running node index.js. Output appears in build/bundle.css, and can be required from other packages with require("gotosocial-styling/build/bundle.css").

Development

You can run NODE_ENV=development node index.js to start a livereloading setup that automatically re-bundles on file changes in src/.

License, donations

AGPL-3.0. If you want to support my work, you can:
Donate using Liberapay

Changelog

v0.0.1 (August 29th, 2021)

initial release