Age | Commit message (Collapse) | Author | Files | |
---|---|---|---|---|
2022-02-22 | [feature] Add postDataCallbackFunc to allow cleanup (#408) | 10 | ||
2022-02-21 | [bugfix] Fix thumbnail image type (#406) | 3 | ||
* fix thumbnail content-type * test fix thumbnail content-type | ||||
2022-02-19 | [feature] Gin enable gzip encoding (#405) | 2 | ||
* add gin gzip dependency * add gzip middleware to router * go mod tidy | ||||
2022-02-19 | [feature] Stream files via reader (#404) | 3 | ||
* serve files via reader rather than byte slice * close readcloser when we're done with it * cast reader to readcloser | ||||
2022-02-15 | [bugfix] Only mark cookies as Secure on https (#398) | 1 | ||
Fixes cookies not being stored/sent by Safari when serving over plain http | ||||
2022-02-08 | store and retrieve processState atomically | 3 | ||
2022-02-08 | hopefully fix potential race condition | 1 | ||
2022-02-08 | log error on header/avatar fetch fail | 2 | ||
2022-02-08 | go fmt | 1 | ||
2022-02-08 | merge fixup | 3 | ||
2022-02-08 | Merge branch 'main' into media_refactor | 54 | ||
2022-02-08 | update outdated comment | 1 | ||
2022-02-07 | [feature] add authorization to the already-existing authentication (#365) | 14 | ||
* 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-06 | don't bother negotiating Accept for webfinger (#381) | 1 | ||
2022-02-06 | if accountDomain isn't set, use Host value instead (#380) | 2 | ||
2022-02-05 | [feature] Rework timeline code to make it useful for more than just statuses ↵ | 23 | ||
(#373) * add preparable and timelineable interfaces * initialize timeline manager within the processor * generic renaming * move status-specific timeline logic into the processor * refactor timeline to make it useful for more than statuses | ||||
2022-01-31 | [bug] Fix OIDC users requiring second approval (#371) | 2 | ||
* tidy up NewSignup * pre-approve users created via OIDC | ||||
2022-01-31 | [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 ↵ | 7 | ||
compliant" (#366) * trying to fix "message refused: Message is not RFC 2822 compliant" * fix "message refused: Message is not RFC 2822 compliant" 550 5.7.1 Delivery not authorized, message refused: Message is not RFC 2822 compliant * remove silly regex * lint * fix tests * we should use text/template instead of html/template now | ||||
2022-01-30 | [bug] Fix sqlite empty address issue (#370) | 2 | ||
* error when empty address has been set for sqlite * better explain sqlite db-address setting | ||||
2022-01-30 | [bug] Fix minimum description length check (#369) | 3 | ||
* add/update tests * don't check min description length on media create | ||||
2022-01-30 | [feature] Make Let's Encrypt integration an opt-in feature (#368) | 1 | ||
2022-01-29 | put store lock file in base of storage | 1 | ||
2022-01-25 | ensure blocking calls to getRemoteAccount before showing stuff to client | 2 | ||
2022-01-25 | fix up some account conversion logic | 3 | ||
2022-01-25 | only update account in db if changed | 1 | ||
2022-01-24 | change getaccount function signature | 1 | ||
2022-01-24 | ctx => innerctx | 1 | ||
2022-01-24 | use background context w/deadline | 1 | ||
2022-01-24 | start trying to figure out why this test is failing | 1 | ||
2022-01-24 | test with disk storage as well | 1 | ||
2022-01-24 | update remote account get/deref logic | 17 | ||
2022-01-23 | add file size checks | 1 | ||
2022-01-23 | rework data function to provide filesize | 12 | ||
2022-01-16 | pass reader around instead of []byte | 13 | ||
2022-01-15 | lint, fmt | 2 | ||
2022-01-15 | emoji code passing muster | 9 | ||
2022-01-15 | start fixing up emoji processing code | 8 | ||
2022-01-11 | pin instanceAccountID to in-process emoji | 1 | ||
2022-01-11 | pass a function into the manager, start work on emoji | 19 | ||
2022-01-10 | test the media manager a bit, add shutdown logic | 32 | ||
2022-01-09 | add async test | 1 | ||
2022-01-09 | tests are passing, but there's still much to be done | 17 | ||
2022-01-08 | compiling now | 17 | ||
2022-01-08 | further refinements | 4 | ||
2022-01-04 | start working on thumb + full funcs | 3 | ||
2022-01-03 | return very partial image on first upload | 5 | ||
2022-01-02 | fiddle around with workers | 7 | ||
2021-12-28 | more refactoring, media handler => manager | 25 | ||
2021-12-27 | start refactor of media package | 6 | ||
2021-12-21 | [fix] Make postgres connections magically work in common setups (#352) | 2 | ||
* Don't use the system 'postgres' database by default * Use postgres adapter defaults The pgx code actually goes to great lengths to make postgres connections Just Work(tm) out of the box, including supporting `~/.pg_service.conf`, SSL certificates, UNIX sockets if it can find a socket at a common path, and falling back to TCP to localhost if not. (On Windows, it won't try to use UNIX sockets, but will read credentials from %appdata% as is standard over there.) By applying our flags as overrides only when they're specified, database connections should Just Work(tm) anywhere `psql gotosocial` does. |