Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
2021-06-07 15:52:24 -04:00
Matt Baer
f0697fd555
Merge branch 'develop' into wm-fix
2021-06-07 14:58:14 -04:00
Matt Baer
85fb2a952b
Support setting `description` on user registration
2021-06-07 14:53:22 -04:00
Matt Baer
2938bba15a
Support updating collection only with monetization_pointer
2021-05-25 16:58:09 -04:00
Matt Baer
73450a50e3
Merge pull request #356 from writefreely/draft-list-paging
...
Draft list paging
2021-05-04 09:39:22 -04:00
Matt Baer
61974fadc0
Merge branch 'develop' into remove-nerds-dep
2021-04-19 16:18:33 -04:00
Matt Baer
27b43ac2f1
Merge branch 'develop' into draft-list-paging
2021-04-07 15:58:25 -04:00
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer
64f1d71524
Remove writeas/nerds/store dependency
2021-03-30 12:49:12 -04:00
Matt Baer
2d38e8b65e
Create coll post with the provided slug, if exists
...
Closes T811
2021-02-22 14:25:18 -05:00
Matt Baer
13a3a68d54
Validate and trim spaces on WM pointer
...
Ref T773
2020-09-30 14:42:11 -04:00
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
2020-09-30 14:40:13 -04:00
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.
2020-08-19 09:28:44 -04:00
prichier
ab285644a0
Fix: signup methods mutually exclusive
2020-08-16 20:42:55 +02:00
Pascal Richier
d3f1e40010
Merge branch 'develop' into feature/generic-oauth
2020-08-16 19:58:01 +02:00
Matt Baer
7e3eb9a87b
Merge pull request #319 from writeas/silo-mentions
...
Support AP-style mentions of centralized social media accounts
2020-08-13 12:36:42 -04:00
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
2020-08-13 12:33:35 -04:00
Matt Baer
7eeba4dc9e
Limit initial draft post loading to 10 posts
...
Ref T401
2020-07-30 16:28:21 -04:00
Matt Baer
849e5b8503
Merge pull request #330 from writeas/post-signatures
...
Support post signatures
Ref T582
2020-07-30 11:53:27 -04:00
Matt Baer
6dbc753ecb
Merge branch 'develop' into gopher
2020-07-23 11:47:49 -04:00
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
2020-06-23 16:24:45 -04:00
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().
2020-06-08 13:50:43 -04:00
Matt Baer
cceea03076
Ignore "collation mix" errors in GetCollectionRedirect()
2020-06-08 13:37:02 -04:00
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
2020-06-06 23:52:26 +02:00
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
...
Add generic Oauth allow_logout option
2020-05-31 04:09:14 +02:00
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.
2020-04-20 18:21:01 -04:00
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.
2020-04-20 18:18:23 -04:00
Matt Baer
dbd7eff7ea
Merge pull request #284 from writeas/high-load-error-page
...
Show 503 page on blogs under high load
2020-03-27 11:52:28 -04:00
Matt Baer
1d25b38eb7
Merge pull request #282 from writeas/patch-ap-mentions
...
Clean up ActivityPub mentions
2020-03-27 09:07:57 -04:00
Matt Baer
cf4f08b264
Merge branch 'develop' into T713-oauth-account-management
2020-03-19 12:02:33 -04:00
Matt Baer
9e25979e37
Run go fmt on modified GitLab files
2020-03-18 16:17:06 -04:00
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.
2020-03-18 16:14:05 -04:00
Matt Baer
97aec9c158
Fix error / info logging around AP mentions
...
This fixes log formatting and makes verbiage consistent & concise.
2020-03-17 13:42:51 -04:00
Matt Baer
471a9e0602
Store AP handles consistently
...
This ensures handles are always stored without leading @ symbol.
2020-03-17 13:42:09 -04:00
Kyle Robbertze
c292512b9d
add Gitlab OAuth
2020-03-12 10:50:55 +02:00
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
2020-03-01 20:12:47 -05:00
Matt Baer
7fe281df69
Use NULL for new attach_user_id column
...
Ref T713
2020-02-10 15:24:39 -05:00
Matt Baer
f846cada4b
Merge branch 'develop' into T713-oauth-account-management
2020-02-09 14:05:12 -05:00
Matt Baer
f70c1dfaa5
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:51 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00
Matt Baer
1a10bb3ed6
Merge pull request #252 from writeas/fix-mix-of-collations
...
Restrict /invite/{code} route to valid chars
2020-02-08 15:25:15 -05:00
Matt Baer
af14bcbb78
Clean up oauth_users table on account deletion
...
Ref T319
2020-02-08 13:51:38 -05:00
Matt Baer
c9faff178d
Don't float posts on account deletion
...
Ref T319
2020-02-08 13:51:14 -05:00
Matt Baer
9d360f0e41
Merge branch 'develop' into T319-delete-account
2020-02-08 13:42:46 -05:00
Matt Baer
9589612d0e
Add TODOs for improving GetProfilePageFromHandle()
2020-02-08 13:05:54 -05:00
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
2020-02-08 12:10:47 -05:00
Matt Baer
68d63d3fef
Merge branch 'develop' into activitypub-mentions
2020-02-08 11:51:18 -05:00
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.
2020-01-30 10:36:29 +01:00
Nick Gerakines
c0317b4e93
Implemented oauth attach functionality, oauth detach functionality, and required data migration. T713
2020-01-15 13:16:59 -05:00
Nick Gerakines
9170c84617
Merged in final changes from PR 225 into T705-oauth-slack. T710
2019-12-31 11:48:08 -05:00