Commit graph

1166 commits

Author SHA1 Message Date
tobi
b315eee43b
Update webfingering a little, add tests (#236)
* Update webfingering a little, add tests

* fix broken tests oops
2021-09-20 16:46:45 +02:00
tobi
92186c8c6f
federated authentication better logging + tidying (#232)
* change trace logging in authenticator

* messing about

* lil changes

* go fmt

* error fix

* Fix broken test
2021-09-16 11:35:09 +02:00
tobi
2e5dcc2929
Fix mentions not notifying (#230)
* set default privacy for new accounts

* teshts

* found it

* tiny change

* aaaa
2021-09-14 12:23:56 +02:00
tobi
e0f36278a0
add ap logo to readme (#228) 2021-09-13 20:02:59 +02:00
f0x52
491da2c4a1
Merge pull request #227 from f0x52/meta-vp-fix
fix viewport scaling for mobile
2021-09-13 18:00:10 +02:00
f0x
af884de8f9 fix viewport scaling for mobile 2021-09-13 17:39:29 +02:00
tobi
69bb56368d
set default privacy for new accounts (#225) 2021-09-13 17:35:33 +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
kim
635281f133
update my personal library versions (#220)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-13 10:33:01 +02:00
kim
f6492d12d9
Merge pull request #214 from NyaaaWhatsUpDoc/improvement/update-storage-library
add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
2021-09-12 10:10:24 +01:00
kim
8a18017389
Merge pull request #213 from superseriousbusiness/alpine+node_upstep
update container versions
2021-09-12 07:44:18 +01:00
kim (grufwub)
6db57d1487 fix keys used to access storage items
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 20:28:57 +01:00
kim (grufwub)
7f36688643 rename KVStore uses as storage to differentiate between upcoming store package
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 20:18:06 +01:00
kim (grufwub)
e43a46e982 add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 20:12:47 +01:00
tsmethurst
87e9f06ff7 disable cgo for tests 2021-09-11 16:55:55 +02:00
tobi
ab32ce642b
documentation updates (#211) 2021-09-11 16:45:50 +02:00
tsmethurst
5b69792607 update container versions 2021-09-11 16:21:24 +02:00
tobi
793f9af6e6
only store statuses in the AS cache, not accounts (#210) 2021-09-11 14:16:00 +02:00
kim
bac4ee9980
update bun library to latest commit (#206)
* update bun library to latest commit

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* update to latest bun release

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 13:53:44 +02:00
tobi
fc035868b2
fix broken build (#209) 2021-09-11 13:35:39 +02:00
tobi
9dc2255a8f
kim is a reply guy (#208)
* bun debug

* bun trace logging hooks

* more tests

* fix up some stuffffff

* drop the frontend cache until a proper fix is made

* go fmt
2021-09-11 13:19:06 +02:00
tobi
64bd689e55
Test both dbs (#205)
* move scripts, allow testing both dbs with one cmd

* tidy + vendor

* update test.sh to ignore cache

* put test commands directly in drone.yml

* change CONTRIBUTING slightly

* go ham on the readme
2021-09-10 18:13:24 +02:00
tobi
f2e5bedea6
migrate go version to 1.17 (#203)
* migrate go version to 1.17

* update contributing
2021-09-10 14:42:14 +02:00
tobi
e681aac589
fixes + db changes (#204)
* fixes + db changes

* make duration more lenient
2021-09-10 14:36:10 +02:00
kim
446dbb7a72
remove boosted statuses from public (federated timeline) (#201)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-10 10:09:15 +02:00
kim
4c4a622088
Prune unnecessary nullzeros, fixup db tags (#200)
* prune gtsmodel.Account bun tags, add note to gtsmodel dir

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* further database tag fixes

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* more db tag fixups

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* fix removing nullzero for account timestamps...

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* add nullzero back to accountid tag

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* rename gtsmodel readme

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-10 10:08:21 +02:00
kim
41ace19e0c
fix up status inreplyto visibility, + small format improvements (#199)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-10 08:37:28 +02:00
tobi
555ea8edfb
Import export (#194)
* start with export/import code

* messing about with decoding/encoding

* some more fiddling

* stuff is WORKING

* working pretty alright!

* go fmt

* fix up tests, add docs

* start backup/restore doc

* tweaks

* credits

* update advancedVisibility settings

* update bun library -> v1.0.4

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* update oauth library -> v4.3.1-SSB

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* handle oauth token scope, fix user.SigninCount + token.UserID

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* update oauth library --> v4.3.2-SSB

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* update sqlite library -> v1.13.0

Signed-off-by: kim (grufwub) <grufwub@gmail.com>

* review changes

* start with export/import code

* messing about with decoding/encoding

* some more fiddling

* stuff is WORKING

* working pretty alright!

* go fmt

* fix up tests, add docs

* start backup/restore doc

* tweaks

* credits

* update advancedVisibility settings

* review changes

Co-authored-by: kim (grufwub) <grufwub@gmail.com>
Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2021-09-09 16:15:25 +02:00
kim
a027da0ac9
Merge pull request #198 from NyaaaWhatsUpDoc/update/sqlite-library
Update/sqlite library
2021-09-08 21:26:32 +01:00
kim
f44cc51782
Merge pull request #196 from NyaaaWhatsUpDoc/update/oauth-library
Update oauth library -> v4.3.2-SSB
2021-09-08 21:15:45 +01:00
kim (grufwub)
6a2d0d9508 Merge remote-tracking branch 'upstream/main' into update/sqlite-library
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 21:13:54 +01:00
kim (grufwub)
71a4f8667c update sqlite library -> v1.13.0
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 21:12:23 +01:00
kim (grufwub)
151069cff4 Merge remote-tracking branch 'upstream/main' into update/oauth-library
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:55:13 +01:00
kim (grufwub)
0ea131fd7b update oauth library --> v4.3.2-SSB
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:51:42 +01:00
kim (grufwub)
d2a85f2f5f handle oauth token scope, fix user.SigninCount + token.UserID
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:46:08 +01:00
kim
299801f299
Merge pull request #195 from NyaaaWhatsUpDoc/update/bun-library
update bun library -> v1.0.4
2021-09-08 20:22:24 +01:00
kim (grufwub)
fce3ba6382 update oauth library -> v4.3.1-SSB
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:20:06 +01:00
kim (grufwub)
bdcc090851 update bun library -> v1.0.4
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:05:26 +01:00
tobi
2b14b20802
rework media processing a little bit (#191)
* rework media processing a little bit

* review changes
2021-09-04 14:02:01 +02:00
tobi
ff05046df7
tests + announce notification fix (#193) 2021-09-04 13:29:56 +02:00
kim
25edd57eaf
Merge pull request #186 from superseriousbusiness/struct_validation
Struct validation
2021-09-03 10:27:40 +01:00
tsmethurst
32fe2282c4 review changes 2021-09-03 11:12:19 +02:00
tsmethurst
a116676814 Review changes 2021-09-03 10:30:40 +02:00
tsmethurst
dfb9d63123 readme typo 2021-09-02 12:40:37 +02:00
tsmethurst
5d5327614d lint 2021-09-02 12:24:18 +02:00
tsmethurst
cc7a35ee92 token tests 2021-09-02 12:22:09 +02:00
tsmethurst
42892f91e1 client_test 2021-09-02 12:17:14 +02:00
tsmethurst
6f7da0ecdd account + application tests 2021-09-02 12:10:59 +02:00
tobi
ac7c5e8cd2
session name fix (#185) 2021-09-01 22:12:31 +02:00