Commit graph

8 commits

Author SHA1 Message Date
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
tobi 27605f7c47
add new logo + credits (#277) 2021-10-13 13:19:10 +02:00
f0x52 8ab9108d3a
include Fork-Awesome files in-repo (#222) 2021-09-13 16:07:37 +02:00
f0x52 026674bc2c
Thread views on the web (#207)
* Webviews for status threads

* fix up templates

* add ForkAwesome and gotosocial-styling into repo

* clean up gotosocial-styling, old styling

* update CONTRIBUTING with new css building, and nodemon recommendation

* update Dockerfile with new css bundling

* those weren't supposed to make it in

* upgrade gotosocial-styling deps

* update authorize template with main wrapper

* update css pipeline

* abstract status from thread to avoid copy-pasting

* basic CW implementation

* fix PR review suggestions

* fix no-image-desc icon alignment

* remove template loading println

* remove println

* remove changes to testmodels

* reset changes to testmodels
2021-09-13 14:45:33 +02:00
f0x52 eef88ae31d
frontpage template tweaks (#99) 2021-07-13 18:40:47 +02:00
f0x52 606ee5c615
Css button tweak (#93)
* css styling tweaks

* bundle

* apply styling to textarea as well

* bundle, whitespace

* generalize .button class styling

* bundle

* give .button a pointer cursor too

* bundle
2021-07-09 10:44:10 +02:00
f0x52 2cebac592f
Css input/select styling tweak (#91)
* css styling tweaks

* bundle

* apply styling to textarea as well

* bundle, whitespace
2021-07-08 18:00:23 +02:00
f0x52 f9bc305aca
new styling for frontpage, update login and authorize templates (#46)
* new styling for frontpage, update login and authorize templates

* run go fmt

* add AssetBaseDir to command flag parsing

* untested: move landing page to it's own router

* go fmt, fix typo

* fix package, adapt to proper Route structure
2021-06-21 19:46:10 +02:00