Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/go-fed/apcore

Golang ActivityPub Server Framework
https://github.com/go-fed/apcore

Simplify context handling and make Framework API more uniform

46677ce56296bbcf8a738ec285921dee4e7ffb18 authored over 3 years ago by Cory Slep <[email protected]>
Add OnCreateAdminUser for clients to hook into

1b5f72edb8b61240b33e9e12c2ee136a78cd1eb0 authored over 3 years ago by Cory Slep <[email protected]>
Remove modifying SQL queries with schema.

Clients have access to the database schema name directly now via the
config.

6f48912bfbfe119911d3d29645a7ae6fe1fec03d authored over 3 years ago by Cory Slep <[email protected]>
Include config in CreateTables command

74713fcb6e760b1103d7f88b1b791bc9d34ab87f authored over 3 years ago by Cory Slep <[email protected]>
Allow clients to hook into database initialization

9c43c4c6eae993edcd95797119da420f26bb9b83 authored over 3 years ago by Cory Slep <[email protected]>
Upgrade dependency due to dependabot vuln detected

525bd218bf56b4dc81aad4a644c8fd0cbaea664f authored over 3 years ago by Cory Slep <[email protected]>
Add way for clients to get/set user privileges.

9dd113d4b08d0b20a50495e16b861bac36048c55 authored over 3 years ago by Cory Slep <[email protected]>
Add methods to check non-uniqueness errors

2bf06c39206a97fc679f5bcb2d332b6078760f8c authored over 3 years ago by Cory Slep <[email protected]>
Allow creation of users via the framework

1e7366628df091b454e440974ac4e826be991c17 authored over 3 years ago by Cory Slep <[email protected]>
Make database schema accessible in the config

987534fccf3a6e7cb3a3912d2e30136f77042cfd authored over 3 years ago by Cory Slep <[email protected]>
Allow applications to disable static serving from a folder.

93c49abc12c7c3dd2ade48462bc7daa1cb53da58 authored over 3 years ago by Cory Slep <[email protected]>
Remove error when no email is found at login

b3f527b786dfb2fbd0e1f3cfe67e576adcbbcc67 authored over 3 years ago by Cory Slep <[email protected]>
Add ability to override default paths for login/logout/etc handlers

This allows clients to choose different localization strategies, and
generally provides more fle...

02083856193bc2de9e362b9027ef3707ae28cfdf authored over 3 years ago by Cory Slep <[email protected]>
Expose Subrouter in app.Route

70e6ca7d559fdd11bcbd7186dcf1243625824a48 authored over 3 years ago by Cory Slep <[email protected]>
Pass debug flag into SetConfiguration

Allows clients to change behavior when the dev command line flag is
passed into the binary.

3a63c6eb76e5f7b1bfa90b0b8c2b73ed9c815088 authored over 3 years ago by Cory Slep <[email protected]>
Allow apps to access common configuration options

1eb5002a2a86c70565fa3fc621eec321d0d03992 authored over 3 years ago by Cory Slep <[email protected]>
Support saving custom values on the session.

Allows client applications to save arbitrary data onto the session.

9178ad6b4ea958ce711692dd039c041b3f6aa596 authored over 3 years ago by Cory Slep <[email protected]>
Eample app successfully requests / accepts / rejects follows

Follows are now locally tested to be successful.

Need to modify the app's example note-fetching...

d4154a500416527f41ddc19045ea5eacb42fada1 authored over 3 years ago by Cory Slep <[email protected]>
Support follow requests in example application

Not yet tested.

26e6289dfe137ea99d488722a0f0fd7cfa532aaf authored over 3 years ago by Cory Slep <[email protected]>
Add managing follower requests to example app

Not yet tested in the wild.

0973922139e96fb873bec43050e944e246abf405 authored over 3 years ago by Cory Slep <[email protected]>
Framework supports getting open follow requests

Fetches follow requests from the local & federated tables that have no
Accept and no Reject acti...

bfa12fff7924b6830d3522a2bf6a05bd8493622a authored over 3 years ago by Cory Slep <[email protected]>
Framework provides Send Accept/Reject Follow

Updating the example application to manage followers, I believe that the
ActivityStreams logic w...

a5535f379f8cfcc3f7ee689c89e00c948997eb83 authored over 3 years ago by Cory Slep <[email protected]>
Merge pull request #64 from tslocum/https_port

Add ServerConfig.HttpsPort

6cc66847297288a64a6b5713ff322a9abbb95100 authored over 3 years ago by Cory J Slep <[email protected]>
Merge pull request #63 from Zauberstuhl/sanitize_html

Sanitize content and summary XML fields (possible XSS)

25767ebaf44b983e40727488711e53f5d068c44e authored over 3 years ago by Cory J Slep <[email protected]>
Merge pull request #62 from Zauberstuhl/unique_mail_address

Login handler relies on email address

3d0a5a750eacca26ff8142d122554458ae4a487e authored over 3 years ago by Cory J Slep <[email protected]>
Merge pull request #61 from Zauberstuhl/nil_pointer_dereference

Fix nil pointer with enforceOneRow

af973217c3f88a6e6046bf8e252c3a7e99d4e013 authored over 3 years ago by Cory J Slep <[email protected]>
Merge pull request #57 from jvalleroy/fix-spelling

Fix spelling

3051275601b961f5960127b0a3933f0a5141cf11 authored over 3 years ago by Cory J Slep <[email protected]>
Add ServerConfig.HttpsPort

This option specifies the port to serve HTTPS requests on.

f5c32217c4b5f612625a5cabae70d7ba831642cf authored over 3 years ago by Trevor Slocum <[email protected]>
Fix nil pointer in serialization

795b4484ed9293978625ed5bcfd2119ba7e8ec4d authored over 3 years ago by Lukas Matt <[email protected]>
Sanitize XML content and summary of ActivityStreams

104e8b87cf708444768c2c8e96d6c19165e9e894 authored over 3 years ago by Lukas Matt <[email protected]>
Fix Crypto.Valid accessing a nil pointer

This happens if the mail address does not exist in the database

5b4c54f2179dfc9579fe72d2992b19788481a866 authored almost 4 years ago by Lukas Matt <[email protected]>
UserByPreferredUsername and UserByID can return nil for err and struct

ebd1e47cb9cf9c4e668f3edd4f02517d94d251aa authored almost 4 years ago by Lukas Matt <[email protected]>
Login handler relies on email address

that is why we have to ensure that the mail address is unique too

e63d5d790a87c0487df9093a130a52f19f69c168 authored almost 4 years ago by Lukas Matt <[email protected]>
Fix spelling

4f454da4500dc3af26345000cefc9a9498fc847c authored almost 4 years ago by James Valleroy <[email protected]>
Remove stale TODO and unused debug field in server

c90c5219d7bad07f1c84fc011c0e2718d1b09647 authored about 4 years ago by Cory Slep <[email protected]>
Clear session when error occurs during validation

The session is also cleared in the case when the reuqest is not
authenticated.

b015db5de28145ce2e403e43b9e5fbfaacb2682d authored about 4 years ago by Cory Slep <[email protected]>
Update framework to better manage Send, scheme, & host

fe5ddbe881eeabb0dcc72cb5c5170eeac42ccc35 authored about 4 years ago by Cory Slep <[email protected]>
Add badge for the Matrix chat room

7c0ea4885272612228a8a1eda441003910fb112b authored about 4 years ago by Cory Slep <[email protected]>
Address vet issues

519675b72cb629f63ac921d84546f1d109c96ca3 authored about 4 years ago by Cory Slep <[email protected]>
Add Go report card badge

56682a86c1d95e9569bb925bef5d0cf4a0f9f953 authored about 4 years ago by Cory Slep <[email protected]>
Fix path generation -- GoDoc site autogenerated URL failed

acafacbd5638d4b7485debaec01e6a6d9f96a9a3 authored about 4 years ago by Cory Slep <[email protected]>
Add badge for GoDocs

0d7b692cd1d8f4237d91f2f196678f304baa6966 authored about 4 years ago by Cory Slep <[email protected]>
Add badge for the OpenCollective

21bd55f898979493e04edeeea3bd1042d1fdfb00 authored about 4 years ago by Cory Slep <[email protected]>
Add license badge to README

b20787765621ac053262eaf65b93642671098ae0 authored about 4 years ago by Cory Slep <[email protected]>
Add build badge to README

5eef9730811045adacedcfd5fa7e50a01de751bb authored about 4 years ago by Cory Slep <[email protected]>
Update travis to go version 1.15

0050866ce00cc86ea14888f50f6cf1ffafb36b40 authored about 4 years ago by Cory Slep <[email protected]>
Add travis file

76d72949fd84310351118bd57b0eed8946f4a5f3 authored about 4 years ago by Cory Slep <[email protected]>
Implement the note endpoint in the example app

cd532b6670bdc173b6c59af671b4d52a5c69a1e9 authored about 4 years ago by Cory Slep <[email protected]>
Ensure we do not duplicate entries into the database

4cee62779c61cd4e7a5d96e30f66eee4774631c3 authored about 4 years ago by Cory Slep <[email protected]>
Add pagination support to inbox/outbox. Clarify 404 links.

65e65472a8bb08de6933290f0a7aa634d9f6d5b3 authored about 4 years ago by Cory Slep <[email protected]>
Reorder logout/create nav links

ed3492c5a8fededeee202eb95ca27a5368190372 authored about 4 years ago by Cory Slep <[email protected]>
Serialize ActivityStreams before rendering; add list_note

6cc81cf93f8325ba69d0349215b0ba7150634021 authored about 4 years ago by Cory Slep <[email protected]>
go fmt and go mod tidy

1ba50397b858444d57dd9c3230a825d343ec6713 authored about 4 years ago by Cory Slep <[email protected]>
Update example so that it federates successfully

e184fd6ff7c27f0ab5cf4addd8530a9f83abd3af authored about 4 years ago by Cory Slep <[email protected]>
Fix treatment of HTTP Signatures algorithms

The configuration was auto-generating digest algorithms as if they were
signing/verifying algori...

d9c852151859949f37be85fca5ad6efeb57fb279 authored about 4 years ago by Cory Slep <[email protected]>
Change key ID to be fragment for simpler serving

425b38160592b615633c16795d60af94b2bef137 authored about 4 years ago by Cory Slep <[email protected]>
Create experimental GetByID on Framework

c6eedbc2c08810749608da999cabe8a2e9a523f2 authored about 4 years ago by Cory Slep <[email protected]>
Do not use digest in HTTP Sig GET requests

9c2fd23e0949b782b269f73da1f68e3bd32cc52b authored about 4 years ago by Cory Slep <[email protected]>
Add Verify function to the framework

f32de72eb265107ebc60edca99a3bc3ce8e27036 authored about 4 years ago by Cory Slep <[email protected]>
Iterate on Inbox/Outbox template in example

3e7ea44cd57bd5f1905857bec8ac08ae371e4b5b authored about 4 years ago by Cory Slep <[email protected]>
Properly unwrap the model types for collections

28926232cdeb9293ada1f29777bea0660c0ce482 authored about 4 years ago by Cory Slep <[email protected]>
Better handling of paths and contexts

Plus a bugfix in the users service with improperly casting the Actor
instead of unwrapping the A...

5e6fd745b4e6d507a8e96d5078ce12de1d3c1c05 authored about 4 years ago by Cory Slep <[email protected]>
Rename users.tmpl to user.tmpl in example

071c2512f0d9bf7f75cbbc9d5165e4b74e48fbf0 authored about 4 years ago by Cory Slep <[email protected]>
Expose TxBuilder for arbitrary app queries.

This showcases the ability of the application to run arbitrary SQL to
obtain ActivityStreams dat...

c023b20236f094b8c6ff20b4635b453aa39afb42 authored about 4 years ago by Cory Slep <[email protected]>
Ensure user sessions are reset before removing cred

This ensure that, when there is an expired credential that cannot be
deleted, the session is sti...

7738fc77c16494cf84c173b7ad66ca86537c4ee4 authored about 4 years ago by Cory Slep <[email protected]>
Fix database test binary

5bfa520a70c2f702bdd066e13ec2de9a9ef90d00 authored about 4 years ago by Cory Slep <[email protected]>
Inject following/followers/user to app web handlers

Required refactoring the way these handlers were registered, but they
now support pagination.

3e99691218f375f874c1e112eb22dc8e56079eb1 authored about 4 years ago by Cory Slep <[email protected]>
Provide private scoping and Validate method

Cleaned up the helpers in the example application, and ensured that the
POST and GET for inbox/o...

2c5751c78a7b2b53264ceb5d58e5a5c7b55b2a88 authored about 4 years ago by Cory Slep <[email protected]>
Support dynamic first-party client registration

Ensures the browser is able to be registered as a proper OAuth2 client
without clashing with ano...

eed3909c0f4c87b52397e0e27b83ab8440fc3180 authored about 4 years ago by Cory Slep <[email protected]>
Add framework to web handler app functions

Prepare for changes supporting first-party dynamic client registration.

de048a06c798c389695abbe1c60895e83942419f authored about 4 years ago by Cory Slep <[email protected]>
Disable cookie Secure attribute for http dev mode

Otherwise browsers will reject the cookie. It should be an attribute
normally enabled for any ot...

a2780f2a6e28d2ca77f0684dbb55b000a541470d authored about 4 years ago by Cory Slep <[email protected]>
Improve redirection for login/auth failures

22b6e1cab1c9096f208f42010bf0060aaf1b8696 authored about 4 years ago by Cory Slep <[email protected]>
Add SafeStartStop concept & periodic cleanup of expired creds

The retrier and oauth servers now use a SafeStartStop type, which
provides guarantees about peri...

c80fd1bf9c6423afbba8c8bb9f087d94f626e947 authored about 4 years ago by Cory Slep <[email protected]>
Implement Credentials models integration tests

Also fixed token info tests creating empty tokens.

80cff20b3f1464f8f22f9e10816e962e2ca56ae5 authored about 4 years ago by Cory Slep <[email protected]>
Have Credentials Create return the new ID

10488c5cd93896034131cd88aa92a9ae66edc598 authored about 4 years ago by Cory Slep <[email protected]>
Update SQLDialect to indicate returning ID for TokenInfo Create

67479b14f3fda311e3ee7a34503539b0095bad57 authored about 4 years ago by Cory Slep <[email protected]>
Have token info Create SQL return the id

6cb0710d87242d855e986845bd8cb90df4917950 authored about 4 years ago by Cory Slep <[email protected]>
Qualify oauth_tokens table with schema

0ccba161f426a5ae7e467ad61b76145f22136852 authored about 4 years ago by Cory Slep <[email protected]>
Qualify first_party_creds with schema

905b72e5668aad9cd0b4077fe999b600e9bd2651 authored about 4 years ago by Cory Slep <[email protected]>
Refer to WITH table in UPDATE clause

f428c482549c0d3da7d01df27eb7033fc8cb5796 authored about 4 years ago by Cory Slep <[email protected]>
Fix SQL text/uuid declaration mismatch of FK

7e3e93c267537aea209357a23757686580ded6f9 authored about 4 years ago by Cory Slep <[email protected]>
Add first party OAuth2 credential support

Refactored the OAuth2 endpoints to flow properly, in context of having a
"website" that acts as ...

ea8c804eac12566c38ab6bea6a06cd59a6d84a44 authored about 4 years ago by Cory Slep <[email protected]>
Use go-fed's oauth2 fork

Further changes are needed for proper PKCE support at the db level.

e25765c0582057d97bc159473753ee288b695161 authored about 4 years ago by Cory Slep <[email protected]>
Upgrade OAuth2 server to v4

This involved renaming the package to use the correct module reference,
as well as finally being...

994f212f315f7361c3d6d286889db0b702300015 authored about 4 years ago by Cory Slep <[email protected]>
Map the instance actor to be handled

Allow fetching the instance actor using the Data service.

931e745818d89f3c2492e815de080de065636bf9 authored about 4 years ago by Cory Slep <[email protected]>
Support followers, following, and liked in data service

This allows the URLs to correctly fetch these collection pages. We had
to introduce the code to ...

8a29c027d616cbedfd383c36c5361470acc08f39 authored about 4 years ago by Cory Slep <[email protected]>
Correctly infer special actor pathkeys

This was causing a subtle bug in init-db commands, where the actor being
generated was pointing ...

9d71c53f2ebd1c9e02885320f414017b3b060829 authored about 4 years ago by Cory Slep <[email protected]>
Propagate contexts for AuthenticateGet inbox/outbox

a47e496b43961dbd62472e8a9bf7f6ea9fa91ddc authored about 4 years ago by Cory Slep <[email protected]>
Correctly return instance actor go-fed types

The instance-actor-specific behavior was improperly returning the user
behavior types instead.

8cce361970fff432827dbb77a8fc140dcbd8bc9e authored about 4 years ago by Cory Slep <[email protected]>
Fix queries to return collection pages when empty

fc74ad0b9a46d946efc55baf0682b9e235805ec2 authored about 4 years ago by Cory Slep <[email protected]>
Fix queries to return inbox/outbox pages when empty

e529d1ee5f58848967c98f17914d482571107b4a authored about 4 years ago by Cory Slep <[email protected]>
Enable DB fetches to obtain users

This allows handlers to fetch the actors' ActivityStreams
representations themselves.

bcaf2c48afdca590881b02e61c6146a7f23d6f71 authored about 4 years ago by Cory Slep <[email protected]>
Use scheme-sensitive variants of go-fed/activity handlers

This allows the development server to create and serve data for testing
purposes solely over HTT...

e8f625094b2ca381eaa31bcfac95e9feb2dd5874 authored about 4 years ago by Cory Slep <[email protected]>
Upgrade to latest go-fed/activity dependency

This will let us use scheme-specific variants of handlers.

4374a76c9490db4db378ffb495bb721d0ab02bb5 authored about 4 years ago by Cory Slep <[email protected]>
Upgrade gorilla/mux dependency & go mod tidy

The gorilla/mux package had a bug with the handling of schemes that was
fixed with 1.8.0, which ...

f4fb2f7db720cbd99f8ba49f64961e4af4def700 authored about 4 years ago by Cory Slep <[email protected]>
Break out Application into C2S and S2S interfaces

This should make it clearer that the Application interface must be
implemented, while the C2S an...

289217fd68aa2e5c9aec51f3c80a396b261f19bc authored about 4 years ago by Cory Slep <[email protected]>
Ensure all template files for example app exist

These don't have interesting content at the moment, but provide a basis
to render some bland HTM...

f765c0f9d371909414bfe00c0513877b02d55892 authored about 4 years ago by Cory Slep <[email protected]>
Print templates found in example app; print template errors

These are quality of life changes to support easier debugging of the
templates.

e29716d5ddefbdcfbd04692a41d5b15e420910f2 authored about 4 years ago by Cory Slep <[email protected]>
Serve the StaticRootDirectory under /static/

The framework was improperly serving it under /, swamping all other
pattern matches.

Furthermor...

a83e090041a0a3c02b680f65c2df04bde1f3cc70 authored about 4 years ago by Cory Slep <[email protected]>
Start HTTP server in HTTPServe

There was a bug where the HTTPS server was attempted to be started
instead.

5ad1e70e7676fe9195f6d5c1750abc918dd60727 authored about 4 years ago by Cory Slep <[email protected]>