Farhan Khan
07ac559a0a
Updating go.mod and go.sum
2021-09-29 15:05:56 +00:00
Farhan Khan
bce94cc999
Cleanup of old comments
2021-09-29 15:05:17 +00:00
Fikrān Mutasā'il
a6e7e134e0
Merge branch 'tests' into 'master'
...
Adding tests for instances
See merge request khanzf/fedilogue!6
2021-09-29 14:42:18 +00:00
Farhan Khan
58ad6ca276
Updating instance_test.go shared library reference
2021-09-29 14:39:39 +00:00
Farhan Khan
f66b27734f
Merge branch 'tests' of gitlab.com:khanzf/fedilogue into tests
2021-09-29 14:33:30 +00:00
Farhan Khan
6776cd28e5
Adding tests for instances
...
Minor modification to db code
2021-09-29 14:32:42 +00:00
Farhan Khan
b99ad6da99
adding unit tests for config.go
2021-09-29 06:43:06 +00:00
Fikrān Mutasā'il
9a0524a8c2
Merge branch 'go.sums' into 'master'
...
adding go.sum files
See merge request khanzf/fedilogue!5
2021-09-29 06:40:22 +00:00
Farhan Khan
6b3f9334e9
adding go.sum files
2021-09-29 06:31:33 +00:00
Fikrān Mutasā'il
fc3dd51f01
Merge branch 'packages' into 'master'
...
Updated fedilogue and fedicti to use shared package
See merge request khanzf/fedilogue!4
2021-09-29 03:41:11 +00:00
Farhan Khan
738ba6c3b6
Updating testing code
2021-09-29 03:39:35 +00:00
Farhan Khan
a9bf0f8017
Updated fedilogue and fedicti to use shared package
2021-09-29 03:31:33 +00:00
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