summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
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/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
2021-08-27Replace federating DB locks map, add a cleanup goroutine (#166)Libravatar kim2
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-27Gin logging (#165)Libravatar tobi5
* start messing around with logger * more messing about * fix error with instance not created on startup (#156) * set logger * log user agent * finalize logging * go fmt * start messing around with logger * more messing about * set logger * log user agent * finalize logging * go fmt
2021-08-27fix new tx within tx (#163)Libravatar kim1
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-26some more little fixes for all to enjoy (#161)Libravatar tobi3
2021-08-26fix broken db queries in auth (#160)Libravatar tobi2
2021-08-26fix null returned session (#159)Libravatar tobi5
2021-08-26oops (#157)Libravatar tobi1
2021-08-26fix error with instance not created on startup (#156)Libravatar tobi1
2021-08-26update drone yml (#153)Libravatar tobi1