Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
...
A Bunch Tell is now Musing Studio.
2 years ago
Matt Baer
4680e2e046
Show post excerpt in stats list when no post title
...
Originally requested on the forum:
https://discuss.write.as/t/use-non-random-ids-for-untitled-posts-in-blog-stats/5046
3 years ago
Matt Baer
d1e6daee16
Fix monetization_pointer upsert query for SQLite
...
Fixes #495
3 years ago
Matt Baer
3270470b68
Ignore post `created` date when empty on publish
3 years ago
mnlg
ae7e42e24e
Fix date format in anonymous posts
3 years ago
mnlg
5be1938a8a
Fix Gopher collections query
3 years ago
Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
...
Fixes #468
3 years ago
Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
4 years ago
Matt Baer
85fb2a952b
Support setting `description` on user registration
4 years ago
Matt Baer
2938bba15a
Support updating collection only with monetization_pointer
4 years ago
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
4 years ago
Matt Baer
64f1d71524
Remove writeas/nerds/store dependency
4 years ago
Matt Baer
2d38e8b65e
Create coll post with the provided slug, if exists
...
Closes T811
4 years ago
Matt Baer
13a3a68d54
Validate and trim spaces on WM pointer
...
Ref T773
4 years ago
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
4 years ago
Matt Baer
21e9b4a667
Run `go fmt` on database.go
4 years ago
Matt Baer
13eb51913e
Support Web Monetization via backend attribute
...
This supports a new `monetization_pointer` collection attribute.
When present, we include the `monetization` meta tag on all
collection pages.
4 years ago
prichier
ab285644a0
Fix: signup methods mutually exclusive
4 years ago
Matt Baer
7fa78c2255
Move fakeAPInstances to web-core/silobridge package
...
This adds support for mentioning profiles on the following sites:
- deviantart.com
- facebook.com
- flickr.com
- github.com
- instagram.com
- reddit.com
- wattpad.com
- youtube.com
4 years ago
Matt Baer
7eeba4dc9e
Limit initial draft post loading to 10 posts
...
Ref T401
4 years ago
Matt Baer
a25664bb97
Support post signatures
...
This enables users to add a signature to all blog posts, and update it from a single location.
Requires database migration with: writefreely db migrate
Closes T582
4 years ago
Matt Baer
507acc7e1c
Support AP-style mentions of centralized social media accounts
...
This allows users to mention users on the following non-ActivityPub
social media sites:
- twitter.com
- medium.com
It also adds missing error handling in federatePost().
5 years ago
Matt Baer
cceea03076
Ignore "collation mix" errors in GetCollectionRedirect()
5 years ago
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
5 years ago
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
...
Add generic Oauth allow_logout option
5 years ago
Matt Baer
5400f416c0
Reduce db calls on normal invite-based signup
...
This removes an unnecessary database call after creating a user, and documents `db.CreateUser()` to make it clear that extra calls are unnecessary.
5 years ago
Matt Baer
ca4a576c31
Support OAuth registration with invite code
...
This adds any OAuth login buttons to the invite signup page, stores the invite code for the flow duration, and associates the new user with it once successfully registered.
It enables invite-only instances with OAuth-based registration.
5 years ago
Matt Baer
9e25979e37
Run go fmt on modified GitLab files
5 years ago
Matt Baer
0285a9b0bd
Show 503 page on collections under high load
...
This acknowledges "too many connections" and "max user connections"
errors in MySQL and propagates the error up the chain so we can notify
the user and return the correct HTTP code.
5 years ago
Matt Baer
97aec9c158
Fix error / info logging around AP mentions
...
This fixes log formatting and makes verbiage consistent & concise.
5 years ago
Matt Baer
471a9e0602
Store AP handles consistently
...
This ensures handles are always stored without leading @ symbol.
5 years ago
Kyle Robbertze
c292512b9d
add Gitlab OAuth
5 years ago
Matt Baer
6aa8de3a4b
Add Gopher support
...
This adds gopher support to WriteFreely -- both single- and multi-user
instances. It is off by default, but can be enabled with the new
`gopher_port` config value in the `[server]` section.
When enabled, multi-user instances will show all public blogs at
gopher://[host]:[gopher_port]/ -- otherwise, blogs are accessible at
gopher://[host]:[gopher_port]/[blog]/
This is just a proof of concept for now. We still need to handle some
edge cases and different configurations, like private instances.
Ref T559
5 years ago
Matt Baer
7fe281df69
Use NULL for new attach_user_id column
...
Ref T713
5 years ago
Matt Baer
af14bcbb78
Clean up oauth_users table on account deletion
...
Ref T319
5 years ago
Matt Baer
c9faff178d
Don't float posts on account deletion
...
Ref T319
5 years ago
Matt Baer
9589612d0e
Add TODOs for improving GetProfilePageFromHandle()
5 years ago
Matt Baer
bb63e64883
Clean up getProfilePageFromHandle
...
- Export the func
- Remove commented-out code
- Use log, not fmt for debug messages
- Remove named return parameters
- Use standard var naming schemes
- Fix spacing in queries and remove unnecessary chars
5 years ago
Matt Baer
51700cc7da
Ignore "mix of collations" error on invite SELECT
...
This adds the `isIgnorableError` method and calls it when error checking
in `GetUserInvite()`, returning "not found" if the rror comes up.
5 years ago
Nick Gerakines
c0317b4e93
Implemented oauth attach functionality, oauth detach functionality, and required data migration. T713
5 years ago
Nick Gerakines
b5f716135b
Changed oauth table names per PR feedback. T705
5 years ago
Nick Gerakines
cf87ae9096
Code cleanup in prep for PR. T710
5 years ago
Nick Gerakines
462f87919a
Feature complete on MVP slack auth integration. T710
5 years ago
Nick Gerakines
13121cb266
Merging T705-oauth into T710-oauth-slack. T705,T710
5 years ago
Nick Gerakines
4266154749
Code cleanup from PR 255 feedback. T705
5 years ago
Nick Gerakines
bf3b6a5ba0
Unit tests, integration testing, and code cleanup for oauth support. Part of T705.
5 years ago
Nick Gerakines
7a0863f71b
Added oauth handlers and tests with mocks. Part of T705.
5 years ago
Rob Loranger
7e014ca659
Rename Suspend status to Silence
...
This changes all variables and functions from using Suspend{ed} to using
Silence{d} as well as documentation, errors and logging.
5 years ago
Matt Baer
7f96e8c384
Rename UserSuspended to UserSilenced
...
Some of the work needed to have the backend match user-facing wording.
Ref T661
5 years ago
Matt Baer
f7550a0da8
Change more suspension check logic
...
From u.Status == UserSuspended to u.IsSuspended()
Ref T661
5 years ago