summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2021-09-10migrate go version to 1.17 (#203)Libravatar tobi282
* migrate go version to 1.17 * update contributing
2021-09-10fixes + db changes (#204)Libravatar tobi16
* fixes + db changes * make duration more lenient
2021-09-10remove boosted statuses from public (federated timeline) (#201)Libravatar kim1
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-10Prune unnecessary nullzeros, fixup db tags (#200)Libravatar kim12
* 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-10fix up status inreplyto visibility, + small format improvements (#199)Libravatar kim1
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-09Import export (#194)Libravatar tobi61
* 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-08Merge pull request #198 from NyaaaWhatsUpDoc/update/sqlite-libraryLibravatar kim104
Update/sqlite library
2021-09-08Merge pull request #196 from NyaaaWhatsUpDoc/update/oauth-libraryLibravatar kim35
Update oauth library -> v4.3.2-SSB
2021-09-08Merge remote-tracking branch 'upstream/main' into update/sqlite-libraryLibravatar kim (grufwub)33
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08update sqlite library -> v1.13.0Libravatar kim (grufwub)158
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08Merge remote-tracking branch 'upstream/main' into update/oauth-libraryLibravatar kim (grufwub)87
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08update oauth library --> v4.3.2-SSBLibravatar kim (grufwub)4
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08handle oauth token scope, fix user.SigninCount + token.UserIDLibravatar kim (grufwub)3
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08Merge pull request #195 from NyaaaWhatsUpDoc/update/bun-libraryLibravatar kim87
update bun library -> v1.0.4
2021-09-08update oauth library -> v4.3.1-SSBLibravatar kim (grufwub)32
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08update bun library -> v1.0.4Libravatar kim (grufwub)87
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-04rework media processing a little bit (#191)Libravatar tobi13
* rework media processing a little bit * review changes
2021-09-04tests + announce notification fix (#193)Libravatar tobi15
2021-09-03Merge pull request #186 from superseriousbusiness/struct_validationLibravatar kim133
Struct validation
2021-09-03review changesLibravatar tsmethurst1
2021-09-03Review changesLibravatar tsmethurst28
2021-09-02readme typoLibravatar tsmethurst1
2021-09-02lintLibravatar tsmethurst3
2021-09-02token testsLibravatar tsmethurst2
2021-09-02client_testLibravatar tsmethurst2
2021-09-02account + application testsLibravatar tsmethurst5
2021-09-01session name fix (#185)Libravatar tobi3
2021-09-01moving stuff aroundLibravatar tsmethurst93
2021-09-01move oauth models into gtsmodelLibravatar tsmethurst39
2021-09-01Merge branch 'struct_validation' of ↵Libravatar tsmethurst0
github.com:superseriousbusiness/gotosocial into struct_validation
2021-09-01lil moveLibravatar tsmethurst1
2021-09-01more updatesLibravatar tsmethurst18
2021-09-01change muchos thingsLibravatar tsmethurst70
2021-09-01go fmtLibravatar tsmethurst4
2021-09-01more work on struct validationLibravatar tsmethurst12
2021-09-01more work on struct validationLibravatar tsmethurst14
2021-09-01statusmute annotationsLibravatar tsmethurst1
2021-09-01start working on struct validation for gtsmodelLibravatar tsmethurst10
2021-09-01Improve GetRemoteStatus and db.GetStatus() logic (#174)Libravatar kim36
* only fetch status parents / children if explicity requested when dereferencing Signed-off-by: kim (grufwub) <grufwub@gmail.com> * Remove recursive DB GetStatus logic, don't fetch parent unless requested Signed-off-by: kim (grufwub) <grufwub@gmail.com> * StatusCache copies status so there are no thread-safety issues with modified status objects Signed-off-by: kim (grufwub) <grufwub@gmail.com> * remove sqlite test files Signed-off-by: kim (grufwub) <grufwub@gmail.com> * fix bugs introduced by previous commit Signed-off-by: kim (grufwub) <grufwub@gmail.com> * fix not continue on error in loop Signed-off-by: kim (grufwub) <grufwub@gmail.com> * use our own RunInTx implementation (possible fix for nested tx error) Signed-off-by: kim (grufwub) <grufwub@gmail.com> * fix cast statement to work with SQLite Signed-off-by: kim (grufwub) <grufwub@gmail.com> * be less strict about valid status in cache Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add cache=shared ALWAYS for SQLite db instances Signed-off-by: kim (grufwub) <grufwub@gmail.com> * Fix EnrichRemoteAccount when updating account fails Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add nolint tag Signed-off-by: kim (grufwub) <grufwub@gmail.com> * ensure file: prefixes the filename in sqlite addr Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add an account cache, add status author account from db Signed-off-by: kim (grufwub) <grufwub@gmail.com> * Fix incompatible SQLite query Signed-off-by: kim (grufwub) <grufwub@gmail.com> * *actually* use the new getAccount() function in accountsDB Signed-off-by: kim (grufwub) <grufwub@gmail.com> * update cache tests to use test suite Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add RelationshipTestSuite, add tests for methods with changed SQL Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-31more updatesLibravatar tsmethurst18
2021-08-31change muchos thingsLibravatar tsmethurst70
2021-08-30go fmtLibravatar tsmethurst4
2021-08-30more work on struct validationLibravatar tsmethurst12
2021-08-30more work on struct validationLibravatar tsmethurst14
2021-08-29Merge branch 'struct_validation' of ↵Libravatar tsmethurst0
github.com:superseriousbusiness/gotosocial into struct_validation
2021-08-29statusmute annotationsLibravatar tsmethurst1
2021-08-29start working on struct validation for gtsmodelLibravatar tsmethurst10
2021-08-29start working on struct validation for gtsmodelLibravatar tsmethurst10
2021-08-29Add SQLite support, fix un-thread-safe DB caches, small performance f… (#172)Libravatar kim730
* Add SQLite support, fix un-thread-safe DB caches, small performance fixes Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add SQLite licenses to README Signed-off-by: kim (grufwub) <grufwub@gmail.com> * appease the linter, and fix my dumbass-ery Signed-off-by: kim (grufwub) <grufwub@gmail.com> * make requested changes Signed-off-by: kim (grufwub) <grufwub@gmail.com> * add back comment Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-29Mention fixup (#167)Libravatar tobi21
* rework mention creation a bit * rework mention creation a bit * tidy up status dereferencing * start adding tests for dereferencing * fixups * fix * review changes