192 Commits

Author SHA1 Message Date
Fikrān Mutasā'il
677dab5170 Merge branch 'packages' into 'master'
Adding package

See merge request khanzf/fedilogue!3
2021-09-29 02:51:48 +00:00
Farhan Khan
b053d1b99a Adding package 2021-09-29 02:47:10 +00:00
Fikrān Mutasā'il
a3a01e7081 Merge branch 'ci-pipeline' into 'master'
Adding gitlab CI configuration

See merge request khanzf/fedilogue!1
2021-08-10 03:55:53 +00:00
Farhan Khan
0dd228e1dd Adding gitlab CI configuration 2021-08-10 03:51:07 +00:00
Farhan Khan
ad8b7d12a7 Adding tests for instances
Minor modification to db code
2021-08-08 23:46:29 +00:00
Farhan Khan
b231629e37 Refactoring for testing 2021-08-07 19:46:35 +00:00
Farhan Khan
4a3b5379b9 Fixing synchronization bug in ctl functionality 2021-08-07 19:45:47 +00:00
Farhan Khan
c827375640 Adding fedilogue_test.go with initial tests 2021-08-07 19:45:04 +00:00
Farhan Khan
e6e3cc1196 Adding prefix /api/v1/ 2021-07-01 18:37:47 +00:00
Farhan Khan
24a4ace616 Adding trending to restapi 2021-06-30 22:28:53 +00:00
Farhan Khan
395280c600 Updated restapi queries to properly sort and offset results 2021-06-30 15:00:08 +00:00
Farhan Khan
10ad5339a4 More integration commits 2021-03-17 23:15:09 +00:00
Farhan Khan
26f56b2367 Lots of little changes, working on integration 2021-03-17 23:14:24 +00:00
Farhan Khan
1fb2577dcb Migrating string to env variable for containerization 2021-02-16 04:08:27 +00:00
5ff1519689 initial commit of rest api code 2021-02-13 02:49:36 +00:00
b47bd9ed56 moved db conn variable to db.go 2021-02-13 02:48:11 +00:00
5a481121d2 updated indexes yet again 2021-02-13 02:46:32 +00:00
d4ef1561d4 log messages moved to logConn 2021-02-13 02:45:24 +00:00
163dee0389 removed dead code 2021-02-12 02:14:20 +00:00
cefacf7462 Status update line, disabling web server 2021-02-12 00:26:31 +00:00
947645828e adding LogLevel setting 2021-02-11 21:05:01 +00:00
d6b03c5254 cleanup, added go mod files, table indexing properly 2021-02-11 12:34:49 +00:00
778150f83c Rearranging files
Down the line I need to move headers.go and uniquefifo.go into a module
2021-02-10 23:58:20 +00:00
126aac8c81 decoupling retrieval of actor from activity in database 2021-02-10 22:30:34 +00:00
6efd723aac Updating table index and tsvector creation 2021-02-03 01:28:27 +00:00
9dabd87f06 forgot to use commit uniquefifo.go 2021-02-03 00:07:51 +00:00
a122f72af7 Fully migrated to jsonb, adjusted uniquefifo to keep cache fresh
* Added fifo mechanism to actors table
* Increased fifo size to 10
* Still getting some database insert duplicate errors, but only for
  very active instances when they are newly identified
2021-02-02 23:34:43 +00:00
f262de1dc3 migrating to storing data as jsonb object in database
captures all data, avoids cache-misses
2021-02-01 20:31:40 +00:00
3662535b0d renaming posts to activities and accounts to actors
removed old posthash mechanism
2021-02-01 12:52:42 +00:00
102ddbe41c Adding recent uris struct to manually added instances 2021-02-01 02:05:56 +00:00
7e71d0cc7a Installed recent requests structure to prevent repeat requests
Default size is 5
Only targets posts, not users
2021-02-01 00:28:20 +00:00
88d058528f Changed logging to stdout 2021-02-01 00:24:35 +00:00
55cb51b94e added or adjusted missing closes 2021-01-30 14:30:49 +00:00
cd8ecce807 Added proxy support
Some IPv6 traffic still sending directly to instance
not sure why not
2021-01-30 07:12:37 +00:00
2f9e0f85e4 Tor is on port 9050, Proxy commented out by default 2021-01-30 07:10:49 +00:00
1f3cbe8bde Isolated BuildClient from GetRunner
Now there is a single place where new clients are built
2021-01-30 05:54:03 +00:00
96e47f0373 Removing GetHTTPSession for GetRunner 2021-01-29 17:44:16 -05:00
4706bce7e3 hardcoded user-agent as tusky + added a DoTries() 2021-01-25 21:06:47 -05:00
1bebd9064c removing urls from normalization 2021-01-25 20:28:13 -05:00
1203d4f164 added log.go 2021-01-17 04:17:15 +00:00
9d2601e6c9 Replaces <br> tags with spaces 2021-01-14 20:43:20 +00:00
1adaba8322 retrying connections + logging prefix
this is because some hosting providers throttle rapid new connections
regex additions
2021-01-14 19:51:42 +00:00
e9bd9b67cf minor regex checking 2021-01-10 21:47:08 +00:00
ec1743905a validating hostname before starting instance
changed hostname identification from account to URI
2021-01-10 05:31:51 +00:00
48acaa5b0b updated table constraints 2021-01-06 02:43:41 +00:00
5ea270f9ec added table relationship 2021-01-05 05:54:27 +00:00
81b06d64e8 hack around ignoring 'to' URIs that end in /followers
may remove the entire associated for-loop...
2021-01-04 18:40:11 +00:00
d02ae808a1 reducing potential keep-alive connections to 1 per hostname (not per IP) 2021-01-02 07:00:21 +00:00
7973cc9600 go report card 2020-12-29 20:21:38 +00:00
85e0735fa3 go fmt'ed 2020-12-29 20:20:02 +00:00